Page 1 of 1

Error after first update

Posted: 16 Apr 2010, 05:20
by MrMastermindNL
Hi,

I just got my new Bubba|Two and did an update after initial installation. Somehow the update got cut off and now I have this error message when trying to update:

Failures found in package (dpkg) database, unable to continue with upgrade.

iF bubba-backend 1.9.16 The backend of the bubba administration


I also cannot connect to the Bubba anymore from my Finder window.

this is error is from ssh:

dpkg: error processing bubba-backend (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bubba-frontend:
bubba-frontend depends on bubba-backend (>= 1.0.19); however:
Package bubba-backend is not configured yet.
dpkg: error processing bubba-frontend (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
bubba-backend
bubba-frontend
E: Sub-process /usr/bin/dpkg returned an error code (1)


Any suggestions?

Re: Error after first update

Posted: 16 Apr 2010, 07:20
by Kiff
Try

Code: Select all

# apt-get -f install
# dpkg --configure -a 
(source: http://www.us.debian.org/doc/manuals/ap ... ros-comuns)

Re: Error after first update

Posted: 16 Apr 2010, 07:24
by MrMastermindNL
Hi Kiff,

Thanks for the reply, here's what I get from you dkpg line:

Setting up bubba-backend (1.9.16) ...
Creating new generic self-signed certificate: /etc/ssl/certs/dovecot.pem
(replace with hand-crafted or authorized one if needed).
hostname: Unknown host
dpkg: error processing bubba-backend (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bubba-frontend:
bubba-frontend depends on bubba-backend (>= 1.0.19); however:
Package bubba-backend is not configured yet.
dpkg: error processing bubba-frontend (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
bubba-backend
bubba-frontend

Re: Error after first update

Posted: 16 Apr 2010, 07:37
by Kiff
Any error messages in /var/log/dpkg.log?

Edit: The script might require hostname to be set. Make sure that a name (default is "bubba" without "") is set in the file /etc/hostname

Re: Error after first update

Posted: 16 Apr 2010, 07:49
by MrMastermindNL
I'm not really used to using the terminal and linux commando's, so bear with me...


This is in my hosts file:

127.0.0.1 localhost.localdomain localhost
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


And this is the dkpg log of today:

2010-04-15 17:48:41 status half-configured bubba-backend 1.9.16
2010-04-16 11:37:13 status half-configured bubba-backend 1.9.16
2010-04-16 13:20:34 status half-configured bubba-backend 1.9.16
2010-04-16 13:20:47 status half-configured bubba-backend 1.9.16
2010-04-16 13:30:26 status half-configured bubba-backend 1.9.16

Re: Error after first update [SOLVED]

Posted: 16 Apr 2010, 07:52
by MrMastermindNL
I added 127.0.0.1 bubba to the etc/hosts file. That seems to do the trick!

Thanks for your help!

Re: Error after first update

Posted: 16 Apr 2010, 07:55
by Kiff
also check the file /etc/hostname (not hosts) and see that it has a name, to prevent potential problems further down the road :)

Re: Error after first update

Posted: 16 Apr 2010, 07:57
by MrMastermindNL
Check! the hostname says bubba.

One more thing, bubba now show in Finder, but connection fails?

Re: Error after first update

Posted: 16 Apr 2010, 08:02
by Kiff
Mac's are not really my thing, but can you access the web gui?

also try to re-run the upgrade process now that everything works

Code: Select all

apt-get update
apt-get upgrade
apt-get dist-upgrade

Re: Error after first update

Posted: 16 Apr 2010, 08:08
by MrMastermindNL
I can access the web-gui and the upgrade works fine now. And I can access it from a windows machine. So I might restart my Mac.

Thanks again.