Debian Bug report logs - #19531
FIXED in NMU [was: dpkg: "dpkg-divert --test --rename" will go ahead and rename the file]

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg (PTS, buildd, popcon).

Reported by: "Gregory S. Stark" <gsstark@mit.edu>

Date: Thu, 12 Mar 1998 08:48:00 UTC

Severity: fixed

Done: Anthony Towns <ajt@master.debian.org>

Bug is archived. No further changes may be made.

Forwarded to ian@davenant.greenend.org.uk

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>:
Bug#19531; Package dpkg. (full text, mbox, link).


Acknowledgement sent to "Gregory S. Stark" <gsstark@mit.edu>:
New bug report received and forwarded. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Gregory S. Stark" <gsstark@mit.edu>
To: submit@bugs.debian.org
Subject: dpkg: "dpkg-divert --test --rename" will go ahead and rename the file
Date: 12 Mar 98 03:39:58 EST
Package: dpkg
Version: 1.4.0.21

The --test option doesn't seem to affect the --rename functionality.
Here's a possible patch:


--- /usr/sbin/dpkg-divert.std	Wed Mar 11 21:04:03 1998
+++ /usr/sbin/dpkg-divert	Wed Mar 11 21:05:01 1998
@@ -188,6 +188,7 @@
 
 sub dorename {
     return unless $dorename;
+    return if $testmode;
     if (@ssrc) {
         if (@sdest) {
             unlink($rsrc) || &quit("rename: remove duplicate old link \`$rsrc': $!");


-- System Information
Debian Release: 2.0 (unstable)
Kernel Version: Linux portC39.Generation.NET 2.0.33 #2 Mon Jan 12 11:08:08 EST 1998 i586 unknown

Versions of the packages dpkg depends on:
libc6	Version: 2.0.7pre1-4
libg++272	Version: 2.7.2.8-0.1
ncurses3.4	Version: 1.9.9g-8


Changed bug title. Request was from James Troup <james@nocrew.org> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `fixed'. Request was from jdassen@wi.leidenuniv.nl to control@bugs.debian.org. (full text, mbox, link).


Severity set to `fixed'. Request was from Joel Klecker <jk@espy.org> to control@bugs.debian.org. (full text, mbox, link).


Noted your statement that bug has been forwarded to ian@davenant.greenend.org.uk. Request was from Ian Jackson <ian@davenant.greenend.org.uk> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `dpkg' to `dpkg-iwj'. Request was from Wichert Akkerman <wichert@cs.leidenuniv.nl> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `dpkg-iwj' to `dpkg'. Request was from Anthony Towns <ajt@master.debian.org> to control@bugs.debian.org. (full text, mbox, link).


Bug closed, ack sent to submitter - they'd better know why ! Request was from Anthony Towns <ajt@master.debian.org> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `dpkg' to `dpkg'. Request was from Anthony Towns <ajt@master.debian.org> to control@bugs.debian.org. (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 27 02:22:21 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.