Modify

Ticket #3828 (closed defect: worksforme)

Opened 16 months ago

Last modified 15 months ago

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

Attachments

Change History

comment:1 Changed 16 months ago by jamor@…

  • Status changed from new to accepted

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 Packages

If not add the following line to your /etc/apt/sources.list file:

deb http://ppa.launchpad.net/zentyal/2.2/ubuntu lucid main

and then 'apt-get update' and reinstall.

If not, try to execute directly the postinst script to see what is the exact error:

sudo bash -x /var/lib/dpkg/info/samba-common.postinst configure

Regards.

Javier

comment:2 Changed 15 months ago by jamor@…

  • Status changed from accepted to closed
  • Resolution set to worksforme

This seems a configuration/installation problem. Please, reopen if it is caused by any of the zentyal packages.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.