updating never stops

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

updating never stops

Postby PaoloR » 2020-03-20 13:16

Hi, I am on Debian 9 (stretch).
I am using this laptop after a long break. I have the gnome package updater installed. I installed all the security updates. Main problem is that the gnome package updater never stops downolading other updates; I do not find a way to ignore that. The net access is always slow and slow because of these updates; the updates restart everytime I log-in.
I have tried both
sudo dpkg-reconfigure unattended-upgrades
and
sudo dpkg-reconfigure unattended-upgrades

without success.
I have tried to uncheck security and recommend updates in software & updates but there the cache refresh process never ends.

In the gnome package updater gui I see a list of 888 packages, most of them I don't need but I am unable to choose "ignore this update."

Working on the laptop is almost impossible.
PaoloR
 
Posts: 6
Joined: 2020-03-20 12:57

Re: updating never stops

Postby Head_on_a_Stick » 2020-03-20 16:55

Try
Code: Select all
gsettings set org.gnome.software download-updates false
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12296
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: updating never stops

Postby PaoloR » 2020-03-20 20:59

Tried...it is still downloading everything, again and again.
PaoloR
 
Posts: 6
Joined: 2020-03-20 12:57

Re: updating never stops

Postby Head_on_a_Stick » 2020-03-20 21:31

Can we see
Code: Select all
cat /etc/apt/apt.conf.d/20auto-upgrades
grep -v '/\|^$' /etc/apt/apt.conf.d/50unattended-upgrades
systemctl is-enabled apt-daily{,-upgrade}.timer
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12296
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: updating never stops

Postby PaoloR » 2020-03-20 22:01

~$ cat /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::MaxAge "30";
APT::Periodic::MinAge "2";
APT::Periodic::MaxSize "500";
APT::Periodic::Unattended-Upgrade "0";

~$ grep -v '/\|^$' /etc/apt/apt.conf.d/50unattended-upgrades
Unattended-Upgrade::Origins-Pattern {
"origin=Debian,codename=${distro_codename},label=Debian-Security";
};
Unattended-Upgrade::Package-Blacklist {
};

~$ systemctl is-enabled apt-daily{,-upgrade}.timer
enabled
enabled
PaoloR
 
Posts: 6
Joined: 2020-03-20 12:57

Re: updating never stops

Postby Head_on_a_Stick » 2020-03-20 22:33

Disable the timer units:
Code: Select all
# systemctl disable --now apt-daily{,-upgrade}.timer

The gsettings(1) command and your posted APT configuration should disable all updates so that shouldn't really be needed. Obviously I don't properly understand how this all works.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12296
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: updating never stops

Postby PaoloR » 2020-03-20 22:56

Thanks a lot for your help.
I have also rebooted the laptop.
Problem is still there ...hard to understand.
See https://www.dropbox.com/s/hl2n8osnhl6oe ... 5.png?dl=0
PaoloR
 
Posts: 6
Joined: 2020-03-20 12:57

Re: updating never stops

Postby stevepusser » 2020-03-20 23:04

888 packages seems like enough for an upgrade to Buster! Are you certain you don't have "stable" in your sources instead of "stretch", and Buster went stable during this long break? Could you show us the output of

Code: Select all
cat /etc/apt/sources.list
in the terminal?

In the gnome package updater gui I see a list of 888 packages, most of them I don't need
I'm sure you need most of those those packages, but you probably don't want an uncontrolled upgrade to Buster. Let's make sure.

Code: Select all
apt policy
will also provide vital information about that, but is a bit more advanced.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: LibreOffice 7.0.0, QMPlay2 20.07.04, Pale Moon 28.12.0, KeepassXC 2.6.0, Arqiver 0.6.0+git, Foliate 2.4.2
User avatar
stevepusser
 
Posts: 11884
Joined: 2009-10-06 05:53

Re: updating never stops

Postby PaoloR » 2020-03-21 00:12

~$ cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 NETINST 20170722-11:28]/ stretch main

# deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 NETINST 20170722-11:28]/ stretch main

deb http://mi.mirror.garr.it/mirrors/debian/ stretch main non-free contrib


# stretch-updates, previously known as 'volatile'





:~$ apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 https://repo.skype.com/deb stable/main amd64 Packages
release o=. stable,a=stable,n=stable,l=. stable,c=main,b=amd64
origin repo.skype.com
500 http://ppa.launchpad.net/apandada1/brig ... ler/ubuntu focal/main amd64 Packages
release v=20.04,o=LP-PPA-apandada1-brightness-controller,a=focal,n=focal,l=Brightness Controller,c=main,b=amd64
origin ppa.launchpad.net
500 http://mi.mirror.garr.it/mirrors/debian stretch/contrib amd64 Packages
release v=9.12,o=Debian,a=oldstable,n=stretch,l=Debian,c=contrib,b=amd64
origin mi.mirror.garr.it
500 http://mi.mirror.garr.it/mirrors/debian stretch/non-free amd64 Packages
release v=9.12,o=Debian,a=oldstable,n=stretch,l=Debian,c=non-free,b=amd64
origin mi.mirror.garr.it
500 http://mi.mirror.garr.it/mirrors/debian stretch/main amd64 Packages
release v=9.12,o=Debian,a=oldstable,n=stretch,l=Debian,c=main,b=amd64
origin mi.mirror.garr.it
Pinned packages:
PaoloR
 
Posts: 6
Joined: 2020-03-20 12:57

Re: updating never stops

Postby Head_on_a_Stick » 2020-03-21 10:06

You shouldn't use PPAs in Debian, they can break your system. Read the first link in my signature.

Have you actually fully updated your system? Re-enable the security & stretch-updates repositories and run
Code: Select all
# apt update
# apt upgrade

Then reboot and see if the "package updater" tries to download stuff again.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12296
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to General Questions

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable