On Tuesday, 27 August 2024 15:03:02 -04 Hans wrote: > Dear list, > > over the many years we got different tools for upgrading debian in the > commandline. These tools behave differently and also we get different > results, when eecuting. > > First, we have the oldest, whcih is apt-get. > apt-get update, apt-get upgrade or apt-get full-upgrade does a good > job. > > However, we also have aptitude, but > aptitude update, aptitude upgrade and aptitude full-upgrade are doing > also a good job, but not the same as apt-get does. Also it looks, > aptitude update loads its own list and is not using the list from > apt-get (otherwise it could not explain, why aptitude and apt-get > every time reloads the new list, when one of the other was eecuted > before). Also the dependencies in both tools are handled different. > > And at last, we have apt, which (as far as I now), soemtimes is > calling apt- get, and sometimes is calling aptitude. > > This is somehow rather irritating!
Do you really mean irritating or just confusing? "irritating" equals the German "verärgert"; while "confusing" is what Germans just find "irritierend". :-) > > So, my question is: Which one is recommended, when updating and > upgrading is used in a script, so that it causes as little as > possible pain? > > It means: When the script is not eecuted daily, but let us say, every > two weeks, and we have lots of packages. > > At the moment I am using aptitude, this works great in short periods, > but after al longer time, it crashes, because some dependencies could > not resolve. > > Independent of my personal use: Which one is recommended? > > Thanks for reading. Short answer will be ok. > > Best > > Hans I'd like to know too. I usually use apt. Sometimes aptitude when I'm looking for something - me being lazy. But I find aptitude to be inconvenient when trying to resolve dependency problems. Packages which aptitude will not purge can easily be deinstalled, including all configuration files, by invoking apt purge for example. All the best -- Eike Lantzsch KY4PZ / ZP5CGE