Unable to download security updates

Help with issues regarding installation of Debian

Unable to download security updates

Postby morse_the_horse » 2020-04-09 13:57

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?
morse_the_horse
 
Posts: 55
Joined: 2013-06-29 22:07

Re: Unable to download security updates

Postby Head_on_a_Stick » 2020-04-10 09:55

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
Black Lives Matter

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

Re: Unable to download security updates

Postby morse_the_horse » 2020-04-10 14:52

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.
morse_the_horse
 
Posts: 55
Joined: 2013-06-29 22:07

Re: Unable to download security updates

Postby Head_on_a_Stick » 2020-04-10 16:14

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

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

Re: Unable to download security updates

Postby morse_the_horse » 2020-04-10 17:15

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.
morse_the_horse
 
Posts: 55
Joined: 2013-06-29 22:07

Re: Unable to download security updates

Postby cuckooflew » 2020-04-10 18:54

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!
cuckooflew
 
Posts: 683
Joined: 2018-05-10 19:34
Location: Some where out west

Re: Unable to download security updates

Postby arzgi » 2020-04-11 11:58

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.
arzgi
 
Posts: 667
Joined: 2008-02-21 17:03
Location: Finland

Re: Unable to download security updates

Postby stevepusser » 2020-04-12 00:29

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
stevepusser
 
Posts: 12124
Joined: 2009-10-06 05:53

Re: Unable to download security updates

Postby sunrat » 2020-04-12 02:59

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!
User avatar
sunrat
 
Posts: 3306
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Unable to download security updates

Postby arzgi » 2020-04-12 12:12

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.
arzgi
 
Posts: 667
Joined: 2008-02-21 17:03
Location: Finland


Return to Installation

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable