Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Unattended upgrades - feedback

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
bengtfrost
Posts: 13
Joined: 2018-03-11 09:12

Unattended upgrades - feedback

#1 Post by bengtfrost »

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: 13
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

#2 Post by bengtfrost »

// 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: 13
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

#3 Post by bengtfrost »

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: 13
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

#4 Post by bengtfrost »

// 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";

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Unattended upgrades - feedback

#5 Post by Wheelerof4te »

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.

bengtfrost
Posts: 13
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

#6 Post by bengtfrost »

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.

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Unattended upgrades - feedback

#7 Post by Wheelerof4te »

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.

bengtfrost
Posts: 13
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

#8 Post by bengtfrost »

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 :)

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Unattended upgrades - feedback

#9 Post by Wheelerof4te »

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.

bengtfrost
Posts: 13
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

#10 Post by bengtfrost »

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: 13
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

#11 Post by bengtfrost »

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 :)

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1388
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 65 times

Re: Unattended upgrades - feedback

#12 Post by None1975 »

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 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Unattended upgrades - feedback

#13 Post by Head_on_a_Stick »

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.
deadbang

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1388
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 65 times

Re: Unattended upgrades - feedback

#14 Post by None1975 »

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 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Unattended upgrades - feedback

#15 Post by debiman »

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.

bengtfrost
Posts: 13
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

#16 Post by bengtfrost »

Thanks @debiman. No problem, have been in Open Source (GNU / Linux, * BSD, etc) world since the late 1990's, can be "hot" sometimes: The beautiful with f.ex. Debian and MATE are the flexibility and all the choices. However, it's not easy for beginners to manage Debian, therefore help them... - "We have all been newcomers".
Last edited by bengtfrost on 2019-07-30 12:35, edited 1 time in total.

bengtfrost
Posts: 13
Joined: 2018-03-11 09:12

Re: Unattended upgrades - feedback

#17 Post by bengtfrost »

Now on Debian Buster with MATE desktop and upgraded friends system as well with Unattended upgrades (added Skype).

Code: Select all

        "o=Debian,a=stable";
                 "o=Debian,a=stable,l=Debian-Security";
	         "o=Debian,a=stable-updates";
                 "a=stable,site=repo.skype.com";

Post Reply