Author Topic: Removing Broken Package with Brute Force  (Read 837 times)

b18b

  • Guest
Removing Broken Package with Brute Force
« on: October 09, 2009, 06:36:38 AM »
I recently had a fresh install of PCLOS 2009.2, then updated to KDE4.  I think the repository servers were out of sync so I think I enabled more than one, resulting in problems.  << lesson: do not enable more than one repository!

Anyway I ended up with a broken package that could not be fixed or removed either from the command line or Synaptic.  Had something to do with a scriptlet failed error:

Quote
[root@localhost ~]# apt-get remove bluez-utils                    
Reading Package Lists... Done                                      
Building Dependency Tree... Done
The following packages will be REMOVED:
  bluez-utils
0 upgraded, 0 newly installed, 1 removed and 0 not upgraded.
Need to get 0B of archives.
After unpacking 1736kB disk space will be freed.
Do you want to continue? [Y/n] Y
Committing changes...
Preparing                                ############################## [100%]
error reading information on service bluetooth: No such file or directory
error reading information on service dund: No such file or directory
error reading information on service hidd: No such file or directory
error reading information on service pand: No such file or directory
error: %preun(bluez-utils-4.34-7pclos2009.i586) scriptlet failed, exit status 1
Cleaning up / removing
  bluez-utils-4.34-7pclos2009.i586       ############################## [100%]
error reading information on service bluetooth: No such file or directory
error reading information on service hidd: No such file or directory
error reading information on service dund: No such file or directory
error reading information on service pand: No such file or directory
error: %trigger(bluez-utils-4.34-7pclos2009.i586) scriptlet failed, exit status 1
Done.
W: Some errors occurred while running transaction


Searching through the forum provided no insight on how to fix.  Waited a couple of days for the repositories to stabilize and sync, but this package continued to cause problems.

Searching Google brought me to this -> http://www.linuxquestions.org/questions/linux-software-2/apt-get-upgrade-problems-216962/#post1106160/

Here were my results:

Quote
[root@localhost ~]# rpm -e --nodeps --allmatches --noscripts bluez-utils

Quote
[root@localhost ~]# apt-get remove bluez-utils
Reading Package Lists... Done
Building Dependency Tree... Done
Package bluez-utils is not installed, so not removed
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
« Last Edit: October 09, 2009, 06:41:40 AM by rustynail »

international

  • Guest
Re: Removing Broken Package with Brute Force
« Reply #1 on: February 17, 2010, 06:49:42 AM »
Can a moderator get in touch with me.  I have looked in the "How to get started" section and in the "FAQ" section, but no where does it tell me where to click-on so that I might post a question, in a forum in order that some-one might help me out.

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1627
  • UK MLU
Re: Removing Broken Package with Brute Force
« Reply #2 on: February 17, 2010, 07:25:02 AM »
Hi Milan,
To post a question, just go to the forum you want to ask your question in (e.g. HD Installation) and then click on New Topic at the top of the topic list on the right hand side of the screen.

Regards
Andy


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE