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

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

I'm not sure myself, but maybe somebody on the list knows?

Anybody know what's the procedure for adding a local disk as a repo?

Thanks in advance!

On Sun, Feb 2, 2020, at 4:15 AM, Tamar Nirenberg wrote:
Hi Rick,

Thank you for your answer.

The sources file contains only these lines, no reference to the live installer image:

$ cat sources.list

# See https://wiki.debian.org/SourcesList for more information.

deb http://deb.debian.org/debian buster main

deb-src http://deb.debian.org/debian buster main

deb http://deb.debian.org/debian buster-updates main

deb-src http://deb.debian.org/debian buster-updates main

deb http://security.debian.org/debian-security/ buster/updates main

deb-src http://security.debian.org/debian-security/ buster/updates main

Do you know how I can add the USB mount (i did not use a DVD, but a USB stick) as a source for the apt install?


‫בתאריך יום א׳, 2 בפבר׳ 2020 ב-13:45 מאת ‪Rick Thomas‬‏ <‪rick.thomas@pobox.com‬‏>:‬

Hi Tamar,

I think your problem is that the box is not connected to the internet.  The sources.list file left by the install process assumes you will be connected.

So take a look at /etc/apt/sources.list and comment out the lines that refer to internet sites such as deb.debian.org,  Then un-comment the line(s) that refer(s) to the live installer image.  Then make sure the DVD is in the drive and mounted.  You should now be able to install packages from the DVD.

Good luck!

On Sun, Feb 2, 2020, at 3:13 AM, Tamar Nirenberg wrote:

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"

Reply to: