LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 04-10-2018, 11:47 PM   #1
ronanstis
LQ Newbie
 
Registered: Dec 2016
Posts: 10

Rep: Reputation: Disabled
Update Errors


I run a Dual-boot Linux Mint 18.3 / Win7 system, and, lately in Linux, updating ends with the following error message:

"Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2Target Translations (main/i18n/Translation-en_AU) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2"

The download seems to proceed normally, and the packages seem to install normally. I will also occasionally get a message "unable to refresh the list of updates" (a red cross on the taskbar icon), but, if you open the update window and ask it to refresh the list, it does so normally except for the above error messages.
Can I get rid of these "multiple configurations" and, therefore, the error message, and, if so, how?
 
Old 04-11-2018, 12:10 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Can you post the sources.list ?
 
Old 04-11-2018, 12:17 AM   #3
ronanstis
LQ Newbie
 
Registered: Dec 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Dear Keruskerfuerst,
Yes, I will post sources.list, if I know what it is and where to find it.
Thanks,
Ron Anstis.
 
Old 04-11-2018, 06:22 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moderator response

Moved: This thread is more suitable in <Linux Mint> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 04-14-2018, 01:28 AM   #5
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
I think sources.list can be found here: /etc/apt/sources.list.
 
Old 04-14-2018, 01:57 AM   #6
ronanstis
LQ Newbie
 
Registered: Dec 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Dear Keruskerfuerst,
I have tried every way I can think of to access /etc/apt/sources.list. but all I get is answers as follows:
/etc/apt/sources.list.
bash: etc/apt/sources.list: No such file or directory

or,
ls /etc/apt/sources.list.
ls: cannot access '/etc/apt/sources.list.': No such file or directory

Do you know what other command I could use to try to access the file?
 
Old 04-14-2018, 03:27 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
In Ubuntu and Mint, /etc/apt/sources.list can be read (and edited) "with sudo" and an editor.

Examples :
$ sudo gedit /etc/apt/sources.list
$ sudo leafpad /etc/apt/sources.list
 
Old 04-14-2018, 04:27 AM   #8
ronanstis
LQ Newbie
 
Registered: Dec 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Keruskerfuerst and knudfl,

gedit and leafpad didn't work, but xed gave me the following: "#deb cdrom:[Linux Mint 18.3 _Sylvia_ - Release amd64 20171124]/ xenial contrib main non-free".. Does this help?
 
Old 04-14-2018, 06:29 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #8.

One line ? The hash mark (#) means that the "cdrom" is commented out.

The /etc/apt/sources.list must be like
Code:
deb http://packages.linuxmint.com sylvia main upstream import backport

deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ xenial partner
Ref. https://sites.google.com/site/easyli...ject/reserve-8
... Edit, and run 'sudo apt update'

-
 
Old 04-14-2018, 11:07 PM   #10
ronanstis
LQ Newbie
 
Registered: Dec 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
To Keruskerfuerst and knudfl,
Thank you so much for your help - this one was truly beyond me!! I have followed the instructions on knudfl's last post, and found the posted web reference to be most helpful, and, after following the instructions, updating and installing the new kernel, all seems to be well, though I have only gone through one update. I'll keep an eye on it, but it is working at the moment!
 
Old 04-14-2018, 11:59 PM   #11
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Your question shows me, that you are not very experienced with Linux.
Just read the error output.

And try to solve with searching in Inet and Goooogle.
Next ask the question here.

And: search for Ubuntu book in the internet or buy a actual Ubuntu book.

Last edited by Keruskerfuerst; 04-15-2018 at 03:07 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update Errors Caltrop Linux Mint 1 01-10-2018 02:52 PM
Yum errors after failed update through Software Update whitesleeve Fedora 1 07-24-2011 03:02 AM
yum update transaction check errors & mirror errors tonycunn Linux - Software 2 11-29-2010 08:16 AM
apt-get update: Sources.bz2 Hash Sum mismatch, aptitude update: no errors Aidin Sabetian Linux - Software 7 08-11-2010 06:33 PM
update errors gibbylinks Fedora 3 11-12-2003 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration