Ticket #3828 (closed defect: worksforme)
sudo dpkg --configure -a is not working
| Reported by: | sanele01@… | Owned by: | jamor@… |
|---|---|---|---|
| Milestone: | Component: | samba | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
sudo dpkg --configure -a
Setting up samba-common (2:3.4.9-0ubuntu1) ... dpkg: error processing samba-common (--configure):
subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of samba-common-bin:
samba-common-bin depends on samba-common (>= 2:3.4.0~pre1-2); however:
Package samba-common is not configured yet.
dpkg: error processing samba-common-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba:
samba depends on samba-common (= 2:3.4.9-0ubuntu1); however:
Package samba-common is not configured yet.
dpkg: error processing samba (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zentyal-samba:
zentyal-samba depends on samba; however:
Package samba is not configured yet.
zentyal-samba depends on samba-common-bin; however:
Package samba-common-bin is not configured yet.
dpkg: error processing zentyal-samba (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
samba-common samba-common-bin samba zentyal-samba
Hello Sanele, t his is probably a error of the configuration of your system and not of Zentyal itself.
Are you using the packages from ppa.launchpad.net/zentyal/2.2 ?.
You can check this using the command 'apt-cache':
foobar@z22:~$ apt-cache policy samba-common samba-common: Installed: 2:3.4.9-0ubuntu1 Candidate: 2:3.4.9-0ubuntu1 Version table: *** 2:3.4.9-0ubuntu1 0 50 http://ppa.launchpad.net/zentyal/2.2/ubuntu/ lucid/main Packages 500 /var/lib/dpkg/status 2:3.4.7~dfsg-1ubuntu3.8 0 50 http://ad.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages 50 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages 2:3.4.7~dfsg-1ubuntu3 0 50 http://ad.archive.ubuntu.com/ubuntu/ lucid/main PackagesIf not add the following line to your /etc/apt/sources.list file:
and then 'apt-get update' and reinstall.
If not, try to execute directly the postinst script to see what is the exact error:
Regards.
Javier