On zaterdag 27 augustus 2016 23:12:50 CEST Luigi Toscano wrote: > It's probably not this case, but in general safe-upgrade is not enough. I disagree. In general safe-upgrade is enough and only in 'exceptional' cases it is not. > In some cases you need to remove a package to proceed and safe-upgrade (if I > read its documentation correctly (*)) does not do that. So the status is > fine when it's full-upgrade-proof (aka apt dist-upgrade). Then either the documentation is outdated or it states that *manually* installed packages are not removed with safe-upgrade. So if you do 'aptitude install <pkg1>' then pkg1 will not be removed with 'aptitude safe-upgrade' and imo that is the proper behavior as you've made explicit that you want pkg1 installed. But if a package gets installed because it is a dependency or a recommends and thus marked as *automatically* installed, then safe-upgrade will remove it once it has determined that no other package needs it (depends/recommends). There are cases where you do need to use full-upgrade, but that very likely means that a package is marked as manually installed, while it should've been marked as automatically installed. You can change that state through 'aptitude markauto <pkg>' or 'aptitude unmarkauto <pkg>'. And with that you can configure your system in a way that 'aptitude safe- upgrade' really is all you need. HTH, Diederik
Attachment:
signature.asc
Description: This is a digitally signed message part.