

A Couple of Questions about Debian 9 stable
Started by
mhbell
, Jun 21 2017 05:27 PM
debian updates automate
10 replies to this topic
#1 OFFLINE
Posted 21 June 2017 - 05:27 PM
Is anyone using auto upgrades or updates with Debian? I would like my Debian 9 stable to automatically to download and install security updates or at least notify me that update are available like mint does. If you are doing this, What software (Cron, Apt, Auto-Upgrade, are you using? I like to automate things as much as possible which was easy to do in Mint.
Tia
Mel
Tia
Mel
Registered Linux User #239772
Mint 18.1 Cinnimon, MX-16, Siduction LXQT, Debian Stretch, and Other Linux Distro's
https://pctechman.wordpress.com/
Mint 18.1 Cinnimon, MX-16, Siduction LXQT, Debian Stretch, and Other Linux Distro's
https://pctechman.wordpress.com/
#2 OFFLINE
Posted 21 June 2017 - 06:59 PM
Not doing it. I just use apt update && apt dist-upgrade in the Terminal. You could use Synaptic to do it if you want a GUI. There used to be a package called update-manager-gnome but I don't know if Stretch has it.

Registered Linux User 445659
#3 OFFLINE
Posted 21 June 2017 - 07:16 PM
Yeah, sorry but I do the same as RayMac does and simply run the commands.



CNI Radio/G+ Profile/Configs/PGP Key/comhack π ∞
"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984
#4 OFFLINE
Posted 21 June 2017 - 08:20 PM
I do the same. You could put it in a cron job but sometimes it asks for input about changing config files, or very occasionally a dependency conflict. You can also circumvent yes/no questions by adding -y to the command but that could also have unintended consequences such as replacing customised configs.
MX-16 has Update Manager which notifies you and I think Gnome has something similar. Not sure if it's included by default in Stretch though.
Debian Stable pretty much only needs apt update && apt upgrade, very rarely would you need dist-upgrade.
MX-16 has Update Manager which notifies you and I think Gnome has something similar. Not sure if it's included by default in Stretch though.
Debian Stable pretty much only needs apt update && apt upgrade, very rarely would you need dist-upgrade.
registered Linux user number 324659 || The importance of Reading The *Fine* Manual! :D



KXStudio
For the things we have to learn before we can do them, we learn by doing them.




For the things we have to learn before we can do them, we learn by doing them.
#5 OFFLINE
Posted 21 June 2017 - 09:37 PM
I am following Debian unstable so I usually use apt dist-upgrade but I haven't seen much difference between it and apt upgrade. I agree apt upgrade is probably a better idea with Debian stable.
I'm not an expert on this but I feel a bit safer with dist-upgrade when you are bringing in the latest stuff.
I'm not an expert on this but I feel a bit safer with dist-upgrade when you are bringing in the latest stuff.

Registered Linux User 445659
#6 OFFLINE
Posted 21 June 2017 - 09:42 PM
I just checked Synaptic and I do not see any update manager listed for Debian unstable at least.

Registered Linux User 445659
#7 OFFLINE
Posted 21 June 2017 - 10:01 PM
raymac46, on 21 June 2017 - 09:37 PM, said:
I am following Debian unstable so I usually use apt dist-upgrade but I haven't seen much difference between it and apt upgrade. I agree apt upgrade is probably a better idea with Debian stable.
I'm not an expert on this but I feel a bit safer with dist-upgrade when you are bringing in the latest stuff.
I'm not an expert on this but I feel a bit safer with dist-upgrade when you are bringing in the latest stuff.
upgrade will install new versions of currently installed packages but not install any new ones.
dist-upgrade can install new packages such as a kernel, and also install new packages and remove old ones.
Best to always look what it proposes to do before hitting the OK button.
registered Linux user number 324659 || The importance of Reading The *Fine* Manual! :D



KXStudio
For the things we have to learn before we can do them, we learn by doing them.




For the things we have to learn before we can do them, we learn by doing them.
#8 OFFLINE
Posted 22 June 2017 - 07:37 AM
There was a similar question on FDN so I did a little searching.
KDE Plasma 5 package updater, plasma-discover - https://packages.deb...plasma-discover
Gnome package updater, gnome-package-kit - https://packages.deb...nome-packagekit
I'm not sure if these provide notifications but worth a try.
KDE Plasma 5 package updater, plasma-discover - https://packages.deb...plasma-discover
Gnome package updater, gnome-package-kit - https://packages.deb...nome-packagekit
I'm not sure if these provide notifications but worth a try.
registered Linux user number 324659 || The importance of Reading The *Fine* Manual! :D



KXStudio
For the things we have to learn before we can do them, we learn by doing them.




For the things we have to learn before we can do them, we learn by doing them.
#9 OFFLINE
Posted 23 June 2017 - 09:09 AM
Gnome-packagekit looks a lot like Linux Mint's handy Software Manager which is great for installing new software. However LM has a separate Update Manager which runs an applet that provides notifications.
None of the Debian derivatives (or Debian itself for that matter) has anything like YaST or the Control Center you find with Mageia. It isn't a big problem though as Synaptic or the command line tools do a good job of keeping up to date in the case of Debian. Linux Mint and Ubuntu have their own GUIs for installation and updates.
None of the Debian derivatives (or Debian itself for that matter) has anything like YaST or the Control Center you find with Mageia. It isn't a big problem though as Synaptic or the command line tools do a good job of keeping up to date in the case of Debian. Linux Mint and Ubuntu have their own GUIs for installation and updates.

Registered Linux User 445659
#10 OFFLINE
Posted 30 June 2017 - 05:50 AM
The MX-16 update notifier works well maybe you could research how they implement it. If you can find out how it works you should be able to do the same thing as it is Debian based.

#11 OFFLINE
Posted 30 June 2017 - 08:08 AM
Debian Stretch ships with Apper in KDE; I don't know of anything similar for Xfce, and I don't have GNOME installed in Stretch (yet). Apper can be set to check for updates (hourly, daily, weekly, monthly, or never). There's an icon that shows in the system tray. There's also a setting to "Automatically update."
I set Apper to check for new updates "Never" and I turn off the automatic updates. But I still get an "Updates" icon in the system tray, which I find annoying. At the moment, I'm keeping that icon "hidden," but in the past I think I've simply removed Apper.
I always use Synaptic to update the system. I use the "Smart Upgrade" setting in Synaptic, which, according to Synaptic's documentation, is the same as dist-upgrade. I always use that setting, whether with Testing or with Stable; other users might want to take a different approach. Check man apt-get to see the differences between apt-get upgrade and apt-get dist-upgrade -- for this info, I think it's better to look at man apt-get instead of man apt.
I set Apper to check for new updates "Never" and I turn off the automatic updates. But I still get an "Updates" icon in the system tray, which I find annoying. At the moment, I'm keeping that icon "hidden," but in the past I think I've simply removed Apper.
I always use Synaptic to update the system. I use the "Smart Upgrade" setting in Synaptic, which, according to Synaptic's documentation, is the same as dist-upgrade. I always use that setting, whether with Testing or with Stable; other users might want to take a different approach. Check man apt-get to see the differences between apt-get upgrade and apt-get dist-upgrade -- for this info, I think it's better to look at man apt-get instead of man apt.
Edited by saturnian, 30 June 2017 - 09:16 AM.
Also tagged with one or more of these keywords: debian, updates, automate
The Highlands →
Hardware →
Build your own LaptopStarted by abarbarian , 13 Jul 2017 ![]() |
|
![]()
|
||
The Highlands →
Bruno's All Things Linux →
MX-16 released!Started by sunrat , 19 Dec 2016 ![]() |
|
![]()
|
||
The Highlands →
Bruno's All Things Linux →
LibreELEC, the new fork of OpenELECStarted by sunrat , 26 Apr 2016 ![]() |
|
![]()
|
||
The Highlands →
Bruno's All Things Linux →
Security support for Wheezy handed over to the LTS teamStarted by sunrat , 25 Apr 2016 ![]() |
|
![]()
|
||
The Highlands →
Bruno's All Things Linux →
New Debian release updatesStarted by sunrat , 02 Apr 2016 ![]() |
|
![]()
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users