[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Error: could not resolve deb.debian.org after installing via debian live image



Note that you should always download deb files on another Debian machine with “apt download ...” or you bypass all of apt’s integrity checking. 

Jacob

> On Feb 2, 2020, at 14:06, Lou Poppler <LouPoppler@cableone.net> wrote:
> 
> Note that the OP wrote: "The box is not connected to the internet."
> I assume therefore this was an install from calamares, not the old installer on
> the live system.  Thus I think there are also no DVDs involved.
> 
> Tamar: Those 2 packages you are trying to install could be downloaded from the
> internet on another machine, stored on a USB memory stick, and then moved to the
> new server on that USB.  See the 2 URLs listed in your message, under the lines
> "E: Failed to fetch".  Then you could install them like this:
> sudo dpkg --install /path/to/USB/files/openssh-sftp-server_7.9p1-10+deb10u1_amd64.deb
> sudo dpkg --install /path/to/USB/files/openssh-server_7.9p1-10+deb10u1_amd64.deb
> 
>> On Sun, 2020-02-02 at 17:27 +0100, Narcis Garcia wrote:
>> $ host deb.debian.org
>> deb.debian.org is an alias for debian.map.fastly.net.
>> debian.map.fastly.net has address 151.101.38.133
>> debian.map.fastly.net has IPv6 address 2a04:4e42:9::645
>> 
>> 
>> 
>> Narcis Garcia
>> 
>> __________
>> I'm using this dedicated address because personal addresses aren't
>> masked enough at this mail public archive. Public archive administrator
>> should fix this against automated addresses collectors.
>> El 2/2/20 a les 12:19, Tamar Nirenberg ha escrit:
>>> Hi,
>>> 
>>> I installed Debian 10 on a new server using live
>>> image:debian-live-10.2.0-amd64-gnome.iso The box is not connected to the
>>> internet.
>>> 
>>> Installation ended successfully, but now when I try to install open-ssh
>>> I get an error saying "could not resolve deb.debian.org
>>> <http://deb.debian.org>"
>>> 
>>> This is the error:
>>> 
>>> $ apt-get install openssh-server
>>> 
>>> Reading package lists... Done
>>> 
>>> Building dependency tree
>>> 
>>> Reading state information... Done
>>> 
>>> The following additional packages will be installed:
>>> 
>>> openssh-sftp-server
>>> 
>>> Suggested packages:
>>> 
>>> molly-guard monkeysphere rssh ssh-askpass ufw
>>> 
>>> The following NEW packages will be installed:
>>> 
>>> openssh-server openssh-sftp-server
>>> 
>>> 0 upgraded, 2 newly installed, 0 to remove and 93 not upgraded.
>>> 
>>> Need to get 396 kB of archives.
>>> 
>>> After this operation, 1,609 kB of additional disk space will be used.
>>> 
>>> Do you want to continue? [Y/n] y
>>> 
>>> Ign:1 http://deb.debian.org/debian buster/main amd64 openssh-sftp-server
>>> amd64 1:7.9p1-10+deb10u1
>>> 
>>> Ign:2 http://deb.debian.org/debian buster/main amd64 openssh-server
>>> amd64 1:7.9p1-10+deb10u1
>>> 
>>> Err:1 http://deb.debian.org/debian buster/main amd64 openssh-sftp-server
>>> amd64 1:7.9p1-10+deb10u1
>>> 
>>> Could not resolve 'deb.debian.org <http://deb.debian.org>'
>>> 
>>> Err:2 http://deb.debian.org/debian buster/main amd64 openssh-server
>>> amd64 1:7.9p1-10+deb10u1
>>> 
>>> Could not resolve 'deb.debian.org <http://deb.debian.org>'
>>> 
>>> E: Failed to fetch
>>> http://security.debian.org/debian-security/pool/updates/main/o/openssh/openssh-sftp-server_7.9p1-10+deb10u1_amd64.deb
>>> Could not resolve 'deb.debian.org <http://deb.debian.org>'
>>> 
>>> E: Failed to fetch
>>> http://security.debian.org/debian-security/pool/updates/main/o/openssh/openssh-server_7.9p1-10+deb10u1_amd64.deb
>>> Could not resolve 'deb.debian.org <http://deb.debian.org>'
>>> 
>>> E: Unable to fetch some archives, maybe run apt-get update or try with
>>> --fix-missing?
>>> 
>>> The debian-live-10.2.0-amd64-gnome.contents does include this:
>>> /pool/main/o/openssh
>>> 
>>> Am I missing something?
>>> 
>>> 
>>> Thanks,
>>> Tamar N.
>> 
>> 
> 


Reply to: