Apt Update Output Question

If none of the more specific forums is the right place to ask

Apt Update Output Question

Postby llewellen » 2018-05-26 14:33

This mornng I ran apt update apt upgrade and received this. What does it mean? What to do about it? I kept the local version currently installed (for the time being) so as not to inadvertently break something. Thanks.

Code: Select all
 Package configuration
 ┌────────────────────┤ Configuring unattended-upgrades ├────────────────────┐
 │ A new version (/usr/share/unattended-upgrades/20auto-upgrades-disabled)   │
 │ of configuration file /etc/apt/apt.conf.d/20auto-upgrades is available,   │
 │ but the version installed currently has been locally modified.            │
 │                                                                           │
 │ What do you want to do about modified configuration file                  │
 │ 20auto-upgrades?                                                          │
 │                                                                           │
 │           install the package maintainer's version                        │
 │           keep the local version currently installed                      │
 │           show the differences between the versions                       │
 │           show a side-by-side difference between the versions             │
 │           show a 3-way difference between available versions              │
 │           do a 3-way merge between available versions                     │
 │           start a new shell to examine the situation                      │
 │                                                                           │
 │                                                                           │
 │                                  <Ok>                                     │
 │                                                                           │
 └───────────────────────────────────────────────────────────────────────────┘
                                                                         


 
llewellen
 
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Apt Update Output Question

Postby debiman » 2018-05-26 17:23

show the differences between the versions?
start a new shell to examine the situation?
User avatar
debiman
 
Posts: 2609
Joined: 2013-03-12 07:18

Re: Apt Update Output Question

Postby llewellen » 2018-05-26 17:30

debiman wrote:show the differences between the versions?
start a new shell to examine the situation?


Yes, I did try looking at "show the differences" but I am too much of a neophyte to assess meaningfully what the differences might imply; possibly leading to breakage.

In any event, I don't want unattended upgrades because I would like to see what is being upgraded, even if I don't fully comprehend it. That's why this package is disabled. I'm thinking I should just leave it as is, unless that will create other problems. So, if it's going to remain disabled then it's moot whether it gets upgraded??
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope
llewellen
 
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Apt Update Output Question

Postby stevepusser » 2018-05-26 17:59

Who modified it after installation? If you did, why not just accept the new version and change it again?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: mvp 0.29.0, Pale Moon 28.0.0, wine-staging 3.13, qBittorrent 4.1.2, Linux kernel 4.17.14, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9803
Joined: 2009-10-06 05:53

Re: Apt Update Output Question

Postby llewellen » 2018-05-26 18:16

stevepusser wrote:Who modified it after installation? If you did, why not just accept the new version and change it again?


If I did it, I don't recall how I did it :((

Currently, /etc/apt/apt.conf.d/20auto-upgrades contains:

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "0";
APT::Periodic::Download-Upgradeable-Packages "0";

Am I correct in reading this that the zeroes mean that unattended upgrades are not enabled (i.e. are disabled)? If so, doesn't the new version listed in the output above say that the new version proposed for installation also has unattended upgrades disabled? Then it should be OK to go ahead and install the new version.
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope
llewellen
 
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Apt Update Output Question

Postby Bulkley » 2018-05-26 19:45

Whenever I am confronted by something new that I don't understand I choose "install the package maintainer's version." Sticking with an old configuration may cause me more trouble in the long run. Generally the reason for the changes becomes clear over the next several months.
Bulkley
 
Posts: 5602
Joined: 2006-02-11 18:35

Re: Apt Update Output Question

Postby llivv » 2018-05-26 19:48

tell us which version of Debian you have installed and someone can double check for you
or you can take a look at
debian.org/Packages
Search the contents of packages
( 20auto-upgrades )
packages that contain files named like this
choose the Debian version

and it will show you which packages install that file

than you should know how to deal with it to your liking.
in the kitchen with Julia
The Past, Christmas Present and Future
Get on the Dbus to Bcan
User avatar
llivv
 
Posts: 5614
Joined: 2007-02-14 18:10
Location: cold storage

Re: Apt Update Output Question

Postby llewellen » 2018-05-26 20:00

This isn't a huge deal; I'm just trying to learn and understand the process. I'm running debian-testing. A search of 20auto-upgrades in packages returned "sorry, your search gave no results".

BTW whenever I try to upload an image I keep getting "Sorry, the board attachment quota has been reached".
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope
llewellen
 
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Apt Update Output Question

Postby llewellen » 2018-05-26 20:01

Bulkley wrote:Whenever I am confronted by something new that I don't understand I choose "install the package maintainer's version." Sticking with an old configuration may cause me more trouble in the long run. Generally the reason for the changes becomes clear over the next several months.


I would be tempted to go with this as well, so long as it means (as the original text seems to say) that unattended updates will remain disabled.
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope
llewellen
 
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Apt Update Output Question

Postby llivv » 2018-05-26 20:09

