[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
arnuschky
993660 at bugs.launchpad.net
Fri Jun 1 10:57:00 UTC 2012
I figured it out:
On my system, dhcp3 was a symlink pointing to dhcp (dunno why). Samba
expects two different directories here.
What I did:
cd /etc
rm dhcp3
cp -r dhcp dhcp3
apt-get -f install
Works like a charm. Samba puts a script file in /etc/dhcp/dhclient-
enter-hooks.d and links to that file from /etc/dhcp3/dhclient-enter-
hooks.d (now we know why it didn't work before) Drawback is that there
are now duplicated dhcp config files, which seems rather unclean to me.
Can someone enlighten me what the directory structure is supposed to be?
--
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:
Incomplete
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