[Yum] missing feature (fix deps)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 30 Jun 2005, seth vidal wrote:

> On Thu, 2005-06-30 at 09:20 -0400, Matthew Miller wrote:
>> On Wed, Jun 29, 2005 at 10:14:15PM +0200, Stefano Cavallari wrote:
>>> out how to fix any dependencies and force an upgrade.
>>> In apt I would have just done: apt-get -f install; apt-get dist-upgrade
>>
>> Note that "-f install" in apt doesn't mean "--force install" -- it means
>> "--fix-broken install". It attempts to put your system into a
>> "all-dependencies are met" state (because apt won't work at all if there's
>> problems). It hopefully does this by adding any missing packages (could be
>> useful -- maybe a yum plugin could do this?), but if it can't, it removes
>> any "troublemakers". That wouldn't be very yum-like (and probably a better
>> approach for any such plugin would be to just list the packages with deps
>> that can't be met anywhere).
>
> 1. plugins are not the answer everytime.
> 2. package-cleanup in yum-utils does have a --problems option to list
> what packages have broken deps or conflicts in your rpmdb.

Maybe the --fix-dependencies thing could find a home in package-cleanup 
since it already has the --problems mode? Meaning just
1) install any missing dependencies when possible
2) offer to remove packages whose dependencies can't be met (perhaps only 
with an additional --allow-removal or such cli switch and default to no 
removals)

 	- Panu -

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux