Synaptic and Repos produce errors (Solved)
Forum rules
Before you post please read how to get help
Before you post please read how to get help
Synaptic and Repos produce errors (Solved)
Running LM17 with 'mate'
I have had a few updates but then they stopped and when I tried to add some software from Synaptics I get the following
E: Type 'chris/home/download' is not known on line 1 in source list /etc/apt/sources.list.d/additional-repositories.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.
Only option is to "Close"
when I use terminal command, inxi -r I get the following
Repos: Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
chris/home/download
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://packages.linuxmint.com qiana main upstream import
deb http://extra.linuxmint.com qiana main
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner
If you can assist please advise...
Thanks
I have had a few updates but then they stopped and when I tried to add some software from Synaptics I get the following
E: Type 'chris/home/download' is not known on line 1 in source list /etc/apt/sources.list.d/additional-repositories.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.
Only option is to "Close"
when I use terminal command, inxi -r I get the following
Repos: Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
chris/home/download
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://packages.linuxmint.com qiana main upstream import
deb http://extra.linuxmint.com qiana main
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner
If you can assist please advise...
Thanks
Last edited by Chrisnz on Sat Sep 27, 2014 4:55 pm, edited 1 time in total.
Re: Synaptic and Repos produce errors
Hi,
let's try to clear the local cache first
then
let's try to clear the local cache first
Code: Select all
sudo rm /var/lib/apt/lists/* -vf
Code: Select all
sudo apt-get update
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)
Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)
Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
Re: Synaptic and Repos produce errors
This won't fix anything. After running the last command he will still get error message. You didn't read the output of inxi -r carefully. The line that causes the problem is fixed in the source list.PatH57 wrote: let's try to clear the local cache firstthenCode: Select all
sudo rm /var/lib/apt/lists/* -vf
Code: Select all
sudo apt-get update
@ Chrisnz:
How did this get in your source list? This causes your problem. Remove this line from your source list and then run the sudo apt-get update command in a terminal.E: Type 'chris/home/download' is not known on line 1 in source list /etc/apt/sources.list.d/additional-repositories.list
Repos: Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
chris/home/download <<== REMOVE THIS LINE
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://packages.linuxmint.com qiana main upstream import
deb http://extra.linuxmint.com qiana main
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner
Re: Synaptic and Repos produce errors
sorry didn't read it correctly.
you probably did try to manually or using gedit install a deb you downloaded (witch explains the chris/home/download ) that's why the line was added by mistake to your additional-repositories.list
just remove it and do a
you probably did try to manually or using gedit install a deb you downloaded (witch explains the chris/home/download ) that's why the line was added by mistake to your additional-repositories.list
just remove it and do a
Code: Select all
sudo apt-get update
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)
Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)
Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
Re: Synaptic and Repos produce errors
I have i same problem and i think this will fix it but I don't know how to delete it. Can you give me the command to be able to edit the line?
Thanks
Thanks
Re: Synaptic and Repos produce errors
better would be to post the error to make sure as you don't seem to have a lot of experience with linux.
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)
Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)
Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
Re: Synaptic and Repos produce errors
E: Type 'olive' is not known on line 1 in source list /etc/apt/sources.list.d/additional-repositories.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.
This is the error I'm getting. I have no problem opening a terminal as long as I have good instructions.
Thanks
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.
This is the error I'm getting. I have no problem opening a terminal as long as I have good instructions.
Thanks
Re: Synaptic and Repos produce errors
With LM 17 Mate you can open the file with Pluma editor using this command in Terminal...Chrisnz wrote:E: Type 'chris/home/download' is not known on line 1 in source list /etc/apt/sources.list.d/additional-repositories.list
Code: Select all
sudo pluma /etc/apt/sources.list.d/additional-repositories.list
Code: Select all
sudo apt-get update
"There is no gravity, the earth sucks." - Issac Newton @ 75
KDE & Cinnamon 18.1 & Win 10 - ASUS M5A99FX PRO MB, AMD FX-8370 Octo-Core CPU, 16GB RAM, AMD Radeon R7 240
KDE & Cinnamon 18.1 & Win 10 - ASUS M5A99FX PRO MB, AMD FX-8370 Octo-Core CPU, 16GB RAM, AMD Radeon R7 240
Re: Synaptic and Repos produce errors
I'm running LM17 Cinnamon, same instructions?
Re: Synaptic and Repos produce errors
same instructions if it doesn't open a text editor change pluma for leafpad or gedit (all are text editors)
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)
Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)
Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
Re: Synaptic and Repos produce errors
WORKED!!!!!! Thank you so much.
Re: Synaptic and Repos produce errors
@ Chrisnz:
Repos: Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
chris/home/download <<== REMOVE THIS LINE
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://packages.linuxmint.com qiana main upstream import
deb http://extra.linuxmint.com qiana main
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner[/quote]
Yes I agree - and ... no idea how the download folder got into the source lists!!
Will try your fix and post asap.
Thanks
How did this get in your source list? This causes your problem. Remove this line from your source list and then run the sudo apt-get update command in a terminal.E: Type 'chris/home/download' is not known on line 1 in source list /etc/apt/sources.list.d/additional-repositories.list
Repos: Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
chris/home/download <<== REMOVE THIS LINE
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://packages.linuxmint.com qiana main upstream import
deb http://extra.linuxmint.com qiana main
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner[/quote]
Yes I agree - and ... no idea how the download folder got into the source lists!!
Will try your fix and post asap.
Thanks
Re: Synaptic and Repos produce errors
Thanks everyone.
to Gtsfer
Yes - edited the first file, the 2nd file was ok, updating with out any error messages.
Solved with thanks.
to Gtsfer
Yes - edited the first file, the 2nd file was ok, updating with out any error messages.
Solved with thanks.
Re: Synaptic and Repos produce errors
happens only if you try to add ppa without using synaptic and doing a "how to" found somewhere with google. (and of course being in your home folder)no idea how the download folder got into the source lists!!
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)
Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)
Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
Re: Synaptic and Repos produce errors
No problem, glad it worked. Can you edit you first post and add SOLVED in the subject line?Chrisnz wrote:Solved with thanks.
"There is no gravity, the earth sucks." - Issac Newton @ 75
KDE & Cinnamon 18.1 & Win 10 - ASUS M5A99FX PRO MB, AMD FX-8370 Octo-Core CPU, 16GB RAM, AMD Radeon R7 240
KDE & Cinnamon 18.1 & Win 10 - ASUS M5A99FX PRO MB, AMD FX-8370 Octo-Core CPU, 16GB RAM, AMD Radeon R7 240