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

 

 

 

updating never stops

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
PaoloR
Posts: 6
Joined: 2020-03-20 12:57

updating never stops

#1 Post by PaoloR »

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.

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: updating never stops

#2 Post by Head_on_a_Stick »

Try

Code: Select all

gsettings set org.gnome.software download-updates false
deadbang

PaoloR
Posts: 6
Joined: 2020-03-20 12:57

Re: updating never stops

#3 Post by PaoloR »

Tried...it is still downloading everything, again and again.

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: updating never stops

#4 Post by Head_on_a_Stick »

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
deadbang

PaoloR
Posts: 6
Joined: 2020-03-20 12:57

Re: updating never stops

#5 Post by PaoloR »

~$ 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

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: updating never stops

#6 Post by Head_on_a_Stick »

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

PaoloR
Posts: 6
Joined: 2020-03-20 12:57

Re: updating never stops

#7 Post by PaoloR »

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

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: updating never stops

#8 Post by stevepusser »

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.
MX Linux packager and developer

PaoloR
Posts: 6
Joined: 2020-03-20 12:57

Re: updating never stops

#9 Post by PaoloR »

~$ 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:

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: updating never stops

#10 Post by Head_on_a_Stick »

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

Post Reply