package resolvconf 1.63ubuntu11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #992605 reported by soulrebel360
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
resolvconf (Ubuntu)
New
Undecided
Unassigned

Bug Description

I locked resolv.conf to prevent my DNS from changing by using the command:

sudo chattr +i /etc/resolv.conf

When I recieved the error initially i unlocked the file and tried running an update ... this did not resolve the problem. Since this file is only a config file, should I have locked it in the first place to prevent further edits?

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: resolvconf 1.63ubuntu11
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic i686
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Tue May 1 09:25:26 2012
DpkgHistoryLog:
 Start-Date: 2012-05-01 09:24:57
 Commandline: apt-get upgrade
 Upgrade: smbclient:i386 (3.6.3-2ubuntu2, 3.6.3-2ubuntu2.1), libsmbclient:i386 (3.6.3-2ubuntu2, 3.6.3-2ubuntu2.1), unity-scope-musicstores:i386 (0.2.6-0ubuntu2, 5.10.0-0ubuntu1), samba-common-bin:i386 (3.6.3-2ubuntu2, 3.6.3-2ubuntu2.1), libwbclient0:i386 (3.6.3-2ubuntu2, 3.6.3-2ubuntu2.1), samba-common:i386 (3.6.3-2ubuntu2, 3.6.3-2ubuntu2.1)
DuplicateSignature:
 Setting up resolvconf (1.63ubuntu11) ...
 resolvconf.postinst: Error: Cannot replace the current /etc/resolv.conf with a symbolic link because it is immutable. To correct this problem, gain root privileges in a terminal and run 'chattr -i /etc/resolv.conf' and then 'dpkg --configure resolvconf'. Aborting.
 dpkg: error processing resolvconf (--configure):
  subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitecture: all
SourcePackage: resolvconf
Title: package resolvconf 1.63ubuntu11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-05-01 (0 days ago)

Revision history for this message
soulrebel360 (mosaicmovement) wrote :
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make this software better. This particular crash has already been reported and is a duplicate of bug #989585, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
Revision history for this message
Thomas Hood (jdthood) wrote :

Please do:
    sudo chattr -i /etc/resolv.conf
    sudo dpkg --configure -a

Revision history for this message
soulrebel360 (mosaicmovement) wrote : Re: [Bug 992605] Re: package resolvconf 1.63ubuntu11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Thanks. The second command did the trick. Consider this one resolved.

On Tue, May 1, 2012 at 12:06 PM, Thomas Hood <email address hidden>wrote:

> *** This bug is a duplicate of bug 989585 ***
> https://bugs.launchpad.net/bugs/989585
>
> Please do:
> sudo chattr -i /etc/resolv.conf
> sudo dpkg --configure -a
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/992605
>
> Title:
> package resolvconf 1.63ubuntu11 failed to install/upgrade: subprocess
> installed post-installation script returned error exit status 1
>
> Status in “resolvconf” package in Ubuntu:
> New
>
> Bug description:
> I locked resolv.conf to prevent my DNS from changing by using the
> command:
>
> sudo chattr +i /etc/resolv.conf
>
> When I recieved the error initially i unlocked the file and tried
> running an update ... this did not resolve the problem. Since this
> file is only a config file, should I have locked it in the first place
> to prevent further edits?
>
> ProblemType: Package
> DistroRelease: Ubuntu 12.04
> Package: resolvconf 1.63ubuntu11
> ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
> Uname: Linux 3.2.0-24-generic i686
> ApportVersion: 2.0.1-0ubuntu7
> Architecture: i386
> Date: Tue May 1 09:25:26 2012
> DpkgHistoryLog:
> Start-Date: 2012-05-01 09 <2012-05-01%20%2009>:24:57
> Commandline: apt-get upgrade
> Upgrade: smbclient:i386 (3.6.3-2ubuntu2, 3.6.3-2ubuntu2.1),
> libsmbclient:i386 (3.6.3-2ubuntu2, 3.6.3-2ubuntu2.1),
> unity-scope-musicstores:i386 (0.2.6-0ubuntu2, 5.10.0-0ubuntu1),
> samba-common-bin:i386 (3.6.3-2ubuntu2, 3.6.3-2ubuntu2.1), libwbclient0:i386
> (3.6.3-2ubuntu2, 3.6.3-2ubuntu2.1), samba-common:i386 (3.6.3-2ubuntu2,
> 3.6.3-2ubuntu2.1)
> DuplicateSignature:
> Setting up resolvconf (1.63ubuntu11) ...
> resolvconf.postinst: Error: Cannot replace the current /etc/resolv.conf
> with a symbolic link because it is immutable. To correct this problem, gain
> root privileges in a terminal and run 'chattr -i /etc/resolv.conf' and then
> 'dpkg --configure resolvconf'. Aborting.
> dpkg: error processing resolvconf (--configure):
> subprocess installed post-installation script returned error exit
> status 1
> ErrorMessage: subprocess installed post-installation script returned
> error exit status 1
> InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386
> (20110427.1)
> PackageArchitecture: all
> SourcePackage: resolvconf
> Title: package resolvconf 1.63ubuntu11 failed to install/upgrade:
> subprocess installed post-installation script returned error exit status 1
> UpgradeStatus: Upgraded to precise on 2012-05-01 (0 days ago)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/992605/+subscriptions
>

--
-- Regards

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.