Why do I get a really long error message when I try to update?

Asked by Angel Diaz

When I try to update, this is the notification I get afterwards: Could not initialize the package information

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/packages.medibuntu.org_dists_precise_free_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.'

How do I solve this?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Angel Diaz (amdiaz66) said :
#1

I also get this error message in the middle of updating on Terminal: W: GPG error: http://packages.medibuntu.org precise InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
W: GPG error: http://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <email address hidden>
W: GPG error: http://archive.canonical.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures were invalid: BADSIG 6AF0E1940624A220 Launchpad PPA for TualatriX
W: GPG error: http://archive.canonical.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures were invalid: BADSIG 6AF0E1940624A220 Launchpad PPA for TualatriX
W: Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)/dists/precise/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)/dists/precise/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/partner/source/Sources 404 Not Found [IP: 91.189.92.150 80]

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/partner/binary-i386/Packages 404 Not Found [IP: 91.189.92.150 80]

W: Failed to fetch http://ppa.launchpad.net/ubun-tor/ppa/ubuntu/dists/precise/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/ubun-tor/ppa/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://archive.canonical.com/dists/precise/partner/binary-i386/Packages 404 Not Found [IP: 91.189.92.150 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

Revision history for this message
Angel Diaz (amdiaz66) said :
#2

