W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages)

Asked by dagmalina

W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
dagmalina (daggas) said :
#1

I did run apt-get update a few times already

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#2

Hi ,

please open a terminal and give the results of this command

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

copy-paste the command from here for more accuracy.

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Can you also give the output of:

grep -R partner /etc/apt/*

Thanks

Revision history for this message
dagmalina (daggas) said :
#4

to NikTh:

/etc/apt/sources.list.d/precise-partner.list

     1 deb http://archive.canonical.com/ubuntu precise partner #Added by software-center

/etc/apt/sources.list.d/google-talkplugin.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 deb http://dl.google.com/linux/talkplugin/deb/ stable main

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://nz.archive.ubuntu.com/ubuntu/ precise main restricted
     6 deb-src http://nz.archive.ubuntu.com/ubuntu/ precise main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://nz.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    11 deb-src http://nz.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://nz.archive.ubuntu.com/ubuntu/ precise universe
    17 deb-src http://nz.archive.ubuntu.com/ubuntu/ precise universe
    18 deb http://nz.archive.ubuntu.com/ubuntu/ precise-updates universe
    19 deb-src http://nz.archive.ubuntu.com/ubuntu/ precise-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://nz.archive.ubuntu.com/ubuntu/ precise multiverse
    27 deb-src http://nz.archive.ubuntu.com/ubuntu/ precise multiverse
    28 deb http://nz.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    29 deb-src http://nz.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    30
    31 ## N.B. software from this repository may not have been tested as
    32 ## extensively as that contained in the main release, although it includes
    33 ## newer versions of some applications which may provide useful features.
    34 ## Also, please note that software in backports WILL NOT receive any review
    35 ## or updates from the Ubuntu security team.
    36 deb http://nz.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    37 deb-src http://nz.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    38
    39 deb http://security.ubuntu.com/ubuntu precise-security main restricted
    40 deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
    41 deb http://security.ubuntu.com/ubuntu precise-security universe
    42 deb-src http://security.ubuntu.com/ubuntu precise-security universe
    43 deb http://security.ubuntu.com/ubuntu precise-security multiverse
    44 deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
    45
    46 ## Uncomment the following two lines to add software from Canonical's
    47 ## 'partner' repository.
    48 ## This software is not part of Ubuntu, but is offered by Canonical and the
    49 ## respective vendors as a service to Ubuntu users.
    50 deb http://archive.canonical.com/ubuntu precise partner
    51 deb-src http://archive.canonical.com/ubuntu precise partner
    52
    53 ## This software is not part of Ubuntu, but is offered by third-party
    54 ## developers who want to ship their latest software.
    55 deb http://extras.ubuntu.com/ubuntu precise main
    56 deb-src http://extras.ubuntu.com/ubuntu precise main
    57
    58 ## update gnome3
    59 ## deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu precise main
    60 ## deb-src http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu precise main
    61 ## deb http://ppa.launchpad.net/webupd8team/gnome3/ubuntu precise main
    62 ## deb-src http://ppa.launchpad.net/webupd8team/gnome3/ubuntu precise main

Revision history for this message
dagmalina (daggas) said :
#5

to actionparsnip:

/etc/apt/sources.list:## 'partner' repository.
/etc/apt/sources.list:deb http://archive.canonical.com/ubuntu precise partner
/etc/apt/sources.list:deb-src http://archive.canonical.com/ubuntu precise partner
/etc/apt/sources.list.d/precise-partner.list.save:deb http://archive.canonical.com/ubuntu precise partner #Added by software-center
/etc/apt/sources.list.d/precise-partner.list:deb http://archive.canonical.com/ubuntu precise partner #Added by software-center
/etc/apt/sources.list.save:## 'partner' repository.
/etc/apt/sources.list.save:# deb http://archive.canonical.com/ubuntu precise partner
/etc/apt/sources.list.save:deb-src http://archive.canonical.com/ubuntu precise partner
grep: /etc/apt/trustdb.gpg: Permission denied

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

sudo rm /etc/apt/sources.list.d/precise-partner.list.save
sudo rm /etc/apt/sources.list.d/precise-partner.list
sudo rm /etc/apt/sources.list.save
sudo apt-get update

Will now be smooth

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#7

On 10/11/2012 10:06 AM, dagmalina wrote:
> Question #210875 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/210875
>
> Status: Needs information => Open
>
> dagmalina gave more information on the question:
> to NikTh:
>
> /etc/apt/sources.list.d/precise-partner.list
>
> 1 deb http://archive.canonical.com/ubuntu precise partner #Added
> by software-center
>
>
> /etc/apt/sources.list
> 50 deb http://archive.canonical.com/ubuntu precise partner
>
>
>
These are the duplicate lists . So remove the one of two .

sudo rm /etc/apt/sources.list.d/precise-partner.list

and update your system.

sudo apt-get update
sudo apt-get dist-upgrade

Thanks

Can you help with this problem?

Provide an answer of your own, or ask dagmalina for more information if necessary.

To post a message you must log in.