Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #173202
| From | Michael Lange <klappnase@freenet.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: aptitude cli options vs. apt-get (esp. --ignore-hold option) |
| Date | 2016-10-05 12:10 +0200 |
| Message-ID | <soRjb-7Pg-5@gated-at.bofh.it> (permalink) |
| References | <soQGt-7ks-3@gated-at.bofh.it> <soQZP-7rL-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 5 Oct 2016 10:41:40 +0100 Darac Marjal <mailinglist@darac.org.uk> wrote: > aptitude is, generally speaking, a more user-friendly interface to the > apt system. If you're scripting (and especially as it already works), > you should stick with apt-get. apt-get's output tends to be more stable > and more readily parsable. > > Is there some feature of aptitude that apt is missing? What's your > motivation for switching to aptitude here? It's just to give users the choice. Some people prefer aptitude and I figure it's nice to let them have their will :-) I also don't think that apt-get and aptitude are exactly equivalent, sometimes they may disagree about which packages to install/remove to fulfil the dependencies a set of updates brings with. Parsing the output does not seem to be a problem here either, it took me a while to figure out that I had to replace apt-get's -q with aptitude's -v , but now apparently it can be parsed just the same. And it's not that aptitude does not work in my script, it's just that if the option to include available updates for held back packages (and possibly packages these would cause to be newly installed or removed) in the upgrading candidates list is set, I don't know how to do this with aptitude. Regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. Another Armenia, Belgium ... the weak innocents who always seem to be located on a natural invasion route. -- Kirk, "Errand of Mercy", stardate 3198.4
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
aptitude cli options vs. apt-get (esp. --ignore-hold option) Michael Lange <klappnase@freenet.de> - 2016-10-05 11:30 +0200
Re: aptitude cli options vs. apt-get (esp. --ignore-hold option) Darac Marjal <mailinglist@darac.org.uk> - 2016-10-05 11:50 +0200
Re: aptitude cli options vs. apt-get (esp. --ignore-hold option) Michael Lange <klappnase@freenet.de> - 2016-10-05 12:10 +0200
Re: aptitude cli options vs. apt-get (esp. --ignore-hold option) Jörg-Volker Peetz <jvpeetz@web.de> - 2016-10-05 17:40 +0200
Re: aptitude cli options vs. apt-get (esp. --ignore-hold option) Michael Lange <klappnase@freenet.de> - 2016-10-05 20:30 +0200
aptitude cli undocumented behaviour [was: aptitude cli options vs. apt-get ...] Michael Lange <klappnase@freenet.de> - 2016-10-05 20:50 +0200
Re: aptitude cli undocumented behaviour [was: aptitude cli options vs. apt-get ...] Jörg-Volker Peetz <jvpeetz@web.de> - 2016-10-05 22:40 +0200
[solved]Re: aptitude cli undocumented behaviour [was: aptitude cli options vs. apt-get ...] Michael Lange <klappnase@freenet.de> - 2016-10-06 01:10 +0200
csiph-web