LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-13-2017, 06:21 AM   #1
aaquib
LQ Newbie
 
Registered: Apr 2017
Posts: 2

Rep: Reputation: Disabled
Broken pakage error


i got this ...W: Failed to fetch http://repo.mongodb.org/apt/debian/d...86/Packages.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
when i entered sudo apt-get clean && sudo apt-get update in my terminal.i want to download apache2 but now it says E: Broken packages..what should i do
 
Old 04-13-2017, 09:13 AM   #2
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 792

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
If you are running Debian, you need to change "lucid" to either "jessie" or "wheezy" in your /etc/apt/sources.list file. http://repo.mongodb.org/apt/debian/dists/

"lucid" is an Ubuntu release. There isn't a package for lucid: http://repo.mongodb.org/apt/ubuntu/dists/
 
Old 04-13-2017, 10:17 PM   #3
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi...

In line with what norobro wrote above, the correct address for Jessie would be...

http://repo.mongodb.org/apt/debian/d...86/Packages.gz

Regards...

Last edited by ardvark71; 04-13-2017 at 10:19 PM. Reason: Added information.
 
Old 04-14-2017, 01:42 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by aaquib View Post
i want to download apache2 but now it says E: Broken packages..what should i do
Code:
apt-get -f (or maybe --fix-broken?)
please read
Code:
man apt-get
it will show you the correct options.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP_STATE_WAITING Closing for error 32 (Broken pipe) - Error on Thermal Receipt Printer Mike_Cawood Linux - Newbie 1 09-29-2016 11:03 AM
[SOLVED] broken pakage Garrett85 Linux - Software 6 12-08-2015 05:02 PM
I go to Synaptic Pakage Manager and I get this error message every time: porkgrinder1976 Linux - Newbie 2 11-22-2008 10:52 PM
pakage gtk was not found .... SpellChainz Linux - Software 1 06-25-2007 03:35 PM
how to extract rpm pakage from the system guduke Linux - General 1 04-05-2006 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration