Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cleaning out dups
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
fusion
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2002
Posts: 119

PostPosted: Tue Apr 29, 2003 3:42 pm    Post subject: Cleaning out dups Reply with quote

I have a few dups on my system all using different SLOTS. I was trying to find a way to see if the older versions are still need anymore. I with no luck i haven't been able to find a solution to this yet. I realize that there are some packages that need SLOTS and that I am going to have some dups but I have one package that has 4 different versions installed.
Back to top
View user's profile Send private message
pacmac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2003
Posts: 89

PostPosted: Tue Apr 29, 2003 4:26 pm    Post subject: Reply with quote

just do an emerge -c

'man emerge' for mor information
Take a look into you're FEATURE variable at /etc/make.conf and if you see noclean there, then delete it and emerge can delete old versions for you when upgrading the system :)
Back to top
View user's profile Send private message
fusion
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2002
Posts: 119

PostPosted: Tue Apr 29, 2003 5:02 pm    Post subject: Reply with quote

Code:

emerge clean docbook-sgml-dtd

 app-text/docbook-sgml-dtd
    selected: none
   protected: 4.1-r1 4.0-r1 3.0-r1 3.1-r1
     omitted: none


That is because they are in different SLOTS if understand this right.
What I am looking for is to see if there is any packages depending on those older versions.
Back to top
View user's profile Send private message
pacmac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2003
Posts: 89

PostPosted: Tue Apr 29, 2003 5:20 pm    Post subject: Reply with quote

emerge depclean -p

But take care.. those packages hasn't got another programs depending on it.. but it doesn't says that packages isn't necessary
Back to top
View user's profile Send private message
pacmac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2003
Posts: 89

PostPosted: Wed Apr 30, 2003 11:38 am    Post subject: Reply with quote

You can put this flag into your /etc/make.conf for automatic delete older versions

AUTOCLEAN="yes"
Back to top
View user's profile Send private message
fusion
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2002
Posts: 119

PostPosted: Wed Apr 30, 2003 4:37 pm    Post subject: Reply with quote

What I am looking for is to see if there is a way to find out if those older packages still needed or are they just not getting cleaned out because they are in different slots. I know about cleaning and autoclean thanks for trying to help.

fusion
Back to top
View user's profile Send private message
Rhino
Apprentice
Apprentice


Joined: 12 Feb 2003
Posts: 177

PostPosted: Wed Apr 30, 2003 5:34 pm    Post subject: Reply with quote

try with gentoolkit, something like this ::

Code:

qpkg -nc -I -q  $packgeName
try with complete package names ex. : dev-libs/fribidi-0.10.4-r1


it will give you who depend's on the package.
_________________
With sufficient thrust, pigs fly just fine.
[ RFC 1925 ]
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