News for hackers. Stuff that matters.
Re:The apt command: Combining apt-get and apt-cache and adds... by vmorgulis on Saturday March 05, 2016 @02:10PM (#11230564)
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.
Re:The apt command: Combining apt-get and apt-cache and adds... by saltvedt on Saturday March 05, 2016 @02:16PM (#11230587)
Re:The apt command: Combining apt-get and apt-cache and adds... by vmorgulis on Saturday March 05, 2016 @02:29PM (#11230643)
Thank you a lot!
Re:The apt command: Combining apt-get and apt-cache and adds... by newman314 on Saturday March 05, 2016 @02:18PM (#11230599)
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.

Re:The apt command: Combining apt-get and apt-cache and adds... by vmorgulis on Saturday March 05, 2016 @02:23PM (#11230624)
Thank you for "autoclean". I'll check that.

> 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... by newman314 on Saturday March 05, 2016 @03:04PM (#11230809)
FYI

http://askubuntu.com/questions/3167/what-is-difference-betwe...

It cleans out unnecessary packages.

All the update does is download the latest available updates so it should not be prompting. My experience is that only upgrade/dist-upgrade will prompt.

I've got a VM running ubuntu 16.04-beta and it seems to be fine.

Re:The apt command: Combining apt-get and apt-cache and adds... by vmorgulis on Saturday March 05, 2016 @03:23PM (#11230903)
Thank you for the link.

> My experience is that only upgrade/dist-upgrade will prompt.

Re:The apt command: Combining apt-get and apt-cache and adds... by __david__ on Saturday March 05, 2016 @03:28PM (#11230933)
I do something similar, but use

    aptitude -y safe-upgrade
...which is less likely to break things. Every month or so I go into aptitude to manually sort things out that have gotten their dependencies wedged.
Re:The apt command: Combining apt-get and apt-cache and adds... by vmorgulis on Saturday March 05, 2016 @03:37PM (#11230968)
> aptitude -y safe-upgrade

Interesting. My use of aptitude is limited to "search" so far.

Did you see that?

https://news.ycombinator.com/item?id=11230828

Re:The apt command: Combining apt-get and apt-cache and adds... by toyg on Saturday March 05, 2016 @02:23PM (#11230620)
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.

Re:The apt command: Combining apt-get and apt-cache and adds... by vmorgulis on Saturday March 05, 2016 @02:28PM (#11230636)
Sid is unstable, isn't it?

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... by toyg on Saturday March 05, 2016 @03:15PM (#11230870)
Yeah, Sid is the rolling unstable. It's still slower and relatively more stable than most rolling distributions, but it's constantly changing here and there and everywhere. Using it as your main desktop machine is a recipe for trouble, especially when major changes start rolling in. The only certainty with Sid is that your disk will work a lot because of the firehose of updated packages streaming in at every hour...
Re:The apt command: Combining apt-get and apt-cache and adds... by vmorgulis on Saturday March 05, 2016 @03:31PM (#11230945)
> .. It's still slower and relatively more stable than most rolling distributions ...

My experience is a "non-beta" Fedora is less stable than a "testing" debian.

> ...Using it as your main desktop machine is a recipe for trouble ...

Yes! It's a nightmare especially with Gnome Shell.

I see memory corruptions for months in Gnome windows. I wonder if it's related to Wayland stuff. It often occurs in Firefox.

Re:The apt command: Combining apt-get and apt-cache and adds... by JBReefer on Saturday March 05, 2016 @03:09PM (#11230840)
I'd run a distributed for the fact that all was one command alone