Re: error installing debconf
On Sáu, 07 Giêng 2000, Colin Watson wrote:
> tsuess@tsuess.evcom.net wrote:
> >Preparing to replace debconf 0.2.60 (using .../debconf_0.2.65_all.deb) ...
> >Unpacking replacement debconf ...
> >dpkg: error processing /var/cache/apt/archives/debconf_0.2.65_all.deb (--unpack):
> > trying to overwrite directory `/usr/sbin' in package sudo with nondirectory
> >Errors were encountered while processing:
> > /var/cache/apt/archives/debconf_0.2.65_all.deb
> >E: Sub-process returned an error code (1)
It's an easy fix to fix it, in the Makefile of the source, one line
has bin where it should say sbin
Patch follows:
--- Makefile.orig Fri Jan 7 23:31:21 2000
+++ Makefile Fri Jan 7 23:25:45 2000
@@ -34,7 +34,7 @@
install -d $(prefix)/usr/share/man/man3/
pod2man Client/ConfModule.pm > $(prefix)/usr/share/man/man3/Debian::Debconf::Client::ConfModule.3pm
# Install bins
- install -d $(prefix)/usr/bin
+ install -d $(prefix)/usr/sbin
find Client -perm +1 -type f | grep -v frontend | \
xargs -i_ install _ $(prefix)/usr/sbin
--
Ashley Clark
Reply to: