Here is my "apt-upgrade.sh" apt-get -y update apt-get -y upgrade apt-get -y dist-upgrade apt-get -y autoremove I run that everyday.
The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
41–50 of 77 posts
Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#42Here is my "apt-upgrade.sh" apt-get -y update apt-get -y upgrade apt-get -y dist-upgrade apt-get -y autoremove I run that everyday.
You can also set the update to happen automatically so that all you have to do is run upgrade.
Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#43Here is my "apt-upgrade.sh" apt-get -y update apt-get -y upgrade apt-get -y dist-upgrade apt-get -y autoremove I run that everyday.
Source: my previous life.
Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#44Here is my "apt-upgrade.sh" apt-get -y update apt-get -y upgrade apt-get -y dist-upgrade apt-get -y autoremove I run that everyday.
You missed autoclean. I typically only run autoremove upon reboot. You can also set the update to happen automatically so that all you have to do is run upgrade.
> You can also set the update to happen automatically so that all you have to do is run upgrade.
I'm in "testing". Sometimes, even with "-y", I'm asked to validate some messages (often inside a vi prompt).
Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#45Here is my "apt-upgrade.sh" apt-get -y update apt-get -y upgrade apt-get -y dist-upgrade apt-get -y autoremove I run that everyday.
dist-upgrade every day, really ? That's a recipe for trouble, unless you're running Sid, which means you're already in trouble. Source: my previous life.
I tried it a bit but it's very (very) unstable :-)
I come from Fedora and have few months only on debian. Still a rookie.
Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#46Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#47I've never understood why debian insists on having these be different commands. It would make sense if install, search, upgrade and uninstall were all discrete, but the way it is today feels half implemented.
Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#48Earlier quoted context omitted.
aptitude has a nice curses interface, though, which is great for resolving conflicts or other changes that require planning
It also usually seems to be slower to start (at least in my experience) -- I tend to not like to use it except for resolving broken packages (since it's the nicest way to do that).
Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#49Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#50Earlier quoted context omitted.
I can't answer specifically for `apt`, but many commands take significantly longer if you let them display to stdout versus piping their output to a file or `/dev/null`. cf.: $ time ls -R /usr real 0m7.570s user 0m0.104s sys 0m2.286s $ time ls -R /usr > /dev/null real 0m0.193s user 0m0.036s sys 0m0.154s (edit: when will I grok HN markup?? cough support markdown cough )
Did you run those two commands in sequence? Did you account for disk-cache effects? Try running it 4 times, alternating the versions and see what your last 2 times are ...