llewellen wrote:This isn't a huge deal; I'm just trying to learn and understand the process. I'm running debian-testing. A search of 20auto-upgrades in packages returned "sorry, your search gave no results".

BTW whenever I try to upload an image I keep getting "Sorry, the board attachment quota has been reached".


There are two search boxes on the debian.org/Packages page
the first is "Search package directories" in the debian repos
you have to go the second searh box titled:

Search the contents of packages

than you have to chose the second bulleted option titled:

packages that contain files named like this

than chose Testing
and you can leave Any in the Architecture box

I hope you find the package this time
Best of Luck :)
in the kitchen with Julia
The Past, Christmas Present and Future
Get on the Dbus to Bcan
User avatar
llivv
 
Posts: 5614
Joined: 2007-02-14 18:10
Location: cold storage

Re: Apt Update Output Question

Postby llewellen » 2018-05-26 20:25

OK thank you. The search returned only one result - the file listed in the output I originally posted. Since this board says it attachment quota is filled, I can't post a screenshot. The package name is "unattended-upgrades" (1.2). The description says:

"automatic installation of security upgrades
This package can download and install security upgrades automatically and unattended, taking care to only install packages from the configured APT source, and checking for dpkg prompts about configuration file changes.
This script is the backend for the APT::Periodic::Unattended-Upgrade option."

This seems innocuous to me. I'm inclined to go with accepting the package maintainer's version.
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope
llewellen
 
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Apt Update Output Question

Postby llivv » 2018-05-26 23:06

not sure why you have unattended-upgrades installed if you don't want to use it
unless it creates a problem when you try to remove it.

I don't have full blown systemd installed of buster or sid to double check what hacks are involved

I do see in the changelog recent changes to 50-unatteded-upgrades file.

BUT - there are systemd hooks for it in other places that I haven't looked at yet.

if it's not that big a deal - installing the maintainers new config file might be the way you want to go - but it also may change that
boolean 0 (disabled) to a
1 - as it showed on my sid when I just installed it.

Me, I'd double check what it looks like to remove that package - hopfully it will come out clean
and you wouldn't have to worry about what the new configuration looks like

or you could read the man unattened-upgrades

or look at the examples files in
/usr/share/unattended-upgrades
in the kitchen with Julia
The Past, Christmas Present and Future
Get on the Dbus to Bcan
User avatar
llivv
 
Posts: 5614
Joined: 2007-02-14 18:10
Location: cold storage

Re: Apt Update Output Question

Postby llewellen » 2018-05-26 23:21

@llivv: I agree that it doesn't make much sense to have unattended-upgrades installed and then turn around and disable it but I didn't explicitly install it in the first place. Is it possible that somewhere during installation or setup I declined an option for automatic updates and that produced this result?

However, it may be moot. The new /usr/ file that will replace it appears also to be set to disabled, if I read that initial output correctly.

Also, if I decide to go with the package maintainer's new version and that turns out to have enabled unattended-upgrades, I should be able to go back in and disable it after the fact, no?
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope
llewellen
 
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Apt Update Output Question

Postby debiman » 2018-05-27 07:22

Bulkley wrote:Whenever I am confronted by something new that I don't understand I choose "install the package maintainer's version." Sticking with an old configuration may cause me more trouble in the long run. Generally the reason for the changes becomes clear over the next several months.

that's an admirably fatalistic attitude!
User avatar
debiman
 
Posts: 2609
Joined: 2013-03-12 07:18

Re: Apt Update Output Question

Postby llivv » 2018-05-27 09:43

llewellen wrote:@llivv: I agree that it doesn't make much sense to have unattended-upgrades installed and then turn around and disable it but I didn't explicitly install it in the first place. Is it possible that somewhere during installation or setup I declined an option for automatic updates and that produced this result?
Yes
I believe even some maintainer configs cause the apt warning you posted in your OP. That is why many believe it is safe to use the maintainers new config file. I used to without question myself. BUT, that was before systemd went mainstream.
So, if you're comfortable using current default Debian than by all means use the maintainers new config file.

llewellen wrote:However, it may be moot. The new /usr/ file that will replace it appears also to be set to disabled, if I read that initial output correctly.
If your talking about 50-unattended-upgrades in /usr/share - that file actually lives in /etc/apt/apt.conf.d - unless I'm mistaken which is a possibility.
I try to use the minimal auto-magic I can possibly get away with and still maintain my comfort level.

llewellen wrote:Also, if I decide to go with the package maintainer's new version and that turns out to have enabled unattended-upgrades, I should be able to go back in and disable it after the fact, no?
If not you could always try to uninstall or downgrade.
I'd investigate that option before rather than later, or at least search out the current way to disable before you accept.
in the kitchen with Julia
The Past, Christmas Present and Future
Get on the Dbus to Bcan
User avatar
llivv
 
Posts: 5614
Joined: 2007-02-14 18:10
Location: cold storage

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable