Debian bug report logs - #1503
How to remove fvwmr5

Package: fvwmR5; Reported by: Erick Branderhorst <branderhorst@fgg.eur.nl>; 33 days old.

Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Thu Sep 28 19:03:30 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0syUnS-0005lhC; Thu, 28 Sep 95 19:03 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA05441
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Thu, 28 Sep 1995 19:03:12 -0700
Received: by bootes.cus.cam.ac.uk 
	(Smail-3.1.29.0 #36) id m0syUnJ-000BzlC; Fri, 29 Sep 95 03:03 BST
Received: by chiark
	id <m0syUPq-0002YOZ@chiark.al.cl.cam.ac.uk>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Fri, 29 Sep 95 02:39 BST
Message-Id: <m0syUPq-0002YOZ@chiark.al.cl.cam.ac.uk>
Date: Fri, 29 Sep 95 02:39 BST
From: Ian Jackson <iwj10@cus.cam.ac.uk>
To: debian-bugs@pixar.com
Subject: Re: Bug#1503: How to remove fvwmr5

Erick Branderhorst writes ("Bug#1503: How to remove fvwmr5"):
> Package: fvwmR5
> Version: 1.24r-
> Libc: libc.so.4.6.27
> Kernel etc: Linux eb 1.2.10 #1 Tue Jun 13 18:37:28 EST 1995 i486
> Reporter: repair 0.1
> Subject: How to deinstall fvwmR5
> 
> I tried the following commands but no luck.
> 
> # dpkg --list | grep fvwmR5
> # dpkg --status fvwmR5
> # dpkg --remove fvwmR5
> # dpkg --force-hold --remove fvwmR5

There is a bug in the fvwmR5 package which makes it try to delete
/usr/doc/copyright/fvwm, and which makes the package removal fail if
the file doesn't exist.

There are at least three ways to solve this:

1)   # touch /usr/doc/copyright/fvwm
     # dpkg --remove fvmwR5
     # touch /usr/doc/copyright/fvwm
     # dpkg --purge fvmwR5

2)   # rm /var/lib/dpkg/fvwmR5.postrm
     # dpkg --purge fvwmR5

3) Get the package maintainer to upload a fixed stub fvwmR5 package
that can overwrite the old package, supplying a non-failing postrm,
and then remove that package again.

dpkg will not properly remove packages whose postrm scripts fail.
There used to be an option to ignore failure of maintainer scripts in
the old Perl dpkg, but this has the potential to cause so much havoc
if people are actually persuaded to use it that I didn't reimplement
it in the new C version.

Ian.

Acknowledgement sent to Ian Jackson <iwj10@cus.cam.ac.uk>:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#1503; Package fvwmR5. Full text available.

Message received at debian-bugs:


From fgg.eur.nl!branderhorst Thu Sep 28 06:11:11 1995
Return-Path: <branderhorst@fgg.eur.nl>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0syIk2-000EyzC; Thu, 28 Sep 95 06:11 PDT
Received: from mailgate.eur.nl by pixar.com with SMTP id AA27044
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Thu, 28 Sep 1995 06:10:47 -0700
Received: from hp750.fgg.eur.nl by mailgate.eur.nl (4.1/SMI-4.1)
	id AA15286; Thu, 28 Sep 95 14:11:02 +0100
Message-Id: <9509281311.AA15286@mailgate.eur.nl>
Received: by hp750.fgg.eur.nl
	(1.38.193.4/16.2) id AA29425; Thu, 28 Sep 1995 14:13:37 +0100
From: Erick Branderhorst <branderhorst@fgg.eur.nl>
Subject: How to remove fvwmr5
To: debian-bugs@pixar.com
Date: Thu, 28 Sep 95 14:13:36 MET
Mailer: Elm [revision: 70.85]

Package: fvwmR5
Version: 1.24r-
Libc: libc.so.4.6.27
Kernel etc: Linux eb 1.2.10 #1 Tue Jun 13 18:37:28 EST 1995 i486
Reporter: repair 0.1
Subject: How to deinstall fvwmR5

I tried the following commands but no luck.
Erick

# dpkg --list | grep fvwmR5
# dpkg --status fvwmR5
# dpkg --remove fvwmR5
# dpkg --force-hold --remove fvwmR5

# dpkg --list | grep fvwmR5
rHh fvwmR5           1.24r 3    the fvwm window manager for X11R5

# dpkg --status fvwmR5
Package: fvwmR5
Status: deinstall hold half-installed
Maintainer: Helmut Geyer, Helmut.Geyer@iwr.uni-heidelberg.de
Version: 1.24r
Revision: 3
Depends: xbaseR5 | xr5shlib, xpmR5
Recommends: pixmapR5
Conflicts: fvwmR6, xpmR6, xpm
Conffiles:
 /etc/X11/fvwm/system.fvwmrc newconffile
Description: the fvwm window manager for X11R5

# dpkg --remove fvwmR5
Package fvwmR5 is on hold, not touching it.  Use --force-hold to override.

# dpkg --force-hold --remove fvwmR5
Package fvwmR5 was on hold, processing it anyway as you request
(Reading database ... 17072 files and directories currently installed.)
Removing fvwmR5 ...
rm: fvwm: No such file or directory
dpkg: error processing fvwmR5 (--remove):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 fvwmR5


Acknowledgement sent to Erick Branderhorst <branderhorst@fgg.eur.nl>:
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1503; Package fvwmR5. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov