update manager does not deal with packages in "reinstreq" state

Bug #178905 reported by john Callon on 2007-12-27
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)

Bug Description

full error message:-
An unresolvable problem occurred while initialising the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:The package hl1440lpr needs to be reinstalled, but I can't find an archive for it.'

I had recently upgraded the drivers for the Brother hl 1440 printer, which is working.

john Callon (john-callon) wrote :

Opening synaptic Package manager to uninstall or reinstall the package results in the following error:-
E: The package hl1440lpr needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache (1). Please report.
Tried installing using dpkg - resulted in the following errors:-
root@del-desktop:/home/del/Desktop# dpkg -i hl1440lpr-1.1.2-1.i386.deb
(Reading database ... 141503 files and directories currently installed.)
Preparing to replace hl1440lpr 1.1.2-1 (using hl1440lpr-1.1.2-1.i386.deb) ...
Unpacking replacement hl1440lpr ...
/var/lib/dpkg/info/hl1440lpr.postrm: 3: /etc/init.d/lpd: not found
dpkg: warning - old post-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: 3: /etc/init.d/lpd: not found
dpkg: error processing hl1440lpr-1.1.2-1.i386.deb (--install):
 subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: 3: /etc/init.d/lpd: not found
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
Using the package installer results in the following errors:-
The package might be corrupted or you are not allowed to open the file:please check the permissions of the file
ls -l show the package as -rwxrwxrwz
re downloaded the package with same results
I am in the process of contacting Brother re the package.

Michael Vogt (mvo) on 2008-01-09
Changed in update-manager:
importance: Undecided → Low
status: New → Confirmed
Koen Beek (koen-beek) wrote :

A question has been opened about the same issue https://answers.launchpad.net/ubuntu/+question/22818

Koen Beek (koen-beek) wrote :

the postrm script does the following :

# ESP Package Manager v3.5.1
/etc/init.d/lpd restart

so I'd suggest doing the following (if ls -l /etc/init.d/lpd says No such file or directory before doing all this !)

echo "echo" | sudo tee -a /etc/init.d/lpd
sudo chmod 777 /etc/init.d/lpd
sudo apt-get purge hl1440lpr
sudo rm /etc/init.d/lpd

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers