[Bug 961115] Re: DPKG failed to locate File/Temp.pm in @INC ... during samba upgrade

Blair Chasteen 961115 at bugs.launchpad.net
Wed Mar 21 12:18:13 UTC 2012


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

Title:
  DPKG failed to locate File/Temp.pm in @INC ... during samba upgrade

Status in “dpkg” package in Ubuntu:
  New

Bug description:
  upgrade via ssh
  original output from apt-get

  darkrain at vortex:~$ sudo apt-get -f -y install >> apt-install-log 2>&1
  darkrain at vortex:~$ cat apt-install-log
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Correcting dependencies... Done
  The following packages were automatically installed and are no longer required:
    ubuntuone-control-panel libgnomekbd4 ubuntuone-control-panel-gtk
    kdebase-workspace libkadm5clnt-mit7 network-manager-pptp libgnomeui-common
    libppl7 libsilc-1.1-2 libnfnetlink0 gir1.2-soup-2.4
    python-ubuntuone-control-panel libcloog-ppl0 librasqal2 libprocesscore4b
    pptp-linux libgweather1 dnsmasq-base gnome-about libppl-c2 libkwineffects1a
    libgwibber1 libgnomeui-0 indicator-me usb-modeswitch-data libsolidcontrol4a
    iputils-arping usb-modeswitch libedata-cal1.2-10 libgnome-window-settings1
    kinfocenter libsolidcontrolifaces4a libkadm5srv-mit7 python-wsgi-intercept
    libgucharmap7 libsilcclient-1.1-3 libraptor1 isc-dhcp-server iptables
    modemmanager
  Use 'apt-get autoremove' to remove them.
  The following extra packages will be installed:
    grub-common grub-pc grub-pc-bin libalgorithm-diff-xs-perl libapt-pkg-perl
    libapt-pkg4.11 libcairo-perl libcrypt-mysql-perl libdbd-mysql-perl
    libdbi-perl libdigest-sha1-perl libglib-perl libgtk2-perl
    libhtml-parser-perl libio-pty-perl liblocale-gettext-perl libnet-dbus-perl
    libnet-dns-perl libpango-perl libsub-name-perl libtext-charwidth-perl
    libtext-iconv-perl libxml-parser-perl perl-base samba
  Suggested packages:
    multiboot-doc grub-emu xorriso desktop-base libfont-freetype-perl
    libgtk2-perl-doc libdata-dump-perl libio-socket-inet6-perl openbsd-inetd
    inet-superserver smbldap-tools ldb-tools ufw
  The following packages will be REMOVED:
    libperl5.10
  The following NEW packages will be installed:
    grub-pc-bin libapt-pkg4.11
  The following packages will be upgraded:
    grub-common grub-pc libalgorithm-diff-xs-perl libapt-pkg-perl libcairo-perl
    libcrypt-mysql-perl libdbd-mysql-perl libdbi-perl libdigest-sha1-perl
    libglib-perl libgtk2-perl libhtml-parser-perl libio-pty-perl
    liblocale-gettext-perl libnet-dbus-perl libnet-dns-perl libpango-perl
    libsub-name-perl libtext-charwidth-perl libtext-iconv-perl
    libxml-parser-perl perl-base samba
  Preconfiguring packages ...
  23 upgraded, 2 newly installed, 1 to remove and 1101 not upgraded.
  301 not fully installed or removed.
  Need to get 0 B/16.8 MB of archives.
  After this operation, 5,468 kB of additional disk space will be used.
  (Reading database ... 202817 files and directories currently installed.)
  Preparing to replace samba 2:3.5.8~dfsg-1ubuntu2.3 (using .../samba_2%3a3.5.11~dfsg-1ubuntu2.1_i386.deb) ...
  Unpacking replacement samba ...
  Can't locate File/Temp.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/perl5/DebianNet.pm line 18.
  BEGIN failed--compilation aborted at /usr/share/perl5/DebianNet.pm line 18.
  Compilation failed in require at /usr/sbin/update-inetd line 23.
  dpkg: warning: subprocess old post-removal script returned error exit status 2
  dpkg - trying script from the new package instead ...
  Can't locate File/Temp.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/perl5/DebianNet.pm line 18.
  BEGIN failed--compilation aborted at /usr/share/perl5/DebianNet.pm line 18.
  Compilation failed in require at /usr/sbin/update-inetd line 23.
  dpkg: error processing /var/cache/apt/archives/samba_2%3a3.5.11~dfsg-1ubuntu2.1_i386.deb (--unpack):
   subprocess new post-removal script returned error exit status 2
  Can't locate File/Temp.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/perl5/DebianNet.pm line 18.
  BEGIN failed--compilation aborted at /usr/share/perl5/DebianNet.pm line 18.
  Compilation failed in require at /usr/sbin/update-inetd line 23.
  dpkg: error while cleaning up:
   subprocess new post-removal script returned error exit status 2
  Processing triggers for man-db ...
  Processing triggers for ureadahead ...
  Errors were encountered while processing:
   /var/cache/apt/archives/samba_2%3a3.5.11~dfsg-1ubuntu2.1_i386.deb
  Error org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /lib/dbus-1.0/dbus-daemon-launch-helper: Success
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  darkrain at vortex:~$ 

  
  ----------------------------------------------------

  additional information:

  darkrain at vortex:~$ cat /etc/lsb-release
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=11.04
  DISTRIB_CODENAME=natty
  DISTRIB_DESCRIPTION="Ubuntu 11.04"
  darkrain at vortex:~$ uname -a
  Linux vortex 2.6.38-11-generic-pae #50-Ubuntu SMP Mon Sep 12 22:21:04 UTC 2011 i686 i686 i386 GNU/Linux
  darkrain at vortex:~$ dpkg -s samba
  Package: samba
  Status: install reinstreq half-installed
  Priority: optional
  Section: net
  Installed-Size: 20680
  Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
  Architecture: i386
  Version: 2:3.5.8~dfsg-1ubuntu2.3
  Config-Version: 2:3.5.8~dfsg-1ubuntu2.3
  Replaces: samba-common (<= 2.0.5a-2)
  Depends: samba-common (= 2:3.5.8~dfsg-1ubuntu2.3), libwbclient0 (= 2:3.5.8~dfsg-1ubuntu2.3), libacl1 (>= 2.2.11-1), libattr1 (>= 2.4.41-1), libc6 (>= 2.8), libcap2 (>= 2.10), libcomerr2 (>= 1.01), libcups2 (>= 1.4.0), libgssapi-krb5-2 (>= 1.8+dfsg), libk5crypto3 (>= 1.6.dfsg.2), libkrb5-3 (>= 1.8+dfsg), libldap-2.4-2 (>= 2.4.7), libpam0g (>= 0.99.7.1), libpopt0 (>= 1.16), libtalloc2 (>= 2.0.4~git20101213), zlib1g (>= 1:1.1.4), debconf (>= 0.5) | debconf-2.0, upstart-job, libpam-runtime (>= 1.0.1-11), libpam-modules, lsb-base (>= 3.2-13), procps, update-inetd, adduser, samba-common-bin
  Recommends: logrotate
  Suggests: openbsd-inetd | inet-superserver, smbldap-tools, ldb-tools, ufw
  Breaks: cups (= 1.4.4-4)
  Conflicts: samba4 (<< 4.0.0~alpha6-2)
  Conffiles:
   /etc/ufw/applications.d/samba 9d474788f9a1955e16134f2794be473d
   /etc/network/if-up.d/samba 1a7e6ea7d8a0311f03c96cb5ee816279
   /etc/init/smbd.conf ef97a6e85e7f13aba5e63321990a31a4
   /etc/init/nmbd.conf e7a7c7df8240c990a11220214b0d5b59
   /etc/logrotate.d/samba e92e954296299e2ee77a16f34e71a3ae
   /etc/cron.daily/samba f6519535df7964f95cdd7db501bf3ad2
  Description: SMB/CIFS file, print, and login server for Unix
   Samba is an implementation of the SMB/CIFS protocol for Unix systems,
   providing support for cross-platform file and printer sharing with
   Microsoft Windows, OS X, and other Unix systems.  Samba can also function
   as an NT4-style domain controller, and can integrate with both NT4 domains
   and Active Directory realms as a member server.
   .
   This package provides the components necessary to use Samba as a
   stand-alone file and print server.  For use in an NT4 domain or Active
   Directory realm, you will also need the winbind package.
   .
   This package is not required for connecting to existing SMB/CIFS servers
   (see smbclient) or for mounting remote filesystems (see cifs-utils).
  Homepage: http://www.samba.org
  Original-Maintainer: Debian Samba Maintainers <pkg-samba-maint at lists.alioth.debian.org>

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: dpkg 1.16.0~ubuntu7.1
  ProcVersionSignature: Ubuntu 2.6.38-11.50-generic-pae 2.6.38.8
  Uname: Linux 2.6.38-11-generic-pae i686
  Architecture: i386
  Date: Wed Mar 21 07:03:09 2012
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: dpkg
  UpgradeStatus: Upgraded to natty on 2012-01-25 (56 days ago)

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




More information about the foundations-bugs mailing list