Re: error installing debconf
I gather the offending debconf package has now been fixed, however, for the future if you delete the file from /var/cache/apt/archives, come off-line and use the -m option to apt-get, it will install and configure the remaining packages. -m effectively means 'ignore any packges not available'. -- Phillip Deackes Debian Linux
Re: error installing debconf
> I am getting almost exactly the same error, except mine is as follows: > > tsuess:~# apt-get -f dist-upgrade > Reading Package Lists... Done > Building Dependency Tree... Done > Calculating Upgrade... Done > 1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > 28 packages not fully installed or removed. > Need to get 118kB of archives. After unpacking 62.5kB will be freed. > Do you want to continue? [Y/n] > Get:1 ftp://ftp.debian.org unstable/main debconf 0.2.65 [118kB] > Fetched 118kB in 26s (4489B/s) > Configuring packages ... > (Reading database ... 77408 files and directories currently installed.) > 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) > tsuess:~# > > I would also love to know how to fix this as it is preventing the other 28 > packages I downloaded from completing the dist-upgrade. > I do not know about the fix, but apt-get install package_name might let you have the other 28 packages. > Regards, > > Todd > > > > > > On Fri, 07 Jan 2000, Mike Werner wrote: > > Greetings everyone. I'm having a problem trying to install debconf. > > I just did a full upgrade to potato this evening. I then tried to > > install a new package (everybuddy) that relied on debconf. When > > apt-get went to install debconf I got the error: > > > > HAL9000:/var/cache/apt/archives# dpkg -i debconf_0.2.65_all.deb > > (Reading database ... 69770 files and directories currently installed.) > > Unpacking debconf (from debconf_0.2.65_all.deb) ... > > dpkg: error processing debconf_0.2.65_all.deb (--install): > > trying to overwrite directory `/usr/sbin' in package libcurses-perl with > > nondirectory > > Errors were encountered while processing: > > debconf_0.2.65_all.deb > > > > When I examined the .deb using mc I found that there is a shell script > > called /usr/sbin - the header of which says that it reconfigures a > > package by running the package's confmodule and then the postinst. > > > > Can anyone here let me know how to fix this? > > -- > > Mike Werner KA8YSD | "Where do you want to go today?" > > ICQ# 12934898 | "As far from Redmond as possible!" > > '91 GS500E| > > Morgantown WV | Only dead fish go with the flow. > > > > > > -- > > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null >
Re: error installing debconf
debconf (0.2.66) unstable; urgency=low * Fixed typo that was making a sbin file -- Joey Hess <[EMAIL PROTECTED]> Fri, 7 Jan 2000 15:34:56 -0800 In Incoming and http://kitenet.net/programs/debs.cgi#debconf -- see shy jo
Re: error installing debconf
On Sat, Jan 08, 2000 at 12:10:17AM -0600, Ashley Clark wrote: > Yes, the /usr/sbin file is one of two that should actually be in > /usr/sbin, by changing the line in the Makefile, it creates the > directory and when creating the deb file, places in it two files, > dpkg-preconfig and dpkg-reconfigure. Ah! I wasn't aware of that. I'm still pretty new to all this, and hadn't been able to follow the makefile well enough. Thanks for the explanation. > > enough to let me install debconf. And that meant I could install a > > couple of things that had gotten stuck due to depending on debconf. > > You could just configure the unconfigured packages by running > dpkg --configure --pending, but I'm unsure that by not installing > those files whether or not that will affect other packages that > depend on debconf. I'll give it a whirl and see what happens. Thanks. -- Mike Werner KA8YSD | "Where do you want to go today?" ICQ# 12934898 | "As far from Redmond as possible!" '91 GS500E| Morgantown WV | Only dead fish go with the flow.
Re: error installing debconf
On Sáu, 07 Giêng 2000, Mike Werner wrote: > On Fri, Jan 07, 2000 at 11:30:17PM -0600, Ashley Clark wrote: > > It's an easy fix to fix it, in the Makefile of the source, one line > > has bin where it should say sbin > > But in the debconf_0.2.65_all.deb there is a *file* named /user/sbin - it's > a shell script to be precise. And what the system is complaining about > is that it doesn't want to replace a directory with a file. I wound up > unpacking the deb into a temp directory, renaming the offending file, and > rebuilding the deb. I'm not sure if it worked correctly, but it worked well Yes, the /usr/sbin file is one of two that should actually be in /usr/sbin, by changing the line in the Makefile, it creates the directory and when creating the deb file, places in it two files, dpkg-preconfig and dpkg-reconfigure. > enough to let me install debconf. And that meant I could install a > couple of things that had gotten stuck due to depending on debconf. You could just configure the unconfigured packages by running dpkg --configure --pending, but I'm unsure that by not installing those files whether or not that will affect other packages that depend on debconf. -- Ashley Clark
Re: error installing debconf
On Fri, Jan 07, 2000 at 11:30:17PM -0600, Ashley Clark wrote: > It's an easy fix to fix it, in the Makefile of the source, one line > has bin where it should say sbin But in the debconf_0.2.65_all.deb there is a *file* named /user/sbin - it's a shell script to be precise. And what the system is complaining about is that it doesn't want to replace a directory with a file. I wound up unpacking the deb into a temp directory, renaming the offending file, and rebuilding the deb. I'm not sure if it worked correctly, but it worked well enough to let me install debconf. And that meant I could install a couple of things that had gotten stuck due to depending on debconf. -- Mike Werner KA8YSD | "Where do you want to go today?" ICQ# 12934898 | "As far from Redmond as possible!" '91 GS500E| Morgantown WV | Only dead fish go with the flow.
Re: error installing debconf
On Sáu, 07 Giêng 2000, Colin Watson wrote: > [EMAIL PROTECTED] 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 +++ MakefileFri 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
Re: error installing debconf
[EMAIL PROTECTED] 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) I reported this as a bug earlier this evening. -- Colin Watson [EMAIL PROTECTED]
Re: error installing debconf
In article <[EMAIL PROTECTED]>, Todd Suess <[EMAIL PROTECTED]> 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) I reported this as a bug earlier this evening. -- Colin Watson [EMAIL PROTECTED] "Ye GODS! NT crashed the microwave!" "Hmmm. Am thinkink we should put Elder Sign seal on microwave now. Leave alone." - User Friendly
Re: error installing debconf
so am i but mine is with apache-common -- Nathan York [EMAIL PROTECTED] On Fri, 7 Jan 2000, Todd Suess wrote: > I am getting almost exactly the same error, except mine is as follows: > > tsuess:~# apt-get -f dist-upgrade > Reading Package Lists... Done > Building Dependency Tree... Done > Calculating Upgrade... Done > 1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > 28 packages not fully installed or removed. > Need to get 118kB of archives. After unpacking 62.5kB will be freed. > Do you want to continue? [Y/n] > Get:1 ftp://ftp.debian.org unstable/main debconf 0.2.65 [118kB] > Fetched 118kB in 26s (4489B/s) > Configuring packages ... > (Reading database ... 77408 files and directories currently installed.) > 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) > tsuess:~# > > I would also love to know how to fix this as it is preventing the other 28 > packages I downloaded from completing the dist-upgrade. > > Regards, > > Todd > > > > > > On Fri, 07 Jan 2000, Mike Werner wrote: > > Greetings everyone. I'm having a problem trying to install debconf. > > I just did a full upgrade to potato this evening. I then tried to > > install a new package (everybuddy) that relied on debconf. When > > apt-get went to install debconf I got the error: > > > > HAL9000:/var/cache/apt/archives# dpkg -i debconf_0.2.65_all.deb > > (Reading database ... 69770 files and directories currently installed.) > > Unpacking debconf (from debconf_0.2.65_all.deb) ... > > dpkg: error processing debconf_0.2.65_all.deb (--install): > > trying to overwrite directory `/usr/sbin' in package libcurses-perl with > > nondirectory > > Errors were encountered while processing: > > debconf_0.2.65_all.deb > > > > When I examined the .deb using mc I found that there is a shell script > > called /usr/sbin - the header of which says that it reconfigures a > > package by running the package's confmodule and then the postinst. > > > > Can anyone here let me know how to fix this? > > -- > > Mike Werner KA8YSD | "Where do you want to go today?" > > ICQ# 12934898 | "As far from Redmond as possible!" > > '91 GS500E| > > Morgantown WV | Only dead fish go with the flow. > > > > > > -- > > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null >
Re: error installing debconf
I am getting almost exactly the same error, except mine is as follows: tsuess:~# apt-get -f dist-upgrade Reading Package Lists... Done Building Dependency Tree... Done Calculating Upgrade... Done 1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 28 packages not fully installed or removed. Need to get 118kB of archives. After unpacking 62.5kB will be freed. Do you want to continue? [Y/n] Get:1 ftp://ftp.debian.org unstable/main debconf 0.2.65 [118kB] Fetched 118kB in 26s (4489B/s) Configuring packages ... (Reading database ... 77408 files and directories currently installed.) 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) tsuess:~# I would also love to know how to fix this as it is preventing the other 28 packages I downloaded from completing the dist-upgrade. Regards, Todd On Fri, 07 Jan 2000, Mike Werner wrote: > Greetings everyone. I'm having a problem trying to install debconf. > I just did a full upgrade to potato this evening. I then tried to > install a new package (everybuddy) that relied on debconf. When > apt-get went to install debconf I got the error: > > HAL9000:/var/cache/apt/archives# dpkg -i debconf_0.2.65_all.deb > (Reading database ... 69770 files and directories currently installed.) > Unpacking debconf (from debconf_0.2.65_all.deb) ... > dpkg: error processing debconf_0.2.65_all.deb (--install): > trying to overwrite directory `/usr/sbin' in package libcurses-perl with > nondirectory > Errors were encountered while processing: > debconf_0.2.65_all.deb > > When I examined the .deb using mc I found that there is a shell script > called /usr/sbin - the header of which says that it reconfigures a > package by running the package's confmodule and then the postinst. > > Can anyone here let me know how to fix this? > -- > Mike Werner KA8YSD | "Where do you want to go today?" > ICQ# 12934898 | "As far from Redmond as possible!" > '91 GS500E| > Morgantown WV | Only dead fish go with the flow. > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
error installing debconf
Greetings everyone. I'm having a problem trying to install debconf. I just did a full upgrade to potato this evening. I then tried to install a new package (everybuddy) that relied on debconf. When apt-get went to install debconf I got the error: HAL9000:/var/cache/apt/archives# dpkg -i debconf_0.2.65_all.deb (Reading database ... 69770 files and directories currently installed.) Unpacking debconf (from debconf_0.2.65_all.deb) ... dpkg: error processing debconf_0.2.65_all.deb (--install): trying to overwrite directory `/usr/sbin' in package libcurses-perl with nondirectory Errors were encountered while processing: debconf_0.2.65_all.deb When I examined the .deb using mc I found that there is a shell script called /usr/sbin - the header of which says that it reconfigures a package by running the package's confmodule and then the postinst. Can anyone here let me know how to fix this? -- Mike Werner KA8YSD | "Where do you want to go today?" ICQ# 12934898 | "As far from Redmond as possible!" '91 GS500E| Morgantown WV | Only dead fish go with the flow.