Unattended upgrades - feedback

New to Debian (Or Linux in general)? Ask your questions here!

Unattended upgrades - feedback

Postby bengtfrost » 2018-04-18 19:33

Trying to install Unattended upgrades for Debian Stable including contrib and non-free packages on a friends computer. Also testing main packages (papirus icon set, testing is downpinned). Not sure if this is working.

// "o=Debian,a=stable";
// "o=Debian,a=stable-updates";
// "o=Debian,a=proposed-updates";
// "origin=Debian,codename=${distro_codename},label=Debian-Security";
// Uncommented line above and added following:
"o=Debian,n=stretch,l=Debian,c=main contrib non-free";
"o=Debian,n=stretch-updates,l=Debian,c=main contrib non-free";
"o=Debian,n=stretch,l=Debian-Security,c=main contrib non-free";
// Added papirus-icon-theme from testing repo
// see sources.list and preferences.d/testing.pref (pinning)
"o=Debian,n=testing,l=Debian,c=main";
// Also added further down:
// Unattended-Upgrade::Remove-Unused-Dependencies "true";
bengtfrost
 
Posts: 10
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

Postby bengtfrost » 2018-04-22 20:38

// New solution: added and outcommented following lines
"o=Debian,a=stable";
"o=Debian,a=stable-updates";
"o=Debian,a=proposed-updates";
"origin=Debian,codename=${distro_codename},label=Debian-Security";
// Obsolete: Uncommented line above and added following:
// "o=Debian,n=stretch,l=Debian,c=main contrib non-free";
// "o=Debian,n=stretch-updates,l=Debian,c=main contrib non-free";
// "o=Debian,n=stretch,l=Debian-Security,c=main contrib non-free";

// Added papirus-icon-theme from testing repo
// see sources.list and preferences.d/testing.pref (pinning)
"o=Debian,a=testing";
// If backports - uncomment following line
// "o=Debian Backports,n=stable-backports,l=Debian Backports";
// Also added further down:
// Unattended-Upgrade::Remove-Unused-Dependencies "true";
bengtfrost
 
Posts: 10
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

Postby bengtfrost » 2018-04-22 20:45

Typo error should be stable-proposed-updates:

// New solution: added and outcommented following lines
"o=Debian,a=stable";
"o=Debian,a=stable-updates";
"o=Debian,a=stable-proposed-updates";
"origin=Debian,codename=${distro_codename},label=Debian-Security";
// Obsolete: Uncommented line above and added following:
// "o=Debian,n=stretch,l=Debian,c=main contrib non-free";
// "o=Debian,n=stretch-updates,l=Debian,c=main contrib non-free";
// "o=Debian,n=stretch,l=Debian-Security,c=main contrib non-free";

// Added papirus-icon-theme from testing repo
// see sources.list and preferences.d/testing.pref (pinning)
"o=Debian,a=testing";
// If backports - uncomment following line
// "o=Debian Backports,n=stable-backports,l=Debian Backports";
// Also added further down:
// Unattended-Upgrade::Remove-Unused-Dependencies "true";
bengtfrost
 
Posts: 10
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

Postby bengtfrost » 2018-05-19 17:52

// New solution: added and outcommented following lines
"o=Debian,a=stable";
"o=Debian,a=stable-updates";
// Note: packages in stable-proposed-updates aren't yet officially part of Debian Stable
// "o=Debian,a=stable-proposed-updates";
"origin=Debian,codename=${distro_codename},label=Debian-Security";
// Obsolete: Uncommented line above and added following:
// "o=Debian,n=stretch,l=Debian,c=main contrib non-free";
// "o=Debian,n=stretch-updates,l=Debian,c=main contrib non-free";
// "o=Debian,n=stretch,l=Debian-Security,c=main contrib non-free";

// Added papirus-icon-theme from testing repo
// see sources.list and preferences.d/testing.pref (pinning)
"o=Debian,a=testing";
// If backports - uncomment following line
// "o=Debian Backports,n=stable-backports,l=Debian Backports";
// Also added further down:
// Unattended-Upgrade::Remove-Unused-Dependencies "true";
bengtfrost
 
Posts: 10
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

Postby Wheelerof4te » 2018-05-19 18:00

Firts, learn to use
Code: Select all
code tags

Second, don't mess with testing repos on a Stable system.
Third, you need to explain what exactly are you trying to accomplish here.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: Unattended upgrades - feedback

Postby bengtfrost » 2018-05-20 07:51

Ok, I use code format instead next time, thank you!

What i am doing is unattended upgrades for Debian stable, stable-updates, security upgrades and Debian testing in (50unattended-upgrades) and then activate (1) update and upgrade in 20auto-upgrades file.

I have also downpinned (/etc/apt/preferences.d/testing.pref) testing repository to 50 and only using it for papirus-icon-theme.
bengtfrost
 
Posts: 10
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

Postby Wheelerof4te » 2018-05-20 08:27

If you know what you are doing, then everything will go well. But there is no need to add testing repo just for one icon theme. There are other ways to do it, and there are other good-looking themes that won't brick you system.
That said, I don't see the point of enabling auto-upgrades for Stable. Usually, there are maybe 10 upgraded packages in total per week.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: Unattended upgrades - feedback

Postby bengtfrost » 2018-05-20 10:40

Unattended upgrades is not for my machines (using CLI instead). I am doing for a beginner friend that never update-upgrade her system.

I know you can install 3rd party icon themes in many ways, but I want to do it the Debian "way (icon theme is also not in backport archive), and my way is safe for icon theme :)
bengtfrost
 
Posts: 10
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

Postby Wheelerof4te » 2018-05-20 11:10

As the saying goes: "Give a man fish, and he will eat for a day. Teach him to catch fish, and he will eat for a lifetime."

Especially for Stable, it takes no more than 5 minutes to teach someone how to upgrade his/her computer by himself. You just have to set up repos and do the initial configs, as it's the only hard part.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: Unattended upgrades - feedback

Postby bengtfrost » 2018-11-01 13:45

Updated:
Outcommented and added:

Code: Select all
// "origin=Debian,codename=${distro_codename},label=Debian-Security";


Code: Select all
       
        "o=Debian,a=stable";
        "o=Debian,a=stable,l=Debian-Security";
   "o=Debian,a=stable-updates";


Note: using stable archives in sources.list file (and backport archive, see next comment)
Last edited by bengtfrost on 2018-11-03 15:53, edited 1 time in total.
bengtfrost
 
Posts: 10
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

Postby bengtfrost » 2018-11-03 08:14

Also disabled testing repo and installed papirus-icon-theme through backports instead. Xfce with Arc and Papirus icon theme (and some more tweaks) makes Debian best system :)
bengtfrost
 
Posts: 10
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

Postby None1975 » 2018-11-03 14:06

bengtfrost wrote:Also disabled testing repo and installed papirus-icon-theme through backports instead. Xfce with Arc and Papirus icon theme (and some more tweaks) makes Debian best system :)

Maybe I do not understand something, but who needs to use backports to install a icon theme if you can download it from github and put extracted folders to hidden folder-.icons?
OS: Debian 9.5 / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
Linux User #607425
User avatar
None1975
 
Posts: 675
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Unattended upgrades - feedback

Postby Head_on_a_Stick » 2018-11-03 15:06

None1975 wrote:who needs to use backports to install a icon theme if you can download it from github and put extracted folders to hidden folder-.icons?

The backported package will receive updates as part of the usual `apt update && apt upgrade` routine whereas the github approach requires the user to update the icons manually.
I suffer from depression and may lash out occasionally, try not to take it personally.
User avatar
Head_on_a_Stick
 
Posts: 8185
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Unattended upgrades - feedback

Postby None1975 » 2018-11-03 17:41

Head_on_a_Stick wrote:The backported package will receive updates as part of the usual `apt update && apt upgrade` routine whereas the github approach requires the user to update the icons manually.

This is not so much a problem. But everyone chooses what's more comfortable for him.
OS: Debian 9.5 / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
Linux User #607425
User avatar
None1975
 
Posts: 675
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Unattended upgrades - feedback

Postby debiman » 2018-11-04 09:44

this is what happens when people do not read the whole thread.
OP specified that this is a continuous feedback about how they set up unattended upgrades on somebody elses computer - presumably someone they're not seeing so often.
makes perfect sense to me.
thanks for keeping us updated, bengtfrost, and remaining stoic about such remarks.
User avatar
debiman
 
Posts: 3027
Joined: 2013-03-12 07:18

Next

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable