update manager fails to download repository inf

Asked by Richard Blake on 2016-08-15

Update manager fails to download repository information. I have followed earlier queries eg. 255519 etc but no change. Earlier it failed to download package info. That was fixed by following 188369.

I have a second machine that does update properly. Are there lists that I can transfer from one machine to the other to attempt a cure? The m/cs are different manufacturers but are so far as possible software twins.

Failing that, does removing and re-installing update manager clear all possibly corrupted files? (Very Windows)

I have not modified any system files myself. Any corruption has come from update manager, possibly due to garbled network traffic which I have experienced with other software.

Any suggestions? Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
2016-08-15
Last query:
2016-08-15
Last reply:
2016-08-15

what is the full output of:

sudo apt-get update; lsb_release -a; uname -a

Thanks

Richard Blake (blake-t) said : #2

Hi, This is what I get:

Hit http://ubuntu.uib.no precise Release.gpg
Hit http://ubuntu.uib.no precise-updates Release.gpg
Ign http://no.archive.ubuntu.com lucid-backports Release.gpg
Hit http://ubuntu.uib.no precise Release
Ign http://no.archive.ubuntu.com lucid-backports Release
Hit http://ubuntu.uib.no precise-updates Release
Hit http://archive.canonical.com precise Release.gpg
Hit http://ubuntu.uib.no precise/main Sources
Hit http://ubuntu.uib.no precise/restricted Sources
Hit http://ubuntu.uib.no precise/universe Sources
Hit http://ubuntu.uib.no precise/multiverse Sources
Hit http://ubuntu.uib.no precise/main i386 Packages
Hit http://ubuntu.uib.no precise/restricted i386 Packages
Hit http://ubuntu.uib.no precise/universe i386 Packages
Hit http://ubuntu.uib.no precise/multiverse i386 Packages
Hit http://ubuntu.uib.no precise/main TranslationIndex
Hit http://ubuntu.uib.no precise/multiverse TranslationIndex
Ign http://no.archive.ubuntu.com lucid-backports/main TranslationIndex
Ign http://no.archive.ubuntu.com lucid-backports/multiverse TranslationIndex
Ign http://no.archive.ubuntu.com lucid-backports/restricted TranslationIndex
Hit http://ubuntu.uib.no precise/restricted TranslationIndex
Hit http://ubuntu.uib.no precise/universe TranslationIndex
Hit http://archive.canonical.com precise Release
Hit http://ubuntu.uib.no precise-updates/restricted i386 Packages
Hit http://ubuntu.uib.no precise-updates/main i386 Packages
Hit http://ubuntu.uib.no precise-updates/multiverse i386 Packages
Hit http://ubuntu.uib.no precise-updates/universe i386 Packages
Hit http://ubuntu.uib.no precise-updates/main TranslationIndex
Ign http://no.archive.ubuntu.com lucid-backports/universe TranslationIndex
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://ubuntu.uib.no precise-updates/multiverse TranslationIndex
Hit http://ubuntu.uib.no precise-updates/restricted TranslationIndex
Hit http://ubuntu.uib.no precise-updates/universe TranslationIndex
Hit http://ubuntu.uib.no precise/main Translation-en
Hit http://ubuntu.uib.no precise/multiverse Translation-en
Hit http://ubuntu.uib.no precise/restricted Translation-en
Hit http://ubuntu.uib.no precise/universe Translation-en
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://ubuntu.uib.no precise-updates/main Translation-en
Hit http://ubuntu.uib.no precise-updates/multiverse Translation-en
Hit http://ubuntu.uib.no precise-updates/restricted Translation-en
Hit http://archive.canonical.com precise/partner TranslationIndex
Hit http://ubuntu.uib.no precise-updates/universe Translation-en
Hit http://security.ubuntu.com precise-security Release
Hit http://archive.canonical.com precise/partner Translation-en
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Err http://no.archive.ubuntu.com lucid-backports/main Sources
  404 Not Found
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Err http://no.archive.ubuntu.com lucid-backports/restricted Sources
  404 Not Found
Err http://no.archive.ubuntu.com lucid-backports/universe Sources
  404 Not Found
Err http://no.archive.ubuntu.com lucid-backports/multiverse Sources
  404 Not Found
Err http://no.archive.ubuntu.com lucid-backports/main i386 Packages
  404 Not Found
Err http://no.archive.ubuntu.com lucid-backports/restricted i386 Packages
  404 Not Found
Err http://no.archive.ubuntu.com lucid-backports/universe i386 Packages
  404 Not Found
Err http://no.archive.ubuntu.com lucid-backports/multiverse i386 Packages
  404 Not Found
Ign http://no.archive.ubuntu.com lucid-backports/main Translation-en_US
Ign http://no.archive.ubuntu.com lucid-backports/main Translation-en
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Ign http://no.archive.ubuntu.com lucid-backports/multiverse Translation-en_US
Ign http://no.archive.ubuntu.com lucid-backports/multiverse Translation-en
Ign http://no.archive.ubuntu.com lucid-backports/restricted Translation-en_US
Ign http://no.archive.ubuntu.com lucid-backports/restricted Translation-en
Ign http://no.archive.ubuntu.com lucid-backports/universe Translation-en_US
Ign http://no.archive.ubuntu.com lucid-backports/universe Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
W: Failed to fetch http://no.archive.ubuntu.com/ubuntu/dists/lucid-backports/main/source/Sources 404 Not Found

W: Failed to fetch http://no.archive.ubuntu.com/ubuntu/dists/lucid-backports/restricted/source/Sources 404 Not Found

W: Failed to fetch http://no.archive.ubuntu.com/ubuntu/dists/lucid-backports/universe/source/Sources 404 Not Found

W: Failed to fetch http://no.archive.ubuntu.com/ubuntu/dists/lucid-backports/multiverse/source/Sources 404 Not Found

W: Failed to fetch http://no.archive.ubuntu.com/ubuntu/dists/lucid-backports/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://no.archive.ubuntu.com/ubuntu/dists/lucid-backports/restricted/binary-i386/Packages 404 Not Found

W: Failed to fetch http://no.archive.ubuntu.com/ubuntu/dists/lucid-backports/universe/binary-i386/Packages 404 Not Found

W: Failed to fetch http://no.archive.ubuntu.com/ubuntu/dists/lucid-backports/multiverse/binary-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Linux HP 3.2.0-107-generic #148-Ubuntu SMP Mon Jul 18 20:20:33 UTC 2016 i686 athlon i386 GNU/Linux

Please read this:

https://wiki.ubuntu.com/Releases

Ubuntu 10.04 (codename "lucid") is end-of-life and not supported anymore.

So why are you mixing sources from lucid and precise?

Mixing repositories from TWO different versions of Ubuntu can and will break your package manager.

So please remove all lines mentioning lucid in your /etc/apt/sources.list file and in your /etc/apt/sources.list.d directory.

What is the output of:

grep -R lucid /etc/apt/*

Thanks

Richard Blake (blake-t) said : #5

Attached the output of grep. I see that the 10.04 version of ubuntu is referenced. I have not messed with the system files. The upgrade from 10.04 to 12.04 was run by update manager.

I am considering moving to version 14... Does update manager clean up old files as part of its process or leave them hanging around?

*************************************************'
/etc/apt/sources.list:# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
/etc/apt/sources.list:deb http://no.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
/etc/apt/sources.list:deb-src http://no.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
/etc/apt/sources.list:# deb http://archive.canonical.com/ubuntu lucid partner
/etc/apt/sources.list:# deb-src http://archive.canonical.com/ubuntu lucid partner
/etc/apt/sources.list.distUpgrade:# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
/etc/apt/sources.list.distUpgrade:deb http://no.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
/etc/apt/sources.list.distUpgrade:deb-src http://no.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
/etc/apt/sources.list.distUpgrade:# deb http://archive.canonical.com/ubuntu lucid partner
/etc/apt/sources.list.distUpgrade:# deb-src http://archive.canonical.com/ubuntu lucid partner
/etc/apt/sources.list.save:# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
/etc/apt/sources.list.save:deb http://no.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
/etc/apt/sources.list.save:deb-src http://no.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
/etc/apt/sources.list.save:# deb http://archive.canonical.com/ubuntu lucid partner
/etc/apt/sources.list.save:# deb-src http://archive.canonical.com/ubuntu lucid partner

Richard Blake (blake-t) said : #6

I have now copied the sources.list and sources.list.d directory from the working machine to the machine in trouble.

The update process (only 3 updates) ran to completion. v 10.04 had never been installed on the source machine.

I have no idea how the 10.04 files came to be around. They may have been hauled in by earlier attempts to work around
the problem of inability to load the lists of packages.

Unix was never meant to be a system that could be remotely upgraded. Hand upgrading was the order of the day while the
system was taken down for maintenance.

I am very sceptical of updating that is highly complicated and very hidden.

Thanks a lot.

Richard Blake (blake-t) said : #7

Thanks Mark Rijckenberg, that solved my question.