Bug 170788 - Update exits with a error
Summary: Update exits with a error
Status: RESOLVED UNMAINTAINED
Alias: None
Product: adept
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Rockai
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-10 09:47 UTC by Hein van Rensburg
Modified: 2013-09-21 20:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hein van Rensburg 2008-09-10 09:47:28 UTC
Version:           Version 3.0 Beta 2 (using KDE 4.1.1)
OS:                Linux
Installed from:    Ubuntu Packages

Adept downloads pacakged and exits when installing with an error.
Pls see below

Commit failed.
To continue, hit ok and we will try to recover. If you close the application now, we will not do anything and you may try to resolve the problem manually.
(If you suspect this is a bug in Adept, please also provide the following exception description in the report).

The error was: 
APT Error. Context:
    Running dpkg, 
    [ /usr/bin/dpkg, --status-fd, 3, --configure, xkb-data, cron, ufw, update-manager-core, acpid, libhal1, libhal-storage1, hal, hotkey-setup, libkdecorations4, libkwineffects1, kde-window-manager, kdebase-workspace-data, libplasma2, kdebase-workspace-libs4+5, kdebase-workspace-bin, kdebluetooth, kdm, klipper, ksysguardd, ksysguard, kubuntu-artwork-usplash, kubuntu-default-settings, systemsettings, kubuntu-desktop, libpango1.0-common, libpango1.0-0, oxygen-cursor-theme, python-gobject, update-manager-kde, xserver-xorg-input-evdev ], 
    Sup-process returned error code 1, 
    Error processing hal : subprocess post-installation script returned error exit status 2., 
    Error processing kubuntu-desktop : dependency problems - leaving unconfigured.

Version 3.0 beta 2 battleship running on KDE 4.1.1
Comment 1 Peter Rockai 2008-09-10 13:02:45 UTC
Hi, can you please try running that from terminal, through sudo  (ie. run sudo adept and try upgrading HAL again) -- as opposed to using kdesudo, which is I believe default on Kubuntu? I have seen that happen before, exactly with HAL post-installation script... I suspect a problem with either kdesudo or HAL itself, but it's hard to debug. : - (

Note that it might be useful for debugging if you first tried with "kdesudo adept" in the commandline and if it fails again, paste the terminal output of adept to this report. Thank you.
Comment 2 Peter Rockai 2008-09-10 13:57:39 UTC
Hi, can you please try running that from terminal, through sudo  (ie. run sudo adept and try upgrading HAL again) -- as opposed to using kdesudo, which is I believe default on Kubuntu? I have seen that happen before, exactly with HAL post-installation script... I suspect a problem with either kdesudo or HAL itself, but it's hard to debug. : - (

Note that it might be useful for debugging if you first tried with "kdesudo adept" in the commandline and if it fails again, paste the terminal output of adept to this report. Thank you.
Comment 3 Peter Rockai 2008-09-10 14:00:02 UTC
Actually, Jonathan Riddell helped me to reproduce a similar issue: when upgrading HAL from adept running from kdesudo, it gets stuck for him (not even giving an error). He confirms that the problem goes away when using kdesu or sudo. I'll leave it as it is for now, hoping that kdesudo folks can come up with a solution...
Comment 4 Hein van Rensburg 2008-09-10 17:12:00 UTC
I ran Kdesudo adept and it ran and freeze without a error report.

I also ran kdesu adept and then it was working. however it crashed while I was looking at the installed files crashing saying I had too many files open, I thought I had only a few applications in Kontact open and the KDE System. I think this is a new bug. Wil;l try and repeat and report. See below.

Error executing search.

The exception says: 
Error opening table `/var/lib/apt-xapian-index/index.2/termlist.':
Couldn't open /var/lib/apt-xapian-index/index.2/termlist.baseA: Too many open files
Couldn't open /var/lib/apt-xapian-index/index.2/termlist.baseB: Too many open files
Comment 5 Jekyll Wu 2013-09-21 04:44:04 UTC
Adept has been in the unmaintained state for a few years.  Use muon[1] as replacement .

[1] https://launchpad.net/muon
Comment 6 Ben Cooksley 2013-09-21 20:48:15 UTC
Removing tasimakopoulos@aol.com from CC per abuse report.