Tuesday, May 7, 2019

11.10 - Update Manager unable to get updates



In last few days my Ubuntu 11.10 update manager is unable to get new updates. When I checked update log I saw that for couple of updates it says "Network isn't available". For other updates it downloaded logs and and internet connection also works fine.



Unable to attached screenshot due to SPAM prevention policy. But for below Release
gpgv:/var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_oneiric_Release.gpg



it says "Network isn't available"



For all other Releases it is downloading fine. And due to this I dont see any update available in last 10 days.







LOG OF sudo apt-get update:



dipen@EIDLCPU1018:~$ sudo apt-get update 
[sudo] password for dipen:
Ign http:/extras.ubuntu.com oneiric InRelease
Ign http:/archive.canonical.com oneiric InRelease
Ign http:/archive.canonical.com lucid InRelease

Get:1 http:/extras.ubuntu.com oneiric Release.gpg [72 B]
Get:2 http:/archive.canonical.com oneiric Release.gpg [198 B]
Hit http:/extras.ubuntu.com oneiric Release
Get:3 http:/archive.canonical.com lucid Release.gpg [198 B]
Err http:/extras.ubuntu.com oneiric Release

Hit http:/archive.canonical.com oneiric Release
Ign http:/archive.canonical.com oneiric Release
Hit http:/archive.canonical.com lucid Release
Ign http:/archive.canonical.com lucid Release

Ign http:/archive.canonical.com oneiric/partner i386 Packages/DiffIndex
Ign http:/archive.canonical.com oneiric/partner TranslationIndex
Ign http:/archive.canonical.com lucid/partner i386 Packages/DiffIndex
Ign http:/archive.canonical.com lucid/partner TranslationIndex
Hit http:/archive.canonical.com oneiric/partner i386 Packages
Hit http:/archive.canonical.com lucid/partner i386 Packages
Ign http:/dl.google.com stable InRelease
Ign http:/archive.canonical.com oneiric/partner Translation-en_IN
Ign http:/archive.canonical.com oneiric/partner Translation-en
Ign http:/archive.canonical.com lucid/partner Translation-en_IN

Ign http:/archive.canonical.com lucid/partner Translation-en
Ign http:/in.archive.ubuntu.com oneiric InRelease
Ign http:/in.archive.ubuntu.com oneiric-updates InRelease
Ign http:/in.archive.ubuntu.com oneiric-security InRelease
Get:4 http//dl.google.com stable Release.gpg [198 B]
Get:5 http//in.archive.ubuntu.com oneiric Release.gpg [198 B]
Get:6 http//in.archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Get:7 http//in.archive.ubuntu.com oneiric-security Release.gpg [198 B]
Hit http:/in.archive.ubuntu.com oneiric Release
Ign http:/in.archive.ubuntu.com oneiric Release

Hit http:/in.archive.ubuntu.com oneiric-updates Release
Err http:/in.archive.ubuntu.com oneiric-updates Release
Hit http:/in.archive.ubuntu.com oneiric-security Release
Ign http:/in.archive.ubuntu.com oneiric-security Release
Ign http:/in.archive.ubuntu.com oneiric/main i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric/restricted i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric/universe i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric/multiverse i386 Packages/DiffIndex
Hit http:/in.archive.ubuntu.com oneiric/main TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric/multiverse TranslationIndex

Hit http:/in.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric/universe TranslationIndex
Ign http:/in.archive.ubuntu.com oneiric-security/main i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric-security/restricted i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric-security/universe i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric-security/multiverse i386 Packages/DiffIndex
Hit http:/in.archive.ubuntu.com oneiric-security/main TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric-security/universe TranslationIndex

Hit http:/in.archive.ubuntu.com oneiric/main i386 Packages
Hit http:/in.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http:/in.archive.ubuntu.com oneiric/universe i386 Packages
Hit http:/in.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http:/in.archive.ubuntu.com oneiric/main Translation-en
Hit http:/in.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http:/in.archive.ubuntu.com oneiric/restricted Translation-en
Hit http:/in.archive.ubuntu.com oneiric/universe Translation-en
Hit http:/in.archive.ubuntu.com oneiric-security/main i386 Packages
Hit http:/in.archive.ubuntu.com oneiric-security/restricted i386 Packages

Hit http:/in.archive.ubuntu.com oneiric-security/universe i386 Packages
Hit http:/in.archive.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http:/in.archive.ubuntu.com oneiric-security/main Translation-en
Hit http:/in.archive.ubuntu.com oneiric-security/multiverse Translation-en
Get:8 http//dl.google.com stable Release [1,347 B]
Hit http:/in.archive.ubuntu.com oneiric-security/restricted Translation-en
Hit http:/in.archive.ubuntu.com oneiric-security/universe Translation-en
Get:9 http//dl.google.com stable/main i386 Packages [1,214 B]
Ign http:/dl.google.com stable/main TranslationIndex
Ign http:/dl.google.com stable/main Translation-en_IN

Ign http:/dl.google.com stable/main Translation-en
Fetched 3,821 B in 41s (91 B/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http:/extras.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key

W: GPG error: http:/archive.canonical.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key
W: GPG error: http:/archive.canonical.com lucid Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key
W: GPG error: http:/in.archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http:/in.archive.ubuntu.com oneiric-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key


W: GPG error: http:/in.archive.ubuntu.com oneiric-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key
W: Failed to fetch http:/extras.ubuntu.com/ubuntu/dists/oneiric/Release

W: Failed to fetch http:/in.archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release

W: Some index files failed to download. They have been ignored, or old ones used instead.
dipen@EIDLCPU1018:~$






LOG of sudo apt-get upgrade:



dipen@EIDLCPU1018:~$ sudo apt-get upgrade 
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
ghc6-doc haskell-zlib-doc libghc6-zlib-doc
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

dipen@EIDLCPU1018:~$





/etc/apt/sources.list:



deb http:/in.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric universe

deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb http:/archive.canonical.com/ubuntu oneiric partner
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-security main restricted
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-security universe
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-security multiverse
deb http:/extras.ubuntu.com/ubuntu oneiric main #Third party developers repository
deb http:/archive.canonical.com/ lucid partner



You have a few issues that need to be corrected:



Open a terminal and type



sudo nano /etc/apt/sources.list


Look for lines that have lucid in them for example




deb http:/archive.canonical.com/ lucid partner



Add a # to the beginning of the line to comment it out - for example



#deb http:/archive.canonical.com/ lucid partner



Save and re-run



sudo apt-get update && sudo apt-get upgrade






You have a number of errors with BADSIG - this is due to the security certificate not being downloaded correctly. You can correct this by following the instructions in the linked Q&A below.



After correcting the BADSIG errors re-run:



sudo apt-get update && sudo apt-get upgrade






Linked Question:




  1. What is the easiest way to resolve apt-get BADSIG GPG errors?



`


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...