![]() |
System updates: apt-get or aptitude - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: General (https://www.linuxliteos.com/forums/forumdisplay.php?fid=4) +--- Forum: On Topic (https://www.linuxliteos.com/forums/forumdisplay.php?fid=14) +--- Thread: System updates: apt-get or aptitude (/showthread.php?tid=1821) |
System updates: apt-get or aptitude - Kirkx - 05-08-2015 LL system update script is using apt-get: /usr/scripts/updates Code: sudo apt-get update && sudo apt-get upgrade As I was trying out Debian Jessie lately I noticed that aptitude seems to be considered a better choice to do system updates than apt-get because it offers smarter handling of dependencies and has some other benefits. The equivalent command would be: Code: sudo aptitude update && sudo aptitude safe-upgrade I have done a test run of both commands (actual updates were aborted) and the output is quite different: apt-get: ![]() aptitude: ![]() I'm wondering what experts think about all this. Re: System updates: apt-get or aptitude - anon222 - 05-08-2015 apt-get and aptitude have different rules. Code: man aptitude Code: man apt-get apt-get upgrade upgrades currently installed packages, but never installs or removes packages. So Code: apt-get upgrade Code: aptitude --no-new-installs safe-upgrade Sometimes aptitude has better rules, sometimes apt. Linux Lite prefers apt-get. Re: System updates: apt-get or aptitude - rokytnji - 05-08-2015 Hmmmm Code: harry@harry-Latitude-XT2:~$ apt-cache policy debtags Just checking a few things. I did not know aptitude was also installed along side apt-get in Linux-Lite on a default 2.4 install. Not that I am sooooo bored that I would screw with dist-upgrade scripts or package management myself in this distro. I have other test boxes for breaking installs for that. Re: System updates: apt-get or aptitude - anon222 - 05-08-2015 (05-08-2015, 02:19 PM)rokytnji link Wrote: Just checking a few things. I did not know aptitude was also installed along side apt-get in Linux-Lite on a defaultSmart decision Rokytnji. ![]() |