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

Bug #1304150 reported by Eric Christopherson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
etckeeper (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

Revision history for this message
Eric Christopherson (echristopherson) wrote :
tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.