View previous topic :: View next topic |
Author |
Message |
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Tue Apr 29, 2003 10:45 am Post subject: If an emerge requires a reinstall of those that depend on it |
|
|
GWN wrote: | Early addition of tcl/tk
------------------------
Earlier this week, tcl-8.4.2 was added to the testing tree ahead of schedule and before the supporting scripts to help users migrate from previous versions of tcl were in place. tcl-8.4.2 requires all applications using tcl to be recompiled before they will function with the new version. The development team is working on a migration strategy to help users migrate from previous versions. In the meantime, anyone using ACCEPT_KEYWORDS="~<arch>" should be aware of the recompilation requirements. |
Here's an idea.
Why not have a 'dependencies' file in portage, listing which installed applications depend on other package versions.
Code: | # dependencies file
package=tcl
list
the
dependencies
one
yes
i
couldn't
think
of
a
tcl/tk
package
package=another
some
more
dependencies |
Then you could do:
Code: | # emerge tcl
WARNING -- Programs compiled against an older version of this package will not work against the new version.
To force the emerge:
emerge --force tcl
To recompile dependencies:
emerge --update-dependencies emerge tcl
To keep the old version:
emerge --do-not-clean tcl |
Just a ramble... _________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
Jimbow Guru
Joined: 18 Feb 2003 Posts: 597 Location: Silver City, NM
|
Posted: Tue Apr 29, 2003 11:32 am Post subject: Re: If an emerge requires a reinstall of those that depend o |
|
|
charlieg wrote: | Here's an idea.
Why not have a 'dependencies' file in portage, listing which installed applications depend on other package versions.
|
qpkg -q $PACKAGE already gives you a list of what packages depend upon $PACKAGE. The qpkg program is part of the gentoolkit package. _________________ After Perl everything else is just assembly language. |
|
Back to top |
|
|
noff Guru
Joined: 11 Nov 2002 Posts: 388 Location: College Park, Maryland
|
Posted: Wed Apr 30, 2003 1:35 am Post subject: |
|
|
If a packages has forward dependencies such as tcl/tk as was found portage should throw a flag and cause portage to search all packages and cause those to recompile. I say it should have an F for forward dependencies.
The dependencies are all there and his should be part of 2.1. This could later be expanded to move those files into a queue. That would be useful for some browsers and kernel modules. Automagically remember to recompile alsa-driver and xfree-drm. _________________ What Larry was saying is that if you make it too easy for programmers, then poor programmers will be able to do things best left to good programmers, and will inevitably do them poorly. Everyone will suffer in the long term as a result." - Tom Chance |
|
Back to top |
|
|
|