update manager error

Bug #349354 reported by Jon Charge
4
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
New
Undecided
Unassigned

Bug Description

I booted the system. Then I opened update manager. I clicked "Check" so that it would check for new updates. After it loads the information from the internet... I get this error:

E: The package cache file is corrupted
E: _cache->open() failed, please report.

I am using the Jaunty Beta. This also happened for me on Alpha 6.

Thank you,
Jon

Tags: likely-dup
Revision history for this message
Philip Muškovac (yofel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in update-manager.
For future reference you might be interested to know that a lot of applications have bug reporting functionality built in to them. This can be accessed via the Report a Problem option in the Help menu for the application with which you are having an issue. You can learn more about this feature at https://wiki.ubuntu.com/ReportingBugs.

Changed in update-manager:
status: New → Confirmed
Matt Zimmerman (mdz)
Changed in apt (Ubuntu):
status: Confirmed → New
Revision history for this message
C de-Avillez (hggdh2) wrote :

potential duplicate of bug 257639.

@Jon: do you have packagekit installed?

tags: added: likely-dup
Revision history for this message
Jon Charge (seropith) wrote :

I /had/ packagekit installed. I removed it after reading the bug linked above. I'll attempt to reproduce this bug in a few hours time.

Revision history for this message
Jon Charge (seropith) wrote :

Following the removal of the package, I can no longer reproduce the bug.

Revision history for this message
jdtiede (jdtiede) wrote :

I removed the dpackagekit as recommended but still can't use synaptic or apt-get. When removing the principal file didn't help, I searthed for all file with dpackage in their names and deleted them all.

Revision history for this message
Erick Brunzell (lbsolost) wrote :

What's "dpackagekit"?

Maybe it's different in Kubuntu or Xubuntu, but in Ubuntu it's "packagekit". So if you go to terminal and run:

sudo apt-get remove packagekit && sudo apt-get -f install

That should either "do it" or possibly return a message that you need to run autoremove or something.

And if you "searthed for all file with dpackage in their names and deleted them all" you probably really broke some stuff!

Revision history for this message
Erick Brunzell (lbsolost) wrote :

To the OP as noted this is a duplicate. No worries, it's good to file bug reports, but it's best to follow the duplicate notices (and if they're wrong say so), anyway what I've noticed is that at least beginning with the Jaunty daily build on 4-10-09 packagekit is NOT installed by default so it's perfectly safe to remove packagekit as described above.

If the -f install command returns something really scary - like removing lots of stuff - please post here:

http://ubuntuforums.org/forumdisplay.php?f=352

Revision history for this message
jdtiede (jdtiede) wrote : Re: [Bug 349354] Re: update manager error

This results in a seimentation error, as it has since before I tried removing the individual files. What's next, a fresh installation?

--- On Mon, 4/13/09, Erick Brunzell <email address hidden> wrote:

> From: Erick Brunzell <email address hidden>
> Subject: [Bug 349354] Re: update manager error
> To: <email address hidden>
> Date: Monday, April 13, 2009, 12:55 PM
> *** This bug is a duplicate of bug 257639 ***
> https://bugs.launchpad.net/bugs/257639
>
> What's "dpackagekit"?
>
> Maybe it's different in Kubuntu or Xubuntu, but in
> Ubuntu it's
> "packagekit". So if you go to terminal and run:
>
> sudo apt-get remove packagekit && sudo apt-get -f
> install
>
> That should either "do it" or possibly return a
> message that you need to
> run autoremove or something.
>
> And if you "searthed for all file with dpackage in
> their names and
> deleted them all" you probably really broke some
> stuff!
>
> --
> update manager error
> https://bugs.launchpad.net/bugs/349354
> You received this bug notification because you are a direct
> subscriber
> of the bug.

Revision history for this message
Erick Brunzell (lbsolost) wrote :

A couple of things come to mind, but the forums would be a better place to take this conversation:

http://ubuntuforums.org/forumdisplay.php?f=352

That aside, if you can still use synaptic at all you could use the history option to see what packages you've removed, or possibly the fix broken packages option.

You could also try selecting recovery mode from the boot menu and then when it's done running you'll come back to a menu with several options. From there select dpkg - repair broken packages.

But many at the forums know much more than I do!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.