Below is something like what I get when I try to install anything on my just installed OS Linux Mint Debian Edition.

Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  apache2-data apache2-utils
Suggested packages:
  apache2-doc apache2-suexec-pristine apache2-suexec-custom
The following NEW packages will be installed:
  apache2 apache2-data apache2-utils
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 561 kB of archives.
After this operation, 1,627 kB of additional disk space will be used.
Do you want to continue? [Y/n] Err http://ftp.us.debian.org/debian/ jessie/main apache2-utils amd64 2.4.10-10
  Could not resolve 'ftp.us.debian.org'
Err http://ftp.us.debian.org/debian/ jessie/main apache2-data all 2.4.10-10
  Could not resolve 'ftp.us.debian.org'
Err http://ftp.us.debian.org/debian/ jessie/main apache2 amd64 2.4.10-10
  Could not resolve 'ftp.us.debian.org'

I'm assuming this is a /etc/apt/sources.list problem but I'm not sure and I don't know what to do if it is. Thanks for any and all replies.

Recommended Answers

Hi,

in pratice apt does not resolve that repository, you can change it, read these links:

Jump to Post

All 4 Replies

I don't think this is a repository problem, but a DNS problem since the system cannot resolve ftp.us.debian.org. What happens when you try to ping that, or use nslookup to find it?

It's most likely a one time issue that occured when you tried it, the server must've been off. Pings fine now

Put "nameserver 8.8.8.8" on /etc/resolv.conf file

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.