V
V
viktorsmerdin2021-03-03 16:08:11
Command line
viktorsmerdin, 2021-03-03 16:08:11

Linux Mint: giving an error when entering commands in the terminal?

After installing from the yandex-disk repository, the command line stopped working, gives errors:
E: Unknown type ""deb" in line 2 in the source list /etc/apt/sources.list.d/yandex-disk.list
E: Failed to read list of sources.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cunning Fox, 2021-03-08
@Cunning_Fox

sudo rm /var/lib/apt/lists/* -vf
After finishing typing the command, press the Enter key. When prompted for a password, you will be prompted to enter your password. Your password characters will not be displayed in any way, and this is normal. After entering the password, press the Enter key again.
Now you should get the new lists of software packages from the Internet by typing the following command in a terminal (also use the copy/paste functions):
sudo apt-get update
After finishing typing the command, press the Enter key to execute it. The problem must be solved.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question