USC & pkg mgr fail: cannot remove, repair or install
Hi All,
Ubuntu 13.04 32bit pae.
Decided to install (add) Libreoffice Base. Error message creating DB connection on first attempt: libhsqldb-java missing. Installed same via USC.
Created a small test DB. Worked OK the first time. Table with 5 fields and 5 records.
Second attempt to edit file caused "out of memory" error. Then I could not shutdown normally. System hung at login.
Used sudo /etc/init.
Tried to install hsqldb-server to see if that would help. Would not install. Tried to uninstall Libreoffice Base. Would not install either. Tried to re-install both. No go.
No matter what I did to install, remove, purge. No go. Even with the "-f" switch using apt-get.
Did recovery mode on reboot. Ran debpkg repair. Same errors again & again.
All errors revolve around an "hsqldb-server" running with pid #nnnn or #nnn.
The error:
ken@KensSSD120:~$ sudo apt-get remove -f hsqldb-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
hsqldb-server
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 125 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 225633 files and directories currently installed.)
Removing hsqldb-server ...
Exception in thread "main" java.lang.
at java.lang.
at java.lang.
at java.lang.
at org.hsqldb.
at org.hsqldb.
at org.hsqldb.
Caused by: java.lang.
at java.net.
at gnu.gcj.
at java.lang.
at java.lang.
at java.lang.
at java.lang.
...5 more
WARNING: hsqldb is still running!
invoke-rc.d: initscript hsqldb-server, action "stop" failed.
dpkg: error processing hsqldb-server (--remove):
subprocess installed pre-removal script returned error exit status 1
There is already a hsqldb server running with pid 1879.
invoke-rc.d: initscript hsqldb-server, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
hsqldb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
ken@KensSSD120:~$
edited /etc/hsqldb.conf and set HSQLDB_OWNER=my_id helped. The server stopped running.
BUT!!!
Still cannot install, remove or repair hsqldb-server or libhsqldb-java or libreoffice-base.
How to fix?
Thanks, guys!
Regards,
Ken Wagner
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Thomas Krüger
- Solved:
- Last query:
- Last reply: