overwriting directories
I thought dpkg only complained about overwriting when at least one of the
two is a file. It this is so, then dpkg doesn't handle the case when one of
them doesn't exist (I did "rm -r /usr/lib/netscape" to remove loads of
netscape junk).
[1]wyvern:/zip/linux/debs$ sudo dpkg --force-overwrite -i
netscape4_4.0-10.deb
(Reading database ... 35726 files and directories currently installed.)
Unpacking netscape4 (from netscape4_4.0-10.deb) ...
dpkg - warning, overriding problem because --force enabled:
trying to overwrite /usr/lib/netscape', which is also in package acroread
dpkg - warning, overriding problem because --force enabled:
trying to overwrite /usr/lib/netscape/plugins', which is also in package
acroread
Setting up netscape4 (4.0-10) ...
- Found '/tmp/navigator-v405-export.x86-unknown-linux2.0.tar.gz'... (valid)
- extracting from /tmp/navigator-v405-export.x86-unknown-linux2.0.tar.gz
Yes - it *does* fail without the --force-overwrite.
Adrian
email: adrian.bridgett@poboxes.com, http://www.poboxes.com/adrian.bridgett
Windows NT - Unix in beta-testing. PGP key available on public key servers
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: