[MacPorts] #14385: port uninstall mplayer doens't remove any files

MacPorts trac at macosforge.org
Mon Feb 18 20:14:02 PST 2008


#14385: port uninstall mplayer doens't remove any files
----------------------------------+-----------------------------------------
 Reporter:  liontooth at cogweb.net  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:  Port Bugs                            
Component:  ports                 |     Version:  1.6.0                                
 Keywords:                        |  
----------------------------------+-----------------------------------------
 Uninstalling mplayer doesn't actually remove any of the files:

 {{{
 Uninstalling mplayer
 1.0rc2_0+aa+caca+dts+dv+faac+macosx+sdl+speex+theora+twolame+x264+xvid
 }}}

 When the update tries to activate, I get

 {{{
 --->  Activating MPlayer
 1.0rc2_2+aa+caca+darwin_8+dts+dv+faac+macosx+sdl+speex+theora+twolame+x264+xvid
 Error: Target org.macports.activate returned: Image error:
 /opt/local/bin/mencoder already exists and does not belong to a registered
 port.  Unable to activate port MPlayer.
 Error: Status 1 encountered during processing.
 }}}

 When I force-activate the update, all the files are still there:

 {{{
 # port -f activate MPlayer
 --->  Activating MPlayer
 Warning: File /opt/local/bin/mencoder already exists.  Moving to:
 /opt/local/bin/mencoder.mp_1203365349.
 Warning: File /opt/local/bin/mplayer already exists.  Moving to:
 /opt/local/bin/mplayer.mp_1203365351.
 Warning: File /opt/local/etc/MPlayer/codecs.conf already exists.  Moving
 to: /opt/local/etc/MPlayer/codecs.conf.mp_1203365351.
 Warning: File /opt/local/etc/MPlayer/dvb-menu.conf already exists.  Moving
 to: /opt/local/etc/MPlayer/dvb-menu.conf.mp_1203365351.
 Warning: File /opt/local/etc/MPlayer/example.conf already exists.  Moving
 to: /opt/local/etc/MPlayer/example.conf.mp_1203365351.
 Warning: File /opt/local/etc/MPlayer/input.conf already exists.  Moving
 to: /opt/local/etc/MPlayer/input.conf.mp_1203365351.
 Warning: File /opt/local/etc/MPlayer/menu.conf already exists.  Moving to:
 /opt/local/etc/MPlayer/menu.conf.mp_1203365351.
 Warning: File /opt/local/share/doc/MPlayer/default.css already exists.
 Moving to: /opt/local/share/doc/MPlayer/default.css.mp_1203365351.
 Warning: File /opt/local/share/doc/MPlayer/HTML/cs/advaudio.html already
 exists.  Moving to:
 /opt/local/share/doc/MPlayer/HTML/cs/advaudio.html.mp_1203365351.
 }}}


 ... and so on for several pages. Removing the files manually resolves the
 problem.

 Seen on OSX 10.4.11 and 10.5.2.

 Cheers,
 Dave

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14385>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list