1

I just started using Ubuntu and I got an error like this after downloading a program. I can't fix this error. I can't update or when I want to do any download I am getting this:

Reading package lists... Done
Creating dependency tree... Done
Reading status info... Done
E: The package st-stlink-udev-rules needs to be reinstalled, but the required archive file cannot be found. 

I think I also corrupted the sources.list file while trying to fix this. I need to install a few programs but I can't download anything including updates. Also I don't know how to download the st-stlink-udev-rules package. Since I am in the middle of a very important job, I need to fix this error without reinstalling the system.

Buket
  • 11
  • 3

1 Answers1

0

I fixed with this command:

sudo dpkg --remove --force-remove-reinstreq st-stlink-udev-rules
Buket
  • 11
  • 3