Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14385 closed defect (duplicate)

port uninstall mplayer doens't remove any files

Reported by: liontooth@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: ecronin (Eric Cronin)
Port:

Description

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

Change History (2)

comment:1 Changed 17 years ago by raimue (Rainer Müller)

Cc: ecronin@… added; ecronin@… removed
Resolution: duplicate
Status: newclosed

Known bug, already filed as #11759.

As a workaround, you have to specify the exact casing.

# port uninstall MPlayer

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.