While installing Arc theme I mistyped the word "deb" to "dep" and now I'm getting errors [duplicate]

sudo sh -c "echo 'deb /' >> /etc/apt/sources.list.d/arc-theme.list"
sudo apt-get update
sudo apt-get install arc-theme

After this I am getting this error in Synaptic:

E: Type 'dep' is not known on line 1 in source list /etc/apt/sources.list.d/arc-theme.list
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.

I can't even carry out any updates.

0

1 Answer

Open up the terminal and type:

gksu gedit /etc/apt/sources.list.d/arc-theme.list

This will open up the file in gedit.
Find (Ctrl + F) the line with the dep entry and delete it.
Save file and close gedit. Then try updating again.

1

You Might Also Like