LinuxMCE Forums

General => Installation issues => Topic started by: andygo on July 06, 2008, 10:04:16 am

Title: apt-get update problem`
Post by: andygo on July 06, 2008, 10:04:16 am
here's my sources.list
Code: [Select]
root@dcerouter:~# cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ gutsy  main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates  main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ gutsy-security  main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy  main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-updates  main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ gutsy-security  main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-backports  main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-backports  main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-proposed  restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-proposed  restricted main multiverse universe
deb http://archive.canonical.com/ubuntu/ gutsy  partner
deb http://archive.ubuntu.com/ubuntu/ replacements_debian  main
deb http://deb.linuxmce.com/ubuntu/ 20dev_ubuntu  main

when I run apt-get update I get following error
Code: [Select]
Err http://archive.ubuntu.com replacements_debian/main Packages
  404 Not Found [IP: 91.189.88.45 80]
Fetched 6B in 5s (1B/s)
Failed to fetch http://deb.linuxmce.com/ubuntu/dists/20dev_ubuntu/main/binary-amd64/Packages.gz  302 Found
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/replacements_debian/main/binary-amd64/Packages.gz  404 Not Found [IP: 91.189.88.45 80]
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.

As I understood these files just not avaliable on these servers
please suggest how to update (and distr-upgrade) correctly
Title: Re: apt-get update problem`
Post by: ASquared21 on July 07, 2008, 03:19:39 am
Hi,

Please tell us what you are trying to install. I had a similar problem.

Thanks,
Title: Re: apt-get update problem`
Post by: gumis on June 11, 2009, 09:28:08 pm
I'm experiencing exactly the same problem when executing apt-get update...

Code: [Select]
...
Err http://archive.ubuntu.com replacements_debian/main Packages
  404 Not Found [IP: 91.189.88.45 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/replacements_debian/main/binary-i386/Packages.gz  404 Not Found [IP: 91.189.88.45 80]

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

Title: Re: apt-get update problem`
Post by: totallymaxed on June 11, 2009, 09:39:52 pm
here's my sources.list
Code: [Select]
root@dcerouter:~# cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ gutsy  main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates  main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ gutsy-security  main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy  main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-updates  main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ gutsy-security  main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-backports  main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-backports  main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-proposed  restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-proposed  restricted main multiverse universe
deb http://archive.canonical.com/ubuntu/ gutsy  partner
deb http://archive.ubuntu.com/ubuntu/ replacements_debian  main
deb http://deb.linuxmce.com/ubuntu/ 20dev_ubuntu  main

when I run apt-get update I get following error
Code: [Select]
Err http://archive.ubuntu.com replacements_debian/main Packages
  404 Not Found [IP: 91.189.88.45 80]
Fetched 6B in 5s (1B/s)
Failed to fetch http://deb.linuxmce.com/ubuntu/dists/20dev_ubuntu/main/binary-amd64/Packages.gz  302 Found
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/replacements_debian/main/binary-amd64/Packages.gz  404 Not Found [IP: 91.189.88.45 80]
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.

As I understood these files just not avaliable on these servers
please suggest how to update (and distr-upgrade) correctly

Try updating your sources.list with on each line;

deb http://old-releases.ubuntu.com/ubuntu/

This is needed now that 0710 has passed into un-supported mode.

All the best

Andrew

Title: Re: apt-get update problem`
Post by: bemficag on July 19, 2009, 01:57:12 am
Hi Andrew
Can you please show me how to do the update (step by step) I not a expert in linux.

Thanks
Title: Re: apt-get update problem`
Post by: bemficag on July 19, 2009, 02:07:25 am
Here is more information about my case:

I'm using the ASU_P2-M2A690G (http://wiki.linuxmce.org/index.php/ASUS_P2-M2A690G) as a MD, and I'm trying to update it from my core using ssh. So, when i type apt-get update its show me that couldn't find the source.

thanks
Title: Re: apt-get update problem`
Post by: colinjones on July 19, 2009, 02:16:17 am
Use a text editor to edit the sources files with the new URL....

sudo nano /etc/apt/sources.list
(type your linuxmce password)
Now edit all the instances of archive.ubuntu.com to say old-releases.ubuntu.com
Hit CTRL-X and say yes to save changes

Now run:

sudo apt-get update

etc

Title: Re: apt-get update problem`
Post by: bemficag on July 19, 2009, 05:30:59 am
Hi Colinjones

Thank you very much, you saved!
Title: Re: apt-get update problem`
Post by: aponcz on August 01, 2009, 11:55:13 pm
Anyone have any success with this?  It looks like the i386 packages are available but not the AMD64.  Can I use the both i386 and AMD64 packages?  If so, how do I point apt-get to use the i386 architecture?

===============================================================================================
sudo apt-get update gives me this:

Err http://old-releases.ubuntu.com replacements_debian/main Packages  404 Not Found
Err http://deb.linuxmce.com replacements_ubuntu/main Packages  404 Not Found
Fetched 4B in 10s (0B/s)
Failed to fetch http://linuxmce.com/ubuntu/./Packages.gz  404 Not Found
Failed to fetch http://deb.linuxmce.com/ubuntu/dists/replacements_ubuntu/main/binary-amd64/Packages.gz  404 Not Found
Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/replacements_debian/main/binary-amd64/Packages.gz  404 Not Found
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.

===============================================================================================
cat /etc/apt/sources.list produces:

deb file:/usr/pluto/deb-cache/ ./
deb http://old-releases.ubuntu.com/ubuntu/ gutsy  main restricted multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-security  main restricted multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-updates  main restricted multiverse universe
deb http://linuxmce.com/ubuntu/ ./
deb http://deb.linuxmce.com/ubuntu/ 20dev_ubuntu  main
deb http://old-releases.ubuntu.com/ubuntu/ replacements_debian  main
deb http://deb.linuxmce.com/ubuntu/ replacements_ubuntu  main


Please advise!

--AP
Title: Re: apt-get update problem`
Post by: colinjones on August 02, 2009, 12:43:04 am
Don't worry, that is normal, your "update" worked fine.

You don't specify which architecture to use, apt-get does that automatically, there is no way to control or override that as it is impossible to install one architecture package on a different architecture system.

You should not be using AMD64 anyway, it is not stable enough. Only use i386, there is almost performance difference.
Title: Re: apt-get update problem`
Post by: the anxious on October 22, 2009, 01:45:50 pm
Hi,

I was running 810 normally, but after type sudo apt-get update & apt-get upgrade my install stop on "DCE Router login:" screen, the prompt screen... any suggestions to solve this?
To start my system now, I need log in DCE Router, type startx, and then, after X up, open other terminal and run manually the commands to start my screen orbiter.
After this everything works fine...but I would like the system with autostart..

thanks
djonny