Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
07-02-2017, 01:30 PM
|
#1
|
Member
Registered: Mar 2016
Posts: 94
Rep:
|
Failed to Fetch
Hello sirs,
I have that error:
what is that?
it did on terminal when i was trying that code commands:
Code:
apt-get update && apt-get upgrade
Code:
apt-get dist-upgrade
i have also such problem on trying to check updates on software manager:
PHP Code:
A package dependency could not be found. More information is available in the detailed report.
Please help me.
|
|
|
07-02-2017, 02:57 PM
|
#2
|
LQ Guru
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,929
|
There may be a repo issue, but it may only be your local cache. Try this
Quote:
sudo apt-get clean all
sudo apt-get update
sudo apt-get dist-upgrade -y
# and optionally
sudo apt-get autoremove
|
|
|
|
07-03-2017, 07:37 AM
|
#3
|
LQ Newbie
Registered: Jul 2017
Posts: 5
Rep:
|
I think you have broken packages. Try:
Code:
sudo aptitude update && sudo aptitude safe-upgrade
If you don't have aptitude (you should have it on debian tho) you can install it with:
Code:
sudo apt-get install aptitude
If that does not fix the problem I would try disabling one by one my repos in sources.list so I find the problematic one. Then I would try and change the mirror if possible to see if this is the issue. If that doesn't help you can wait a day or two and if the issue is still there then I guess you would have to get feedback from someone more experienced. Good luck!
Last edited by iaskaboutlinux; 07-03-2017 at 07:38 AM.
|
|
1 members found this post helpful.
|
07-03-2017, 08:00 AM
|
#4
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
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.
Last edited by Habitual; 07-03-2017 at 08:04 AM.
|
|
|
07-03-2017, 10:36 AM
|
#5
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
It looks like you have no Internet connection.
|
|
|
07-03-2017, 11:30 AM
|
#6
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
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.
|
|
|
07-03-2017, 11:59 AM
|
#7
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
Quote:
Originally Posted by AwesomeMachine
It looks like you have no Internet connection.
|
Agreed.
"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
|
|
|
07-03-2017, 12:42 PM
|
#8
|
Member
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 833
|
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?
|
|
|
07-05-2017, 12:26 PM
|
#9
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
|
|
|
07-05-2017, 12:32 PM
|
#10
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
i tried that codes:
Quote:
sudo aptitude update && sudo aptitude safe-upgrade
|
Quote:
sudo apt-get clean all
sudo apt-get update
|
but output was that:
Quote:
gelapir@Gelapir:~$ sudo apt-get update
Ign http://ftp.debian.org stable InRelease
Hit http://ftp.debian.org stable-updates InRelease
Ign http://mozilla.debian.net jessie-backports InRelease
Hit http://ftp.debian.org jessie-backports InRelease
Hit http://ftp.debian.org stable Release.gpg
Ign http://mirrors.kernel.org jessie InRelease
Hit http://ftp.debian.org stable-updates/main amd64 Packages
Ign http://mozilla.debian.net jessie-backports Release.gpg
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.debian.org stable-updates/contrib amd64 Packages
Hit http://mirrors.kernel.org jessie-updates InRelease
Hit http://ftp.debian.org stable-updates/non-free amd64 Packages
Ign http://mozilla.debian.net jessie-backports Release
Hit http://ftp.debian.org stable-updates/contrib Translation-en
Get:1 http://security.debian.org stable/updates InRelease [62.9 kB]
Hit http://mirrors.kernel.org jessie Release.gpg
Hit http://ftp.debian.org stable-updates/main Translation-en
Ign http://mozilla.debian.net jessie-backports/firefox-release amd64 Packages/DiffIndex
Hit http://ftp.debian.org stable-updates/non-free Translation-en
Get:2 http://mirrors.kernel.org jessie-updates/main Sources [15.7 kB]
Hit http://ftp.debian.org stable Release
Get:3 http://ftp.debian.org jessie-backports/main amd64 Packages/DiffIndex [27.8 kB]
Get:4 http://mirrors.kernel.org jessie-updates/main amd64 Packages/DiffIndex [8,392 B]
Get:5 http://ftp.debian.org jessie-backports/contrib amd64 Packages/DiffIndex [24.6 kB]
Get:6 http://security.debian.org jessie/updates/main Sources [210 kB]
Get:7 http://mirrors.kernel.org jessie-updates/main Translation-en/DiffIndex [3,196 B]
Get:8 http://ftp.debian.org jessie-backports/non-free amd64 Packages/DiffIndex [22.4 kB]
Get:9 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [6,976 B]
Hit http://mirrors.kernel.org jessie Release
Get:10 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:11 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [16.7 kB]
Get:12 http://mirrors.kernel.org jessie/main Sources [7,055 kB]
Hit http://ftp.debian.org stable/main amd64 Packages
Get:13 http://security.debian.org jessie/updates/main amd64 Packages [415 kB]
Hit http://ftp.debian.org stable/contrib amd64 Packages
Hit http://ftp.debian.org stable/non-free amd64 Packages
Hit http://ftp.debian.org stable/contrib Translation-en
Hit http://ftp.debian.org stable/main Translation-en
Hit http://ftp.debian.org stable/non-free Translation-en
Ign http://mozilla.debian.net jessie-backports/firefox-release Translation-en_US
Ign http://mozilla.debian.net jessie-backports/firefox-release Translation-en
Get:14 http://mirrors.kernel.org jessie/main amd64 Packages [6,790 kB]
Err http://mozilla.debian.net jessie-backports/firefox-release amd64 Packages
404 Not Found [IP: 140.211.166.202 80]
Get:15 http://mirrors.kernel.org jessie/main Translation-en [4,583 kB]
Get:16 http://security.debian.org jessie/updates/main Translation-en [219 kB]
Get:17 http://security.debian.org stable/updates/main amd64 Packages [53.6 kB]
Get:18 http://security.debian.org stable/updates/contrib amd64 Packages [32 B]
Get:19 http://security.debian.org stable/updates/non-free amd64 Packages [1,272 B]
Get:20 http://security.debian.org stable/updates/contrib Translation-en [14 B]
Get:21 http://security.debian.org stable/updates/main Translation-en [24.1 kB]
Get:22 http://security.debian.org stable/updates/non-free Translation-en [481 B]
Fetched 4,040 kB in 9s (440 kB/s)
W: Failed to fetch http://mozilla.debian.net/dists/jess...amd64/Packages 404 Not Found [IP: 140.211.166.202 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
gelapir@Gelapir:~$ sudo aptitude update && sudo aptitude safe-upgrade
Ign http://mozilla.debian.net jessie-backports InRelease
Ign http://ftp.debian.org stable InRelease
Ign http://mozilla.debian.net jessie-backports Release.gpg
Hit http://ftp.debian.org stable-updates InRelease
Ign http://mozilla.debian.net jessie-backports Release
Hit http://ftp.debian.org jessie-backports InRelease
Ign http://mirrors.kernel.org jessie InRelease
Ign http://mozilla.debian.net jessie-backports/firefox-release amd64 Packages/DiffIndex
Hit http://ftp.debian.org stable Release.gpg
Hit http://ftp.debian.org stable-updates/main amd64 Packages
Hit http://mirrors.kernel.org jessie-updates InRelease
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.debian.org stable-updates/contrib amd64 Packages
Hit http://ftp.debian.org stable-updates/non-free amd64 Packages
Hit http://ftp.debian.org stable-updates/contrib Translation-en
Hit http://mirrors.kernel.org jessie Release.gpg
Hit http://security.debian.org stable/updates InRelease
Hit http://ftp.debian.org stable-updates/main Translation-en
Hit http://ftp.debian.org stable-updates/non-free Translation-en
Get: 1 http://mirrors.kernel.org jessie-updates/main Sources [15.7 kB]
Hit http://ftp.debian.org stable Release
Get: 2 http://ftp.debian.org jessie-backports/main amd64 Packages/DiffIndex [27.8 kB]
Get: 3 http://ftp.debian.org jessie-backports/contrib amd64 Packages/DiffIndex [24.6 kB]
Get: 4 http://mirrors.kernel.org jessie-updates/main amd64 Packages/DiffIndex [8,392 B]
Get: 5 http://ftp.debian.org jessie-backports/non-free amd64 Packages/DiffIndex [22.4 kB]
Get: 6 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [6,976 B]
Ign http://mozilla.debian.net jessie-backports/firefox-release Translation-en_US
Get: 7 http://mirrors.kernel.org jessie-updates/main Translation-en/DiffIndex [3,196 B]
Ign http://mozilla.debian.net jessie-backports/firefox-release Translation-en
Get: 8 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Err http://mozilla.debian.net jessie-backports/firefox-release amd64 Packages
404 Not Found [IP: 5.153.231.4 80]
Get: 9 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [16.7 kB]
Hit http://mirrors.kernel.org jessie Release
Get: 10 http://mirrors.kernel.org jessie/main Sources [7,055 kB]
Get: 11 http://mirrors.kernel.org jessie/main amd64 Packages [6,790 kB]
Hit http://ftp.debian.org stable/main amd64 Packages
Hit http://ftp.debian.org stable/contrib amd64 Packages
Hit http://ftp.debian.org stable/non-free amd64 Packages
Hit http://ftp.debian.org stable/contrib Translation-en
Hit http://ftp.debian.org stable/main Translation-en
Hit http://ftp.debian.org stable/non-free Translation-en
Get: 12 http://mirrors.kernel.org jessie/main Translation-en [4,583 kB]
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://security.debian.org stable/updates/main amd64 Packages
Hit http://security.debian.org stable/updates/contrib amd64 Packages
Hit http://security.debian.org stable/updates/non-free amd64 Packages
Hit http://security.debian.org stable/updates/contrib Translation-en
Hit http://security.debian.org stable/updates/main Translation-en
Hit http://security.debian.org stable/updates/non-free Translation-en
Fetched 11.5 MB in 10s (1,112 kB/s)
W: Failed to fetch http://mozilla.debian.net/dists/jess...md64/Packages: 404 Not Found [IP: 5.153.231.4 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Couldn't rebuild package cache
|
|
|
|
07-05-2017, 12:38 PM
|
#11
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
I also tried to ping my gateway and ftp.debian.org and both with successfully pinged.
|
|
|
07-05-2017, 12:42 PM
|
#12
|
Member
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 833
|
Are there any files under /etc/apt/preferences.d ?
Code:
# ls /etc/apt/preferences.d/
Last edited by erik2282; 07-05-2017 at 12:47 PM.
|
|
|
07-05-2017, 12:46 PM
|
#13
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
Quote:
Originally Posted by erik2282
Are there any files under /etc/apt/preferences.d ?
Code:
# ls /etc/apt/preferences.d/
|
there was nothing on output:
Quote:
gelapir@Gelapir:~$ ls /etc/apt/preferences.d/
gelapir@Gelapir:~$
|
|
|
|
07-05-2017, 12:47 PM
|
#14
|
Member
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 833
|
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*
Edit:
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...
Last edited by erik2282; 07-05-2017 at 12:52 PM.
|
|
|
07-05-2017, 12:52 PM
|
#15
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
Quote:
Originally Posted by Habitual
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.
|
that is detailed report:
Quote:
The following packages have unmet dependencies:
plasma-widgets-addons: Depends: plasma-framework but it is not going to be installed
Depends: plasma-workspace but it is not going to be installed
Depends: qml-module-org-kde-draganddrop but it is not going to be installed
Depends: qml-module-org-kde-purpose but it is not going to be installed
Depends: qml-module-org-kde-kcoreaddons but it is not going to be installed
Depends: qml-module-org-kde-kio but it is not going to be installed
Depends: qml-module-qtgraphicaleffects but it is not going to be installed
Depends: qml-module-qtwebkit but it is not going to be installed
Depends: kio but it is not going to be installed
Depends: libkf5completion5 (>= 4.97.0) but it is not going to be installed
Depends: libkf5configgui5 (>= 4.97.0) but it is not going to be installed
Depends: libkf5iconthemes5 (>= 4.96.0) but it is not going to be installed
Depends: libkf5kiocore5 (>= 4.96.0) but it is not going to be installed
Depends: libkf5kiowidgets5 (>= 4.96.0) but it is not going to be installed
Depends: libkf5newstuff5 (>= 5.0.0) but it is not going to be installed
Depends: libkf5notifications5 (>= 5.8.0+git20150317.0114+15.04) but it is not going to be installed
|
all reports cannot post here for limitation : The text that you have entered is too long (61946 characters). Please shorten it to 30000 characters long.
|
|
|
All times are GMT -5. The time now is 09:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|