Debian Bug report logs - #15332
FIXED in NMU [was: fix for update-alternatives --altdir & --admindir]

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

Reported by: Charles Briscoe-Smith <cpb4@ukc.ac.uk>

Date: Thu, 27 Nov 1997 17:03:03 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#15332; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Charles Briscoe-Smith <cpb4@ukc.ac.uk>:
New bug report received and forwarded. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>.

Your message did not contain a Subject field. This is broken, I'm afraid - the Subject: line is a Required Header according to RFC822. Please remember to include a Subject field in your messages in future. If you did so the fact that it got lost probably indicates a poorly configured mail system at your site or an intervening one.

(full text, mbox, link).


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

From: Charles Briscoe-Smith <cpb4@ukc.ac.uk>
To: submit@bugs.debian.org
Date: Thu, 27 Nov 1997 16:54:25 +0000
Package: dpkg
Version: 1.4.1.3
Severity: normal

The --altdir and --admindir options to update-alternatives do not
work.  Here's a fix; it was just a typo:

--- /usr/sbin/update-alternatives	Sun Oct  5 21:14:24 1997
+++ ./update-alternatives	Thu Nov 27 16:15:02 1997
@@ -79,10 +79,10 @@
         $aslavelink{$sname}= $slink;
         $aslavepath{$sname}= $spath;
     } elsif (m/^--altdir$/) {
-        @ARGV && &badusage("--altdir needs a <directory> argument");
+        @ARGV || &badusage("--altdir needs a <directory> argument");
         $altdir= shift(@ARGV);
     } elsif (m/^--admindir$/) {
-        @ARGV && &badusage("--admindir needs a <directory> argument");
+        @ARGV || &badusage("--admindir needs a <directory> argument");
         $admindir= shift(@ARGV);
     } else {
         &badusage("unknown option \`$_'");

I discovered this when I started to write a man page for
update-alternatives.  I thought I'd better check with you that no-one
else is writing one already?

-- 
Charles Briscoe-Smith
White pages entry, with PGP key: <URL:http://alethea.ukc.ac.uk/wp?95cpb4>
PGP public keyprint: 74 68 AB 2E 1C 60 22 94  B8 21 2D 01 DE 66 13 E2


Changed bug title. Request was from Santiago Vila Doncel <sanvila@unex.es> to control@bugs.debian.org. (full text, mbox, link).


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: Tue Apr 16 21:02:14 2024; Machine Name: buxtehude

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.