LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-26-2008, 03:29 AM   #1
poonippi
Member
 
Registered: Dec 2007
Distribution: Debain Fluxbox
Posts: 76

Rep: Reputation: 15
debian testing apt install error


Hi,

re: Linux <host-name> 2.6.25-2-686 #1 SMP Fri Jul 18 17:46:56 UTC 2008 i686 GNU/Linux -- Debian Testing

I'm having trouble with apt, trying to do anything really!:-

Code:
# dpkg -l | grep calendar
ii  webcalendar                            1.0.5-15                             PHP-Based multi-user calendar
# apt-get remove webcalendar
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these:
The following packages have unmet dependencies.
  openhpid: Depends: libopenhpi2 (= 2.11.2-1) but 2.12.0-1 is to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).
# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies...Done
The following extra packages will be installed:
  openhpid
The following packages will be upgraded:
  openhpid
1 upgraded, 0 newly installed, 0 to remove and 40 not upgraded.
31 not fully installed or removed.
Need to get 0B/121kB of archives.
After this operation, 49.2kB disk space will be freed.
Do you want to continue [Y/n]? 
Selecting previously deselected package openhpid.
(Reading database ... 51553 files and directories currently installed.)
Preparing to replace openhpid 2.11.2-1 (using .../openhpid_2.12.0-1_i386.deb) ...
Stopping openhpid: /usr/sbin/invoke-rc.d: line 437: 10918 Terminated              "${INITDPREFIX}${INITSCRIPTID}" "${saction}" "$@"
invoke-rc.d: initscript openhpid, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 143
dpkg - trying script from the new package instead ...
Stopping openhpid: /usr/sbin/invoke-rc.d: line 437: 10946 Terminated              "${INITDPREFIX}${INITSCRIPTID}" "${saction}" "$@"
invoke-rc.d: initscript openhpid, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/openhpid_2.12.0-1_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 143
Starting openhpid: success.
Errors were encountered while processing:
 /var/cache/apt/archives/openhpid_2.12.0-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Last edited by poonippi; 08-26-2008 at 03:31 AM. Reason: anonymity
 
Old 08-26-2008, 04:15 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Was the hpid running when that script was executed? If it was running, have you tried an update after stopping the daemon?

What happens if you ask to simulate removing that package?
apt-get remove openhpi -s

Does apt threaten to remove other software? If not, you can delete that software and then request an install again - that should get you the updated version and you shouldn't have problems with the previous version (because it was already removed).

If you still have problems, you may need to manually remove that software - a sometimes tricky thing to do without getting 'apt' too upset.
 
Old 08-26-2008, 04:43 PM   #3
poonippi
Member
 
Registered: Dec 2007
Distribution: Debain Fluxbox
Posts: 76

Original Poster
Rep: Reputation: 15
[SOLVED] debian testing apt install error

Stopping the process before this install did nothing.

Here is this output of a simualtion:-

Code:
rufus-maximus:~# apt-get remove openhpid -s
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED
  openhpid
0 upgraded, 0 newly installed, 1 to remove and 40 not upgraded.
31 not fully installed or removed.
Remv openhpid [2.11.2-1]
Conf libvolume-id0 (0.125-5 Debian:testing)
Conf udev (0.125-5 Debian:testing)
Conf x11-xserver-utils (7.3+4 Debian:testing)
Conf adduser (3.110 Debian:testing)
Conf iptables (1.4.1.1-2 Debian:testing)
Conf libncursesw5 (5.6+20080804-1 Debian:testing)
Conf libssl0.9.8 (0.9.8g-13 Debian:testing)
Conf nano (2.0.7-3 Debian:testing)
Conf libxml2 (2.6.32.dfsg-2+lenny1 Debian-Security:None/testing)
Conf liblwres40 (1:9.5.0.dfsg.P2-1 Debian:testing)
Conf perl (5.10.0-13 Debian:testing)
Conf perl-modules (5.10.0-13 Debian:testing)
Conf bzip2 (1.0.5-1 Debian:testing)
Conf libdbus-1-3 (1.2.1-3 Debian:testing)
Conf dbus (1.2.1-3 Debian:testing)
Conf dbus-x11 (1.2.1-3 Debian:testing)
Conf libklibc (1.5.12-2 Debian:testing)
Conf klibc-utils (1.5.12-2 Debian:testing)
Conf libcups2 (1.3.8-1 Debian:testing)
Conf libilmbase6 (1.0.1-2+nmu2 Debian:testing)
Conf libnss3-1d (3.12.0-5 Debian:testing)
Conf libopenhpi2 (2.12.0-1 Debian:testing)
Conf libperl5.10 (5.10.0-13 Debian:testing)
Conf openssl (0.9.8g-13 Debian:testing)
Conf python2.5-minimal (2.5.2-11 Debian:testing)
Conf python2.5 (2.5.2-11 Debian:testing)
Conf grub-common (1.96+20080724-8 Debian:testing)
Conf grub-pc (1.96+20080724-8 Debian:testing)
Conf grub2 (1.96+20080724-8 Debian:testing)
Conf postfix (2.5.4-1 Debian:testing)
Conf postfix-mysql (2.5.4-1 Debian:testing)
This is the output trying to remove openhpid:-

Code:
rufus-maximus:~# apt-get remove openhpid
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED
  openhpid
0 upgraded, 0 newly installed, 1 to remove and 40 not upgraded.
31 not fully installed or removed.
After this operation, 446kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 51547 files and directories currently installed.)
Removing openhpid ...
Stopping openhpid: /usr/sbin/invoke-rc.d: line 437: 13025 Terminated              "${INITDPREFIX}${INITSCRIPTID}" "${saction}" "$@"
invoke-rc.d: initscript openhpid, action "stop" failed.
dpkg: error processing openhpid (--remove):
 subprocess pre-removal script returned error exit status 143
Starting openhpid: success.
Errors were encountered while processing:
 openhpid
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nothing worked! Really annoying me now! Applied some brute force instead

Code:
# find / -name '*openhpid*' -exec rm -rf {} \;
I was then able to apt-get the rest of the upgrade.

Thanks for your contribution

Regards.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace 'etch' with 'testing' in /etc/apt/sources.list to track 'testing' branch? Akhran Debian 3 04-09-2007 10:45 AM
apt-setup under debian testing MacHamster Debian 1 09-06-2006 05:49 AM
How to configure apt at the mometn of the debian-testing istallation? othar Debian 3 06-26-2006 04:40 PM
Odd compile error on Debian Testing goofy871 Debian 3 03-13-2005 08:56 PM
Error installing debian Sarge testing acetone802000 Debian 5 10-21-2003 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration