On Thu, Jun 04, 2009 at 10:10:05PM +0200, you wrote:
problems, but wouldn't it be more efficient if coreutils simply
provides mktemp instead of conflicting with it?

No, because then you have a dangling mktemp package. Unfortunately, apt doesn't get this quite right and I forgot about the necessary workarounds. Here's what's supposed to happen:

# dpkg -i coreutils_7.4-1_i386.deb
dpkg: considering removing mktemp in favour of coreutils ...
dpkg: yes, will remove mktemp in favour of coreutils.
(Reading database ... 26312 files and directories currently installed.)
Preparing to replace coreutils 7.3-1 (using coreutils_7.4-1_i386.deb) ...
Unpacking replacement coreutils ...
Setting up coreutils (7.4-1) ...
Processing triggers for man-db ...
# dpkg -l mktemp
Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
pn  mktemp         <none>         (no description available)


Can't get more efficient than that.

Mike Stone



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to