package samba-libs (not installed) failed to install/upgrade: подпроцесс новый сценарий pre-installation возвратил код ошибки 1

Bug #1310177 reported by Tea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

samba from nautilus can't connect to windows resources

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: samba-libs (not installed)
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Sun Apr 20 09:29:34 2014
ErrorMessage: подпроцесс новый сценарий pre-installation возвратил код ошибки 1
InstallationDate: Installed on 2012-08-28 (599 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
RelatedPackageVersions:
 nautilus 1:3.10.1-0ubuntu8
 gvfs 1.20.1-1ubuntu1
SambaClientRegression: Yes
SourcePackage: samba
Title: package samba-libs (not installed) failed to install/upgrade: подпроцесс новый сценарий pre-installation возвратил код ошибки 1
UpgradeStatus: Upgraded to trusty on 2014-04-20 (0 days ago)

Revision history for this message
Tea (xsuperchayx) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :
Download full text (3.2 KiB)

Thank you for filing this bug, and sorry for the lack of responses.

The problem is that there are two secrets.tdb databases:

Preparing to unpack 
/samba-libs_2%3a4.1.6+dfsg-1ubuntu2_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:
ОтПгП 716
drwxr-xr-x 10 root root 4096 апр. 20 08:01 .
drwxr-xr-x 78 root root 4096 апр. 20 08:13 ..
-rw------- 1 root root 36864 сеМт. 3 2012 account_policy.tdb
-rw------- 1 root root 696 сеМт. 3 2012 group_mapping.tdb
drwxr-xr-x 2 root root 4096 апр. 5 00:26 netlogon
drwxr-x--- 2 root root 4096 апр. 4 15:35 ntp_signd
-rw------- 1 root root 36864 апр. 12 00:24 passdb.tdb
drwxr-xr-x 6 root root 4096 апр. 4 15:35 private
drwxr-xr-t 4 root root 4096 апр. 5 00:30 profiles
-rw------- 1 root root 106496 апр. 5 00:59 registry.tdb
drwxr-xr-x 2 root root 4096 апр. 5 00:26 root
-rw------- 1 root root 45056 апр. 5 00:26 secrets.tdb
-rw------- 1 root root 36864 Ќарта 4 16:14 share_info.tdb
drwxrwx---+ 3 root 3000000 4096 апр. 2 13:07 sysvol
drwxrwx--T 2 root sambashare 4096 яМв. 28 2013 usershares
-rw-r--r-- 1 root root 421888 апр. 5 01:22 winbindd_idmap.tdb
drwxr-x--- 2 root root 4096 апр. 4 15:35 winbindd_privileged

/var/lib/samba/private:
ОтПгП 10904
drwxr-xr-x 6 root root 4096 апр. 4 15:35 .
drwxr-xr-x 10 root root 4096 апр. 20 08:01 ..
-rw-r--r-- 1 root root 2270 апр. 2 13:08 dns_update_list
-rw------- 1 root root 1286144 апр. 2 13:07 hklm.ldb
-rw------- 1 root root 1286144 апр. 2 13:07 idmap.ldb
-rw-r--r-- 1 root root 92 апр. 2 13:08 krb5.conf
srwxrwxrwx 1 root root 0 апр. 4 15:35 ldapi
drwxr-x--- 2 root root 4096 апр. 4 15:35 ldap_priv
-r--r--r-- 1 root root 223 апр. 2 13:08 named.conf.update
-rw------- 1 root root 1286144 апр. 2 13:07 privilege.ldb
-rw------- 1 root root 696 апр. 2 13:08 randseed.tdb
-rw------- 1 root root 4251648 апр. 2 13:08 sam.ldb
drwx------ 2 root root 4096 апр. 2 13:08 sam.ldb.d
-rw------- 1 root root 696 апр. 4 15:35 schannel_store.tdb
-rw------- 1 root root 1102 апр. 2 13:08 secrets.keytab
-rw------- 1 root root 1286144 апр. 2 13:08 secrets.ldb
-rw------- 1 root root 430080 апр. 2 13:08 secrets.tdb
-rw------- 1 root root 1286144 апр. 2 13:07 share.ldb
drwxr-xr-x 3 root root 4096 апр. 2 13:08 smbd.tmp
-rw-r--r-- 1 root root 955 апр. 2 13:08 spn_update_list
drwxr-xr-x 2 root root 4096 апр. 2 13:08 tls
dpkg: error processing archive /var/cache/apt/archives/samba-libs_2%3a4.1.6+dfsg-1ubuntu2_amd64.deb (--unpack):
,..

The upstream debian bug http://bugs.debian.org/726472 has a lot of details about this problem.

Are you still affected by this? It looks like both secrets.tdb databases should be compared and a decision ...

Read more...

Changed in samba (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.