Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

B2 Broken update --now stuck

Got problems with your B2 or B3? Share and get helped!
Post Reply
OverTheHill
Posts: 3
Joined: 30 Jan 2009, 08:55

B2 Broken update --now stuck

Post by OverTheHill »

Hello,

Long long ago during an Uupdate on my B2 via web UI i lost my network. Retry yields this (text copy from web UI):

--- begin --

Setup wizard
Traffic
Date and time
Backup and restore
Update
Logs

Help Settings
Update software
100.00%
Error!
toggleFailures found in package (dpkg) database, unable to continue with upgrade.

iF bubba-horde 3.3.5ex3 Horde installation for the bubba platform

Current package versions
Package name Package version
bubba-frontend 1.3.0
bubba-backend 1.3.0
bubba-album 1.3.0
filetransferdaemon 0.50.19+b3
squeezecenter 7.4.1.dfsg1-6

--- end --

So reading forum, seems like I could try "aptitude upgrade" at ssh. That fails, here's how:

Code: Select all

bubba:~# aptitude upgrade
Reading package lists... Done
Building dependency tree... Done
Initializing package states... Done
Reading task descriptions... Done  
Building tag database... Done    
The following packages have been kept back:
  squeezecenter 
The following packages will be upgraded:
  bubba bubba-album bubba-backend bubba-frontend bubba-kernel bubba-manual 
  bubba-modules bubba-networkmanager ethtool filetransferdaemon gzip 
  libanyevent-perl libaudio-scan-perl libc6 libc6-dev libc6-dev-ppc64 
  libc6-ppc64 libclass-xsaccessor-array-perl libclass-xsaccessor-perl 
  libkrb53 locales mt-daapd python2.4 python2.4-minimal zip 
The following packages are RECOMMENDED but will NOT be installed:
  unzip 
