package cgmanager 0.32-4ubuntu1 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration

Bug #1418664 reported by Garth Miller on 2015-02-05
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cgmanager (Ubuntu)
Critical
Unassigned

Bug Description

Got this error when lubuntu software update ran.

ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: cgmanager 0.32-4ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4
Uname: Linux 3.16.0-23-generic i686
ApportVersion: 2.14.7-0ubuntu8
Architecture: i386
Date: Thu Feb 5 12:36:46 2015
DuplicateSignature: package:cgmanager:0.32-4ubuntu1:package is in a very bad inconsistent state; you should reinstall it before attempting configuration
ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
InstallationDate: Installed on 2015-02-03 (2 days ago)
InstallationMedia: Lubuntu 14.10 "Utopic Unicorn" - Release i386 (20141022.1)
SourcePackage: cgmanager
Title: package cgmanager 0.32-4ubuntu1 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
UpgradeStatus: No upgrade log present (probably fresh install)

Garth Miller (miller-garth) wrote :
tags: removed: need-duplicate-check
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug. Could you please show the result of "apt-cache show cgmanager", append the file "/var/log/apt/term.log", and show what happens when you try "sudo apt-get install --reinstall cgmanager"

Changed in cgmanager (Ubuntu):
status: New → Incomplete
importance: Undecided → Critical
  • term.log Edit (172.3 KiB, text/x-log; charset=UTF-8; name="term.log")
Download full text (7.9 KiB)

Here is the output:

garth@Dell-Latitude-D600:~$ sudo apt-cache show cgmanager
[sudo] password for garth:
Package: cgmanager
Priority: standard
Section: admin
Installed-Size: 416
Maintainer: Serge Hallyn <email address hidden>
Architecture: i386
Version: 0.32-4ubuntu1.2
Replaces: cgmanager-utils (<< 0.30-1)
Provides: cgmanager-utils
Depends: libc6 (>= 2.15), libcgmanager0 (>= 0.32), libdbus-1-3 (>= 1.2.16),
libnih-dbus1 (>= 1.0.0), libnih1 (>= 1.0.0), init-system-helpers (>=
1.18~), lsb-base (>= 4.1+Debian11ubuntu7)
Conflicts: cgmanager-utils (<< 0.30-1)
Filename: pool/main/c/cgmanager/cgmanager_0.32-4ubuntu1.2_i386.deb
Size: 70328
MD5sum: 0f90e58f4a122917b9243313628c47af
SHA1: 3aff4dc37b24efd3d68feb66d50479f8e9cfbab2
SHA256: 936cef4f175feb00c5763029f4e71b8528a6fe51ad8aca22c4cbf7b8745e6bc6
Description-en: Central cgroup manager daemon
 cgmanager provides a central cgroup manager daemon and a
 per-namespace manager proxy, allowing users and programs
 to administrate cgroups through D-Bus requests.
 .
 This package contains the cgroup management daemon and
 proxy.
Description-md5: 573a1987c819a2ae4addaf68ae70241e
Homepage: http://cgmanager.linuxcontainers.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m
Task: standard, kubuntu-active, kubuntu-active, mythbuntu-frontend,
mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave,
mythbuntu-backend-slave, mythbuntu-backend-master,
mythbuntu-backend-master, ubuntu-touch-core, ubuntu-desktop-next,
ubuntu-touch, ubuntu-touch, ubuntu-sdk

Package: cgmanager
Priority: standard
Section: admin
Installed-Size: 420
Maintainer: Serge Hallyn <email address hidden>
Architecture: i386
Version: 0.32-4ubuntu1.1
Replaces: cgmanager-utils (<< 0.30-1)
Provides: cgmanager-utils
Depends: libc6 (>= 2.15), libcgmanager0 (>= 0.32), libdbus-1-3 (>= 1.2.16),
libnih-dbus1 (>= 1.0.0), libnih1 (>= 1.0.0), init-system-helpers (>=
1.18~), lsb-base (>= 4.1+Debian11ubuntu7)
Conflicts: cgmanager-utils (<< 0.30-1)
Filename: pool/main/c/cgmanager/cgmanager_0.32-4ubuntu1.1_i386.deb
Size: 70504
MD5sum: 285974e918f1b05761d7fdf0f6f16b4a
SHA1: 6ec7d80adb9f3c79abdbfab2a533e0b474af78e5
SHA256: fbdab7578dc71828279a90bebd0ee9e4f5cb7dfe52266c2d616c33baa8ac6a6f
Description-en: Central cgroup manager daemon
 cgmanager provides a central cgroup manager daemon and a
 per-namespace manager proxy, allowing users and programs
 to administrate cgroups through D-Bus requests.
 .
 This package contains the cgroup management daemon and
 proxy.
Description-md5: 573a1987c819a2ae4addaf68ae70241e
Homepage: http://cgmanager.linuxcontainers.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m
Task: standard, kubuntu-active, kubuntu-active, mythbuntu-frontend,
mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave,
mythbuntu-backend-slave, mythbuntu-backend-master,
mythbuntu-backend-master, ubuntu-touch-core, ubuntu-desktop-next,
ubuntu-touch, ubuntu-touch, ubuntu-sdk

Package: cgmanager
Priority: standard
Section: admin
Installed-Size: 412
Maintainer: Serge Hallyn <email address hidden>
Architecture: i386
Version: 0.32-4ubuntu1
Replaces: cgmanager-utils (<< 0.30-1)
Provides...

Read more...

Serge Hallyn (serge-hallyn) wrote :

Plesae try the following:

1. cp /var/lib/dpkg/status ~/
2. sudo sed -i '/^Package: cgmanager$/,/^$/d' /var/lib/dpkg/status
3. sudo apt-get install cgmanager

Please let us know whether that appears to fix things

Garth Miller (miller-garth) wrote :

Serge,

Thank you for your very quick reply to my bug report. Here is the output
from your latest recommendations. It appears to me to have worked.

garth@Dell-Latitude-D600:~$ sudo apt-get install cgmanager
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  cgmanager
0 upgraded, 1 newly installed, 0 to remove and 88 not upgraded.
2 not fully installed or removed.
Need to get 0 B/70.3 kB of archives.
After this operation, 426 kB of additional disk space will be used.
Selecting previously unselected package cgmanager.
(Reading database ... 116536 files and directories currently installed.)
Preparing to unpack .../cgmanager_0.32-4ubuntu1.2_i386.deb ...
Unpacking cgmanager (0.32-4ubuntu1.2) ...
Processing triggers for man-db (2.7.0.2-2) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up cgmanager (0.32-4ubuntu1.2) ...
cgproxy stop/pre-start, process 12527
Setting up systemd-shim (8-1ubuntu0.1) ...
Installing new version of config file
/etc/dbus-1/system.d/org.freedesktop.systemd-shim.conf ...
Processing triggers for dbus (1.8.8-1ubuntu2) ...
Setting up libpam-systemd:i386 (208-8ubuntu8.2) ...
garth@Dell-Latitude-D600:~$

On Thu, Feb 5, 2015 at 4:39 PM, Serge Hallyn <email address hidden>
wrote:

> Plesae try the following:
>
> 1. cp /var/lib/dpkg/status ~/
> 2. sudo sed -i '/^Package: cgmanager$/,/^$/d' /var/lib/dpkg/status
> 3. sudo apt-get install cgmanager
>
> Please let us know whether that appears to fix things
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1418664
>
> Title:
> package cgmanager 0.32-4ubuntu1 failed to install/upgrade: package is
> in a very bad inconsistent state; you should reinstall it before
> attempting configuration
>
> Status in cgmanager package in Ubuntu:
> Incomplete
>
> Bug description:
> Got this error when lubuntu software update ran.
>
> ProblemType: Package
> DistroRelease: Ubuntu 14.10
> Package: cgmanager 0.32-4ubuntu1
> ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4
> Uname: Linux 3.16.0-23-generic i686
> ApportVersion: 2.14.7-0ubuntu8
> Architecture: i386
> Date: Thu Feb 5 12:36:46 2015
> DuplicateSignature: package:cgmanager:0.32-4ubuntu1:package is in a very
> bad inconsistent state; you should reinstall it before attempting
> configuration
> ErrorMessage: package is in a very bad inconsistent state; you should
> reinstall it before attempting configuration
> InstallationDate: Installed on 2015-02-03 (2 days ago)
> InstallationMedia: Lubuntu 14.10 "Utopic Unicorn" - Release i386
> (20141022.1)
> SourcePackage: cgmanager
> Title: package cgmanager 0.32-4ubuntu1 failed to install/upgrade:
> package is in a very bad inconsistent state; you should reinstall it
> before attempting configuration
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1418664/+subscriptions
>

Serge Hallyn (serge-hallyn) wrote :

Great, thanks for the update. I frankly don't know what causes these cases. They seem to happen with random
packages. i also don't know what to mark the bug, as I'm quite certain it wasn't in cgmanager and was worked
around rather than fixed - but i'll mark it fix released.

Please reply if you have more apparently-related troubles.

Changed in cgmanager (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers