Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2005 17:34:31 +0200
From:      Benjamin Thelen <bt@ccgis.de>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: linux-gtk2-2.2.1_3 not deinstalling on Rel. 4.11p10
Message-ID:  <42B6E207.10605@ccgis.de>
In-Reply-To: <20050620144747.adt83bf3koc04ss0@netchild.homeip.net>
References:  <42B5585E.4010804@ccgis.de>	<20050619135107.2c2c41c1@Magellan.Leidinger.net>	<42B6A579.3020901@ccgis.de> <20050620144747.adt83bf3koc04ss0@netchild.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote:
> Benjamin Thelen <bt@ccgis.de> wrote:
> 
>> Thanks for your reply! The quick way succeeded for linux-gtk2, but I 
>> get the same error-messages for the linux-realplayer now:
>>
>> pkg_delete: package 'linux-realplayer-10.0.2_1' doesn't have a prefix
>>
>>
>> linuxpluginwrapper then fails because of a stale dependency - at 
>> least, I'm told so :-):
>>


Alexander,

Thanks again

>> Stale dependency: linuxpluginwrapper-20050320 --> linux-realplayer-10.0.4
> 
> 
> Run "pkgdb -F" and let it depend upon the 10.0.2_1 realplayer.

Yes, I always do so - after every portupgrade attempt, I was a little 
bit surprised, that dependencies have changed already, although removing 
failed!


> 
>> Would the quick way you told me, also work for these two ports?
> 
> 
> I don't know if the packaging list changed between 10.0.2 and 10.0.4. If
> there's no change, you could do the same with the realplayer port.

Well, need to be careful with this box, it is our web-server. How could 
I proof, whether the packaging list has changed?

> 
> You could add "@origin multimedia/linux-realplayer" to
> /var/db/pkg/linux-realplayer-10.0.2_1/+CONTENTS and try again with
> portupgrade. 

This is already there!

.
.
.
@unexec if [ -f %D/info/dir ]; then if sed -e '1,/Menu:/d' %D/info/dir | 
grep -q '^[*] ';
then true; else rm %D/info/dir; fi; fi
@comment ORIGIN:multimedia/linux-realplayer



> You could also remove all files specified in +CONTENTS and
> proceed like you did with linux-gtk2.

Just to be careful:

You say I could delete all the contents of 
/var/db/pkg/linux-realplayer-10.0.2_1/+CONTENTS (just like doing "rm 
+CONTENTS && touch +CONTENTS") and proceed like I did with linux-gtk2?

I don't really know what I do there ;-)!

To be careful, the content of +CONTENTS:


@comment share/icons/hicolor/192x192/mimetypes/mime-audio-wav_192x192.png
@comment 
share/icons/hicolor/192x192/mimetypes/mime-text-realtext_192x192.png
@comment share/icons/hicolor/192x192/mimetypes/mime-video-avi_192x192.png
@comment 
share/icons/hicolor/192x192/mimetypes/mime-video-generic_192x192.png
@comment share/icons/hicolor/192x192/mimetypes/mime-video-mov_192x192.png
@comment share/icons/hicolor/192x192/mimetypes/mime-video-ogg_192x192.png
@comment share/icons/hicolor/192x192/mimetypes/mime-video-rv_192x192.png
@comment share/icons/hicolor/192x192/mimetypes/mime-video-swf_192x192.png
@comment share/icons/hicolor/32x32/apps/realplay_32x32.png
@comment share/icons/hicolor/48x48/apps/realplay_48x48.png
@comment 
share/icons/hicolor/48x48/mimetypes/mime-application-generic_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-application-ogg_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-application-ram_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-application-rpm_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-application-rm_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-application-smil_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-audio-aiff_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-audio-au_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-audio-generic_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-audio-mp3_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-audio-mp4_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-audio-ogg_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-audio-ra_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-audio-wav_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-text-realtext_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-video-avi_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-video-generic_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-video-mov_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-video-ogg_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-video-rv_48x48.png
@comment share/icons/hicolor/48x48/mimetypes/mime-video-swf_48x48.png
@comment @unexec rmdir %D/share/gnome/application-registry 2>/dev/null 
|| true
@comment @unexec rmdir %D/share/gnome/applications 2>/dev/null || true
@comment @unexec rmdir %D/share/gnome/mime-info 2>/dev/null || true
@comment @unexec rmdir %D/share/gnome/pixmaps 2>/dev/null || true
@comment @unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true
@comment @unexec rmdir %D/share/icons/hicolor/48x48/mimetypes 
2>/dev/null || true
@comment @unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true
@comment @unexec rmdir %D/share/icons/hicolor/192x192/apps 2>/dev/null 
|| true
@comment @unexec rmdir %D/share/icons/hicolor/192x192/mimetypes 
2>/dev/null || true
@comment @unexec rmdir %D/share/icons/hicolor/192x192 2>/dev/null || true
@comment @unexec rmdir %D/share/icons/hicolor 2>/dev/null || true
@unexec if [ -f %D/info/dir ]; then if sed -e '1,/Menu:/d' %D/info/dir | 
grep -q '^[*] ';
then true; else rm %D/info/dir; fi; fi
@comment ORIGIN:multimedia/linux-realplayer






Thanks,
Ben


> 
> Bye,
> Alexander.
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42B6E207.10605>