Subject: Bug#4218: Problems removing INN

From: Rob Leslie <[email-masked]>
Date: Wed, 21 Aug 1996 00:03:57 -0400

Package: inn
Version: 1.4unoff4-1

deimos:~:[2]# dpkg --purge inn
(Reading database ... 20824 files and directories currently installed.)
Removing inn ...
Trying to stop INN..
Removing crontab for news..
Removing files in /var/log/news and /var/run/innd..
dpkg - warning: while removing inn, directory `/var/spool/news/.outgoing' not empty so not removed.
dpkg - warning: while removing inn, directory `/var/spool/news/over.view' not empty so not removed.
dpkg: error processing inn (--purge):
 cannot remove `/var/spool/news': Device or resource busy
** INN news server configuration
chown: /var/log/news/.: No such file or directory
I can't access your /etc/news/inn.conf (No such file or directory) - HELP
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 inn

I'm not so worried about the dpkg problems as I am the messages which follow.

Thanks.

-- 
Robert Leslie
[email-masked]

---

From: Miquel van Smoorenburg <[email-masked]>
Date: Wed, 21 Aug 1996 18:00:48 +0200 (MET DST)

>  cannot remove `/var/spool/news': Device or resource busy

Ehm yes. /var/spool/news shouldn't be in the INN package; your /var/spool/news
is probably on a seperate partition so rmdir /var/spool/news will always fail..
This is a bug in the INN package. I'm still working on it, though rather
slowly (veeeerry slowly, sorry).

> ** INN news server configuration

Yep, dpkg tries do undo the purge so it probably starts the postinst script
again with a special argument which the INN postinst happiliy ignores.

> I can't access your /etc/news/inn.conf (No such file or directory) - HELP

Yes, too late.. armageddon :)

> Errors were encountered while processing:

No worries, but it _is_ kind of hard to get entirely rid of all traces
of INN on your system.. dpkg will keep thinking some parts are still
installed.

Mike.
-- 
  Miquel van    | Cistron Internet Services   --    Alphen aan den Rijn.
  Smoorenburg,  | mailto:[email-masked]          http://www.cistron.nl/
[email-masked] | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)

---

From: Ian Jackson <[email-masked]>
Date: Sat, 24 Aug 96 18:41 BST

Rob Leslie writes ("Bug#4218: Problems removing INN"):
...
>  cannot remove `/var/spool/news': Device or resource busy

Would it be better if I made dpkg treat this as a warning ?

It happens one of the directories in a package is a mount point.

Ian.

---

From: Miquel van Smoorenburg <[email-masked]>
Date: Mon, 26 Aug 1996 14:42:42 +0200 (MET DST)

You (Ian Jackson) wrote:
> (It happens one of the directories in a package is a mount point).

Yes, I think so. Every directory can be a potential mountpoint.

Mike.
-- 
   Miquel van      | Cistron Internet Services   --    Alphen aan den Rijn.
   Smoorenburg,    | mailto:[email-masked]          http://www.cistron.nl/
[email-masked] | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)

---

From: Ian Jackson <[email-masked]>
Date: Tue, 27 Aug 96 14:07 BST

...
> > Would it be better if I made dpkg treat [EBUSY] as a warning ?

This will be in 1.3.11.

Ian.