[Bug 995260] Re: resolvconf 1.63ubuntu11 failed to upgrade: "ln: failed to create symbolic link `/etc/resolv.conf': File exists"

K. Deniz Ogut 995260 at bugs.launchpad.net
Wed May 23 16:56:42 UTC 2012


My experience is for resolvconf 1.63ubuntu14 not ...11 at the moment but
didn't want to open a new bug report for the very same issue. You
experienced friends maybe edit the title or do something else or maybe
this way is fine.

Three days ago I lauched an EC2 Ubuntu Precise micro instance on Amazon
Web Service. AMI: ubuntu/images/ebs/ubuntu-
precise-12.04-i386-server-20120424 (ami-e7e8d393)

This is my very first server experiance so I'm going slow and reading
and observing the system. During this three days I didn't install any
new packages other than appyling four batches of updates. Some of them
were security updates, some were not; some were kernel updates, some
were not. My var/log/apt/history.log is attached.

As a result:

# uname -a
Linux [some-internal-IP] 3.2.0-24-virtual #38-Ubuntu SMP Tue May 1 17:00:51 UTC 2012 i686 i686 i386 GNU/Linux

I didn't do any configuration to the default system of any kind by
myself. Up till now I just play with the basic commands such as whoami,
top, ls, cd etc. and to observe the update/upgrade processes.

As you can see from the attached file, my fourh and last upgrade is from
resolvconf 1.63ubuntu11 to resolvconf 1.63ubuntu14 and the upgrade
resulted with the error: "resolvconf 1.63ubuntu11". What I get from
connection up to that error is attached.

I searched some on the Web and figured out that issues having something
to do with the error "/etc/resolv.conf isn't a symlink, not doing
anything" is being experienced for Ubuntu for years. The causes for all
of them might not be the same but seems thet have to have something in
common. I'm not an expert on such things. Some places on the Web for
such discussions: http://ubuntuforums.org/showthread.php?t=1193585 ,
http://askubuntu.com/questions/137037/network-manager-not-populating-
resolv-conf , http://eric-b.net/?p=71 . There are discussions on
Lauchpad as well: Bug #922677 is an example. Bug #324233 (with 3
duplicates) sounds more alarming with what Thomas Hood (jdthood) wrote
on 2011-12-03 at the end of his long comment with a patch: "Who am I? I
am one of the maintainers of resolvconf in Debian. I would prefer to
leave this work up to Ubuntu folks, but these issues have been left
unresolved for years. Something has to be done."

On a server installation such as EC2, with no extra package installed other than offical updates, with no personal configuration -all being the defaults- a  a bug known for years, for such a critical component for a server -again- surfaces up. Does it make sense?
Here are mine two outputs Thomas Hood (jdthood) asked from the original reporter: 
# ls -l /etc/resolv.conf
-r--r--r-- 1 root root 91 May 23 09:59 /etc/resolv.conf

# lsattr /etc/resolv.conf
-------------e- /etc/resolv.conf

I'm not adding any more files, not adding the files the original
reporter had attched as well because I don't know what you need. If
you'll ask me for more files outputs, I can send them.

I don't suppose so but if this a very interesting, atypical situation
calling for deep investigation, I can give the control of the EC2
instance for some time to a friend with reputation dealing with such
issues. The instance is free of charge for 1 year and includes nothing
except its default being. I can terminate it and launch a new one any
time.

Until I hear something from you here, I won't do anything, any update or
so to that system for 2-3 days. ıf I can not hear something soon maybe
I'll terminate it and can't answer probable questions anymore.

Regards.

PS: On the system in question, I can already view Web pages via w3m, if
it means something in some way.

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

Title:
  resolvconf 1.63ubuntu11 failed to upgrade: "ln: failed to create
  symbolic link `/etc/resolv.conf': File exists"

Status in “resolvconf” package in Ubuntu:
  Incomplete

Bug description:
  Failure occurs during update from v.11 to v.12

  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: Sat May  5 16:53:04 2012
  ErrorMessage: 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: ErrorMessage: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to precise on 2012-05-05 (0 days ago)

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




More information about the foundations-bugs mailing list