Author Topic: /USR/BIN/DPKG RETURNED AN ERROR CODE DURING INSTALLATION  (Read 2177 times)

callawar

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
/USR/BIN/DPKG RETURNED AN ERROR CODE DURING INSTALLATION
« on: February 01, 2010, 09:54:52 am »
I installing E-BOX and came across the following errors.  Any help in resolving them would be appreciated.

dpkg: dependency problems prevent configuration of ebox-samba:
 ebox-samba depends on ebox (>= 1.3); however:
  Package ebox is not configured yet.
 ebox-samba depends on ebox (<< 1.4); however:
  Package ebox is not configured yet.
 ebox-samba depends on ebox-network; however:
  Package ebox-network is not configured yet.
 ebox-samba depends on ebox-firewall; however:
  Package ebox-firewall is not configured yet.
 ebox-samba depends on ebox-usersandgroups; however:
  Package ebox-usersandgroups is not configured yet.
dpkg: error processing ebox-samba (--configure):
 dependency problems - leaving unconfigured
Setting up libexporter-cluster-perl (0.31-0ubuntu1) ...
No apport report written because MaxReports is reached already
                                                              Setting up libnet-cups-perl (0.59-1build1) ...
dpkg: dependency problems prevent configuration of ebox-printers:
 ebox-printers depends on ebox (>= 1.3); however:
  Package ebox is not configured yet.
 ebox-printers depends on ebox (<< 1.4); however:
  Package ebox is not configured yet.
 ebox-printers depends on ebox-samba; however:
  Package ebox-samba is not configured yet.
dpkg: error processing ebox-printers (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ebox-squid:
 ebox-squid depends on ebox (>= 1.3); however:
  Package ebox is not configured yet.
 ebox-squid depends on ebox (<< 1.4); however:
  Package ebox is not configured yet.
 ebox-squid depends on ebox-firewall; however:
  Package ebox-firewall is not configured yet.
 ebox-squid depends on ebox-objects; however:
  Package ebox-objects is not configured yet.
 ebox-squid depends on ebox-usersandgroups; however:
  Package ebox-usersandgroups is not configured yet.
dpkg: error processing ebox-squid (--configure):
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                             dependency problems - leaving unconfigured

Errors were encountered while processing:
 postgresql-8.4
 postgresql
 ebox
 ebox-ca
 ebox-objects
 ebox-services
 ebox-network
 ebox-firewall
 ebox-dhcp
 ebox-dns
 ebox-ntp
 ebox-openvpn
 ebox-usersandgroups
 ebox-samba
 ebox-printers
 ebox-squid
E: Sub-process /usr/bin/dpkg returned an error code (1)

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: /USR/BIN/DPKG RETURNED AN ERROR CODE DURING INSTALLATION
« Reply #1 on: February 01, 2010, 01:20:14 pm »
Could you give us more that about the installation process you have followed?
Zentyal Server Lead Developer

philmills

  • Zen Warrior
  • ***
  • Posts: 161
  • Karma: +8/-0
    • View Profile
Re: /USR/BIN/DPKG RETURNED AN ERROR CODE DURING INSTALLATION
« Reply #2 on: February 19, 2010, 04:26:04 pm »
i got the same thing basically
in fact my whole install seems to be plagued with various error messages. Including:
Code: [Select]
chown: invalid user: 'root.__USERS.__' which sounds kinda worrying....
On my dell server i have to install from netinstall version of ubuntu 8.04 since the current CD version, of both Ebox and Ubuntu hit a (well documented) install error in that they cannot read from the CD once install begins. This error seems specific to my Dell poweredge 2400 series. I have 3 servers and they all behave the same.

So.. net install it is.
I selected printer and openssh servers from Ubuntu

then i installed  ebox 1.4 usersandgroups from CLI
followed by samba after which i started to see those type of errors mentioned.

so i figured i'd flush ebox and try again.  Interestingly,  
Code: [Select]
apt-get remove --purge libebox  doesn't fully flush ebox like it should - some folders seem to get left behind as they still contain items. This leaves me with a very messed system. Glad its a test server.

« Last Edit: February 19, 2010, 04:29:22 pm by philmills »