News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

apt-get update problem`

Started by andygo, July 06, 2008, 10:04:16 AM

Previous topic - Next topic

andygo

here's my sources.list

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
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

ASquared21

Hi,

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

Thanks,

gumis

I'm experiencing exactly the same problem when executing apt-get update...


...
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.
...


[core/hybrid]
os: LinuxMCE
mobo: Asus P5Q/P45, 8.1 HD Intel Audio, 1GB NIC
proc: Intel-D 3GHz, LGA775
ram: 4GB OCZ
hdd: 1x160GB SATA and 2x500GB SATA
gfx: MSI GF9400GT,VGA/DVI/HDMI,512MB RAM
case: Antec Fusion MAX with iMON RC, LCD and iMON knob

totallymaxed

Quote from: andygo on July 06, 2008, 10:04:16 AM
here's my sources.list

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
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

Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

bemficag

Hi Andrew
Can you please show me how to do the update (step by step) I not a expert in linux.

Thanks

bemficag

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

colinjones

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


bemficag

Hi Colinjones

Thank you very much, you saved!

aponcz

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

colinjones

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.

the anxious

#10
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

Asus M2N-E-SLI, 2GB Kingston, HD 500GB Seagate, Hauppage PVR-500, Geforce 7300GS, Fiire Chief, Nokia N800, Samsung LN32A330J1 32", HA22, Intermatic Switches, USB UIRT, Xantech 286 double emitter,