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.
grep -r "^deb " /etc/apt/ --include="*.list"
and upload output to pastebin. Thest-stlink-udev-rules
packages was probably installed for STM32 microcontrollers. Do you plan to use them in near future? – N0rbert Sep 28 '21 at 16:58Output:
– Buket Sep 29 '21 at 05:18/etc/apt/sources.list:deb http://tr.archive.ubuntu.com/ubuntu/ hirsute main universe