package resolvconf 1.79ubuntu10 failed to install/upgrade: installed resolvconf package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
resolvconf (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
During a "do-release-upgrade -d" from 16.04 to 18.04, an unrelated error occurred. DNS didn't work at that time, so I removed resolvconf. I manually updated my sources.list and did a successful dist-upgrade. Then I tried to reinstall resolvconf, and got the error below.
Installing new version of config file /etc/resolvconf
Created symlink /etc/systemd/
resolvconf-
resolvconf-
Removing obsolete conffile /etc/init/
cp: not writing through dangling symlink '/etc/resolvcon
dpkg: error processing package resolvconf (--configure):
installed resolvconf package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
resolvconf
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: resolvconf 1.79ubuntu10
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
AptOrdering:
resolvconf:amd64: Install
NULL: ConfigurePending
Architecture: amd64
Date: Fri May 4 11:46:44 2018
DuplicateSignature:
package:
Removing obsolete conffile /etc/init/
cp: not writing through dangling symlink '/etc/resolvcon
dpkg: error processing package resolvconf (--configure):
installed resolvconf package post-installation script subprocess returned error exit status 1
ErrorMessage: installed resolvconf package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2017-05-26 (343 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
PackageArchitec
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.1
SourcePackage: resolvconf
Title: package resolvconf 1.79ubuntu10 failed to install/upgrade: installed resolvconf package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to bionic on 2018-05-04 (0 days ago)
tags: | removed: need-duplicate-check |
I removed the dangling "original" symlink, and then "apt-get -f install" completed successfully.