

Debian bug report logs - #913
downgrading doc-*.5 to doc-*.3 doesn't de-install doc-*.5

Package: dpkg ; Reported by: Bill Mitchell <mitchell@mdd.comm.mot.com>;
26 days old.
-----------------------------------------------------------------------

Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Sat May 27 14:27:45 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
        (Smail3.1.28.1 #15) id m0sFTOa-0007mWC; Sat, 27 May 95 14:27 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA10683
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sat, 27 May 1995 
14:26:17 -0700
Received: by bootes.cus.cam.ac.uk 
        (Smail-3.1.29.0 #36) id m0sFTOA-000BzdC; Sat, 27 May 95 22:27 
BST
Received: by chiark
        id <m0sFSrs-0000XQZ@chiark.al.cl.cam.ac.uk>
        (Debian /\oo/\ Smail3.1.29.1 #29.31); Sat, 27 May 95 21:53 BST
Message-Id: <m0sFSrs-0000XQZ@chiark.al.cl.cam.ac.uk>
Date: Sat, 27 May 95 21:53 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: Bill Mitchell <mitchell@mdd.comm.mot.com>,
        Debian bugs submission address <debian-bugs@pixar.com>
X-Debian-Pr: quiet
Subject: Re: Bug#913: downgrading doc-*.5 to doc-*.3 doesn't de-install 
doc-*.5
In-Reply-To: <Pine.SUN.3.91.950527113809.5970A-100000@bb29c>
References: <m0sF7Uw-0000XfZ@chiark.al.cl.cam.ac.uk>
        <Pine.SUN.3.91.950527113809.5970A-100000@bb29c>

Bill Mitchell writes:
> On Fri, 26 May 1995, Ian Jackson wrote:
> > > When I install the .5 package, then install the .3 package, the
> > > files from the .5 package are left in place.
> > 
> > Can you please mail me both the .5 and .3 .deb files, uuencoded ?
> > 
> > I shall then try to replicate and fix the problem.
> > 
> > Also, please send me up-to-date copies of your /var/lib/dpkg/status
> > and .../available files :-).
> 
> Thanks.  That'll be a bit difficult.  I've already upgraded my
> packages disk from the FTP site, so I've lost the doc-*-3.deb file.
> The -5 file is at work.  What I currently have installed on my
> system is the duplicated -5 files and the dpkg admin files
> from my latest install, which was from -3.

Oh.  I thought you were reporting a repeatable bug ...

> Here's what I propose to do:
> 
> 1.  I'll send current copies of the status and available files
>     to you by separate email.

Thanks, got them.

> 2.  I'll do my best to reconstruct the -3 package from what I
>     have on my system -- get the post{inst,rm} files from
>     dpkg/info, the control file from the status file, and
>     the package body from what's in doc.list and build a package
>     from that.  I'll then test by reinstalling my reconstructed
>     -3 package and the actual -5 package to see if the problem
>     persists.  If it does, I'll upload the reconstructed -3 package
>     to cmich's Incoming directory in some filename which I'll email
>     you.  It'll be about 750 Kbytes (769085 as built, but not yet
>     tested).

Please email me the actual file (rather than uploading it and telling
me the name).  Email *really* is the best way to get it to me, I
promise.  I can handle a 1Mb mail message without any problems (don't
split it into pieces).  If it comes to over 4Mb let me know in advance
and I'll make special arrangements.

> 3.  The -5 file (over 1M byte as I recall) is the currrent one
>     on cmich.  I'll need to drop by the office to get a copy for
>     testing.  I don't think it's necessary for me to upload
>     another copy of that.

I shall get a copy of that.

> > PS: I've set `X-Debian-PR: quiet' on this ...
> 
> I dithered a bit about putting that dpkg -D info in the bug
> report vs. private email to you, and finally decided that it
> wasn't too outrageously long for that and that it'd be best
> to have those details in the bug report records.

Indeed.  However, I see that you didn't copy `X-Debian-PR: quiet' into
your reply to me, so that your reply to my reply went to debian-devel
as well as the bug report logs.

If you just want to log something you can put `X-Debian-PR: quiet' in
the main mail header, which will make it show up in the logs and send
you an ack but not forward trivial to-ing and fro-ing like this to
debian-devel.

Ian.
-----------------------------------------------------------------------
Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson) :
Extra info received and filed, but not forwarded. Full text available.
-----------------------------------------------------------------------

Message received at debian-bugs:


From mdd.comm.mot.com!mitchell Sat May 27 11:55:25 1995
Return-Path: <mitchell@mdd.comm.mot.com>
Received: from pixar.com by mongo.pixar.com with smtp
        (Smail3.1.28.1 #15) id m0sFR1A-0005kIC; Sat, 27 May 95 11:55 PDT
Received: from motgate.mot.com by pixar.com with SMTP id AA07510
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sat, 27 May 1995 
11:53:59 -0700
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by 
motgate.mot.com (8.6.11/8.6.10/MOT-3.6) with ESMTP id NAA10952; Sat, 27 
May 1995 13:55:22 -0500
Received: from mdd.comm.mot.com (mdisea.mdd.comm.mot.com 
[138.242.64.201]) by pobox.mot.com (8.6.11/8.6.10/MOT-3.6) with SMTP id 
NAA29678; Sat, 27 May 1995 13:55:21 -0500
Received: from bb29c.mdd.comm.mot.com by mdd.comm.mot.com (4.1/SMI-4.1)
        id AA02181; Sat, 27 May 95 11:55:19 PDT
Received: by bb29c.mdd.comm.mot.com (4.1/SMI-4.1)
        id AA05977; Sat, 27 May 95 11:55:08 PDT
Date: Sat, 27 May 1995 11:55:08 -0700 (PDT)
From: Bill Mitchell <mitchell@mdd.comm.mot.com>
X-Sender: mitchell@bb29c
To: Ian Jackson <iwj10@cus.cam.ac.uk>
Cc: Debian bugs submission address <debian-bugs@pixar.com>
Subject: Re: Bug#913: downgrading doc-*.5 to doc-*.3 doesn't de-install 
doc-*.5
In-Reply-To: <m0sF7Uw-0000XfZ@chiark.al.cl.cam.ac.uk>
Message-Id: <Pine.SUN.3.91.950527113809.5970A-100000@bb29c>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Fri, 26 May 1995, Ian Jackson wrote:

> > When I install the .5 package, then install the .3 package, the
> > files from the .5 package are left in place.
> 
> Can you please mail me both the .5 and .3 .deb files, uuencoded ?
> 
> I shall then try to replicate and fix the problem.
> 
> Also, please send me up-to-date copies of your /var/lib/dpkg/status
> and .../available files :-).


Thanks.  That'll be a bit difficult.  I've already upgraded my
packages disk from the FTP site, so I've lost the doc-*-3.deb file.
The -5 file is at work.  What I currently have installed on my
system is the duplicated -5 files and the dpkg admin files
from my latest install, which was from -3.

Here's what I propose to do:

1.  I'll send current copies of the status and available files
    to you by separate email.

2.  I'll do my best to reconstruct the -3 package from what I
    have on my system -- get the post{inst,rm} files from
    dpkg/info, the control file from the status file, and
    the package body from what's in doc.list and build a package
    from that.  I'll then test by reinstalling my reconstructed
    -3 package and the actual -5 package to see if the problem
    persists.  If it does, I'll upload the reconstructed -3 package
    to cmich's Incoming directory in some filename which I'll email
    you.  It'll be about 750 Kbytes (769085 as built, but not yet
    tested).

3.  The -5 file (over 1M byte as I recall) is the currrent one
    on cmich.  I'll need to drop by the office to get a copy for
    testing.  I don't think it's necessary for me to upload
    another copy of that.

> PS: I've set `X-Debian-PR: quiet' on this ...

I dithered a bit about putting that dpkg -D info in the bug
report vs. private email to you, and finally decided that it
wasn't too outrageously long for that and that it'd be best
to have those details in the bug report records.

-----------------------------------------------------------------------
Acknowledgement sent to Bill Mitchell <mitchell@mdd.comm.mot.com> :
Extra info received and forwarded. Full text available.
-----------------------------------------------------------------------
Information forwarded to debian-devel@pixar.com :
Bug#913 ; Package dpkg . Full text available.
-----------------------------------------------------------------------

Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Sat May 27 10:54:48 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
        (Smail3.1.28.1 #15) id m0sFQ4V-0007meC; Sat, 27 May 95 10:54 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA06182
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sat, 27 May 1995 
10:53:19 -0700
Received: by bootes.cus.cam.ac.uk 
        (Smail-3.1.29.0 #36) id m0sFQ40-000BzdC; Sat, 27 May 95 18:54 
BST
Received: by chiark
        id <m0sF7Uw-0000XfZ@chiark.al.cl.cam.ac.uk>
        (Debian /\oo/\ Smail3.1.29.1 #29.31); Fri, 26 May 95 23:04 BST
Message-Id: <m0sF7Uw-0000XfZ@chiark.al.cl.cam.ac.uk>
Date: Fri, 26 May 95 23:04 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: Bill Mitchell <mitchell@mdd.comm.mot.com>,
        Debian bugs submission address <debian-bugs@pixar.com>
X-Debian-Pr: quiet
Subject: Re: Bug#913: downgrading doc-*.5 to doc-*.3 doesn't de-install 
doc-*.5

You write:
> This looks like a dpkg problem, even though I can't duplicate
> it with test packages I've constructed.  I looked at the scripts
> for the doc.* packages, and don't see anything suspicious there.
> 
> When I install the .5 package, then install the .3 package, the
> files from the .5 package are left in place.

Can you please mail me both the .5 and .3 .deb files, uuencoded ?

I shall then try to replicate and fix the problem.

Also, please send me up-to-date copies of your /var/lib/dpkg/status
and .../available files :-).

Ian.

PS: I've set `X-Debian-PR: quiet' on this ...
-----------------------------------------------------------------------
Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson) :
Extra info received and filed, but not forwarded. Full text available.
-----------------------------------------------------------------------

Message received at debian-bugs:


From mdd.comm.mot.com!mitchell Thu May 25 19:15:29 1995
Return-Path: <mitchell@mdd.comm.mot.com>
Received: from pixar.com by mongo.pixar.com with smtp
        (Smail3.1.28.1 #15) id m0sEovx-0005VdC; Thu, 25 May 95 19:15 PDT
Received: from motgate.mot.com by pixar.com with SMTP id AA12866
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Thu, 25 May 1995 
19:14:03 -0700
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by 
motgate.mot.com (8.6.11/8.6.10/MOT-3.6) with ESMTP id VAA24830 for 
<debian-bugs@pixar.com>; Thu, 25 May 1995 21:14:36 -0500
Received: from mdd.comm.mot.com (mdisea.mdd.comm.mot.com 
[138.242.64.201]) by pobox.mot.com (8.6.11/8.6.10/MOT-3.6) with SMTP id 
VAA07259 for <debian-bugs@pixar.com>; Thu, 25 May 1995 21:14:35 -0500
Received: from bb29c.mdd.comm.mot.com by mdd.comm.mot.com (4.1/SMI-4.1)
        id AA20565; Thu, 25 May 95 19:14:34 PDT
Received: by bb29c.mdd.comm.mot.com (4.1/SMI-4.1)
        id AA04442; Thu, 25 May 95 19:14:32 PDT
Date: Thu, 25 May 1995 19:14:31 -0700 (PDT)
From: Bill Mitchell <mitchell@mdd.comm.mot.com>
X-Sender: mitchell@bb29c
To: debian-bugs@pixar.com
Subject: downgrading doc-*.5 to doc-*.3 doesn't de-install doc-*.5
Message-Id: <Pine.SUN.3.91.950525190929.4431B-100000@bb29c>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


PACKAGE:  dpkg
VERSION:  0.93
PACKAGE_REVISION: 42

This looks like a dpkg problem, even though I can't duplicate
it with test packages I've constructed.  I looked at the scripts
for the doc.* packages, and don't see anything suspicious there.

When I install the .5 package, then install the .3 package, the
files from the .5 package are left in place.

Here's a log with dpkg -D:

Script started on Thu May 25 10:42:39 1995
root:093r5# dpkg --list | grep ii.doc
 ii doc          0.93       5   Linux FAQ, HOWTOs, and miscellaneous 
documentat
root:093r5# dpkg --field misc/doc.deb package version package_revision
PACKAGE: doc
VERSION: 0.93
PACKAGE_REVISION: 3
root:093r5# ls -F /usr/doc
FAQ/                   dvips/                 net/
HOWTO/                 elm/                   oleo/
MISC/                  elvis/                 parser.doc
README                 examples/              parserclass.doc
auctex/                gdb-4.12-hwdbg.README  pine/
ax25util/              groff/                 procmail/
bison/                 ham-radio/             sendmail/
bison-parsers/         kermit/                smail-admin-guide/
copyright/             latex/                 tex/
corkpaper.tex          lilo/                  xbaseR6/
cvs/                   man/                   xconfig@
debian-0.93/           ncurses-developer/     xservers
root:093r5# dpkg --install -D misc/doc.deb
D: arguments parsed
D: reading database file /var/lib/dpkg/status
D: database file /var/lib/dpkg/status read
D: reading database file /var/lib/dpkg/available
D: database file /var/lib/dpkg/available read
D: important database prepared
D: databases read
D: action: install; arglist ./misc/doc.deb
D: &do_install(./misc/doc.deb)
D: extract control dpkg-deb --control ./misc/doc.deb 
/var/lib/dpkg/tmp.ci
Preparing to replace doc ...
D: running old pre-removal script = /var/lib/dpkg/info/doc.prerm upgrade 
0.93-3
D: running old post-removal script = /var/lib/dpkg/info/doc.postrm 
upgrade 0.93-3
D: forking now
D: script done
Unpacking ./misc/doc.deb, containing doc ...
D: running pre-installation script = /var/lib/dpkg/tmp.ci/preinst 
upgrade -
D: amended doc
D: called write_database_file /var/lib/dpkg/updates/000, important=1, 
for doc
D: important database prepared
D: &middle_install()
D: &deferred_install(doc) (1: 0)
D: checking dependencies of doc (- )
D: ok 2 msgs >><<
Setting up doc ...
D: conffiles updating ><
D: running post-installation script = /var/lib/dpkg/info/doc.postinst 
configure

D: forking now
D: script done

D: amended doc
D: called write_database_file /var/lib/dpkg/updates/001, important=1, 
for doc
D: important database prepared
D: important database released
D: called write_database_file /var/lib/dpkg/available, important=0, for 
xdviR5 xdviR6 ncurses emacs xpm_compR5 xpm_compR6 xlinkkit xp9000 
xr6shlib doc dvilj diff e2fsprogs make ps2ascii latex ifrench ghostview 
git w3-el rcs texbin xconfig kbd librl tcpdum
p m4 emacs-el shellutils emacs-nox ax25-util pico lynx dlltools lpr 
xdevelR6 tcsh textfm bind xfntscl fortune tar gnuplot ispell auctex 
binutils mfbin findutils xw32 mh xdvi screen idanish python fcc-docs 
image mfaddfnt xwpe xdemoR6 gs_both dpkg bin86 ema
cs-x pmake xmono netstd trn ncurses-runtime ncurses-developer xmach32 
textutils libc sudo man sed miscutils ltxpckg bibtex autoconf hostname 
xboard wenglish tcl igerman httpd lout dvips xcomp texlib mfxno elv-doc 
xpm_develR5 xpm_develR6 sendmail dialog so
urce psutils term pdksh mailx texinfo gsfonts libident cvs ftape xfnt100 
xfntbig groff ljfonts wu-ftpd ghostviewR5 bison-parsers svgalib 
ghostviewR6 mflib manpages shar oleo gs_x tex at glibcdoc uuencode 
xbaseR5 xmach64 xbaseR6 elv-fmt statserial bash bya
cc dvitty bc gs_svga kermit fdflush time rc includes bison gas acct 
xvga16 gcc1 gxditviewR5 gxditviewR6 fvwmR5 fvwmR6 a2gs xcompR6 ircii 
cron perl symlinks jgraph xbascfg metafont gnuchess inn dc xcoral 
minicom xfnt75 info gcc mh-papers xfig ppp texidoc m
fbasfnt tgifR5 tgifR6 mount xpm biff tclX xpmR5 xpmR6 tk cvsdoc makeidx 
apkg samba xxgdbR5 xxgdbR6 myax25 adduser ed gawk ee ax25-kernel-source 
apkg-apk gdb grep xr5shlib c2man xbase es dpkg-sw xs3 mpeg_play chfn 
cdtool syslogd xdevel inewsinn timezone nv
i flex ps2pk fileutils ldso pcb mt-st unzip modules gxditview mfxyes 
mtools joe ax25util sharutils file jargon indent xsvga metamail x8514 
bsdutils pine setserial seyon elv-vi electric-fence gs mkisofs beav 
strace elv-ctags workbone sysvinit patch acm lib
g++ smail xfntbas less acs xagx ical j1 netbase lrzsz xmach8 cpio vim 
tput xv lilo xaxe pixmapR5 pixmapR6 procps procmail gzip hdparm snmp elm
D: called write_database_file /var/lib/dpkg/status, important=0, for 
xdviR5 xdviR6 ncurses emacs xpm_compR5 xpm_compR6 xlinkkit xp9000 
xr6shlib doc dvilj diff e2fsprogs make ps2ascii latex ifrench ghostview 
git w3-el rcs texbin xconfig kbd librl tcpdump m
4 emacs-el shellutils emacs-nox ax25-util pico lynx dlltools lpr 
xdevelR6 tcsh textfm bind xfntscl fortune tar gnuplot ispell auctex 
binutils mfbin findutils xw32 mh xdvi screen idanish python fcc-docs 
image mfaddfnt xwpe xdemoR6 gs_both dpkg bin86 emacs-
x pmake xmono netstd trn ncurses-runtime ncurses-developer xmach32 
textutils libc sudo man sed miscutils ltxpckg bibtex autoconf hostname 
xboard wenglish tcl igerman httpd lout dvips xcomp texlib mfxno elv-doc 
xpm_develR5 xpm_develR6 sendmail dialog sourc
e psutils term pdksh mailx texinfo gsfonts libident cvs ftape xfnt100 
xfntbig groff test ljfonts wu-ftpd ghostviewR5 bison-parsers svgalib 
ghostviewR6 mflib manpages shar oleo gs_x tex at glibcdoc uuencode 
xbaseR5 xmach64 xbaseR6 elv-fmt statserial bash b
yacc dvitty bc gs_svga kermit fdflush time rc includes bison gas acct 
xvga16 gcc1 gxditviewR5 gxditviewR6 fvwmR5 fvwmR6 a2gs xcompR6 ircii 
cron perl symlinks jgraph xbascfg metafont gnuchess inn dc xcoral 
minicom xfnt75 info gcc mh-papers xfig ppp texidoc
 mfbasfnt tgifR5 tgifR6 mount xpm biff tclX xpmR5 xpmR6 tk cvsdoc 
makeidx apkg samba xxgdbR5 xxgdbR6 myax25 adduser ed gawk ee 
ax25-kernel-source apkg-apk gdb grep xr5shlib c2man xbase es dpkg-sw xs3 
mpeg_play chfn cdtool syslogd xdevel inewsinn timezone 
nvi flex ps2pk fileutils ldso pcb mt-st unzip modules gxditview mfxyes 
mtools joe ax25util sharutils file jargon indent xsvga metamail x8514 
bsdutils pine setserial seyon elv-vi electric-fence gs mkisofs beav 
strace elv-ctags workbone sysvinit patch acm l
ibg++ smail xfntbas less acs xagx ical j1 netbase lrzsz xmach8 cpio vim 
tput xv lilo xaxe pixmapR5 pixmapR6 procps procmail gzip hdparm snmp elm
root:093r5# ls -F /usr/doc
Anon-FTP-Setup.gz      Mail-HOWTO.gz          bison/
BUPS-HOWTO.gz          NET-2-HOWTO.gz         bison-parsers/
Backspace.gz           NIS-HOWTO.gz           copyright/
BogoMips.gz            News-HOWTO.gz          corkpaper.tex
Bootdisk-HOWTO.gz      PCI-HOWTO.gz           cvs/
Busmouse-HOWTO.gz      PPP-HOWTO.gz           debian-0.93/
CDROM-HOWTO.gz         Power-Supply.gz        dvips/
Colour-ls.gz           Printing-HOWTO.gz      elm/
Commercial-HOWTO.gz    README                 elvis/
DOSEMU-HOWTO.gz        Reading-List.gz        examples/
Distribution-HOWTO.gz  SCSI-HOWTO.gz          gdb-4.12-hwdbg.README
Ethernet-HOWTO.gz      Serial-HOWTO.gz        groff/
FAQ/                   Sound-HOWTO.gz         ham-radio/
Ftape-HOWTO.gz         Stacker.gz             kermit/
GCC-FAQ.gz             Swap-Space.gz          latex/
German-HOWTO.gz        Term-HOWTO.gz          lilo/
Getty-ps.gz            Tips-HOWTO.gz          linux-faq.ascii.gz
HAM-HOWTO.gz           UPS-HOWTO.gz           man/
HOWTO/                 UUCP-HOWTO.gz          ncurses-developer/
HOWTO-INDEX.gz         Unix-FAQ.1.gz          net/
Hardware-HOWTO.gz      Unix-FAQ.2.gz          oleo/
INFO-SHEET.gz          Unix-FAQ.3.gz          parser.doc
IO-Port.gz             Unix-FAQ.4.gz          parserclass.doc
ISO_8859-1.FAQ.gz      Unix-FAQ.5.gz          pine/
Installation-HOWTO.gz  Unix-FAQ.6.gz          procmail/
JE-HOWTO.gz            Unix-FAQ.7.gz          sendmail/
Kernel-HOWTO.gz        Unix-FAQ.toc.gz        smail-admin-guide/
Keystroke-HOWTO.gz     Unix-shell.gz          tex/
Large-IDE.gz           Vbell.gz               xbaseR6/
META-FAQ.gz            WRITING.gz             xconfig@
MGR-HOWTO.gz           auctex/                xservers
MISC/                  ax25util/
root:093r5# ls /usr/doc/MISC
Anon-FTP-Setup.gz      Large-IDE.gz           WRITING.gz
Backspace.gz           Power-Supply.gz        bug-reporting.txt
BogoMips.gz            Reading-List.gz        gdb-4.12-hwdbg.README
Colour-ls.gz           Stacker.gz             parser.doc
Getty-ps.gz            Swap-Space.gz          parserclass.doc
INFO-SHEET.gz          Unix-shell.gz
IO-Port.gz             Vbell.gz
root:093r5# 
Script done on Thu May 25 10:49:50 1995

mitchell@mdd.comm.mot.com (Bill Mitchell)


-----------------------------------------------------------------------
Acknowledgement sent to Bill Mitchell <mitchell@mdd.comm.mot.com> :
New bug report received and forwarded. Full text available.
-----------------------------------------------------------------------
Report forwarded to debian-devel@pixar.com :
Bug#913 ; Package dpkg . Full text available.
-----------------------------------------------------------------------
Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking
mechanism
This page last modified 06:43:02 GMT Wed 21 Jun