Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
duplicates of packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
maxmc
Guru
Guru


Joined: 14 Oct 2002
Posts: 480
Location: Linköping, Sweden

PostPosted: Mon Feb 03, 2003 2:10 am    Post subject: duplicates of packages Reply with quote

These are my current duplicates
Code:
k27 trackballs-0.4.1 # qpkg --dups -v
app-text/docbook-sgml-dtd-3.1-r1
app-text/docbook-sgml-dtd-3.0-r1
app-text/docbook-sgml-dtd-4.1-r1
app-text/docbook-sgml-dtd-4.0-r1
dev-libs/glib-1.2.10-r5
dev-libs/glib-2.2.0
dev-libs/libsigc++-1.2.2
dev-libs/libsigc++-1.0.4-r2
gnome-base/control-center-1.4.0.5-r1
gnome-base/control-center-2.0.3-r1
gnome-base/gconf-1.0.8-r3
gnome-base/gconf-1.2.1
gnome-base/gnome-panel-2.0.11
gnome-base/gnome-panel-1.4.2-r1
gnome-base/gnome-vfs-1.0.5-r3
gnome-base/gnome-vfs-2.0.4.1-r1
gnome-base/libglade-0.17-r6
gnome-base/libglade-2.0.1
gnome-base/libgtop-2.0.0-r1
gnome-base/libgtop-1.0.13-r2
kde-base/arts-1.0.5a
kde-base/arts-1.1.0
kde-base/kdeaddons-3.0.5a
kde-base/kdeaddons-3.1
kde-base/kdeadmin-3.0.5a
kde-base/kdeadmin-3.1
kde-base/kdeartwork-3.0.5a
kde-base/kdeartwork-3.1
kde-base/kdebase-3.0.5a
kde-base/kdebase-3.1
kde-base/kdeedu-3.0.5a
kde-base/kdeedu-3.1
kde-base/kdegames-3.0.5a
kde-base/kdegames-3.1
kde-base/kdelibs-3.0.5a
kde-base/kdelibs-2.2.2a-r1
kde-base/kdelibs-3.1
kde-base/kdetoys-3.0.5a
kde-base/kdetoys-3.1
media-libs/freetype-1.3.1-r3
media-libs/freetype-2.1.2-r2
sys-libs/db-1.85-r1
sys-libs/db-3.2.9-r1
x11-libs/gtk+-1.2.10-r9
x11-libs/gtk+-2.2.0
x11-libs/gtkglarea-1.2.3-r1
x11-libs/gtkglarea-1.99.0
x11-libs/gtkmm-2.2.0
x11-libs/gtkmm-1.2.9-r2
x11-libs/qt-2.3.2-r1
x11-libs/qt-3.1.0-r1

I'd like to remove all the kde-3.0.5 ones but only succeded with the i18 package.
All I get is this message:
Code:
k27 max # emerge -C /usr/portage/kde-base/kdelibs/kdelibs-3.0.5a.ebuild
['', 'usr', 'portage', 'kde-base', 'kdelibs', 'kdelibs-3.0.5a.ebuild']
/usr/portage/kde-base/kdelibs/kdelibs-3.0.5a.ebuild

!!! /usr/portage/kde-base/kdelibs/kdelibs-3.0.5a.ebuild is not inside /var/db/pkg; aborting.


Well i suppose it's not in portage but I havent deleted it?
So how do I get rid of them?
Back to top
View user's profile Send private message
diskmuncher
n00b
n00b


Joined: 22 Oct 2002
Posts: 21
Location: Denver, CO

PostPosted: Mon Feb 03, 2003 3:24 am    Post subject: Reply with quote

The "kicker" is that not all of these are truly duplicates...but the dependency list of these programs (qpkg -q) may not be accurate. Add to that the whole concept of SLOTS and you have a formula for mass confusion. ;-)

For instance, glib-1.2 and glib-2.2 are not "true" duplicates...different programs on your system may require each one. Many gnome utilities may still insist on gnome 1.x libraries even though you probably have either ~x86 or emerged gnome-2 (thus, you'll end up with control-center 1.4 and 2.0, panel-1.4 and 2.0, vfs-1.4 and 2.0, etc).

KDE 3.0 and 3.1 are sufficiently different (and screwy) that it might explain why you have ebuilds from both (or perhaps it's possible that they use different SLOTS because KDE 3.1 is still malware). I don't know...I haven't looked.

Unfortunately, it's nearly impossible to tell what you can get rid of, because the dependencies may not get registered properly. For instance, when I rebuilt (for the fourth time in two months) my system this weekend, I had (among other flags) USE=X and ~x86. The /usr/portage/x11-base/xfree/xfree-4.2.99.ebuild file has cabextract as a dependecy of the truetype USE variable, but the freetype ebuild itself has no such dependency. Thus, without quite a bit of research, it wouldn't be possible for me to figure out why cabextract was installed on my system....and an ebuild depclean or ebuild unmerge might allow me to remove cabextract. Another example: the gentoo-sources-2.4.20 build called yacc, but yacc wasn't listed as a dependency anywhere and hadn't been installed.

Short answer for you: find out if you have (and need) more than one version of gnome/kde. Look at the ebuilds for the gnome-base and kde-base packages and determine if they use different SLOTS...try removing gnome and kde (one at a time) from your USE variables and type:

emerge -e -p system
emerge -e -p world

and see what is different between each list from the list(s) when you HAVE the kde and gnome USE variables. This will give you *an idea* (but not a precise list) of which packages required the various programs you think are duplicated ;-)
_________________
John-David Childs (JC612) Enterprise Internet Solutions
Systems Administration http://www.nterprise.net
& Network Engineering WHOIS is your friend.
Direct replies to this email address are /dev/nulled.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum