[Bug 993660] Re: package samba-common 2:3.5.8~dfsg-1ubuntu2.4 failed to install/upgrade: unable to open '/etc/dhcp3/dhclient-enter-hooks.d/samba.dpkg-new': Too many levels of symbolic links
SeanBoran
993660 at bugs.launchpad.net
Wed Feb 20 08:40:18 UTC 2013
I came accross this ina similar situation.
When installing samba-common:
dpkg: error processing /var/cache/apt/archives/samba-common_2%3a3.6.3-2ubuntu2.3_all.deb (--unpack):
unable to open '/etc/dhcp3/dhclient-enter-hooks.d/samba.dpkg-new': No such file or directory
In my case /etc/dhcp3 was a link to /etc/dhcp, because it was needed for Vmware customisations scripts:
http://javierin.com/2012/09/05/template-customization-para-debian-squeeze-en-vsphere-5-0u1/
The samba package just cannot handle that at all though.
Removing the link, allows samba to install:
rm /etc/dhcp3
(or copying the directory as noted above).
Howver this is not nice at all, having two directories for dhcp and one or the other might be read depending on circumstances.
So to me this is bug in the samba packaging.
==> Could this issue be re-opend please and the samba packaing examined?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/993660
Title:
package samba-common 2:3.5.8~dfsg-1ubuntu2.4 failed to
install/upgrade: unable to open '/etc/dhcp3/dhclient-enter-
hooks.d/samba.dpkg-new': Too many levels of symbolic links
Status in “samba” package in Ubuntu:
Expired
Bug description:
When I tried "apt-get install -f" from a command line, I got this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
samba-common
The following packages will be upgraded:
samba-common
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
2 not fully installed or removed.
Need to get 0 B/326 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
(Reading database ... 506164 files and directories currently installed.)
Preparing to replace samba-common 2:3.5.8~dfsg-1ubuntu2.4 (using .../samba-common_2%3a3.5.8~dfsg-1ubuntu2.5_all.deb) ...
Unpacking replacement samba-common ...
dpkg: warning: samba-common: config file 'etc/dhcp3/dhclient-enter-hooks.d/samba' is a circular link
(= '/etc/dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/../../dhcp3/dhclient-enter-hooks.d/samba')
dpkg: error processing /var/cache/apt/archives/samba-common_2%3a3.5.8~dfsg-1ubuntu2.5_all.deb (--unpack):
unable to open '/etc/dhcp3/dhclient-enter-hooks.d/samba.dpkg-new': Too many levels of symbolic links
Errors were encountered while processing:
/var/cache/apt/archives/samba-common_2%3a3.5.8~dfsg-1ubuntu2.5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: samba-common 2:3.5.8~dfsg-1ubuntu2.4
ProcVersionSignature: Ubuntu 2.6.38-13.57-generic-pae 2.6.38.8
Uname: Linux 2.6.38-13-generic-pae i686
NonfreeKernelModules: openafs nvidia
AptOrdering:
samba-common: Install
samba-common: Configure
smbclient: Configure
winbind: Configure
Architecture: i386
Date: Wed May 2 18:09:52 2012
ErrorMessage: unable to open '/etc/dhcp3/dhclient-enter-hooks.d/samba.dpkg-new': Too many levels of symbolic links
PackageArchitecture: all
RelatedPackageVersions:
nautilus 1:2.32.2.1-0ubuntu13
gvfs 1.8.0-0ubuntu3
SambaClientRegression: Yes
SourcePackage: samba
Title: package samba-common 2:3.5.8~dfsg-1ubuntu2.4 failed to install/upgrade: unable to open '/etc/dhcp3/dhclient-enter-hooks.d/samba.dpkg-new': Too many levels of symbolic links
UpgradeStatus: Upgraded to natty on 2011-07-16 (291 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/993660/+subscriptions
More information about the foundations-bugs
mailing list