[Bug 1354995] Re: package samba-libs (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Simon Cropper
scropper at botanicusaustralia.com.au
Thu Sep 11 15:28:38 UTC 2014
Updated to Ubuntu 14.04 today. Installation baulked. Error ambiguous but
suggested it might be a 3rd party repository but none were enabled.
Alternatively it suggested that I run "sudo apt install -f" in terminal.
The following was the error...
~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
attr bind9 bind9utils blt cdparanoia dcraw digikam-data enblend enfuse
ffmpegthumbs freeglut3 gcc-4.8-base:i386 gstreamer0.10-gnonlin gtk2-engines
hugin hugin-data hugin-tools jhead k3b-data kde-runtime-data
kdepimlibs-kio-plugins kipi-plugins-common ldb-tools libaacs0
libaccounts-qt1 libakonadi-calendar4 libakonadi-contact4 libakonadi-kabc4
libakonadi-kcal4 libakonadi-kmime4 libakonadi-notes4 libakonadi-socialutils4
libalgorithm-c3-perl libamd2.2.0 libarmadillo4 libarpack2 libbaloocore4
libbaloofiles4 libbaloowidgets4 libbalooxapian4 libbasicusageenvironment0
libbluray1 libboost-filesystem1.53.0 libboost-filesystem1.54.0
libboost-program-options1.53.0 libboost-python1.53.0 libboost-python1.54.0
libboost-regex1.53.0 libboost-regex1.54.0 libboost-signals1.53.0
libboost-signals1.54.0 libboost-thread1.53.0 libboost-thread1.54.0 libcddb2
libcdt4 libcgraph5 libclass-c3-perl libclass-c3-xs-perl libcoin80
libcrystalhd3 libdmtx0a libdvbpsi8 libebml3 libebml4 libepsilon1 libepub0
libfftw3-3 libflickcurl0 libgeos-3.3.3 libgnutls28 libgraph4
libgraphicsmagick3 libgroupsock1 libgvpr1 libhdb9-heimdal libhogweed2
libjpeg-progs libjpeg-turbo-progs libjs-prototype libjs-scriptaculous
libk3b6 libkalarmcal2 libkcal4 libkcalutils4 libkcddb4 libkcompactdisc4
libkdc2-heimdal libkdcraw-data libkdcraw22 libkdcraw23 libkdesu5
libkexiv2-11 libkexiv2-data libkface-data libkface2 libkfbapi1
libkfilemetadata4 libkgapi2-2 libkgeomap-data libkgeomap1 libkholidays4
libkidletime4 libkimap4 libkipi-data libkipi11 libkmbox4 libkmediaplayer4
libkmime4 libkml0 libknewstuff2-4 libknotifyconfig4 libkolab0 libkolabxml0
libkolabxml1 libkonq-common libkonq5-templates libkonq5abi1
libkpimidentities4 libkpimtextedit4 libkpimutils4 libkprintutils4
libksane-data libksane0 libkubuntu0 libkxmlrpcclient4 liblavfile-2.0-0
liblavjpeg-2.0-0 liblavplay-2.0-0 liblivemedia23 libmailtransport4
libmarblewidget16 libmatroska5 libmatroska6 libmicroblog4
libmjpegutils-2.0-0 libmpeg2encpp-2.0-0 libmplex2-2.0-0 libmro-compat-perl
libmusicbrainz5-0 libnepomukcleaner4 libnepomukwidgets4 libntrack-qt4-1
libntrack0 libokularcore3 libopenthreads14 libosmgpsmap2 libpano13-2
libpano13-bin libpgf6 libplot2c2 libprison0 libproxy-tools libpthread-stubs0
libqapt2 libqapt2-runtime libqimageblitz4 libqmobipocket1 libqrencode3
libqscintilla2-9 libresid-builder0c2a libserf1 libsidplay2 libsignon-qt1
libspatialite5 libssh2-1 libtar0 libtasn1-3:i386 libtcl8.5 libtiff4
libtiffxx0c2 libtk8.5 libumfpack5.4.0 libupnp6 liburiparser1
libusageenvironment1 libuser1 libva-glx1 libva-x11-1 libvigraimpex5 libvlc5
libvlccore7 libwebp4 libxcb-composite0 libxcb-xv0 libxerces-c3.1
libxine1-bin libxine1-ffmpeg libxine2-bin libxine2-doc libxine2-ffmpeg
libxine2-x libzip2 libzthread-2.3-2 nepomuk-core-runtime
ntrack-module-libnl-0 nvidia-settings-304 otf-freefont oxygen-icon-theme
plasma-scriptengine-javascript python-central python-dnspython
python-libuser python-logilab-astng python-osmgpsmap python-psycopg2
python-pyexiv2 python-pyexiv2-doc python-qgis-common python-qscintilla2
python-xkit qgis-plugin-globe-common shared-desktop-ontologies tcl8.5
tdb-tools texlive-xetex tipa tk8.5 vlc-data
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
samba-libs
The following NEW packages will be installed:
samba-libs
0 to upgrade, 1 to newly install, 0 to remove and 4 not to upgrade.
7 not fully installed or removed.
Need to get 0 B/4,110 kB of archives.
After this operation, 18.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 654131 files and directories currently installed.)
Preparing to unpack .../samba-libs_2%3a4.1.6+dfsg-1ubuntu2.14.04.3_amd64.deb ...
secrets.tdb exists in /var/lib/samba and /var/lib/samba/private, aborting samba-libs preinst
rename one of them to allow the install/upgrade to continue
http://bugs.debian.org/726472
/var/lib/samba:
total 2220
drwxr-xr-x 10 root root 4096 Sep 12 00:01 .
drwxr-xr-x 82 root root 4096 Sep 12 00:10 ..
-rw------- 1 root root 421888 Nov 13 2013 account_policy.tdb
-rw------- 1 root root 696 Nov 13 2013 group_mapping.tdb
drwxr-xr-x 2 root root 4096 Nov 14 2013 netlogon
drwxr-x--- 2 root root 4096 Nov 14 2013 ntp_signd
-rw------- 1 root root 421888 Nov 14 2013 passdb.tdb
drwxr-xr-x 6 root root 4096 Nov 14 2013 private
drwxr-xr-t 4 root root 4096 Nov 14 2013 profiles
-rw------- 1 root root 528384 Apr 15 14:06 registry.tdb
drwxr-xr-x 2 root root 4096 Nov 14 2013 root
-rw------- 1 root root 430080 Nov 14 2013 secrets.tdb
-rw------- 1 root root 421888 Nov 13 2013 share_info.tdb
drwxrwx---+ 3 root 3000000 4096 Nov 14 2013 sysvol
drwxrwx--T 2 root sambashare 4096 Nov 13 2013 usershares
drwxr-x--- 2 root root 4096 Nov 14 2013 winbindd_privileged
/var/lib/samba/private:
total 10904
drwxr-xr-x 6 root root 4096 Nov 14 2013 .
drwxr-xr-x 10 root root 4096 Sep 12 00:01 ..
-rw-r--r-- 1 root root 2270 Nov 14 2013 dns_update_list
-rw------- 1 root root 1286144 Nov 14 2013 hklm.ldb
-rw------- 1 root root 1286144 Nov 14 2013 idmap.ldb
-rw-r--r-- 1 root root 92 Nov 14 2013 krb5.conf
srwxrwxrwx 1 root root 0 Nov 14 2013 ldapi
drwxr-x--- 2 root root 4096 Nov 14 2013 ldap_priv
-r--r--r-- 1 root root 225 Nov 14 2013 named.conf.update
-rw------- 1 root root 1286144 Nov 14 2013 privilege.ldb
-rw------- 1 root root 696 Nov 14 2013 randseed.tdb
-rw------- 1 root root 4251648 Nov 14 2013 sam.ldb
drwx------ 2 root root 4096 Nov 14 2013 sam.ldb.d
-rw------- 1 root root 696 Nov 14 2013 schannel_store.tdb
-rw------- 1 root root 1132 Nov 14 2013 secrets.keytab
-rw------- 1 root root 1286144 Nov 14 2013 secrets.ldb
-rw------- 1 root root 430080 Nov 14 2013 secrets.tdb
-rw------- 1 root root 1286144 Nov 14 2013 share.ldb
drwxr-xr-x 3 root root 4096 Nov 14 2013 smbd.tmp
-rw-r--r-- 1 root root 955 Nov 14 2013 spn_update_list
drwxr-xr-x 2 root root 4096 Nov 14 2013 tls
dpkg: error processing archive /var/cache/apt/archives/samba-libs_2%3a4.1.6+dfsg-1ubuntu2.14.04.3_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/samba-libs_2%3a4.1.6+dfsg-1ubuntu2.14.04.3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
** Bug watch added: Debian Bug tracker #726472
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726472
--
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/1354995
Title:
package samba-libs (not installed) failed to install/upgrade:
subprocess new pre-installation script returned error exit status 1
Status in “samba” package in Ubuntu:
Confirmed
Bug description:
I really do not know what program had the problem. I get an error
message when I log into my Ubuntu account. So, I just tried to update
software, as usual, but got a message that it could not do it. So, I
do not know how to solve this problem.
The Software Updater error says,
The Package System is Broken. Check if you are using third party repositories. If so disable them since they are a common source of problems. Furthermore run the following command in a terminal: apt-get install -f.
Then in addition to this there is another pop-up window that says,
Crash Report
The application software updater has closed unexpectedly.
Send an error report to fix this problem
Ignore future problems of this program version.
So, now what should I do?
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: samba-libs (not installed)
ProcVersionSignature: Ubuntu 3.13.0-30.54-generic 3.13.11.2
Uname: Linux 3.13.0-30-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Wed Aug 6 11:06:51 2014
DuplicateSignature: package:samba-libs:(not installed):subprocess new pre-installation script returned error exit status 1
ErrorMessage: subprocess new pre-installation script returned error exit status 1
InstallationDate: Installed on 2011-07-24 (1113 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
RelatedPackageVersions:
nautilus 1:3.10.1-0ubuntu9.1
gvfs 1.20.1-1ubuntu1
SambaClientRegression: Yes
SourcePackage: samba
Title: package samba-libs (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
UpgradeStatus: Upgraded to trusty on 2014-07-03 (38 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1354995/+subscriptions
More information about the foundations-bugs
mailing list