Here is the full message from Terminal: Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise InRelease
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise Release.gpg
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise Release
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/main TranslationIndex
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/restricted TranslationIndex
Err cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/main i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/restricted i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/main Translation-en_US
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/main Translation-en
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/restricted Translation-en_US
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/restricted Translation-en
Ign http://security.ubuntu.com precise-security InRelease
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://us.archive.ubuntu.com precise-proposed InRelease
Ign http://us.archive.ubuntu.com precise-backports InRelease
Ign http://extras.ubuntu.com precise InRelease
Ign http://archive.canonical.com precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:2 http://us.archive.ubuntu.com precise Release.gpg [198 B]
Ign http://archive.canonical.com precise InRelease
Get:3 http://extras.ubuntu.com precise Release.gpg [72 B]
Get:4 http://packages.medibuntu.org precise InRelease [7,096 B]
Get:5 http://ppa.launchpad.net precise Release.gpg [316 B]
Get:6 http://ppa.launchpad.net precise Release.gpg [316 B]
Get:7 http://security.ubuntu.com precise-security Release [49.6 kB]
Get:8 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Ign http://packages.medibuntu.org precise InRelease
Get:9 http://archive.canonical.com precise Release.gpg [198 B]
Hit http://extras.ubuntu.com precise Release
Ign http://extras.ubuntu.com precise Release
Ign http://ppa.launchpad.net precise Release.gpg
Get:10 http://us.archive.ubuntu.com precise-proposed Release.gpg [198 B]
Get:11 http://archive.canonical.com precise Release.gpg [198 B]
Ign http://extras.ubuntu.com precise/main Sources/DiffIndex
Ign http://packages.medibuntu.org precise/free Sources/DiffIndex
Hit http://ppa.launchpad.net precise Release.gpg
Get:12 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
Get:13 http://us.archive.ubuntu.com precise Release [49.6 kB]
Hit http://archive.canonical.com precise Release
Ign http://archive.canonical.com precise Release
Ign http://extras.ubuntu.com precise/main i386 Packages/DiffIndex
Hit http://ppa.launchpad.net precise Release
Ign http://ppa.launchpad.net precise Release
Ign http://packages.medibuntu.org precise/non-free Sources/DiffIndex
Ign http://packages.medibuntu.org precise/free i386 Packages/DiffIndex
Ign http://packages.medibuntu.org precise/non-free i386 Packages/DiffIndex
Ign http://packages.medibuntu.org precise/free TranslationIndex
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://archive.canonical.com precise Release
Ign http://archive.canonical.com precise Release
Hit http://ppa.launchpad.net precise Release
Ign http://ppa.launchpad.net precise Release
Get:14 http://security.ubuntu.com precise-security/main Sources [22.0 kB]
Ign http://packages.medibuntu.org precise/non-free TranslationIndex
Get:15 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Hit http://extras.ubuntu.com precise/main Sources
Ign http://archive.canonical.com precise/partner Sources/DiffIndex
Ign http://archive.canonical.com precise/partner i386 Packages/DiffIndex
Ign http://ppa.launchpad.net precise Release
Ign https://private-ppa.launchpad.net precise InRelease
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://packages.medibuntu.org precise/free Sources
Get:16 http://us.archive.ubuntu.com precise-proposed Release [49.6 kB]
Hit http://extras.ubuntu.com precise/main i386 Packages
Hit http://ppa.launchpad.net precise Release
Get:17 http://security.ubuntu.com precise-security/restricted Sources [14 B]
Get:18 http://security.ubuntu.com precise-security/universe Sources [7,832 B]
Get:19 http://security.ubuntu.com precise-security/multiverse Sources [713 B]
Get:20 http://security.ubuntu.com precise-security/main i386 Packages [69.4 kB]
Ign http://archive.canonical.com precise/partner i386 Packages/DiffIndex
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://packages.medibuntu.org precise/non-free Sources
Hit http://packages.medibuntu.org precise/free i386 Packages
Hit http://packages.medibuntu.org precise/non-free i386 Packages
Ign http://ppa.launchpad.net precise/main Sources/DiffIndex
Ign http://ppa.launchpad.net precise/main i386 Packages/DiffIndex
Ign http://ppa.launchpad.net precise/main TranslationIndex
Get:21 http://us.archive.ubuntu.com precise-backports Release [49.6 kB]
Ign http://ppa.launchpad.net precise/main Sources/DiffIndex
Ign http://ppa.launchpad.net precise/main i386 Packages/DiffIndex
Ign http://ppa.launchpad.net precise/main TranslationIndex
Get:22 http://archive.canonical.com precise/partner Sources [3,430 B]
97% [22 Sources bzip2 0 B] [21 Release 49.6 kB/49.6 kB 100%] [20 Packages 59.4 bzip2: (stdin) is not a bzip2 file.
Get:23 http://us.archive.ubuntu.com precise/main Sources [934 kB]
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Get:24 http://archive.canonical.com precise/partner i386 Packages [4,982 B]
31% [23 Sources 39.0 kB/934 kB 4%] [20 Packages 63.8 kB/69.4 kB 92%] [Waiting fbzip2: (stdin) is not a bzip2 file.
Get:25 http://archive.canonical.com precise/partner i386 Packages [4,982 B]
31% [25 Packages bzip2 0 B] [23 Sources 39.0 kB/934 kB 4%] [20 Packages 63.8 kBbzip2: (stdin) is not a bzip2 file.
Get:26 http://security.ubuntu.com precise-security/restricted i386 Packages [14 B]
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Get:27 http://security.ubuntu.com precise-security/universe i386 Packages [18.7 kB]
Hit https://private-ppa.launchpad.net precise Release.gpg
Hit https://private-ppa.launchpad.net precise Release
Hit https://private-ppa.launchpad.net precise/main i386 Packages
Get:28 http://security.ubuntu.com precise-security/multiverse i386 Packages [1,394 B]
Get:29 http://security.ubuntu.com precise-security/main TranslationIndex [73 B]
Get:30 http://security.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
Get:31 http://security.ubuntu.com precise-security/restricted TranslationIndex [70 B]
Get:32 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Ign https://private-ppa.launchpad.net precise/main TranslationIndex
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://extras.ubuntu.com precise/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
Get:33 http://security.ubuntu.com precise-security/universe Translation-en [12.6 kB]
Err http://ppa.launchpad.net precise/main Sources
  404 Not Found
Err http://ppa.launchpad.net precise/main i386 Packages
  404 Not Found
Err http://archive.canonical.com precise/partner Sources
  404 Not Found [IP: 91.189.92.150 80]
Err http://archive.canonical.com precise/partner i386 Packages
  404 Not Found [IP: 91.189.92.150 80]
Ign http://archive.canonical.com precise/partner Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en
Err http://archive.canonical.com precise/partner i386 Packages
  404 Not Found [IP: 91.189.92.150 80]
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://packages.medibuntu.org precise/free Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en_US
Get:34 http://us.archive.ubuntu.com precise/restricted Sources [5,470 B]
Get:35 http://us.archive.ubuntu.com precise/universe Sources [5,019 kB]
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://packages.medibuntu.org precise/free Translation-en
Ign http://packages.medibuntu.org precise/non-free Translation-en_US
Ign http://packages.medibuntu.org precise/non-free Translation-en
Ign https://private-ppa.launchpad.net precise/main Translation-en_US
Ign https://private-ppa.launchpad.net precise/main Translation-en
Get:36 http://us.archive.ubuntu.com precise/multiverse Sources [155 kB]
Get:37 http://us.archive.ubuntu.com precise/main i386 Packages [1,274 kB]
Get:38 http://us.archive.ubuntu.com precise/restricted i386 Packages [8,431 B]
Get:39 http://us.archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
Get:40 http://us.archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Get:41 http://us.archive.ubuntu.com precise-updates/main Sources [123 kB]
Get:42 http://us.archive.ubuntu.com precise-updates/restricted Sources [1,379 B]
Get:43 http://us.archive.ubuntu.com precise-updates/universe Sources [29.5 kB]
Get:44 http://us.archive.ubuntu.com precise-updates/multiverse Sources [1,058 B]
Get:45 http://us.archive.ubuntu.com precise-updates/main i386 Packages [310 kB]
Get:46 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [2,439 B]
Get:47 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [84.4 kB]
Get:48 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [2,047 B]
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Get:49 http://us.archive.ubuntu.com precise-proposed/restricted i386 Packages [14 B]
Get:50 http://us.archive.ubuntu.com precise-proposed/main i386 Packages [155 kB]
Get:51 http://us.archive.ubuntu.com precise-proposed/multiverse i386 Packages [14 B]
Get:52 http://us.archive.ubuntu.com precise-proposed/universe i386 Packages [18.7 kB]
Get:53 http://us.archive.ubuntu.com precise-proposed/main TranslationIndex [3,564 B]
Get:54 http://us.archive.ubuntu.com precise-proposed/multiverse TranslationIndex [2,605 B]
Get:55 http://us.archive.ubuntu.com precise-proposed/restricted TranslationIndex [2,461 B]
Get:56 http://us.archive.ubuntu.com precise-proposed/universe TranslationIndex [2,850 B]
Get:57 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:58 http://us.archive.ubuntu.com precise-backports/main i386 Packages [1,271 B]
Get:59 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [999 B]
Get:60 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [7,496 B]
Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Get:61 http://us.archive.ubuntu.com precise-proposed/main Translation-en [48.5 kB]
Hit http://us.archive.ubuntu.com precise-proposed/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-proposed/restricted Translation-en
Get:62 http://us.archive.ubuntu.com precise-proposed/universe Translation-en [10.9 kB]
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Fetched 13.5 MB in 2min 37s (85.5 kB/s)
W: GPG error: http://packages.medibuntu.org precise InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
W: GPG error: http://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <email address hidden>
W: GPG error: http://archive.canonical.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures were invalid: BADSIG 6AF0E1940624A220 Launchpad PPA for TualatriX
W: GPG error: http://archive.canonical.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures were invalid: BADSIG 6AF0E1940624A220 Launchpad PPA for TualatriX
W: Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)/dists/precise/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)/dists/precise/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/partner/source/Sources 404 Not Found [IP: 91.189.92.150 80]

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/partner/binary-i386/Packages 404 Not Found [IP: 91.189.92.150 80]

W: Failed to fetch http://ppa.launchpad.net/ubun-tor/ppa/ubuntu/dists/precise/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/ubun-tor/ppa/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://archive.canonical.com/dists/precise/partner/binary-i386/Packages 404 Not Found [IP: 91.189.92.150 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

Revision history for this message
Miha Gašperšič (miha.gaspersic) said :
#3

Hi there,

you have discovered a bug in update manager. I suggest you, that you report it.

If that helps you solve your question, please mark thread as solved.

Regards,
Miha

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

There are different problems with the configuration on your system, but there should be a way to solve them:

Open a terminal (Ctrl-alt-t) and issue the follwing commands:

sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2EBC26B60C5A2783
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 16126D3A3E5C1192
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 6AF0E1940624A220

Then try again with

sudo apt-get update

After that select all output (edit - select all) copy it (edit - copy) and paste into a new message of this question thread.

Revision history for this message
Angel Diaz (amdiaz66) said :
#5

W:Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ -
Release i386 (20120423)/dists/precise/main/binary-i386/Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get
update cannot be used to add new CD-ROMs
, W:Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ -
Release i386 (20120423)/dists/precise/restricted/binary-i386/Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get
update cannot be used to add new CD-ROMs
, W:Failed to fetch
gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages
 Hash Sum mismatch
, E:Some index files failed to download. They have been ignored, or
old ones used instead.

On 7/3/12, marcobra (Marco Braida) <email address hidden> wrote:
> Your question #202117 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/202117
>
> Project: Ubuntu => apt in Ubuntu
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Angel Diaz (amdiaz66) said :
#6

Failed to download repository information

Check your Internet connection.

On 7/4/12, angel diaz <email address hidden> wrote:
> W:Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ -
> Release i386 (20120423)/dists/precise/main/binary-i386/Packages
> Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get
> update cannot be used to add new CD-ROMs
> , W:Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ -
> Release i386 (20120423)/dists/precise/restricted/binary-i386/Packages
> Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get
> update cannot be used to add new CD-ROMs
> , W:Failed to fetch
> gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages
> Hash Sum mismatch
> , E:Some index files failed to download. They have been ignored, or
> old ones used instead.
>
> On 7/3/12, marcobra (Marco Braida) <email address hidden>
> wrote:
>> Your question #202117 on apt in Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/202117
>>
>> Project: Ubuntu => apt in Ubuntu
>>
>> --
>> You received this question notification because you asked the question.
>>
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

You have to deselect the CD-ROM that you used for installation as a software source for updates.
You have to start Ubuntu software Center and go to "Edit - Software Surces"
CD-ROMs can be listed on the first and second tabs of the dialogue window that is shown. You have to make sure that there is no tick mark besieds the CD-ROm lines. See https://help.ubuntu.com/community/Repositories/Ubuntu#Ubuntu_Software_Tab for details.

Then try the following commands again

sudo rm /var/lib/apt/lists/partial/*
sudo apt-get update

Revision history for this message
Angel Diaz (amdiaz66) said :
#8

angel@Serenity:~$ sudo rm /var/lib/apt/lists/partial/*
[sudo] password for angel:
angel@Serenity:~$ sudo apt-get update
Ign http://archive.ubuntu.com precise InRelease
Get:1 http://archive.ubuntu.com precise Release.gpg [198 B]
Ign http://security.ubuntu.com precise-security InRelease
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://us.archive.ubuntu.com precise-backports InRelease
Ign http://extras.ubuntu.com precise InRelease
Ign http://archive.canonical.com precise InRelease
Get:2 http://us.archive.ubuntu.com precise Release.gpg [198 B]
Hit http://extras.ubuntu.com precise Release.gpg
Hit http://archive.canonical.com precise Release.gpg
Hit http://archive.canonical.com precise Release
Hit http://extras.ubuntu.com precise Release
Hit http://archive.canonical.com precise/partner Sources
Get:3 http://archive.ubuntu.com precise Release [49.6 kB]
Hit http://extras.ubuntu.com precise/main Sources
Hit http://archive.canonical.com precise/partner i386 Packages
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Ign http://archive.canonical.com precise/partner Translation-en_US
Get:4 http://security.ubuntu.com precise-security Release.gpg [198 B]
Ign http://archive.canonical.com precise/partner Translation-en
Get:5 http://security.ubuntu.com precise-security Release [49.6 kB]
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://extras.ubuntu.com precise/main Translation-en
Get:6 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:7 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
Get:8 http://us.archive.ubuntu.com precise Release [49.6 kB]
Get:9 http://archive.ubuntu.com precise/main Sources [934 kB]
Get:10 http://security.ubuntu.com precise-security/restricted Sources [14 B]
Get:11 http://security.ubuntu.com precise-security/main Sources [22.1 kB]
Get:12 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Get:13 http://us.archive.ubuntu.com precise-backports Release [49.6 kB]
Get:14 http://us.archive.ubuntu.com precise/restricted Sources [5,470 B]
Get:15 http://us.archive.ubuntu.com precise/main Sources [934 kB]
Get:16 http://security.ubuntu.com precise-security/multiverse Sources [713 B]
Get:17 http://security.ubuntu.com precise-security/universe Sources [7,832 B]
Get:18 http://security.ubuntu.com precise-security/main i386 Packages [69.5 kB]
Get:19 http://security.ubuntu.com precise-security/restricted i386
Packages [14 B]
Get:20 http://security.ubuntu.com precise-security/universe i386
Packages [18.7 kB]
Get:21 http://security.ubuntu.com precise-security/multiverse i386
Packages [1,394 B]
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
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
Hit http://security.ubuntu.com precise-security/universe Translation-en
Get:22 http://us.archive.ubuntu.com precise/main Sources [934 kB]
Get:23 http://archive.ubuntu.com precise/restricted Sources [5,470 B]
Get:24 http://us.archive.ubuntu.com precise/multiverse Sources [155 kB]
Get:25 http://us.archive.ubuntu.com precise/universe Sources [5,019 kB]
Get:26 http://us.archive.ubuntu.com precise/main i386 Packages [1,274 kB]
Get:27 http://us.archive.ubuntu.com precise/main i386 Packages [1,274 kB]
Get:28 http://us.archive.ubuntu.com precise/restricted i386 Packages [8,431 B]
Get:29 http://us.archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
Get:30 http://us.archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
Get:31 http://us.archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
100% [31 Packages bzip2 0 B] [Waiting for headers] 240 B/s 0s
bzip2: Data integrity error when decompressing.
 Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Ign http://us.archive.ubuntu.com precise/main TranslationIndex
Ign http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com precise/restricted TranslationIndex
Ign http://us.archive.ubuntu.com precise/universe TranslationIndex
Ign http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Ign http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Ign http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Get:32 http://us.archive.ubuntu.com precise-backports/main i386
Packages [1,271 B]
Get:33 http://us.archive.ubuntu.com precise-backports/restricted i386
Packages [14 B]
Get:34 http://us.archive.ubuntu.com precise-backports/universe i386
Packages [8,717 B]
Get:35 http://us.archive.ubuntu.com precise-backports/universe i386
Packages [8,717 B]
Get:36 http://us.archive.ubuntu.com precise-backports/multiverse i386
Packages [999 B]
Get:37 http://us.archive.ubuntu.com precise-backports/main
TranslationIndex [71 B]
Get:38 http://us.archive.ubuntu.com precise-backports/multiverse
TranslationIndex [71 B]
Get:39 http://us.archive.ubuntu.com precise-backports/restricted
TranslationIndex [70 B]
Get:40 http://us.archive.ubuntu.com precise-backports/universe
TranslationIndex [72 B]
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Get:41 http://us.archive.ubuntu.com precise-updates/restricted Sources [1,218 B]
Get:42 http://us.archive.ubuntu.com precise-updates/main Sources [156 kB]
Get:43 http://us.archive.ubuntu.com precise-updates/multiverse Sources [916 B]
Get:44 http://us.archive.ubuntu.com precise-updates/universe Sources [35.2 kB]
Get:45 http://us.archive.ubuntu.com precise-updates/main i386 Packages [404 kB]
Get:46 http://us.archive.ubuntu.com precise-updates/restricted i386
Packages [2,665 B]
Get:47 http://us.archive.ubuntu.com precise-updates/universe i386
Packages [109 kB]
Get:48 http://us.archive.ubuntu.com precise-updates/multiverse i386
Packages [1,847 B]
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Get:49 http://us.archive.ubuntu.com precise-backports/main Sources [1,691 B]
Get:50 http://us.archive.ubuntu.com precise-backports/restricted Sources [20 B]
Get:51 http://us.archive.ubuntu.com precise-backports/universe Sources [10.6 kB]
Get:52 http://us.archive.ubuntu.com precise-backports/multiverse
Sources [1,233 B]
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Get:53 http://us.archive.ubuntu.com precise-backports/universe
Translation-en [6,334 B]
Ign http://us.archive.ubuntu.com precise/main Translation-en_US
Ign http://us.archive.ubuntu.com precise/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com precise/restricted Translation-en_US
Ign http://us.archive.ubuntu.com precise/universe Translation-en_US
Ign http://us.archive.ubuntu.com precise-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com precise-updates/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com precise-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com precise-updates/universe Translation-en_US
Fetched 14.4 MB in 1h 24min 31s (2,831 B/s)
W: Failed to fetch
gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise-backports_universe_source_Sources
 Hash Sum mismatch

W: Failed to fetch
bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise-backports_universe_binary-i386_Packages
 Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old
ones used instead.
angel@Serenity:~$

On 7/4/12, Manfred Hampl <email address hidden> wrote:
> Your question #202117 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/202117
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> You have to deselect the CD-ROM that you used for installation as a software
> source for updates.
> You have to start Ubuntu software Center and go to "Edit - Software Surces"
> CD-ROMs can be listed on the first and second tabs of the dialogue window
> that is shown. You have to make sure that there is no tick mark besieds the
> CD-ROm lines. See
> https://help.ubuntu.com/community/Repositories/Ubuntu#Ubuntu_Software_Tab
> for details.
>
> Then try the following commands again
>
> sudo rm /var/lib/apt/lists/partial/*
> sudo apt-get update
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/202117/+confirm?answer_id=6
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/202117
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

You internet connections seems unstable. Apparently some of the files got corrupted during the download.

If there is something that you can do to improve your internet connection, you should do that.
If there is nothing you can do, you have to go through the steps above

sudo rm /var/lib/apt/lists/partial/*
sudo apt-get update

again and again, until all package index information has been successfully downloaded.

Revision history for this message
Angel Diaz (amdiaz66) said :
#10

Help! It no longer remembers my password and I never changed it!!!!
What do I do? I can't do any updating until I get my password!

On 7/4/12, Manfred Hampl <email address hidden> wrote:
> Your question #202117 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/202117
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> You internet connections seems unstable. Apparently some of the files
> got corrupted during the download.
>
> If there is something that you can do to improve your internet connection,
> you should do that.
> If there is nothing you can do, you have to go through the steps above
>
> sudo rm /var/lib/apt/lists/partial/*
> sudo apt-get update
>
> again and again, until all package index information has been
> successfully downloaded.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/202117/+confirm?answer_id=8
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/202117
>
> You received this question notification because you asked the question.
>

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#11

If you have forgotten your password and have to reset it, see http://www.psychocats.net/ubuntu/resetpassword

Revision history for this message
Angel Diaz (amdiaz66) said :
#12

SOLVED: I just decided to do a fresh install all over again but I removed the lock, installed the keys, and just did a fresh update. Did not mess with anything else. I still think Ubuntu is better than Microsoft. So far, everything seems fine. I'll let you know if anything changes.

Revision history for this message
costales (costales) said :
#13

sudo rm /var/lib/apt/lists/* -vf
Maybe?