Answers for "the package needs to be reinstalled but i can't find an archive for it"

1

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

Start with:

sudo dpkg --remove --force-all package_name

If that fails:

sudo rm -i /var/lib/dpkg/info/package_name.*
sudo dpkg --remove --force-remove-reinstreq package_name

Confirm Apt is fixed. The following command should return no errors:

sudo apt-get update
Posted by: Guest on May-21-2021
0

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

run the following commond on the terminal 

1)sudo cp /var/lib/dpkg/status status.bkp

2)sudo gedit /var/lib/dpkg/status

3)then Search for the package name that appears in the error. 
Note that, in our case the culprit package was ‘flectra’ which was in 
‘purge reinstreq half-installed’ state. After you have located the
culprit package, delete the section of information related to that
package and save the file.
In our case, we deleted the section related to ‘flectra’ 
inside the rectangle and saved the file. 
Close ‘gedit’ when done.

then try to install the pakage you want to install and you fill find no
error now :)
Posted by: Guest on May-03-2021

Code answers related to "the package needs to be reinstalled but i can't find an archive for it"

Browse Popular Code Answers by Language