apt-get update 404 error

Post your update and upgrade related errors here
Forum rules
Before you post please read this

apt-get update 404 error

Postby HisDudeness on Mon Oct 15, 2012 9:24 am

Hi everyone! I'm running LMDE 201204 with Cinnamon and I have a huge problem about repositories, I can't practically add any. I tried to install some software I need to add some repos for (i.e. Jupiter and nemo), and I get always the same error after apt-get update:

Code: Select all
W: Failed to fetch http://ppa.launchpad.net/gwendal-lebihan-dev/cinnamon-nightly/ubuntu/dists/debian/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/gwendal-lebihan-dev/cinnamon-nightly/ubuntu/dists/debian/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/webupd8team/jupiter/ubuntu/dists/debian/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/webupd8team/jupiter/ubuntu/dists/debian/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.


If it is of any use, here is the complete output of apt-get update

Code: Select all
Ign http://ppa.launchpad.net debian InRelease
Ign http://ppa.launchpad.net debian InRelease                                 
Ign http://ppa.launchpad.net debian Release.gpg                               
Ign http://ppa.launchpad.net debian Release.gpg                               
Ign http://ppa.launchpad.net debian Release                                   
Ign http://ppa.launchpad.net debian Release                                   
Ign http://packages.linuxmint.com debian InRelease
Hit http://debian.linuxmint.com testing InRelease
Get:1 http://packages.linuxmint.com debian Release.gpg [197 B]                 
Hit http://debian.linuxmint.com testing/updates InRelease                     
Get:2 http://packages.linuxmint.com debian Release [15.6 kB]                   
Ign http://debian.linuxmint.com testing InRelease                           
Hit http://debian.linuxmint.com testing/main amd64 Packages/DiffIndex       
Hit http://debian.linuxmint.com testing/contrib amd64 Packages/DiffIndex
Hit http://debian.linuxmint.com testing/non-free amd64 Packages/DiffIndex
Get:3 http://packages.linuxmint.com debian/main amd64 Packages [16.8 kB]
Hit http://debian.linuxmint.com testing/contrib Translation-en/DiffIndex       
Err http://ppa.launchpad.net debian/main Sources                               
  404  Not Found
Err http://ppa.launchpad.net debian/main amd64 Packages                       
  404  Not Found
Ign http://ppa.launchpad.net debian/main Translation-en_US                     
Ign http://ppa.launchpad.net debian/main Translation-en   
Err http://ppa.launchpad.net debian/main Sources         
  404  Not Found
Err http://ppa.launchpad.net debian/main amd64 Packages   
  404  Not Found
Hit http://debian.linuxmint.com testing/main Translation-en/DiffIndex
Hit http://debian.linuxmint.com testing/non-free Translation-en/DiffIndex
Ign http://ppa.launchpad.net debian/main Translation-en_US 
Ign http://ppa.launchpad.net debian/main Translation-en     
Hit http://debian.linuxmint.com testing/updates/main amd64 Packages   
Get:4 http://packages.linuxmint.com debian/upstream amd64 Packages [5,387 B]
Hit http://debian.linuxmint.com testing/updates/contrib amd64 Packages
Get:5 http://packages.linuxmint.com debian/import amd64 Packages [63.3 kB]
Hit http://debian.linuxmint.com testing/updates/non-free amd64 Packages
Hit http://debian.linuxmint.com testing Release.gpg                   
Hit http://debian.linuxmint.com testing Release
Hit http://debian.linuxmint.com testing/main amd64 Packages/DiffIndex 
Hit http://debian.linuxmint.com testing/non-free amd64 Packages/DiffIndex
Ign http://packages.linuxmint.com debian/import Translation-en_US             
Ign http://packages.linuxmint.com debian/import Translation-en                 
Ign http://packages.linuxmint.com debian/main Translation-en_US               
Ign http://packages.linuxmint.com debian/main Translation-en                   
Ign http://packages.linuxmint.com debian/upstream Translation-en_US           
Ign http://packages.linuxmint.com debian/upstream Translation-en               
Ign http://debian.linuxmint.com testing/updates/contrib Translation-en_US     
Ign http://debian.linuxmint.com testing/updates/contrib Translation-en         
Ign http://debian.linuxmint.com testing/updates/main Translation-en_US         
Ign http://debian.linuxmint.com testing/updates/main Translation-en           
Ign http://debian.linuxmint.com testing/updates/non-free Translation-en_US     
Ign http://debian.linuxmint.com testing/updates/non-free Translation-en       
Ign http://debian.linuxmint.com testing/main Translation-en_US                 
Ign http://debian.linuxmint.com testing/main Translation-en                   
Ign http://debian.linuxmint.com testing/non-free Translation-en_US             
Ign http://debian.linuxmint.com testing/non-free Translation-en               
Fetched 101 kB in 11s (8,802 B/s)                                             
W: Failed to fetch http://ppa.launchpad.net/gwendal-lebihan-dev/cinnamon-nightly/ubuntu/dists/debian/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/gwendal-lebihan-dev/cinnamon-nightly/ubuntu/dists/debian/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/webupd8team/jupiter/ubuntu/dists/debian/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/webupd8team/jupiter/ubuntu/dists/debian/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.


and my /etc/apt/sources.list

Code: Select all
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free


And, finally, those are the two commands I gave to add repositories for nemo and Jupiter, in order:

Code: Select all
sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-nightly
sudo add-apt-repository ppa:webupd8team/jupiter


I googled a bit about the problem, but found only Debian Lenny matters and these two posts, viewtopic.php?f=61&t=113640&p=633867&hilit=404#p633867 viewtopic.php?f=198&t=91071, which are absolutely not my case. Anyone has any idea what's going wrong?
The Dude minds.
User avatar
HisDudeness
Level 1
Level 1
 
Posts: 27
Joined: Tue Oct 09, 2012 5:02 am
Location: Melzo, Italy

Linux Mint is funded by ads and donations.
 

Re: apt-get update 404 error

Postby zerozero on Mon Oct 15, 2012 10:34 am

HisDudeness wrote:Anyone has any idea what's going wrong?

well, yes! you are using ppa's in a debian-based edition for start.

second you are using add-apt-repository tghat is an ubuntu implementation and as you can see doesn't work in debian;

furthermore you don't need to add any third part repo to get nemo, see this http://blog.linuxmint.com/?p=2177

regarding jupiter it may work or not (Fewt supports fuduntu and ubuntu http://www.jupiterapplet.org/support.html), i guess it all depends on your hardware and the interaction with the software.

i don't mean read the fine manual :D but probably this viewtopic.php?f=197&t=91405 won't hurt a bit :wink:
User avatar
zerozero
Level 16
Level 16
 
Posts: 6302
Joined: Tue Jul 07, 2009 2:29 pm

Re: apt-get update 404 error

Postby HisDudeness on Sat Oct 20, 2012 4:41 am

Oh, thanks... what a newbie. I have to get Ubuntu off my mind as I got it off my computer. When searching on the internet for a solution to any problem or to a way to install any software, can I search for Debian and be completely sure that I'll solve my problems? I mean, the FAQs say LMDE is hundred percent compatible with Debian testing, but it's always better asking directly to someone, especially if experienced, to find out any known compatibility problem.
Ok, I remedied to my errors by giving the exact commands I gave to screw things up with the --remove flag, and now I don't get those annoying 404 errors messages everytime (apt-get searched for the ppas I added almost always, bothering me even in the update manager).

So, must I completely avoid add-apt-repository command like the plague? And, if some software isn't included in the repos, shall I rather download the source tar ball and compile it?
The Dude minds.
User avatar
HisDudeness
Level 1
Level 1
 
Posts: 27
Joined: Tue Oct 09, 2012 5:02 am
Location: Melzo, Italy

Re: apt-get update 404 error

Postby zerozero on Sun Oct 21, 2012 11:40 am

HisDudeness wrote: I have to get Ubuntu off my mind as I got it off my computer
that is a good principle :D
HisDudeness wrote:When searching on the internet for a solution to any problem or to a way to install any software, can I search for Debian and be completely sure that I'll solve my problems? I mean, the FAQs say LMDE is hundred percent compatible with Debian testing, but it's always better asking directly to someone, especially if experienced, to find out any known compatibility problem.
yes, lmde is 100% compatible with debian testing, the only question you need to look at (if you remain in the default UP scheme) is the buffer that might exist between the date of of the last UP and the situation on testing (right now it's a non-issue because testing is in deep-freeze but in normal circumstances you can find some libraries discrepancies if you try to install a package directly from the testing pool say a couple months after the last UP)
HisDudeness wrote:So, must I completely avoid add-apt-repository command like the plague?
yes pretty please :lol: until some time ago that command would just give you a Traceback (most recent call last): i have no idea what changes they made but it's not working better now because if you examine the url added http://ppa.launchpad.net/gwendal-lebihan-dev/cinnamon-nightly/ubuntu/dists/debian/main/source/Sources it's adding a debian release when there's never any debian release in launchpad.
so bottom line i think now it's worst: before the output was a clear error, now apparently is ok but adds an inexistent url :shock:
HisDudeness wrote:if some software isn't included in the repos, shall I rather download the source tar ball and compile it?

usually compiling is the safest option but you should find almost everything in debian >> https://sites.google.com/site/mydebiansourceslist/ << use with extreme caution :lol:
User avatar
zerozero
Level 16
Level 16
 
Posts: 6302
Joined: Tue Jul 07, 2009 2:29 pm


Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 4 guests