[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:34:11 UTC 2012
I have the same problem:
$ sudo apt-get -f install
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 0 not upgraded.
8 not fully installed or removed.
Need to get 0 B/326 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
(Reading database ... 273643 files and directories currently installed.)
Preparing to replace samba-common 2:3.6.3-2ubuntu2.1 (using .../samba-common_2%3a3.6.3-2ubuntu2.2_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.6.3-2ubuntu2.2_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.6.3-2ubuntu2.2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ ll ../dhclient*
-rw-r--r-- 1 root root 1791 Feb 22 21:01 ../dhclient.conf
../dhclient-enter-hooks.d:
total 12
-rwxr-xr-x 1 root root 1028 Dec 17 16:48 avahi-autoipd
-rw-r--r-- 1 root root 1379 Feb 22 21:02 debug
-rw-r--r-- 1 root root 2845 Jan 27 20:11 resolvconf
lrwxrwxrwx 1 root root 40 Jun 1 12:31 samba -> ../../dhcp3/dhclient-enter-hooks.d/samba
../dhclient-exit-hooks.d:
total 16
-rw-r--r-- 1 root root 1378 Feb 22 21:02 debug
-rw-r--r-- 1 root root 806 Jan 4 00:17 ntpdate
-rw-r--r-- 1 root root 1386 Feb 22 21:02 rfc3442-classless-routes
-rwxr-xr-x 1 root root 1025 Dec 17 16:48 zzz_avahi-autoipd
I tried:
$ sudo dpkg -P --force-depends samba-common
$ sudo apt-get install samba-common
Didn't work either:
$ sudo apt-get install samba-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
samba-common
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
8 not fully installed or removed.
Need to get 0 B/326 kB of archives.
After this operation, 681 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package samba-common.
(Reading database ... 273620 files and directories currently installed.)
Unpacking samba-common (from .../samba-common_2%3a3.6.3-2ubuntu2.2_all.deb) ...
dpkg: error processing /var/cache/apt/archives/samba-common_2%3a3.6.3-2ubuntu2.2_all.deb (--unpack):
unable to open '/etc/dhcp3/dhclient-enter-hooks.d/samba.dpkg-new': No such file or directory
No apport report written because the error message indicates an issue on the local system
Errors were encountered while processing:
/var/cache/apt/archives/samba-common_2%3a3.6.3-2ubuntu2.2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Did anyone find a solution to this problem?
--
You received this bug notification because you are a member of Ubuntu
Server Team, 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/993660/+subscriptions
More information about the Ubuntu-server-bugs
mailing list