Choose style:

Author Topic: Update Error Duplicate Sources (SOLVED)  (Read 2110 times)

0 Members and 1 Guest are viewing this topic.

Offline Nana

  • nOOb
  • *
  • Posts: 3
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Update Error Duplicate Sources (SOLVED)
« on: September 01, 2014, 02:37:32 pm »
I've ran into a problem that's been bugging me for days now >.< Can anyone help me as to why I'm getting Duplicate Sources when updating.

Here's my sourcelist

Btw using Peppermint 5.

Spoiler (click here to view / hide)
# deb cdrom:[Peppermint 5 _Five_ - Release amd64 (20140617.2)]/ trusty main multiverse restricted universe

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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://mirrors.gigenet.com/ubuntuarchive/ trusty universe
deb-src http://mirrors.gigenet.com/ubuntuarchive/ trusty universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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://mirrors.gigenet.com/ubuntuarchive/ trusty multiverse
#deb-src http://mirrors.gigenet.com/ubuntuarchive/ trusty multiverse
#deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
#deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-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 trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## 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 trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
deb http://security.ubuntu.com/ubuntu/ trusty-security main universe multiverse restricted
deb http://mirrors.gigenet.com/ubuntuarchive/ trusty-updates main universe multiverse restricted
deb http://mirrors.gigenet.com/ubuntuarchive/ trusty-proposed restricted universe multiverse main
[close]
« Last Edit: September 04, 2014, 03:04:28 pm by Nana »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26280
  • 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: September 01, 2014, 03:18:18 pm »
First  let's backup your current sources.list .. open a terminal and run:
Code: [Select]
sudo cp -v /etc/apt/sources.list /etc/apt/sources.list.bak
now open sources.list for editing:
Code: [Select]
sudo gedit /etc/apt/sources.list
and make it read:

Spoiler (click here to view / hide)
# deb cdrom:[Peppermint 5 _Five_ - Release amd64 (20140617.2)]/ trusty main multiverse restricted universe

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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://mirrors.gigenet.com/ubuntuarchive/ trusty universe
deb-src http://mirrors.gigenet.com/ubuntuarchive/ trusty universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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://mirrors.gigenet.com/ubuntuarchive/ trusty multiverse
#deb-src http://mirrors.gigenet.com/ubuntuarchive/ trusty multiverse
#deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
#deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
#deb http://security.ubuntu.com/ubuntu trusty-security main restricted
#deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
#deb http://security.ubuntu.com/ubuntu trusty-security universe
#deb-src http://security.ubuntu.com/ubuntu trusty-security universe
#deb http://security.ubuntu.com/ubuntu trusty-security multiverse
#deb-src http://security.ubuntu.com/ubuntu trusty-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 trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## 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 trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
deb http://security.ubuntu.com/ubuntu/ trusty-security main universe multiverse restricted
deb-src http://security.ubuntu.com/ubuntu/ trusty-security main universe multiverse restricted
deb http://mirrors.gigenet.com/ubuntuarchive/ trusty-updates main universe multiverse restricted
deb http://mirrors.gigenet.com/ubuntuarchive/ trusty-proposed restricted universe multiverse main
[close]

SAVE the file and exit gedit.

Now run:
Code: [Select]
sudo apt update
and the duplicates should be gone.

For clarity - You're commenting out the 6 lines in red, and adding the 1 green line.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Nana

  • nOOb
  • *
  • Posts: 3
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Update Error Duplicate Sources
« Reply #2 on: September 01, 2014, 03:26:08 pm »
First  let's backup your current sources.list .. open a terminal and run:
Code: [Select]
sudo cp -v /etc/apt/sources.list /etc/apt/sources.list.bak
now open sources.list for editing:
Code: [Select]
sudo gedit /etc/apt/sources.list
and make it read:

Spoiler (click here to view / hide)
# deb cdrom:[Peppermint 5 _Five_ - Release amd64 (20140617.2)]/ trusty main multiverse restricted universe

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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://mirrors.gigenet.com/ubuntuarchive/ trusty universe
deb-src http://mirrors.gigenet.com/ubuntuarchive/ trusty universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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://mirrors.gigenet.com/ubuntuarchive/ trusty multiverse
#deb-src http://mirrors.gigenet.com/ubuntuarchive/ trusty multiverse
#deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
#deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
#deb http://security.ubuntu.com/ubuntu trusty-security main restricted
#deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
#deb http://security.ubuntu.com/ubuntu trusty-security universe
#deb-src http://security.ubuntu.com/ubuntu trusty-security universe
#deb http://security.ubuntu.com/ubuntu trusty-security multiverse
#deb-src http://security.ubuntu.com/ubuntu trusty-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 trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## 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 trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
deb http://security.ubuntu.com/ubuntu/ trusty-security main universe multiverse restricted
deb-src http://security.ubuntu.com/ubuntu/ trusty-security main universe multiverse restricted
deb http://mirrors.gigenet.com/ubuntuarchive/ trusty-updates main universe multiverse restricted
deb http://mirrors.gigenet.com/ubuntuarchive/ trusty-proposed restricted universe multiverse main
[close]

SAVE the file and exit gedit.

Now run:
Code: [Select]
sudo apt update
and the duplicates should be gone.

For clarity - You're commenting out the 6 lines in red, and adding the 1 green line.

It worked! thanks so much mate!!

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26280
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Update Error Duplicate Sources
« Reply #3 on: September 01, 2014, 03:45:34 pm »
You're welcome :)

Can you please mark the topic (SOLVED) .. you can do this by editing the FIRST posting in this topic and changing

Subject: Update Error Duplicate Sources (SOLVED)

Thanks in advance.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Nana

  • nOOb
  • *
  • Posts: 3
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Update Error Duplicate Sources
« Reply #4 on: September 04, 2014, 03:05:10 pm »
You're welcome :)

Can you please mark the topic (SOLVED) .. you can do this by editing the FIRST posting in this topic and changing

Subject: Update Error Duplicate Sources (SOLVED)

Thanks in advance.

Sorry it took long was enjoying peppermint >.< but i marked it ;P. Thanks again

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26280
  • 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 #5 on: September 04, 2014, 05:32:39 pm »
Cheers :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec