reinstall fails for grub-legacy-ec2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cloud-init
apt-get install --reinstall grub-legacy-ec2 will fail due to the diversions.
See:
$ sudo apt-get install --reinstall grub-legacy-ec
2
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not upgraded.
Need to get 27.6kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
acy-ec2 0.5.13-0ubuntu2 [27.6kB]
Fetched 27.6kB in 0s (175kB/s)
Preconfiguring packages ...
(Reading database ... 33492 files and directories currently installed.)
Preparing to replace grub-legacy-ec2 0.5.13-0ubuntu2 (using .../grub-
Leaving `diversion of /usr/sbin/
Unpacking replacement grub-legacy-ec2 ...
Removing `diversion of /usr/sbin/
dpkg-divert: rename involves overwriting `/usr/sbin/
different file `/usr/sbin/
dpkg: warning: subprocess old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
Removing `diversion of /usr/sbin/
dpkg-divert: rename involves overwriting `/usr/sbin/
different file `/usr/sbin/
dpkg: error processing /var/cache/
subprocess new post-removal script returned error exit status 2
Leaving `diversion of /usr/sbin/
Removing `diversion of /usr/sbin/
dpkg-divert: rename involves overwriting `/usr/sbin/
different file `/usr/sbin/
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: grub-legacy-ec2 0.5.13-0ubuntu2
ProcVersionSign
Uname: Linux 2.6.32-305-ec2 i686
Architecture: i386
Date: Fri Jul 30 18:15:57 2010
Ec2AMI: ami-a519f2cc
Ec2AMIManifest: ubuntu-
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: aki-407d9529
Ec2Ramdisk: unavailable
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-init
This bug was fixed in the package cloud-init - 0.5.13-0ubuntu3
---------------
cloud-init (0.5.13-0ubuntu3) maverick; urgency=low
* grub-legacy-ec2: fix 'apt-get --reinstall' and dpkg-divert (LP: #611812) run-module. py
* enable -virtual kernels as "xen" kernels (pv_ops now functional)
* fix bad syntax in cloud-init-
-- Scott Moser <email address hidden> Mon, 02 Aug 2010 16:26:48 -0400