Comment 13 for bug 183663

Revision history for this message
Vitaliy Kulikov (slonua) wrote :

So, quick info about versions:

>>uname -a
Linux case 2.6.27-14-generic #1 SMP Fri Mar 13 18:00:20 UTC 2009 i686 GNU/Linux

kvm and kvm-source (1:72+dfsg-1ubuntu6)

Issue occur after some manipulation. here are positive, negative and critical flows:

1. positive
a: U can install and un-install *kvm* many times.
b: U can install and un-install *kvm-source* many times, IF KVM instaled.

2. negative
If u install *kvm-source* in case of *kvm* isn't installed .. so, welcome to hell

3. critical *I'm out*
After install *kvm-source* .. i try remove *kvm-source* by

>> sudo dkms remove -m kvm -v 72 -k 2.6.27-14-generic

It was stupid ...

>> sudo apt-get purge kvm-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  kvm-source*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 909kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 153449 files and directories currently installed.)
Removing kvm-source ...

Error! There are no instances of module: kvm
72 located in the DKMS tree.
dpkg: error processing kvm-source (--purge):
 subprocess pre-removal script returned error exit status 3
Errors were encountered while processing:
 kvm-source
E: Sub-process /usr/bin/dpkg returned an error code (1)