I am getting the following in terminal after running apt-get update,
Packages. Linuxmint.com/olivia amd 64
Packages Linuxmint.com/olivia i386
along with the message duplicate package and to run apt-get update but this does not clear it
Please advise.
Duplicate sources.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Duplicate sources.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Duplicate sources.
Please run the following command on the terminal and share the output here (you can copy text from the terminal, see its Edit menu):
This will show us your system and repository configuration.
Code: Select all
inxi -Sr
Re: Duplicate sources.
Code: Select all
duncan@duncan-DESKTOP-PC ~ $ inxi -Sr
System: Host: duncan-DESKTOP-PC Kernel: 3.8.0-19-generic x86_64 (64 bit) Desktop: Gnome Distro: Linux Mint 15 Olivia
Repos: Active apt sources in file: /etc/apt/sources.list.d/cairo-dock-team-ppa-raring.list
deb http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu raring main
deb-src http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu raring main
Active apt sources in file: /etc/apt/sources.list.d/google-earth.list
deb http://dl.google.com/linux/earth/deb/ stable main
Active apt sources in file: /etc/apt/sources.list.d/mint.list
deb http://packages.linuxmint.com/ olivia import
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://packages.linuxmint.com olivia main upstream import #id:linuxmint_main
deb http://archive.ubuntu.com/ubuntu raring main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu raring-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ raring partner
Active apt sources in file: /etc/apt/sources.list.d/peterlevi-ppa-raring.list
deb http://ppa.launchpad.net/peterlevi/ppa/ubuntu raring main
deb-src http://ppa.launchpad.net/peterlevi/ppa/ubuntu raring main
duncan@duncan-DESKTOP-PC ~ $
Re: Duplicate sources.
Fetched 162 kB in 10s (14.9 kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://packages.linuxmint.com/ olivia/import amd64 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_olivia_import_binary-amd64_Packages)
W: Duplicate sources.list entry http://packages.linuxmint.com/ olivia/import i386 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_olivia_import_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
NB Except that running Apt-get update does not correct this.
PS Thanks for your response.
Reading package lists... Done
W: Duplicate sources.list entry http://packages.linuxmint.com/ olivia/import amd64 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_olivia_import_binary-amd64_Packages)
W: Duplicate sources.list entry http://packages.linuxmint.com/ olivia/import i386 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_olivia_import_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
NB Except that running Apt-get update does not correct this.
PS Thanks for your response.
Re: Duplicate sources.
The files /etc/apt/sources.list.d/mint.list and /etc/apt/sources.list.d/official-package-repositories.list both have an entry for the Linux Mint repository, conflicting. As I assume somehow that first file was added, as the latter file is the official one, please just remove that first file. You can do so with this command run from the terminal, which will ask for your password to confirm (note that you get no feedback from typing a password in the terminal):
Afterwards Update Manager or `apt update` should both work fine again.
Code: Select all
sudo rm /etc/apt/sources.list.d/mint.list