[Bug 1304150] [NEW] apt-get upgrade didn't handle missing config file gracefully

Eric Christopherson 1304150 at bugs.launchpad.net
Tue Apr 8 03:35:14 UTC 2014


Public bug reported:

When there was a conflict between my etckeeper.conf and the dpkg-dist
version, I edited etckeeper.conf.dpkg-dist, intending to accept that
version of the file. But I absent-mindedly deleted the original
etckeeper.conf and renamed the .dpkg-dist version to that. Then I
pressed Y (keep packaged version).

Apt-get upgrade noticed the file was missing but didn't handle it very
gracefully -- it didn't offer me the chance to make my selection again
and/or rename or copy the file. I think it would be nice if it gave such
options.

ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: etckeeper 1.4ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-48.72-generic 3.5.7.31
Uname: Linux 3.5.0-48-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Mon Apr  7 22:15:49 2014
DuplicateSignature: package:etckeeper:1.4ubuntu1:ErrorMessage: unable to install `/etc/etckeeper/etckeeper.conf.dpkg-new' as `/etc/etckeeper/etckeeper.conf': No such file or directory
ErrorMessage: ErrorMessage: unable to install `/etc/etckeeper/etckeeper.conf.dpkg-new' as `/etc/etckeeper/etckeeper.conf': No such file or directory
MarkForUpload: True
PackageArchitecture: all
SourcePackage: etckeeper
Title: package etckeeper 1.4ubuntu1 failed to install/upgrade: ErrorMessage: unable to install `/etc/etckeeper/etckeeper.conf.dpkg-new' as `/etc/etckeeper/etckeeper.conf': No such file or directory
UpgradeStatus: Upgraded to saucy on 2014-04-08 (0 days ago)
mtime.conffile..etc.etckeeper.etckeeper.conf: 2013-04-12T00:48:41.577989

** Affects: etckeeper (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package saucy

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1304150

Title:
  apt-get upgrade didn't handle missing config file gracefully

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1304150/+subscriptions



More information about the Ubuntu-server-bugs mailing list