Author Topic: apt-get update problem`  (Read 19261 times)

andygo

  • Guest
apt-get update problem`
« 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

ASquared21

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: apt-get update problem`
« Reply #1 on: July 07, 2008, 03:19:39 am »
Hi,

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

Thanks,

gumis

  • Regular Poster
  • **
  • Posts: 21
    • View Profile
Re: apt-get update problem`
« Reply #2 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.
...

[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

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: apt-get update problem`
« Reply #3 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

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 http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

bemficag

  • Regular Poster
  • **
  • Posts: 40
    • View Profile
Re: apt-get update problem`
« Reply #4 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

bemficag

  • Regular Poster
  • **
  • Posts: 40
    • View Profile
Re: apt-get update problem`
« Reply #5 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

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: apt-get update problem`
« Reply #6 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


bemficag

  • Regular Poster
  • **
  • Posts: 40
    • View Profile
Re: apt-get update problem`
« Reply #7 on: July 19, 2009, 05:30:59 am »
Hi Colinjones

Thank you very much, you saved!

aponcz

  • Making baby steps
  • Posts: 3
    • View Profile
Re: apt-get update problem`
« Reply #8 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

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: apt-get update problem`
« Reply #9 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.

the anxious

  • Regular Poster
  • **
  • Posts: 31
    • View Profile
    • My portfolio
Re: apt-get update problem`
« Reply #10 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

« Last Edit: October 27, 2009, 02:09:56 pm by the anxious »
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,