Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
easy way to fix broken 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
flokno
Apprentice
Apprentice


Joined: 18 Dec 2002
Posts: 185
Location: graz/austria/europe

PostPosted: Mon Feb 10, 2003 1:47 am    Post subject: easy way to fix broken packages? Reply with quote

hello

is there an easy way to fix all broken packages caused by
- upgraded progs like kde 3 -> 3.1
(some progs compiled earlier depend on kde3's libaries)
- upgraded libs due to security reasons
- packages that depend on changed/updated packages higher in the decendancy tree?

maybe this feature should be planned for future portage versions.

any information would help me!

-- flo
ps: hope this is no dupe
Back to top
View user's profile Send private message
David_Escott
l33t
l33t


Joined: 12 Jan 2003
Posts: 952
Location: Boston, MA

PostPosted: Mon Feb 10, 2003 3:42 am    Post subject: Reply with quote

reverse dependency checking is being implemented but for most applications this isnt necessary unless you unmerge the old versions. portage allows slots which will allow multiple versions of the same program to coexist. This way programs can link to old versions of libraries if they need to, however if the api hasnt changed then they can just link to the new ones without trouble.
Back to top
View user's profile Send private message
flokno
Apprentice
Apprentice


Joined: 18 Dec 2002
Posts: 185
Location: graz/austria/europe

PostPosted: Mon Feb 10, 2003 5:24 pm    Post subject: Reply with quote

and what about old libs when i reemerge dependant packages. will they be cleaned, when they arn't needed anymore?
(=nothing depends on the old version?)
Back to top
View user's profile Send private message
David_Escott
l33t
l33t


Joined: 12 Jan 2003
Posts: 952
Location: Boston, MA

PostPosted: Mon Feb 10, 2003 7:29 pm    Post subject: Reply with quote

I think this falls under depclean but you may want to do this manually checking with qpkg to see that nothing is being used. This is a little beyond my knowledge of portage however so....

depclean
Cleans the system by removing packages that are not associated
with explicitly merged packages. Depclean works by creating the
full dependancy tree from the system list and the world file,
then comparing it to installed packages. Packages installed, but
not associated with an explicit merge are listed as candidates
for unmerging. WARNING: This can seriously affect your system by
removing packages that may have been linked against, but due to
changes in USE flags may no longer be part of the dep tree. Use
caution when employing this feature.
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