[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Error upgrading to woody: mv: cannot create file `/etc/exim/exim.conf'



Hi all,

Actually, from stable to testing, I got a blocker with gnome-help package.
The install wouldn't let me go any further and I had to remove this
particular package from the selection just to be able to finish it up. Then
later on, I installed it individually with no problem. The error was the
same type as below.

Laurent

on 9/3/01 11:01 PM, tluxt at tluxt@yahoo.com wrote:

> Starting from a (IIRC) rather basic potato system, I did (essentially):
> change sources.list to point to testing
> apt-get update
> apt-get dist-upgrade
> 
> I got the following error after much stuff had installed:
> 
> 
> Preparing to replace exim 3.12-10 (using .../archives/exim_3.31-1_i386.deb)
> ...
> mv: cannot create regular file `/etc/exim/exim.conf': No such file or
> directory
> dpkg: error processing /var/cache/apt/archives/exim_3.31-1_i386.deb
> (--unpack):
> subprocess pre-installation script returned error exit status 1
> Starting MTA: exim.
> Preparing to replace gettext-base 0.10.35-13 (using
> .../gettext-base_0.10.39-2_i386.deb) ...
> Unpacking replacement gettext-base ...
> Selecting previously deselected package groff-base.
> Unpacking groff-base (from .../groff-base_1.17-3_i386.deb) ...
> Moving /etc/tmac.man.local to /etc/groff/man.local.
> Replacing files in old package groff ...
> Errors were encountered while processing:
> /var/cache/apt/archives/exim_3.31-1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> debian:/var/cache/apt#
> 
> 
> In fact, the directory:
> /etc/exim
> does not exist.
> 
> I found
> Subject: Re: dist-upgrade from stable to testing
> http://lists.debian.org/debian-user/2001/debian-user-200108/msg02377.html
> Date: Tue, 14 Aug 2001 08:35:28 -0500
> 
> Which said:
> 
> """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
> On Tue, Aug 14, 2001 at 12:20:57AM -0600, Phil Reardon wrote:
>> On Monday 13 August 2001 11:36 pm, John Galt wrote:
>>> mkdir /etc/exim then rerun apt-get dist-upgrade...  You won't have to
>>> re-download the 166M, BTW.
>>> 
>>> On Mon, 13 Aug 2001, Phil Reardon wrote:
>>>> After apt-get update, apt-get dist-upgrade to testing, I got a successful
>>>> download of 166 MB. But during the install/config, I saw this message:
>>>> 
>>>> mv: cannot create regjular file '/etc/exim/exim.conf' ;  No such file or
>>>> directory.
>>>> .(stuff removed)
>> 
>> Thanks, John:
>> 
>> I tried creating the exim directory and even did a touch exim.conf there.
>> Then I did apt-get dist-upgrade again and it complained of unmet dependencies
>> and recommended apt-get -f install.  I did that too, and then things
>> proceeded okay.  I think I have Woody now!
> 
> This is also fixed in exim 3.32-1 in unstable, by the way.
> 
> exim (3.32-1) unstable; urgency=low
> 
> [...]
> * debian/preinst: create /etc/exim before moving exim.conf (Closes:
> #106659, #107657)
> [...]
> 
> -- Mark Baker <mark@mnb.org.uk>  Wed,  8 Aug 2001 23:34:04 +0100



Reply to: