Comment 3 for bug 290661

Revision history for this message
Jacek Dabrowski (ponythewhite) wrote : Re: [Bug 290661] Re: uml-utilities don't install from apt

Yes, that is just the scenario you described.
Is it correct that dpkg --configure doesn't work for the package after
interruption and it has to be removed and reinstalled? All other
packages I've met support incremental configuration with interruptions
or they do the configuration from scratch, anyway with no need for
manual removal/reinstall.

Thank you for your reply,

--
J Dabrowski

On Wed, Oct 29, 2008 at 10:59 PM, Jean-Baptiste Lallement
<email address hidden> wrote:
> Thanks for your report.
>
> >From what I can guess from your log. You've run a first upgrade session during which the package uml-utilities has been downloaded and unpacked. Then for some reason it has been abruptly interrupted (an error during vbox setup ?)
> Then you've run the upgrade another time during which the package has been set up.
>
> The directory /var/run/uml-utilities has been created during the first
> run. You've rebooted. But because /var/run is of type tmpfs the
> directory /var/run/uml-utilities was not there anymore after the reboot.
> Hence the error "No such file or directory" when the postinst script try
> to chown the directory.
>
> Is it a scenario like this one ?
>
> I think this is really a corner case and there's no real fix. The only
> advice is to reinstall the package.
>
> Thanks.
>
>
> ** Changed in: uml-utilities (Ubuntu)
> Status: New => Incomplete
>
> --
> uml-utilities don't install from apt
> https://bugs.launchpad.net/bugs/290661
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "uml-utilities" source package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: uml-utilities
>
> ldconfig deferred processing now taking place
> Errors were encountered while processing:
> uml-utilities
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install. Trying to recover:
> Setting up uml-utilities (20070815-1.1) ...
> chown: cannot access `/var/run/uml-utilities': No such file or directory
> dpkg: error processing uml-utilities (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> uml-utilities
>
> ProblemType: Package
> Architecture: amd64
> DistroRelease: Ubuntu 8.10
> ErrorMessage: subprocess post-installation script returned error exit status 1
> Package: uml-utilities 20070815-1.1
> SourcePackage: uml-utilities
> Title: package uml-utilities 20070815-1.1 failed to install/upgrade: subprocess post-installation script returned error exit status 1
> Uname: Linux 2.6.27.2-custom x86_64
>