Tested here with two LXC containers, both of them running up to date oneiric 
amd64 with chattr +i /etc/resolv.conf.
I then updated the sources.list for s/oneiric/precise/, updated the list and 
installed resolvconf. First container didn't have -proposed, the second one did.

Log for the first one:
Preconfiguring packages ...
Selecting previously deselected package resolvconf.
(Reading database ... 11527 files and directories currently installed.)
Unpacking resolvconf (from .../resolvconf_1.63ubuntu11_all.deb) ...
Processing triggers for ureadahead ...
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
Errors were encountered while processing:
 resolvconf
E: Sub-process /usr/bin/dpkg returned an error code (1)

Log for the second one:
Preconfiguring packages ...
Selecting previously deselected package resolvconf.
(Reading database ... 11527 files and directories currently installed.)
Unpacking resolvconf (from .../resolvconf_1.63ubuntu13_all.deb) ...
Processing triggers for ureadahead ...
Setting up resolvconf (1.63ubuntu13) ...
resolvconf start/running
Processing triggers for resolvconf ...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/989585

Title:
  resolvconf failed to install/upgrade because /etc/resolv.conf
  immutable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to