Apt/Synaptic needs to reinstall package but can't find the archive for it
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
23
down vote
favorite
Running Synaptic I get the following error message:
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.
Upon accepting the message, Synaptic quits.
apt package-management synaptic
add a comment |Â
up vote
23
down vote
favorite
Running Synaptic I get the following error message:
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.
Upon accepting the message, Synaptic quits.
apt package-management synaptic
3
What set of instructions / web site were you following and what problem were you having ?
â Panther
Dec 17 '11 at 5:29
Related: Fix half-installed package, How to fix âÂÂPackage is in a very bad inconsistent stateâ error?
â Eliah Kagan
Oct 13 '17 at 13:21
add a comment |Â
up vote
23
down vote
favorite
up vote
23
down vote
favorite
Running Synaptic I get the following error message:
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.
Upon accepting the message, Synaptic quits.
apt package-management synaptic
Running Synaptic I get the following error message:
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.
Upon accepting the message, Synaptic quits.
apt package-management synaptic
edited Jun 20 '17 at 17:02
Anwar
54.2k20143248
54.2k20143248
asked Dec 17 '11 at 5:07
David
126113
126113
3
What set of instructions / web site were you following and what problem were you having ?
â Panther
Dec 17 '11 at 5:29
Related: Fix half-installed package, How to fix âÂÂPackage is in a very bad inconsistent stateâ error?
â Eliah Kagan
Oct 13 '17 at 13:21
add a comment |Â
3
What set of instructions / web site were you following and what problem were you having ?
â Panther
Dec 17 '11 at 5:29
Related: Fix half-installed package, How to fix âÂÂPackage is in a very bad inconsistent stateâ error?
â Eliah Kagan
Oct 13 '17 at 13:21
3
3
What set of instructions / web site were you following and what problem were you having ?
â Panther
Dec 17 '11 at 5:29
What set of instructions / web site were you following and what problem were you having ?
â Panther
Dec 17 '11 at 5:29
Related: Fix half-installed package, How to fix âÂÂPackage is in a very bad inconsistent stateâ error?
â Eliah Kagan
Oct 13 '17 at 13:21
Related: Fix half-installed package, How to fix âÂÂPackage is in a very bad inconsistent stateâ error?
â Eliah Kagan
Oct 13 '17 at 13:21
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
50
down vote
Well we may need a few steps to fix this.
Start with
sudo dpkg --remove --force-all hl1440lpr
If that fails ...
# become root
sudo -i
cd /var/lib/dpkg/info
rm -rf hl1440lpr*
dpkg --remove --force-remove-reinstreq hl1440lpr
exit
Confirm apt-get is fixed
# should return no errors
sudo apt-get update
I ran into this situation when I was upgrading to Ubuntu 12.10 but accidently suspended the computer midway. Upon waking the computer, the upgrade had (obviously) failed and a red icon appeared next to the battery meter which said thatE:The package xterm needs to be reinstalled, but I can't find an archive for it.
Once I applied the suggestion here,sudo dpkg --remove --force-all xterm
everything was fixed. Thanks! ps, it would be nice if you could editsodo
to saysudo
, I wouldn't nitpick but that would derail someone who didn't know anything about linux.
â dylan murphy
Oct 23 '12 at 21:55
1
Thank you bodhi.zazen. Your solution worked for my faulty brother-driver; dcpj4110dwlpr.
â v2r
Dec 27 '14 at 20:01
Perfect! First solution failed and hanged the process, but second one worked. Thanks! (tried on debian server)
â Shautieh
Jul 31 '15 at 18:00
add a comment |Â
up vote
6
down vote
It turns out, this wouldn't repair using the regular commands because I had disabled the multiverse
repository in the software and updates window, after installing the package.
I read to do this in a post somewhere else, and it wasn't until another post I read that had me double check to make sure it was ENABLED, then I realized I never should have disabled that in the first place.
Enabling the multiverse repository again enabled me to reinstall the package.
So, generally if this sorts of errors happen, make sure you haven't disabled the software source from which this package comes.
add a comment |Â
up vote
3
down vote
dpkg --remove --force-remove-reinstreq broken---stuff
(plus file erasing)
works like a charm. synaptic should offer this function instead of dying and leaving people with a huge mess. synaptic is not user friendly.
1
you have to be careful with this command, depending on what you are removing, it could cascade into removing your entire desktop.
â ravery
Jul 5 '17 at 16:44
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
50
down vote
Well we may need a few steps to fix this.
Start with
sudo dpkg --remove --force-all hl1440lpr
If that fails ...
# become root
sudo -i
cd /var/lib/dpkg/info
rm -rf hl1440lpr*
dpkg --remove --force-remove-reinstreq hl1440lpr
exit
Confirm apt-get is fixed
# should return no errors
sudo apt-get update
I ran into this situation when I was upgrading to Ubuntu 12.10 but accidently suspended the computer midway. Upon waking the computer, the upgrade had (obviously) failed and a red icon appeared next to the battery meter which said thatE:The package xterm needs to be reinstalled, but I can't find an archive for it.
Once I applied the suggestion here,sudo dpkg --remove --force-all xterm
everything was fixed. Thanks! ps, it would be nice if you could editsodo
to saysudo
, I wouldn't nitpick but that would derail someone who didn't know anything about linux.
â dylan murphy
Oct 23 '12 at 21:55
1
Thank you bodhi.zazen. Your solution worked for my faulty brother-driver; dcpj4110dwlpr.
â v2r
Dec 27 '14 at 20:01
Perfect! First solution failed and hanged the process, but second one worked. Thanks! (tried on debian server)
â Shautieh
Jul 31 '15 at 18:00
add a comment |Â
up vote
50
down vote
Well we may need a few steps to fix this.
Start with
sudo dpkg --remove --force-all hl1440lpr
If that fails ...
# become root
sudo -i
cd /var/lib/dpkg/info
rm -rf hl1440lpr*
dpkg --remove --force-remove-reinstreq hl1440lpr
exit
Confirm apt-get is fixed
# should return no errors
sudo apt-get update
I ran into this situation when I was upgrading to Ubuntu 12.10 but accidently suspended the computer midway. Upon waking the computer, the upgrade had (obviously) failed and a red icon appeared next to the battery meter which said thatE:The package xterm needs to be reinstalled, but I can't find an archive for it.
Once I applied the suggestion here,sudo dpkg --remove --force-all xterm
everything was fixed. Thanks! ps, it would be nice if you could editsodo
to saysudo
, I wouldn't nitpick but that would derail someone who didn't know anything about linux.
â dylan murphy
Oct 23 '12 at 21:55
1
Thank you bodhi.zazen. Your solution worked for my faulty brother-driver; dcpj4110dwlpr.
â v2r
Dec 27 '14 at 20:01
Perfect! First solution failed and hanged the process, but second one worked. Thanks! (tried on debian server)
â Shautieh
Jul 31 '15 at 18:00
add a comment |Â
up vote
50
down vote
up vote
50
down vote
Well we may need a few steps to fix this.
Start with
sudo dpkg --remove --force-all hl1440lpr
If that fails ...
# become root
sudo -i
cd /var/lib/dpkg/info
rm -rf hl1440lpr*
dpkg --remove --force-remove-reinstreq hl1440lpr
exit
Confirm apt-get is fixed
# should return no errors
sudo apt-get update
Well we may need a few steps to fix this.
Start with
sudo dpkg --remove --force-all hl1440lpr
If that fails ...
# become root
sudo -i
cd /var/lib/dpkg/info
rm -rf hl1440lpr*
dpkg --remove --force-remove-reinstreq hl1440lpr
exit
Confirm apt-get is fixed
# should return no errors
sudo apt-get update
edited Dec 11 '12 at 22:02
answered Dec 17 '11 at 5:28
![](https://i.stack.imgur.com/Hec4G.png?s=32&g=1)
![](https://i.stack.imgur.com/Hec4G.png?s=32&g=1)
Panther
74.7k10149256
74.7k10149256
I ran into this situation when I was upgrading to Ubuntu 12.10 but accidently suspended the computer midway. Upon waking the computer, the upgrade had (obviously) failed and a red icon appeared next to the battery meter which said thatE:The package xterm needs to be reinstalled, but I can't find an archive for it.
Once I applied the suggestion here,sudo dpkg --remove --force-all xterm
everything was fixed. Thanks! ps, it would be nice if you could editsodo
to saysudo
, I wouldn't nitpick but that would derail someone who didn't know anything about linux.
â dylan murphy
Oct 23 '12 at 21:55
1
Thank you bodhi.zazen. Your solution worked for my faulty brother-driver; dcpj4110dwlpr.
â v2r
Dec 27 '14 at 20:01
Perfect! First solution failed and hanged the process, but second one worked. Thanks! (tried on debian server)
â Shautieh
Jul 31 '15 at 18:00
add a comment |Â
I ran into this situation when I was upgrading to Ubuntu 12.10 but accidently suspended the computer midway. Upon waking the computer, the upgrade had (obviously) failed and a red icon appeared next to the battery meter which said thatE:The package xterm needs to be reinstalled, but I can't find an archive for it.
Once I applied the suggestion here,sudo dpkg --remove --force-all xterm
everything was fixed. Thanks! ps, it would be nice if you could editsodo
to saysudo
, I wouldn't nitpick but that would derail someone who didn't know anything about linux.
â dylan murphy
Oct 23 '12 at 21:55
1
Thank you bodhi.zazen. Your solution worked for my faulty brother-driver; dcpj4110dwlpr.
â v2r
Dec 27 '14 at 20:01
Perfect! First solution failed and hanged the process, but second one worked. Thanks! (tried on debian server)
â Shautieh
Jul 31 '15 at 18:00
I ran into this situation when I was upgrading to Ubuntu 12.10 but accidently suspended the computer midway. Upon waking the computer, the upgrade had (obviously) failed and a red icon appeared next to the battery meter which said that
E:The package xterm needs to be reinstalled, but I can't find an archive for it.
Once I applied the suggestion here, sudo dpkg --remove --force-all xterm
everything was fixed. Thanks! ps, it would be nice if you could edit sodo
to say sudo
, I wouldn't nitpick but that would derail someone who didn't know anything about linux.â dylan murphy
Oct 23 '12 at 21:55
I ran into this situation when I was upgrading to Ubuntu 12.10 but accidently suspended the computer midway. Upon waking the computer, the upgrade had (obviously) failed and a red icon appeared next to the battery meter which said that
E:The package xterm needs to be reinstalled, but I can't find an archive for it.
Once I applied the suggestion here, sudo dpkg --remove --force-all xterm
everything was fixed. Thanks! ps, it would be nice if you could edit sodo
to say sudo
, I wouldn't nitpick but that would derail someone who didn't know anything about linux.â dylan murphy
Oct 23 '12 at 21:55
1
1
Thank you bodhi.zazen. Your solution worked for my faulty brother-driver; dcpj4110dwlpr.
â v2r
Dec 27 '14 at 20:01
Thank you bodhi.zazen. Your solution worked for my faulty brother-driver; dcpj4110dwlpr.
â v2r
Dec 27 '14 at 20:01
Perfect! First solution failed and hanged the process, but second one worked. Thanks! (tried on debian server)
â Shautieh
Jul 31 '15 at 18:00
Perfect! First solution failed and hanged the process, but second one worked. Thanks! (tried on debian server)
â Shautieh
Jul 31 '15 at 18:00
add a comment |Â
up vote
6
down vote
It turns out, this wouldn't repair using the regular commands because I had disabled the multiverse
repository in the software and updates window, after installing the package.
I read to do this in a post somewhere else, and it wasn't until another post I read that had me double check to make sure it was ENABLED, then I realized I never should have disabled that in the first place.
Enabling the multiverse repository again enabled me to reinstall the package.
So, generally if this sorts of errors happen, make sure you haven't disabled the software source from which this package comes.
add a comment |Â
up vote
6
down vote
It turns out, this wouldn't repair using the regular commands because I had disabled the multiverse
repository in the software and updates window, after installing the package.
I read to do this in a post somewhere else, and it wasn't until another post I read that had me double check to make sure it was ENABLED, then I realized I never should have disabled that in the first place.
Enabling the multiverse repository again enabled me to reinstall the package.
So, generally if this sorts of errors happen, make sure you haven't disabled the software source from which this package comes.
add a comment |Â
up vote
6
down vote
up vote
6
down vote
It turns out, this wouldn't repair using the regular commands because I had disabled the multiverse
repository in the software and updates window, after installing the package.
I read to do this in a post somewhere else, and it wasn't until another post I read that had me double check to make sure it was ENABLED, then I realized I never should have disabled that in the first place.
Enabling the multiverse repository again enabled me to reinstall the package.
So, generally if this sorts of errors happen, make sure you haven't disabled the software source from which this package comes.
It turns out, this wouldn't repair using the regular commands because I had disabled the multiverse
repository in the software and updates window, after installing the package.
I read to do this in a post somewhere else, and it wasn't until another post I read that had me double check to make sure it was ENABLED, then I realized I never should have disabled that in the first place.
Enabling the multiverse repository again enabled me to reinstall the package.
So, generally if this sorts of errors happen, make sure you haven't disabled the software source from which this package comes.
edited Dec 13 '16 at 9:49
Anwar
54.2k20143248
54.2k20143248
answered Jun 16 '14 at 3:15
EmileBeaulieu
7613
7613
add a comment |Â
add a comment |Â
up vote
3
down vote
dpkg --remove --force-remove-reinstreq broken---stuff
(plus file erasing)
works like a charm. synaptic should offer this function instead of dying and leaving people with a huge mess. synaptic is not user friendly.
1
you have to be careful with this command, depending on what you are removing, it could cascade into removing your entire desktop.
â ravery
Jul 5 '17 at 16:44
add a comment |Â
up vote
3
down vote
dpkg --remove --force-remove-reinstreq broken---stuff
(plus file erasing)
works like a charm. synaptic should offer this function instead of dying and leaving people with a huge mess. synaptic is not user friendly.
1
you have to be careful with this command, depending on what you are removing, it could cascade into removing your entire desktop.
â ravery
Jul 5 '17 at 16:44
add a comment |Â
up vote
3
down vote
up vote
3
down vote
dpkg --remove --force-remove-reinstreq broken---stuff
(plus file erasing)
works like a charm. synaptic should offer this function instead of dying and leaving people with a huge mess. synaptic is not user friendly.
dpkg --remove --force-remove-reinstreq broken---stuff
(plus file erasing)
works like a charm. synaptic should offer this function instead of dying and leaving people with a huge mess. synaptic is not user friendly.
edited Sep 18 '15 at 21:50
![](https://i.stack.imgur.com/xdlU1.jpg?s=32&g=1)
![](https://i.stack.imgur.com/xdlU1.jpg?s=32&g=1)
BuZZ-dEE
8,775115069
8,775115069
answered Sep 18 '15 at 21:30
synaptic non lover
311
311
1
you have to be careful with this command, depending on what you are removing, it could cascade into removing your entire desktop.
â ravery
Jul 5 '17 at 16:44
add a comment |Â
1
you have to be careful with this command, depending on what you are removing, it could cascade into removing your entire desktop.
â ravery
Jul 5 '17 at 16:44
1
1
you have to be careful with this command, depending on what you are removing, it could cascade into removing your entire desktop.
â ravery
Jul 5 '17 at 16:44
you have to be careful with this command, depending on what you are removing, it could cascade into removing your entire desktop.
â ravery
Jul 5 '17 at 16:44
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f88371%2fapt-synaptic-needs-to-reinstall-package-but-cant-find-the-archive-for-it%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3
What set of instructions / web site were you following and what problem were you having ?
â Panther
Dec 17 '11 at 5:29
Related: Fix half-installed package, How to fix âÂÂPackage is in a very bad inconsistent stateâ error?
â Eliah Kagan
Oct 13 '17 at 13:21