package samba-libs (not installed) failed to install/upgrade: подпроцесс новый сценарий pre-installation возвратил код ошибки 1
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)
ProcVersionSign
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)
RelatedPackageV
nautilus 1:3.10.1-0ubuntu8
gvfs 1.20.1-1ubuntu1
SambaClientRegr
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)
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 ... samba/private, aborting samba-libs preinst bugs.debian. org/726472
secrets.tdb exists in /var/lib/samba and /var/lib/
rename one of them to allow the install/upgrade to continue
http://
/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: apt/archives/ samba-libs_ 2%3a4.1. 6+dfsg- 1ubuntu2_ amd64.deb (--unpack):
ОÑПгП 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/
,..
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 ...