Bug#313605: dpkg removes a file from another package using a local diversion
Package: dpkg Version: 1.13.9 Severity: serious dpkg has made the md5sum.textutils binary from the coreutils binary unavailable in its original path. A package must not remove files from another package. dpkg did this by placing a local diversion. This local diversion does not (by definition) have an association with a debian package, so it is indistinguishable from an actual local diverison (created by the local administrator). -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11-1-k7 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages dpkg depends on: ii coreutils [textutils] 5.2.1-2 The GNU core utilities ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii textutils 5.2.1-2 The GNU text file processing utili -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#313605: dpkg removes a file from another package using a local diversion
reopen 313605 thanks On Tue, Jun 14, 2005 at 04:19:20PM +0100, Scott James Remnant wrote: On Tue, 2005-06-14 at 10:57 -0400, Michael Stone wrote: dpkg has made the md5sum.textutils binary from the coreutils binary unavailable in its original path. A package must not remove files from another package. It's diverting it, not removing it. No, it's removing it. There is no /usr/bin/md5sum.textutils once the buggy version of dpkg is installed. A diversion should be used when a package wants to install a different copy of an existing binary, not to make an existing binary unavailable. I don't want md5sum.textutils to go away, regardless of whether coreutils provides /usr/bin/md5sum. In addition, where are you getting this must not directive from, other than out of your arse? Common sense? How 'bout I rename /usr/bin/dpkg to /usr/bin/dpkg.coreutilsrules on my next upload? Apparantly that would be fine by your logic as long as I use a diversion? You may think it's cool to break things, but there's a difference between breakage caused by development bugs and breakage caused by an overly cavalier attitude. I don't think its unreasonable to expect an essential base package to be handled with a reasonable amount of deliberation. dpkg did this by placing a local diversion. This local diversion does not (by definition) have an association with a debian package, so it is indistinguishable from an actual local diverison (created by the local administrator). This is a common practice, there are many packages that do just this. Well, if I find another package doing it I'll file a bug on that one also. dpkg is the only package on my system at the moment with this bug. Mike Stone -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#313605: dpkg removes a file from another package using a local diversion
On Tue, 2005-06-14 at 15:28 -0400, Michael Stone wrote: On Tue, Jun 14, 2005 at 04:19:20PM +0100, Scott James Remnant wrote: On Tue, 2005-06-14 at 10:57 -0400, Michael Stone wrote: dpkg has made the md5sum.textutils binary from the coreutils binary unavailable in its original path. A package must not remove files from another package. It's diverting it, not removing it. No, it's removing it. There is no /usr/bin/md5sum.textutils once the buggy version of dpkg is installed. If you can't tell the difference between rm (unlink) and mv (rename) you _really_ shouldn't be maintaining coreutils! A diversion should be used when a package wants to install a different copy of an existing binary, not to make an existing binary unavailable. Actually, both are perfectly valid uses of diversions. I don't want md5sum.textutils to go away, regardless of whether coreutils provides /usr/bin/md5sum. So stop waving your dick about and upload a package that matches your liking. Scott -- Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? signature.asc Description: This is a digitally signed message part