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

 

 

 

Unable to download security updates

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
morse_the_horse
Posts: 66
Joined: 2013-06-29 22:07

Unable to download security updates

#1 Post by morse_the_horse »

Debian Buster with Cinnamon and Gnome installed the other day. I have another system with the same software and an Ubuntu system.

System shows I have updates. When I select updates in Software, I get the following message:

Code: Select all

Unable to download updates:
failed to refresh cache: E: http://security.debian.org/debian-security buster/updates InRelease is not (yet) available (Could not resolve 'security.debian.org')
I get "could not resolve hostname" on other sites.

I can http to the security.debian.org with browser without problem.

Sources.list file is as installed. I have not touched it:

Code: Select all

# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20191116-09:57]/ buster contrib main non-free

#deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20191116-09:57]/ buster contrib main non-free

deb http://deb.debian.org/debian/ buster main non-free contrib
# deb-src http://deb.debian.org/debian/ buster main non-free contrib

deb http://security.debian.org/debian-security buster/updates main contrib non-free
# deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
# deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

Any help on what's wrong?

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

Re: Unable to download security updates

#2 Post by Head_on_a_Stick »

Please post the output of

Code: Select all

ls -l /etc/resolv.conf
cat /etc/resolv.conf
ping -c3 -4 security.debian.org
ping -c3 -4 151.101.128.204
deadbang

morse_the_horse
Posts: 66
Joined: 2013-06-29 22:07

Re: Unable to download security updates

#3 Post by morse_the_horse »

Head_on_a_Stick wrote:Please post the output of

Code: Select all

ls -l /etc/resolv.conf
cat /etc/resolv.conf
ping -c3 -4 security.debian.org
ping -c3 -4 151.101.128.204
The pings work fine.

Code: Select all

ls -l /etc/resolv.conf
-rw-r--r-- 1 root root 354 Apr 10 09:22 /etc/resolv.conf
cat /etc/resolv.conf
# resolv.conf(5) file generated byTorGuard
nameserver 10.9.0.1
nameserver 10.8.0.1
Note I did say
I can http to the security.debian.org with browser without problem.

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

Re: Unable to download security updates

#4 Post by Head_on_a_Stick »

So does APT work without the VPN? And why didn't you tell us you're using that?
deadbang

morse_the_horse
Posts: 66
Joined: 2013-06-29 22:07

Re: Unable to download security updates

#5 Post by morse_the_horse »

Head_on_a_Stick wrote:So does APT work without the VPN? And why didn't you tell us you're using that?
Sorry. I turn the VPN at startup. I'll have to wait until I have more updates to see if there is a difference.

cuckooflew
Posts: 677
Joined: 2018-05-10 19:34
Location: Some where out west
Been thanked: 1 time

Re: Unable to download security updates

#6 Post by cuckooflew »

Which way do you turn the VPN at startup, ? off or on ? And I also wonder why the OP did not mention that ?
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!

arzgi
Posts: 1197
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Unable to download security updates

#7 Post by arzgi »

morse_the_horse wrote:

Code: Select all

Unable to download updates:
failed to refresh cache: E: http://security.debian.org/debian-security buster/updates InRelease is not (yet) available (Could not resolve 'security.debian.org')
I got the same error when my mobo's battery had died, and clock stopped.

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

Re: Unable to download security updates

#8 Post by stevepusser »

BTW, "someone or something" touched your sources.list to add the contrib and nonfree sections, as well as comment out the deb-src lines. There's nothing wrong with that at all, but that's not what Debian installs by default.
MX Linux packager and developer

User avatar
sunrat
Administrator
Administrator
Posts: 6495
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 476 times

Re: Unable to download security updates

#9 Post by sunrat »

stevepusser wrote:BTW, "someone or something" touched your sources.list to add the contrib and nonfree sections, as well as comment out the deb-src lines. There's nothing wrong with that at all, but that's not what Debian installs by default.
I did a fresh netinstall of Buster a couple of weeks ago and IIRC the installer asks if you want contrib/nonfree in sources.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

arzgi
Posts: 1197
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Unable to download security updates

#10 Post by arzgi »

sunrat wrote: I did a fresh netinstall of Buster a couple of weeks ago and IIRC the installer asks if you want contrib/nonfree in sources.
I can confirm that, also it asks if you want source files, even backports.

Post Reply