checkinstall cannot install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CheckInstall |
Fix Released
|
Unknown
|
|||
checkinstall (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: checkinstall
Running 32-bit Feisty.
When I try to install a self-compiled package with checkinstall, I get this error message:
(Reading database ... 134050 files and directories currently installed.)
Unpacking pidgin (from .../pidgin_
dpkg: error processing /home/*
i386.deb (--install):
trying to overwrite `/usr/bin/nm', which is also in package binutils
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/home/
The above example is for Pidgin but I have had the same problem with The Gimp development branch. I don't have this problem with all packages, however (Murrine theme, for example, worked fine, as did Bluefish CVS). All packages (except the Murrine theme) were compiled with --prefix=
So I decided to run checkinstall with --exclude=
- /usr/bin/nm
- /usr/bin/ld
- /usr/bin/strip
- /usr/lib/
- /usr/lib/
- /usr/lib/
- /usr/lib/
- /usr/bin/gcc
Now that all these files are excluded, checkinstall hangs at the following step although the package (Pidgin in this case) seems to be installed (I can run Pidgin and it appears in Synaptic):
Copying files to the temporary directory...OK
Striping ELF binaries and libraries...OK
Compressing man pages...OK
Building file list...OK
Building Debian package...OK
Installing Debian package...
The Gimp followed a similar install procedure, with the following files that needed to be excluded:
- /usr/bin/nm
- /usr/bin/ld
- /usr/bin/strip
- /usr/lib/
- /lib/crti.o
At this point, checkinstall refuses to go any further because of /lib/crti.o even though I excluded (it is, apparently, in the Pidgin package I just installed).
I have not compiled any other packages as far as these two so I cannot comment on anything else. I do know that ffmpeg did not work with checkinstall for me either though.
Checkinstall did not have these problems in previous versions (Edgy, Dapper). I will gladly provide any more information if requested.
Related branches
Changed in checkinstall: | |
status: | Unknown → Confirmed |
Changed in checkinstall: | |
status: | Confirmed → Fix Released |
I have also experienced this exact problem when trying to build a newer version of Filelight (1.0 is not in the repositories yet) and xsidplay (to get libsidplay2 support). I get failures upon trying to overwrite /bin/ld.
Upon examination of the filelight .deb, I noticed that it also included all the files the above poster listed, and a couple of files from my home directory in the .qt configuration settings. I have no idea why it decided it needed to do that either. Most of these extraneous files, such as /usr/bin/ld, had zero size.
Now, in the case of xsidplay I've done it often enough I actually made a script to do most of it for me. This script was unaltered, and worked before but does not now.
In the case of Filelight, I downloaded the new source and the source deb currently in the repositories (from which I copied the debian/ folder) and ran ./configure and then checkinstall -D. The configure appeared to work perfectly.