Thursday, March 8, 2018

repository - Cannot update or install anything


This is my third day on Ubuntu and i already did a mistake.
Whenever i try to update and type "sudo apt-get update "it says "E: Type '“deb' is not known on line 1 in source list /etc/apt/sources.list.d/balena-etcher.list
E: The list of sources could not be read."
I already removed the balenaEtcher repository from the Other software tab in the Software & Update



Have you tried just removing the file it references (using the command line and sudo)?


sudo rm /etc/apt/sources.list.d/balena-etcher.list

If you remove this file, it may then 'just work'.


Even if it's 'disabled' in the GUI sometimes it doesn't properly adjust the files. Removing the list will actually remove it from the GUI as well, and if it's disabled there's no harm in removing the file.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...