Failed to Fetch
Hello sirs,
I have that error: Quote:
it did on terminal when i was trying that code commands: Code:
apt-get update && apt-get upgrade Code:
apt-get dist-upgrade PHP Code:
|
There may be a repo issue, but it may only be your local cache. Try this
Quote:
|
I think you have broken packages. Try:
Code:
sudo aptitude update && sudo aptitude safe-upgrade Code:
sudo apt-get install aptitude |
Reboot and try again.
Post your sources.lst Where's the "detailed report" mentioned? "A package dependency could not be found." I can only imagine. |
It looks like you have no Internet connection.
|
Someone else here had exactly this same fetch failure problem yesterday, except they were trying to access the Deepin repos.
They solved the problem by rebooting their router. Worth a shot. |
Quote:
"Network is unreachable" seems like a sure bet:- Let's see what the src's list shows:- @THE PHANTOM: What is the output of: Code:
cat /etc/apt/sources.list |
The message is saying that your computer cannot reach the server specified for that repo. It can be a few things:
- you are not connected to a network. Can you ping your gateway IP address? Can you ping ftp.debian.org? - If you are behing a proxy, have you created apt.conf file specifying your proxy info? - there is a problem with the repo server. You can try switching to another repo server to see if you can download from it. - Maybe a typo in your lines for the sources.list? |
that is my source list:
Quote:
|
i tried that codes:
Quote:
Quote:
Quote:
|
I also tried to ping my gateway and ftp.debian.org and both with successfully pinged.
|
Are there any files under /etc/apt/preferences.d ?
Code:
# ls /etc/apt/preferences.d/ |
Quote:
Quote:
|
Also, as I study your sources.list closer, I can see you have entries for Jessie and stable, which are not the same versions of Debian. jessie is version 8, and stable is version 9. This needs to be corrected. Do you have Debian 8 or Debian 9 installed?
Please post the output of: Code:
# cat /etc/*release* It sounds like you probably have Jessie. But when Debian Stretch became "stable" and Debian Jessie became "oldstable" you started having issues with that mismatch. This is why i don't use stable in my sources.list and instead the name, wheezy, jesse, etc... |
Quote:
Quote:
|
All times are GMT -5. The time now is 02:15 PM. |