[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: checkinstall kqemu-1.3.0pre9



Hi.

csanyipal@sks.co.yu, 11.11.2006 12:34:
> Selecting previously deselected package kqemu-1.3.0pre9.
> (Reading database ... 112958 files and directories currently
> installed.)
> Unpacking kqemu-1.3.0pre9 (from
> .../kqemu-1.3.0pre9_1.3.0pre9-1_i386.deb) ...
> dpkg: error processing
> /tmp/kqemu-1.3.0pre9/kqemu-1.3.0pre9_1.3.0pre9-1_i386.deb
> (--install):
>  trying to overwrite `/lib/modules/2.6.8/modules.alias', which is also
> in package kernel-image-2.6.8
> Errors were encountered while processing:
>  /tmp/kqemu-1.3.0pre9/kqemu-1.3.0pre9_1.3.0pre9-1_i386.deb
> /var/tmp/qIKmPmJTLcCoULPWGXGa/dpkginstall.log (END)
> 
> What can I to do to install with checkinstall the kqemu?

You have to remove everything in data/lib/modules/2.6.8/ except of the „misc“
directory and the kqemu.ko file. (Within the *.deb file.) To do this, you need
an archive tool which can handle ar-archives, like file-roller does.

Those files in the kqemu*.deb are identically to the installed ones anyway and
you’ll get problems one day when two packages claim to own the same files.

So after the files have been removed, the contents of your data.tar.gz should
look like this:

> data
> |-- lib
> |   `-- modules
> |       `-- 2.6.17-1-k7
> |           `-- misc
> |               `-- kqemu.ko
> `-- usr
>     `-- doc
>         `-- kqemu-1.3.0pre9
>             |-- Changelog
>             |-- LICENSE
>             `-- README
> 
> 7 directories, 4 files

(Replace with your kernel version of course.)


Regards, Mathias

-- 
debian/rules

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: