Public bug reported: Hello,
I have had a lot of troubles with the update manager lately (GPG errors, ...) and I can't fix them. I have searched related post and followed their indications but nothing worked. I have followed the steps of this manual https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure. Here is the output: igor@igor-VirtualBox:~$ sudo fuser -vvv /var/lib/dpkg/lock [sudo] password for igor: igor@igor-VirtualBox:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=11.10 DISTRIB_CODENAME=oneiric DISTRIB_DESCRIPTION="Ubuntu 11.10" igor@igor-VirtualBox:~$ uname -a Linux igor-VirtualBox 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:34:47 UTC 2011 i686 i686 i386 GNU/Linux igor@igor-VirtualBox:~$ sudo rm /var/lib/apt/lists/lock igor@igor-VirtualBox:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup igor@igor-VirtualBox:~$ igor@igor-VirtualBox:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status igor@igor-VirtualBox:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available igor@igor-VirtualBox:~$ sudo rm -rf /var/lib/dpkg/updates/* igor@igor-VirtualBox:~$ sudo rm -rf /var/lib/apt/lists igor@igor-VirtualBox:~$ sudo rm /var/cache/apt/*.bin igor@igor-VirtualBox:~$ sudo mkdir /var/lib/apt/lists igor@igor-VirtualBox:~$ sudo mkdir /var/lib/apt/lists/partial igor@igor-VirtualBox:~$ LANG=C;sudo apt-get clean igor@igor-VirtualBox:~$ LANG=C;sudo apt-get autoclean Reading package lists... Done Building dependency tree Reading state information... Done igor@igor-VirtualBox:~$ LANG=C;sudo apt-get --purge autoremove Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. igor@igor-VirtualBox:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 Ign http://archive.ubuntu.com oneiric InRelease Ign http://archive.ubuntu.com oneiric-updates InRelease Get:1 http://archive.ubuntu.com oneiric-backports InRelease [198 B] Ign http://archive.ubuntu.com oneiric-backports InRelease Get:2 http://archive.ubuntu.com oneiric-security InRelease [198 B] Ign http://archive.ubuntu.com oneiric-security InRelease Get:3 http://archive.ubuntu.com oneiric Release.gpg [1577 B] Get:4 http://archive.ubuntu.com oneiric-updates Release.gpg [14 B] Get:5 http://archive.ubuntu.com oneiric-backports/main Sources [5882 B] Get:6 http://archive.ubuntu.com oneiric-backports/restricted Sources [14 B] Get:7 http://archive.ubuntu.com oneiric-backports/universe Sources [1912 B] Get:8 http://archive.ubuntu.com oneiric-backports/multiverse Sources [14 B] Get:9 http://archive.ubuntu.com oneiric-backports/main i386 Packages [6405 B] Get:10 http://archive.ubuntu.com oneiric-backports/restricted i386 Packages [14 B] Get:11 http://archive.ubuntu.com oneiric-backports/universe i386 Packages [72 B] Get:12 http://archive.ubuntu.com oneiric-backports/multiverse i386 Packages [70 B] 99% [11 Packages bzip2 0 B] [Waiting for headers] 217 B/s 0sbzip2: (stdin) is not a bzip2 file. 99% [12 Packages bzip2 0 B] [Waiting for headers] 217 B/s 0sbzip2: (stdin) is not a bzip2 file. Get:13 http://archive.ubuntu.com oneiric-backports/main TranslationIndex [72 B] Ign http://archive.ubuntu.com oneiric-backports/multiverse TranslationIndex Ign http://archive.ubuntu.com oneiric-backports/restricted TranslationIndex Ign http://archive.ubuntu.com oneiric-backports/universe TranslationIndex Get:14 http://archive.ubuntu.com oneiric-security/universe Sources [1629 B] Get:15 http://archive.ubuntu.com oneiric-security/multiverse Sources [68.1 kB] Get:16 http://archive.ubuntu.com oneiric-security/main i386 Packages [14 B] Get:17 http://archive.ubuntu.com oneiric-security/restricted i386 Packages [23.2 kB] Get:18 http://archive.ubuntu.com oneiric-security/universe i386 Packages [3345 B] Get:19 http://archive.ubuntu.com oneiric-security/multiverse i386 Packages [73 B] Get:20 http://archive.ubuntu.com oneiric-security/main TranslationIndex [72 B] Get:21 http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex [70 B] Get:22 http://archive.ubuntu.com oneiric-security/restricted TranslationIndex [73 B] Get:23 http://archive.ubuntu.com oneiric-security/universe TranslationIndex [40.8 kB] Get:24 http://archive.ubuntu.com oneiric Release [40.8 kB] Ign http://archive.ubuntu.com oneiric-updates Release Ign http://archive.ubuntu.com oneiric Release Get:25 http://archive.ubuntu.com oneiric-backports/main Translation-en [14 B] Get:26 http://archive.ubuntu.com oneiric-backports/multiverse Translation-en [14 B] Get:27 http://archive.ubuntu.com oneiric-backports/restricted Translation-en [5524 B] W: GPG error: http://archive.ubuntu.com oneiric-backports InRelease: File /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_oneiric-backports_InRelease doesn't start with a clearsigned message W: GPG error: http://archive.ubuntu.com oneiric-security InRelease: File /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_oneiric-security_InRelease doesn't start with a clearsigned message E: GPG error: http://archive.ubuntu.com oneiric Release: The following signatures were invalid: NODATA 1 NODATA 2 igor@igor-VirtualBox:~$ sudo dpkg --configure -a igor@igor-VirtualBox:~$ sudo dpkg --clear-avail igor@igor-VirtualBox:~$ LANG=C;sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. igor@igor-VirtualBox:~$ LANG=C;sudo apt-get --fix-missing install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. igor@igor-VirtualBox:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade Ign http://archive.ubuntu.com oneiric InRelease Ign http://archive.ubuntu.com oneiric-updates InRelease Get:1 http://archive.ubuntu.com oneiric-backports InRelease [198 B] Ign http://archive.ubuntu.com oneiric-backports InRelease Get:2 http://archive.ubuntu.com oneiric-security InRelease [198 B] Ign http://archive.ubuntu.com oneiric-security InRelease Ign http://archive.ubuntu.com oneiric Release.gpg Ign http://archive.ubuntu.com oneiric-updates Release.gpg Ign http://archive.ubuntu.com oneiric-backports/main Sources/DiffIndex Ign http://archive.ubuntu.com oneiric-backports/restricted Sources/DiffIndex Ign http://archive.ubuntu.com oneiric-backports/universe Sources/DiffIndex Ign http://archive.ubuntu.com oneiric-backports/multiverse Sources/DiffIndex Ign http://archive.ubuntu.com oneiric-backports/main i386 Packages/DiffIndex Ign http://archive.ubuntu.com oneiric-backports/restricted i386 Packages/DiffIndex Get:3 http://archive.ubuntu.com oneiric-backports/universe i386 Packages [70 B] Get:4 http://archive.ubuntu.com oneiric-backports/multiverse i386 Packages [70 B] Get:5 http://archive.ubuntu.com oneiric-backports/main TranslationIndex [72 B] Get:6 http://archive.ubuntu.com oneiric-backports/multiverse TranslationIndex [23.7 kB] 17% [3 Packages bzip2 0 B] [6 TranslationIndex 3743 B/23.7 kB 15%]bzip2: (stdin) is not a bzip2 file. 17% [4 Packages bzip2 0 B] [6 TranslationIndex 3743 B/23.7 kB 15%]bzip2: (stdin) is not a bzip2 file. Get:7 http://archive.ubuntu.com oneiric-backports/restricted TranslationIndex [14 B] Ign http://archive.ubuntu.com oneiric-backports/universe TranslationIndex Get:8 http://archive.ubuntu.com oneiric-security/restricted Sources [68.1 kB] Get:9 http://archive.ubuntu.com oneiric-security/universe Sources/DiffIndex [14 B] Get:10 http://archive.ubuntu.com oneiric-security/multiverse Sources/DiffIndex [23.2 kB] 62% [8 Sources bzip2 0 B] [10 Sources 3434 B/23.2 kB 14%]bzip2: (stdin) is not a bzip2 file. Get:11 http://archive.ubuntu.com oneiric-security/main i386 Packages [3345 B] Hit http://archive.ubuntu.com oneiric-security/restricted i386 Packages Get:12 http://archive.ubuntu.com oneiric-security/universe i386 Packages [72 B] Hit http://archive.ubuntu.com oneiric-security/multiverse i386 Packages Get:13 http://archive.ubuntu.com oneiric-security/main TranslationIndex [73 B] Get:14 http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex [40.8 kB] 50% [12 Packages bzip2 0 B] [14 TranslationIndex 7892 B/40.8 kB 19%]bzip2: (stdin) is not a bzip2 file. Get:15 http://archive.ubuntu.com oneiric-security/restricted TranslationIndex [40.8 kB] Hit http://archive.ubuntu.com oneiric-security/universe TranslationIndex Hit http://archive.ubuntu.com oneiric Release Get:16 http://archive.ubuntu.com oneiric-updates Release [5882 B] W: GPG error: http://archive.ubuntu.com oneiric-backports InRelease: File /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_oneiric-backports_InRelease doesn't start with a clearsigned message W: GPG error: http://archive.ubuntu.com oneiric-security InRelease: File /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_oneiric-security_InRelease doesn't start with a clearsigned message E: Could not open file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_oneiric_Release - open (2: No such file or directory) E: Unable to determine the file size - fstat (9: Bad file descriptor) igor@igor-VirtualBox:~$ P.D. I'm not working behind a proxy. P.D.2: I followed the advice of "Enrico "eNry" Carafa (mr.tennents)" see more: https://answers.launchpad.net/ubuntu/+source/apt/+question/185182 ** Affects: apt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/919204 Title: Problems with the update manager/apt-get/synaptic in Ubuntu 11.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/919204/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs