Update pack 4 issues - hsqldb-server error exit status 1

Post your update and upgrade related errors here
Forum rules
Before you post please read this

I have had this problem when updating

HSQLDB - YES
0
No votes
HSQLDB - NO
0
No votes
XFCE - YES
0
No votes
XFCE - NO
0
No votes
 
Total votes : 0

Update pack 4 issues - hsqldb-server error exit status 1

Postby User_Error on Fri Apr 20, 2012 3:48 pm

broken package issue since updating to pack 4
hsqldb-server : Depends: libhsqldb-java (= 1.8.0.10-9) but 1.8.0.10-11 is installed


It is reporting as a broken package...
anyone got any ideas on that? its been driving me mad for at least a week now and seems to stop all updates in their tracks. Been unsuccessful in my attempts to remove it, update it, downgrade it, or anything really.

done update, upgrade, dist-upgrade.. sources.list is pointing to the right places.. not sure where to go next

Updated from Pack 3 - also had problems with a fresh install off the disk with pack 4 during its updates but that is a whole different system.


Details:

Selecting previously unselected package hsqldb-server.
(Reading database ... 225524 files and directories currently installed.)
Preparing to replace hsqldb-server 1.8.0.10-9 (using .../hsqldb-server_1.8.0.10-11_all.deb) ...
Removing stale pid file
I don't know of any running hsqldb server.
invoke-rc.d: initscript hsqldb-server, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
I don't know of any running hsqldb server.
invoke-rc.d: initscript hsqldb-server, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/hsqldb-server_1.8.0.10-11_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
configured to not write apport reports
insserv: script vboxdrv: service vboxdrv already provided!




E: /var/cache/apt/archives/hsqldb-server_1.8.0.10-11_all.deb: subprocess new pre-removal script returned error exit status 1


& This too (less important)
Also default xfce theme on Gedit, Rhythmbox, all popups, and some other applications. Not sure what caused this as it works fine elsewhere. Perhaps it updated xfce and the new version has some bugs or does not fully support the old themes?
User_Error
Level 1
Level 1
 
Posts: 3
Joined: Fri Apr 20, 2012 3:40 pm

Linux Mint is funded by ads and donations.
 

Re: Update pack 4 issues - hsqldb-server error exit status 1

Postby äxl on Sat Apr 21, 2012 4:20 am

User_Error wrote:hsqldb-server : Depends: libhsqldb-java (= 1.8.0.10-9) but 1.8.0.10-11 is installed

http://wiki.debian.org/AptPreferences
http://packages.debian.org/libhsqldb-java
I don't know of any running hsqldb server.

Try in terminal to manually stop and give the output please:
Code: Select all
sudo /etc/init.d/hsqldb-server stop

Then try upgrade again. Or try to start (replace stop with start in the command.)
The package btw says:
This package contains the files necessary to run an HSQLDB server. More
commonly, HSQLDB is used as an embedded database engine, which does not
require this package.

Have you activated to install suggested packages or do you need hsqldb-server?
My Linux history: Ubuntu 10.04 - 10.10 - LMDE 201109 - UP4 My sources.list/preferences

Computers is not science. And it's not magic - it's something in between.
User avatar
äxl
Level 5
Level 5
 
Posts: 524
Joined: Fri Apr 06, 2012 6:14 am
Location: Germany

Re: Update pack 4 issues - hsqldb-server error exit status 1

Postby User_Error on Mon Apr 23, 2012 2:16 am

sudo /etc/init.d/hsqldb-server stop
Failed instances: [db0-url]
WARNING: hsqldb is still running!


I have tried to kill it manually (originally using pkill and similar methods) and yet it sticks around..

And yes I do need the package unfortunately, at least as far as I can tell. I'd have to check all my database dependent stuff to see which use it.

Have been unable to remove it when I tried before the original post (so I could jump down a version to hopefully resolve this issue).
User_Error
Level 1
Level 1
 
Posts: 3
Joined: Fri Apr 20, 2012 3:40 pm

Re: Update pack 4 issues - hsqldb-server error exit status 1

Postby User_Error on Mon Apr 23, 2012 6:39 am

What it spits out on Upgrade

Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 225524 files and directories currently installed.)
Preparing to replace hsqldb-server 1.8.0.10-9 (using .../hsqldb-server_1.8.0.10-11_all.deb) ...
Failed instances: [db0-url]
WARNING: hsqldb is still running!
invoke-rc.d: initscript hsqldb-server, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Failed instances: [db0-url]
WARNING: hsqldb is still running!
invoke-rc.d: initscript hsqldb-server, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/hsqldb-server_1.8.0.10-11_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
configured to not write apport reports
insserv: script vboxdrv: service vboxdrv already provided!
There is already a hsqldb server running with pid 16869.
invoke-rc.d: initscript hsqldb-server, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Preparing to replace dash 0.5.5.1-7.4 (using .../dash_0.5.7-3_amd64.deb) ...
Unpacking replacement dash ...
Processing triggers for menu ...
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/hsqldb-server_1.8.0.10-11_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
User_Error
Level 1
Level 1
 
Posts: 3
Joined: Fri Apr 20, 2012 3:40 pm

Re: Update pack 4 issues - hsqldb-server error exit status 1

Postby äxl on Mon Apr 30, 2012 5:41 pm

Code: Select all
sudo /etc/init.d/hsqldb stop
sudo /etc/init.d/hsqldb-server stop
Though killall or kill -9 should also do it. Then again upgrade.

If it's started automatically you could prevent this with:
Code: Select all
sudo update-rc.d -f hsqldb remove
sudo update-rc.d -f hsqldb-server remove
Then try to stop the processes again:
Code: Select all
sudo invoke-rc.d hsqldb stop
sudo invoke-rc.d hsqldb-server stop
Restart and upgrade. (To let it start automatically again replace remove with defaults.)

As a very ugly try you could rename the "pre-removal script" likely called "hsqldb....postrm" in /var/lib/dpkg/info/
My Linux history: Ubuntu 10.04 - 10.10 - LMDE 201109 - UP4 My sources.list/preferences

Computers is not science. And it's not magic - it's something in between.
User avatar
äxl
Level 5
Level 5
 
Posts: 524
Joined: Fri Apr 06, 2012 6:14 am
Location: Germany


Return to Update/Upgrade Issues

Who is online

Users browsing this forum: Golo-Ratse, Google [Bot] and 7 guests