[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
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