Project

General

Profile

Actions

Bug #11854

closed

python-rados: packaging bug? "package is in a very bad inconsistent state"

Added by Zack Cerza almost 9 years ago. Updated about 6 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I am seeing this a lot right now.

After a failed teuthology-nuke:

ubuntu@typica043:~$ sudo DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 python-rados : Depends: librados2 but it is not installed
E: Unmet dependencies. Try using -f.
ubuntu@typica043:~$ sudo apt-get remove python-radosReading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cpu-checker ipxe-qemu libbrlapi0.6 libconfig-general-perl libfdt1
  libibverbs1 librdmacm1 libseccomp2 libsgutils2-2 libspice-server1
  libusbredirparser1 libxen-4.4 libxenstore3.0 libyajl2 msr-tools qemu-keymaps
  qemu-system-common seabios sg3-utils sharutils
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  python-rados
0 upgraded, 0 newly installed, 1 to remove and 179 not upgraded.
1 not fully installed or removed.
After this operation, 914 kB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: error processing package python-rados (--remove):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting a removal
E: Sub-process /usr/bin/dpkg returned an error code (1)
Actions #1

Updated by Sage Weil about 6 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF