lundi 27 mai 2013
Saved (again) by an external solver for apt!
Par Roberto Di Cosmo, lundi 27 mai 2013 à 20:59 :: Mancoosi
Did you know that you can ask apt-get to invoke an external solver for handling the dependency hell that sometimes plagues your upgrades? Well, just now, again, this feature saved my day, and it is just a matter of typing a short option!
Instead of the standard
apt-get install fetchmail
that proposed an horrendous upgrade path detailed below, I typed
apt-get --solver aspcud install fetchmail
that returned this easy solution
apt-get --solver aspcud install fetchmail Reading package lists... Done Building dependency tree Reading state information... Done Execute external solver... Done The following extra packages will be installed: libc-dev-bin libc6 libc6:i386 libc6-dbg libc6-dev libc6-i386 libc6-i686:i386 locales Suggested packages: fetchmailconf resolvconf glibc-doc glibc-doc:i386 locales:i386 The following packages will be upgraded: fetchmail libc-dev-bin libc6 libc6:i386 libc6-dbg libc6-dev libc6-i386 libc6-i686:i386 locales 9 upgraded, 0 newly installed, 0 to remove and 2776 not upgraded. Need to get 25.9 MB of archives. After this operation, 10.7 MB of additional disk space will be used. Do you want to continue Y/n? Y
Just make sure you have aspcud and apt-cudf installed for this to work!




Linux pour tous