broken count - cannot remove package

Bug #369373 reported by roger puchalski on 2009-04-29
Affects Status Importance Assigned to Milestone
schooltool (Ubuntu)
Gediminas Paulauskas

Bug Description

While in the process of upgrading to Jaunty, I received a broken count error.
The guilty package is schooltool 2007 which I downloaded did not think I had installed.
Error: BrokenCount >0
The synaptic package manager gives this response:
E:schooltool-2007: subprocess pre-removal scrpit returned error exit status 2.

The detailed report is
.: 7: Can't open /usr/share/schooltool -common/init.d-script
dpkg: error processing schooltool-2007, action "stop" failed
subprocess pre-removal script returned error exit status 2
update-rc.d: warning: /etc/init.d/schooltool-2007 missing LSB informaiton

I have also generated this message on unmet dependencies
Depends: python-schooltool it is not installable

updates and downloaded but not installable and I cannot add or delete applications.
Any help would be appreciated.

Gediminas Paulauskas (menesis) wrote :

Open /etc/init.d/schooltool-2007 script and change "stop" action to do nothing. I think you can simply delete the contents of the file except the first line. Then "stop" would succeed and the package can be removed:
dpkg --purge schooltool-2007

Changed in schooltool (Ubuntu):
assignee: nobody → Gediminas Paulauskas (menesis)
status: New → Incomplete
Changed in schooltool (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers