package cgmanager 0.32-4ubuntu1 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
| 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
ProcVersionSign
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:
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 : | #1 |
| tags: | removed: need-duplicate-check |
| Serge Hallyn (serge-hallyn) wrote : | #2 |
| Changed in cgmanager (Ubuntu): | |
| status: | New → Incomplete |
| importance: | Undecided → Critical |
Here is the output:
garth@Dell-
[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+Debian11ubu
Conflicts: cgmanager-utils (<< 0.30-1)
Filename: pool/main/
Size: 70328
MD5sum: 0f90e58f4a12291
SHA1: 3aff4dc37b24efd
SHA256: 936cef4f175feb0
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: 573a1987c819a2a
Homepage: http://
Bugs: https:/
Origin: Ubuntu
Supported: 9m
Task: standard, kubuntu-active, kubuntu-active, mythbuntu-frontend,
mythbuntu-frontend, mythbuntu-desktop, mythbuntu-
mythbuntu-
mythbuntu-
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+Debian11ubu
Conflicts: cgmanager-utils (<< 0.30-1)
Filename: pool/main/
Size: 70504
MD5sum: 285974e918f1b05
SHA1: 6ec7d80adb9f3c7
SHA256: fbdab7578dc7182
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: 573a1987c819a2a
Homepage: http://
Bugs: https:/
Origin: Ubuntu
Supported: 9m
Task: standard, kubuntu-active, kubuntu-active, mythbuntu-frontend,
mythbuntu-frontend, mythbuntu-desktop, mythbuntu-
mythbuntu-
mythbuntu-
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...
| Serge Hallyn (serge-hallyn) wrote : | #4 |
Plesae try the following:
1. cp /var/lib/
2. sudo sed -i '/^Package: cgmanager$/,/^$/d' /var/lib/
3. sudo apt-get install cgmanager
Please let us know whether that appears to fix things
| Garth Miller (miller-garth) wrote : | #5 |
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-
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_
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-
Processing triggers for dbus (1.8.8-1ubuntu2) ...
Setting up libpam-systemd:i386 (208-8ubuntu8.2) ...
garth@Dell-
On Thu, Feb 5, 2015 at 4:39 PM, Serge Hallyn <email address hidden>
wrote:
> Plesae try the following:
>
> 1. cp /var/lib/
> 2. sudo sed -i '/^Package: cgmanager$/,/^$/d' /var/lib/
> 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:/
>
> 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
> ProcVersionSign
> 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:
> 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:/
>
| Serge Hallyn (serge-hallyn) wrote : | #6 |
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 |


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"