Race during release-upgrade (was: Error while upgrading from gutsy to hardy)

Bug #228972 reported by Frank Simon
2
Affects Status Importance Assigned to Milestone
command-not-found
Won't Fix
Low
Unassigned
command-not-found (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

libapt-pkg-libc6.6-6.so.4.5: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 10, in <module>
    from CommandNotFound import CommandNotFound
  File "/usr/lib/python2.5/site-packages/CommandNotFound/__init__.py", line 1, in <module>
    from CommandNotFound import CommandNotFound
  File "/usr/lib/python2.5/site-packages/CommandNotFound/CommandNotFound.py", line 7, in <module>
    import apt_pkg
ImportError: libapt-pkg-libc6.6-6.so.4.5: cannot open shared object file: No such file or directory
Python version: 2.5.2 alpha 0
bash: dpkg--reconfigure: command not found

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

I assume this did happen *during* the upgrade (i.e. while the upgrade was running on a different terminal and you typed a command that triggered command-not-found?

Changed in command-not-found (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
summary: - Error while upgrading from gutsy to hardy
+ Race during release-upgrade (was: Error while upgrading from gutsy to
+ hardy)
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Hello Michael, sorry for slow-posting (extreme slow posting).
Do you think that catching import errors on apt stuff is enough to fix this?
Do you have an idea how I can reproduce this easily?

Changed in command-not-found:
importance: Undecided → Low
status: New → In Progress
milestone: none → 0.2.42
Zygmunt Krynicki (zyga)
Changed in command-not-found:
status: In Progress → Won't Fix
milestone: 0.2.42 → none
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.