An error occurred,

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
letellier
Level 1
Level 1
Posts: 5
Joined: Wed Apr 18, 2018 7:11 pm

An error occurred,

Post by letellier » Wed Apr 18, 2018 7:47 pm

please run Package Manager from the right-click menu or apt- get in a terminal to see what is wrong. The error message was: 'Error:Opening the cache (E:Type '"deb'is not known on line 1 in source list /etc/apt/sources.list.d/mono-xamarin.list,E:The list of sources could not be read.)'. This usually means that your installed packages have unmet dependencies

User avatar
WharfRat
Level 20
Level 20
Posts: 11373
Joined: Thu Apr 07, 2011 8:15 pm

Re: An error occurred,

Post by WharfRat » Wed Apr 18, 2018 8:14 pm

Hello letellier Image

Welcome to Linux Mint and the Linux Mint forum :)

Something happened to your repo list.

Open the terminal and paste back the results of inxi -r
ImageImage

letellier
Level 1
Level 1
Posts: 5
Joined: Wed Apr 18, 2018 7:11 pm

Re: An error occurred,

Post by letellier » Wed Apr 18, 2018 8:34 pm

Repos: Active apt sources in file: /etc/apt/sources.list
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
Active apt sources in file: /etc/apt/sources.list.d/embrosyn-ubuntu-cinnamon-xenial.list
deb http://ppa.launchpad.net/embrosyn/cinnamon/ubuntu xenial main
Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
Active apt sources in file: /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main
Active apt sources in file: /etc/apt/sources.list.d/mono-xamarin.list
deb http://download.mono-project.com/repo/debian wheezy main
Active apt sources in file: /etc/apt/sources.list.d/numix-ubuntu-ppa-xenial.list
deb http://ppa.launchpad.net/numix/ppa/ubuntu xenial main
Active apt sources in file: /etc/apt/sources.list.d/plexapp-ubuntu-plexht-xenial.list
deb http://ppa.launchpad.net/plexapp/plexht/ubuntu xenial main
Active apt sources in file: /etc/apt/sources.list.d/sonarr.list
“deb http://apt.sonarr.tv/ master main”
Active apt sources in file: /etc/apt/sources.list.d/spotify.list
deb http://repository.spotify.com stable non-free
Active apt sources in file: /etc/apt/sources.list.d/team-xbmc-ubuntu-ppa-xenial.list
deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu xenial main

User avatar
WharfRat
Level 20
Level 20
Posts: 11373
Joined: Thu Apr 07, 2011 8:15 pm

Re: An error occurred,

Post by WharfRat » Wed Apr 18, 2018 9:17 pm

I don't see anything wrong with that entry.

Try commenting that line and do what you did before that caused the error.
ImageImage

letellier
Level 1
Level 1
Posts: 5
Joined: Wed Apr 18, 2018 7:11 pm

Re: An error occurred,

Post by letellier » Wed Apr 18, 2018 9:44 pm

sudo apt-get update
[sudo] password for karen:
E: Type '“deb' is not known on line 1 in source list /etc/apt/sources.list.d/sonarr.list
E: The list of sources could not be read.
karen@karen-KC836AV-ABA-d4999t:~$

User avatar
WharfRat
Level 20
Level 20
Posts: 11373
Joined: Thu Apr 07, 2011 8:15 pm

Re: An error occurred,

Post by WharfRat » Wed Apr 18, 2018 9:51 pm

I didn't notice the quotes in that repo

Active apt sources in file: /etc/apt/sources.list.d/sonarr.list
deb http://apt.sonarr.tv/ master main

Remove the quotes and try it again.
ImageImage

letellier
Level 1
Level 1
Posts: 5
Joined: Wed Apr 18, 2018 7:11 pm

Re: An error occurred,

Post by letellier » Wed Apr 18, 2018 10:07 pm

/etc/apt/sources.list.d/sonarr.list
bash: /etc/apt/sources.list.d/sonarr.list: Permission denied

User avatar
WharfRat
Level 20
Level 20
Posts: 11373
Joined: Thu Apr 07, 2011 8:15 pm

Re: An error occurred,

Post by WharfRat » Wed Apr 18, 2018 10:08 pm

Use gksudo xed /etc/apt/sources.list.d/sonarr.list&
ImageImage

letellier
Level 1
Level 1
Posts: 5
Joined: Wed Apr 18, 2018 7:11 pm

Re: An error occurred,

Post by letellier » Wed Apr 18, 2018 10:21 pm

Hi,
It ask me for administrative password; which I did but I don't know what to do from there.

Thanks.

User avatar
WharfRat
Level 20
Level 20
Posts: 11373
Joined: Thu Apr 07, 2011 8:15 pm

Re: An error occurred,

Post by WharfRat » Wed Apr 18, 2018 11:12 pm

Just remove the quotes and save the file.
ImageImage

Post Reply

Return to “Newbie Questions”