Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Reverse dependencies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
fireboy1919
n00b
n00b


Joined: 28 May 2002
Posts: 47

PostPosted: Wed Jun 05, 2002 6:43 am    Post subject: Reverse dependencies Reply with quote

I've noticed that none of the portage tools consider reverse dependencies - none consider tools that depend upon a certain package.

This can be a sort of serious issue, especially for low level libraries. For example, let say you install a version of QT each time there's an update, and update or install a few new packages. All of the older packages that depend upon the given library still require the old QT libraries, so you have to have them all - some for the new stuff and some for the old. That's a lot of wasted space (not to mention missing the possible benefit of the newest library).

Since there is no reverse dependency checking, the system will not determine which packages should also be updated along with QT to make the old QT libraries unnecessary (if possible). Therefore, cruft will continuously build up in gentoo systems which live on the edge of development, and the only way to fix it is manually updating every single installed package that needs the library (finding out which ones by hand).

A similar problem arises in unmergeing packages. Recently, I decided to stop using KDE and all KDE programs. I was surpised to learn that when I typed
"emerge unmerge --pretend kde"
the only thing that would have left was KDE, and not all of the things that depend upon kde. I had to manually find all of the packages in my package list and unmerge them all individually.

While we're on the subject of emerge, wouldn't
"emerge --unmerge --pretend kde" make more sense? That is, shouldn't "unmerge" have to dashes before it, indicating that it is an argument?

This is the most useful package management system I've seen. However, this huge feature is one that all of the other mainstream package management systems have which portage doesn't, which is a very bad thing, because this problem probably does more for either lowering system stability or adding cruft (depending on what the owner of the system tries to do to get around the problem) than anything else.

I could be wrong about this. Before I learned all that I have about gentoo, I assumed that every package management system would naturally have this feature, as it seems (to me) to be a natural part of any such system. If I am, I apologize. But even so, this means I don't have a clue how to get portage to check to see what programs depend on a library by specifying the library.
Back to top
View user's profile Send private message
craftyc
Guru
Guru


Joined: 23 May 2002
Posts: 443
Location: Behind You.

PostPosted: Wed Jun 05, 2002 10:29 am    Post subject: Reply with quote

Why did you post this twice?
_________________
Postcount ++
Back to top
View user's profile Send private message
fireboy1919
n00b
n00b


Joined: 28 May 2002
Posts: 47

PostPosted: Wed Jun 05, 2002 9:16 pm    Post subject: Why twice? Reply with quote

Browser error, I think. I really did only submit it once.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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