Hi All,
I'm always being asked if there are quick/easy tasks to get started and
I think I found a few if anyone is interested. The autobuilder has a tag
called "Package File Conflict" which attempts to find places in the logs
where installing a package failed due to a file-level conflict with
another package. The tag can be viewed here:
http://builder.tajinc.org/?f=tags&id_tag=10
Each job log is viewable by clicking on the source name. Let's take the
tkcon source (first one on the page) as an example:
http://builder.tajinc.org/?f=job_status&uuid=034b4908-d5ab-11dd-b4cb-0013d314a49d
Scrolling down and scanning for red text is a good scheme as all error
output should be in red. In this particular log you will eventually find
(in red):
Unpacking tcllib (from .../tcllib_1.10-dfsg-2_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/tcllib_1.10-dfsg-2_all.deb (--unpack):
trying to overwrite `/usr/bin/page', which is also in package sunwcsu
dpkg-deb: subprocess paste killed by signal (Broken Pipe)
This means that two packages (tcllib and sunwcsu) claim to have a file
named /usr/bin/page, but only one should be allowed to install it.
Your mission, should you choose to grok it, is to find the best solution
for resolving these conflicts.
Many times adding a diversion (see dpkg-divert) is an ok solution.
If package "A" only contains one useful file (and perhaps some copies of
the GPL) then another solution is to suggest a patch so that package "B"
provides/conflicts with "A".
Some useful commands for viewing the contents of packages:
## Contents of an installed package
% dpkg-query -L package-name
## Contents of a raw .deb file
% dpkg-deb -c /path/to/package-name.deb
## Contents of many (but not all?) installable packages
% apt-file search filename
If you have questions, feel free to ping the list and its likely someone
will have a good answer. The IRC room is also pretty friendly for
getting started.
Cheers,
-Tim
_______________________________________________
gnusol-devel mailing list
gnusol-devel@lists.sonic.net
http://lists.sonic.net/mailman/listinfo/gnusol-devel