25 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 35.7MB of archives. After unpacking 20.2MB will be freed.
Do you want to continue? [Y/n/?] Y
Get:1 http://update.excito.org marielle/main bubba-kernel 1:2.6.32.13-1 [2002kB]
Get:2 http://update.excito.org marielle/main bubba-modules 1:2.6.32.13-1 [5649kB]
Get:3 http://update.excito.org upstream_etch/main libc6-dev-ppc64 2.3.6.ds1-13etch10 [1591kB]         
Get:4 http://update.excito.org upstream_etch/main libc6-dev 2.3.6.ds1-13etch10 [3269kB]               
Get:5 http://update.excito.org upstream_etch/main libc6-ppc64 2.3.6.ds1-13etch10 [4116kB]             
Get:6 http://update.excito.org upstream_etch/main libc6 2.3.6.ds1-13etch10 [5496kB]                   
Get:7 http://update.excito.org upstream_etch/main libkrb53 1.4.4-7etch8 [400kB]                       
Get:8 http://update.excito.org marielle/main filetransferdaemon 0.50.20 [899kB]                       
Get:9 http://update.excito.org marielle/main mt-daapd 1:0.9~r1696.dfsg-12ex11 [283kB]                 
Get:10 http://update.excito.org marielle/main zip 3.0-5 [359kB]                                       
Get:11 http://update.excito.org marielle/main ethtool 6+20080913-1 [70.1kB]                           
Get:12 http://update.excito.org marielle/main bubba-networkmanager 0.48 [164kB]                       
Get:13 http://update.excito.org marielle/main bubba-backend 2.0.0.11 [113kB]                          
Get:14 http://update.excito.org marielle/main bubba-manual 2.0 [1460kB]                               
Get:15 http://update.excito.org marielle/main bubba-album 2.0.0.4 [369kB]                             
Get:16 http://update.excito.org marielle/main bubba-frontend 2.0.0.9 [898kB]                          
Get:17 http://update.excito.org marielle/main bubba 2.0.5 [1812B]                                     
Get:18 http://update.excito.org upstream_etch/main gzip 1.3.5-15+etch1 [79.7kB]                       
Get:19 http://update.excito.org upstream_etch/main locales 2.3.6.ds1-13etch10 [4010kB]                
Get:20 http://update.excito.org marielle/main libanyevent-perl 5.202-1 [325kB]                        
Get:21 http://update.excito.org marielle/main libaudio-scan-perl 0.87+dfsg-1build3 [126kB]            
Get:22 http://update.excito.org marielle/main libclass-xsaccessor-array-perl 1.05-2 [4480B]           
Get:23 http://update.excito.org marielle/main libclass-xsaccessor-perl 1.05-2 [36.3kB]                
Get:24 http://update.excito.org upstream_etch/main python2.4 2.4.4-3+etch3 [2992kB]                   
Get:25 http://update.excito.org upstream_etch/main python2.4-minimal 2.4.4-3+etch3 [981kB]            
Fetched 35.7MB in 34s (1047kB/s)                                                                      
Preconfiguring packages ...
(Reading database ... 41628 files and directories currently installed.)
Preparing to replace bubba-kernel 1:2.6.32.6-1 (using .../bubba-kernel_1%3a2.6.32.13-1_powerpc.deb) ...
Unpacking replacement bubba-kernel ...
Preparing to replace bubba-modules 1:2.6.32.6-1 (using .../bubba-modules_1%3a2.6.32.13-1_powerpc.deb) ...
Unpacking replacement bubba-modules ...
Preparing to replace libc6-dev-ppc64 2.3.6.ds1-13etch9 (using .../libc6-dev-ppc64_2.3.6.ds1-13etch10_powerpc.deb) ...
Unpacking replacement libc6-dev-ppc64 ...
Preparing to replace libc6-dev 2.3.6.ds1-13etch9 (using .../libc6-dev_2.3.6.ds1-13etch10_powerpc.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc6-ppc64 2.3.6.ds1-13etch9 (using .../libc6-ppc64_2.3.6.ds1-13etch10_powerpc.deb) ...
Unpacking replacement libc6-ppc64 ...
Preparing to replace libc6 2.3.6.ds1-13etch9 (using .../libc6_2.3.6.ds1-13etch10_powerpc.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.3.6.ds1-13etch10) ...

(Reading database ... 41553 files and directories currently installed.)
Preparing to replace libkrb53 1.4.4-7etch7 (using .../libkrb53_1.4.4-7etch8_powerpc.deb) ...
Unpacking replacement libkrb53 ...
Preparing to replace filetransferdaemon 0.50.19+b3 (using .../filetransferdaemon_0.50.20_powerpc.deb) ...
Unpacking replacement filetransferdaemon ...
Preparing to replace mt-daapd 1:0.9~r1696.dfsg-12ex2 (using .../mt-daapd_1%3a0.9~r1696.dfsg-12ex11_powerpc.deb) ...
Stopping mt-daapd: mt-daapd.
OK, all clear.
Unpacking replacement mt-daapd ...
Preparing to replace zip 2.32-1 (using .../archives/zip_3.0-5_powerpc.deb) ...
Unpacking replacement zip ...
Preparing to replace ethtool 5-1 (using .../ethtool_6+20080913-1_powerpc.deb) ...
Unpacking replacement ethtool ...
Preparing to replace bubba-networkmanager 0.42 (using .../bubba-networkmanager_0.48_powerpc.deb) ...
Unpacking replacement bubba-networkmanager ...
Preparing to replace bubba-backend 1.3.0 (using .../bubba-backend_2.0.0.11_all.deb) ...
Unpacking replacement bubba-backend ...
Preparing to replace bubba-manual 1.3.1 (using .../bubba-manual_2.0_all.deb) ...
Unpacking replacement bubba-manual ...
Preparing to replace bubba-album 1.3.0 (using .../bubba-album_2.0.0.4_all.deb) ...
Unpacking replacement bubba-album ...
Preparing to replace bubba-frontend 1.3.0 (using .../bubba-frontend_2.0.0.9_all.deb) ...
Enabling module proxy.
Run '/etc/init.d/apache2 restart' to activate new configuration!
Considering dependency proxy for proxy_http:
Module proxy already enabled
Enabling module proxy_http.
Run '/etc/init.d/apache2 restart' to activate new configuration!
Unpacking replacement bubba-frontend ...
Preparing to replace bubba 1.3.0 (using .../archives/bubba_2.0.5_all.deb) ...
Unpacking replacement bubba ...
Preparing to replace gzip 1.3.5-15 (using .../gzip_1.3.5-15+etch1_powerpc.deb) ...
Unpacking replacement gzip ...
Setting up gzip (1.3.5-15+etch1) ...

(Reading database ... 41140 files and directories currently installed.)
Preparing to replace locales 2.3.6.ds1-13etch9 (using .../locales_2.3.6.ds1-13etch10_all.deb) ...
Unpacking replacement locales ...
Preparing to replace libanyevent-perl 5.201-1 (using .../libanyevent-perl_5.202-1_all.deb) ...
Unpacking replacement libanyevent-perl ...
Preparing to replace libaudio-scan-perl 0.45-0ex2 (using .../libaudio-scan-perl_0.87+dfsg-1build3_powerpc.deb) ...
Unpacking replacement libaudio-scan-perl ...
Preparing to replace libclass-xsaccessor-array-perl 1.04-0ex1 (using .../libclass-xsaccessor-array-perl_1.05-2_all.deb) ...
Unpacking replacement libclass-xsaccessor-array-perl ...
Preparing to replace libclass-xsaccessor-perl 1.03-0ex1 (using .../libclass-xsaccessor-perl_1.05-2_powerpc.deb) ...
Unpacking replacement libclass-xsaccessor-perl ...
Preparing to replace python2.4 2.4.4-3+etch2 (using .../python2.4_2.4.4-3+etch3_powerpc.deb) ...
Unpacking replacement python2.4 ...
Preparing to replace python2.4-minimal 2.4.4-3+etch2 (using .../python2.4-minimal_2.4.4-3+etch3_powerpc.deb) ...
Unpacking replacement python2.4-minimal ...
Setting up bubba-horde (3.3.5ex3) ...
dbconfig-common: writing config to /etc/dbconfig-common/bubba-horde.conf
Replacing config file /etc/horde/debian-db.php with new version
creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.58.mysql.
dpkg: error processing bubba-horde (--configure):
 subprocess post-installation script returned error exit status 1
Setting up bubba-kernel (2.6.32.13-1) ...

Setting up bubba-modules (2.6.32.13-1) ...

Setting up libc6-ppc64 (2.3.6.ds1-13etch10) ...

Setting up libc6-dev (2.3.6.ds1-13etch10) ...
Setting up libc6-dev-ppc64 (2.3.6.ds1-13etch10) ...
Setting up libkrb53 (1.4.4-7etch8) ...

Setting up filetransferdaemon (0.50.20) ...
Restarting File Transfer Daemon: ftd.

Setting up mt-daapd (0.9~r1696.dfsg-12ex11) ...
Installing new version of config file /etc/mt-daapd.conf ...
An override for "/var/cache/mt-daapd" already exists, but --force specified so will be ignored.
An override for "/etc/mt-daapd.conf" already exists, but --force specified so will be ignored.
Starting mt-daapd: mt-daapd.

Setting up zip (3.0-5) ...
Setting up ethtool (6+20080913-1) ...
Setting up bubba-networkmanager (0.48) ...
Setting up bubba-manual (2.0) ...
Setting up bubba-album (2.0.0.4) ...
dbconfig-common: writing config to /etc/dbconfig-common/bubba-album.conf
dbconfig-common: flushing administrative password
Replacing config file /etc/album/debian-db.php with new version
Reloading web server config: apache2.

dpkg: dependency problems prevent configuration of bubba-backend:
 bubba-backend depends on bubba-horde; however:
  Package bubba-horde is not configured yet.
dpkg: error processing bubba-backend (--configure):
 dependency problems - leaving unconfigured
Setting up locales (2.3.6.ds1-13etch10) ...
Generating locales (this might take a while)...
  en_US.UTF-8...  done
Generation complete.

Setting up libanyevent-perl (5.202-1) ...
Setting up libaudio-scan-perl (0.87+dfsg-1build3) ...
Setting up libclass-xsaccessor-perl (1.05-2) ...
Setting up libclass-xsaccessor-array-perl (1.05-2) ...
Setting up python2.4-minimal (2.4.4-3+etch3) ...
Linking and byte-compiling packages for runtime python2.4...

Setting up python2.4 (2.4.4-3+etch3) ...

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
dpkg: dependency problems prevent configuration of bubba:
 bubba depends on bubba-backend; however:
  Package bubba-backend is not configured yet.
 bubba depends on bubba-frontend; however:
  Package bubba-frontend is not configured yet.
dpkg: error processing bubba (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 bubba-horde
 bubba-backend
 bubba-frontend
 bubba
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up bubba-horde (3.3.5ex3) ...
dbconfig-common: writing config to /etc/dbconfig-common/bubba-horde.conf
Replacing config file /etc/horde/debian-db.php with new version
creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.58.mysql.
dpkg: error processing bubba-horde (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bubba-backend:
 bubba-backend depends on bubba-horde; however:
  Package bubba-horde is not configured yet.
dpkg: error processing bubba-backend (--configure):
 dependency problems - leaving unconfigured
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
dpkg: dependency problems prevent configuration of bubba:
 bubba depends on bubba-backend; however:
  Package bubba-backend is not configured yet.
 bubba depends on bubba-frontend; however:
  Package bubba-frontend is not configured yet.
dpkg: error processing bubba (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 bubba-horde
 bubba-backend
 bubba-frontend
 bubba
bubba:~# 

During that process there were several requests to configure a database, most I think have to do with horde.

I don't mind if I lose my horde data (though I would if I lost my general SMB files), so I said Yes to all of them, but the upgrade failed.

Help requested please.

Thanks,

John
aka OverTheHill
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: B2 Broken update --now stuck

Post by johannes »

Strange. Did you ever do a manual update to the system, or install anything yourself? Something is wrong with Horde, and I cannot explain why, don't recognize this behaviour.

If you can't get it working please email [email protected] with logon credentials, and we can help you remotely.
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
Post Reply