Choose style:

Author Topic: Update error - duplicate sources (solved)  (Read 2507 times)

0 Members and 1 Guest are viewing this topic.

Offline joejoe1089

  • nOOb
  • *
  • Posts: 2
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 4
Update error - duplicate sources (solved)
« on: April 26, 2014, 08:02:47 am »
Hi guys!

I've just installed Peppermint 4 and I'm having some issues with getting updates. The terminal tells me that I have several duplicate sources and that I should run
Code: [Select]
apt-get update
to fix the problems. I get this message after having run
Code: [Select]
sudo apt-get update
. Is there any way to resolve this?

Here is the http://pastebin.com/yywZwLYS with the results of having entered
Code: [Select]
gedit /etc/apt/sources.list
.

You might notice that I'm getting updates from Korean servers and perhaps that's a problem, although I'm not sure. I'm currently in South Korea but will be returning to the USA next week so I am more than happy to change servers in the meantime.

Thanks in advance!
« Last Edit: April 26, 2014, 09:19:04 am by joejoe1089 »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26267
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Update error - duplicate sources
« Reply #1 on: April 26, 2014, 09:08:08 am »
Open a terminal and run:
Code: [Select]
sudo gedit /etc/apt/sources.list
when the file opens, scroll to the bottom and change the LAST line from:-
Code: [Select]
deb http://security.ubuntu.com/ubuntu/ raring-security multiverse universe main restricted
to
Code: [Select]
# deb http://security.ubuntu.com/ubuntu/ raring-security multiverse universe main restricted
SAVE the file, and close gedit.

Back in the terminal, run:
Code: [Select]
sudo apt-get update
have the errors disappeared ?



BTW, there's no longer a need to use pastebin for long output .. in fact doing so is a pain for both you, and anyone following the topic ;)

just use the "spoiler" tags to surround long output.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline joejoe1089

  • nOOb
  • *
  • Posts: 2
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 4
Re: Update error - duplicate sources (solved)
« Reply #2 on: April 26, 2014, 09:21:50 am »
^^ Perfect! Thank you for the instruction. Apologies for using pastebin. I'm a recent crossover from the peppermintos.net forums. I'd seen a similar thread over there but could not duplicate the instructions within to solve the problem. Cheers!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26267
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Update error - duplicate sources (solved)
« Reply #3 on: April 26, 2014, 09:41:33 am »
Yeah we've decided it's better to keep everything all together on the forum with this one .. but use spoiler tags to hide long text until someone clicks the spoiler bar to keep things neat

Like this:
Spoiler (click here to view / hide)
# deb cdrom:[Peppermint 4 _Four_ - Release amd64 (20130430)]/ raring main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu raring main restricted
deb-src http://archive.ubuntu.com/ubuntu raring main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://kr.archive.ubuntu.com/ubuntu/ raring-updates main restricted
deb-src http://kr.archive.ubuntu.com/ubuntu/ raring-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu raring universe
deb-src http://archive.ubuntu.com/ubuntu raring universe
deb http://kr.archive.ubuntu.com/ubuntu/ raring-updates universe
deb-src http://kr.archive.ubuntu.com/ubuntu/ raring-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu raring multiverse
deb-src http://archive.ubuntu.com/ubuntu raring multiverse
deb http://kr.archive.ubuntu.com/ubuntu/ raring-updates multiverse
deb-src http://kr.archive.ubuntu.com/ubuntu/ raring-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://kr.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://kr.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu raring-security main restricted
deb-src http://security.ubuntu.com/ubuntu raring-security main restricted
deb http://security.ubuntu.com/ubuntu raring-security universe
deb-src http://security.ubuntu.com/ubuntu raring-security universe
deb http://security.ubuntu.com/ubuntu raring-security multiverse
deb-src http://security.ubuntu.com/ubuntu raring-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu raring partner
# deb-src http://archive.canonical.com/ubuntu raring partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu raring main
deb-src http://extras.ubuntu.com/ubuntu raring main
deb http://security.ubuntu.com/ubuntu/ raring-security multiverse universe main restricted
[close]

Just highlight what you want in the spoiler, and click the [Sp] button.

Anyway, you're more than welcome, and thanks for marking the topic solved
« Last Edit: April 26, 2014, 09:46:14 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec