Results 1 to 5 of 5

Thread: update error target packages is configured multiple times

  1. #1
    Join Date
    Mar 2019
    Beans
    25

    update error target packages is configured multiple times

    HI guys,

    i have a small problem and maybe you would be so kind and help me.

    when i do an update on my ubuntu 18.04 server i get an error

    --------------------------

    Code:
    W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
    W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
    W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
    W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
    W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
    W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
    W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:29
    W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:29
    W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:29
    W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:29
    W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:29
    W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:29
    W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:21
    W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:21
    W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:21
    W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:21
    W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:21
    W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:21
    W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:31
    W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:31
    W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:31
    W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:31
    W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:31
    W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:31
    W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:51
    W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:51
    W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:51
    W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:51
    W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:51
    W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:51
    W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:53
    W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:53
    W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:53
    W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:53
    W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:53
    W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:53
    W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
    W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
    W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
    W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
    W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
    W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
    W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:29
    W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:29
    W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:29
    W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:29
    W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:29
    W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:29
    W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:21
    W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:21
    W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:21
    W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:21
    W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:21
    W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:21
    W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:31
    W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:31
    W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:31
    W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:31
    W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:31
    W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:31
    W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:51
    W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:51
    W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:51
    W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:51
    W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:51
    W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:51
    W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:53
    W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:53
    W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:53
    W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:53
    W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:53
    W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list:53
    ---------------------
    this is my sources.list
    --------------------
    Code:
    # deb http://asi-fs-n.contabo.net/ubuntu bionic main restricted universe multiverse restricted
    
    
    # deb http://asi-fs-n.contabo.net/ubuntu bionic-updates main restricted universe multiverse restricted
    # deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse restricted
    
    
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    deb http://asi-fs-n.contabo.net/ubuntu bionic main restricted universe multiverse restricted
    # deb-src http://asi-fs-n.contabo.net/ubuntu bionic main restricted universe multiverse restricted
    
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://asi-fs-n.contabo.net/ubuntu bionic-updates main restricted universe multiverse restricted
    # deb-src http://asi-fs-n.contabo.net/ubuntu bionic-updates main restricted universe multiverse 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://asi-fs-n.contabo.net/ubuntu bionic universe
    # deb-src http://asi-fs-n.contabo.net/ubuntu bionic universe
    deb http://asi-fs-n.contabo.net/ubuntu bionic-updates universe
    # deb-src http://asi-fs-n.contabo.net/ubuntu bionic-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://asi-fs-n.contabo.net/ubuntu bionic multiverse
    # deb-src http://asi-fs-n.contabo.net/ubuntu bionic multiverse
    deb http://asi-fs-n.contabo.net/ubuntu bionic-updates multiverse
    # deb-src http://asi-fs-n.contabo.net/ubuntu bionic-updates multiverse
    
    
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main restricted universe multiverse 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://asi-fs-n.contabo.net/ubuntu bionic-backports main restricted universe multiverse restricted universe multiverse
    # deb-src http://asi-fs-n.contabo.net/ubuntu bionic-backports main restricted universe multiverse restricted universe 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 bionic partner
    # deb-src http://archive.canonical.com/ubuntu bionic partner
    
    
    deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse restricted
    # deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse restricted
    deb http://security.ubuntu.com/ubuntu bionic-security universe
    # deb-src http://security.ubuntu.com/ubuntu bionic-security universe
    deb http://security.ubuntu.com/ubuntu bionic-security multiverse
    # deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
    deb http://archive.ubuntu.com/ubuntu bionic universe
    deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
    can anybody give me an idea how to fix this problem?

    thanks in advance for your kind help

    Tom
    Last edited by deadflowr; March 25th, 2019 at 08:33 PM. Reason: added code tags

  2. #2
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,193
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: update error target packages is configured multiple times

    tomdf; Hello -

    The system is telling you what the issue is and where the problems lie

    All we got to do is remove the duplicate entries.

    To make finding the correct identified lines, please post - Between Code Tags -:
    code tag tutorial:
    http://ubuntuforums.org/showthread.p...8#post12776168
    the output of terminal command:
    Code:
    cat -n /etc/apt/sources.list
    Such then that you can easily correlate what the errors are to what is in the /etc/apt/sources.list file.
    Then - as I am terminally minded - we fire up your favorite text editor and repair the damage.

    simple as falling out of bed wide awake
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #3
    Join Date
    Mar 2019
    Beans
    25

    Re: update error target packages is configured multiple times

    Hi there,

    thanks a lot for your kind help.
    this is the sources.list and i did delete already something there.
    As i understand line 2 and line 3 have the same repository bionic updates universe is this right?
    so i should delete line 3 right?

    Is there a recomended sources.list for ubuntu 18.04 webserver?

    thanks for your help

    Code:
    deb http://asi-fs-n.contabo.net/ubuntu bionic main restricted universe multiverse restricted
    deb http://asi-fs-n.contabo.net/ubuntu bionic-updates main restricted universe multiverse restricted
    deb http://asi-fs-n.contabo.net/ubuntu bionic-updates universe
    deb http://asi-fs-n.contabo.net/ubuntu bionic multiverse
    deb http://asi-fs-n.contabo.net/ubuntu bionic-updates multiverse
    deb http://asi-fs-n.contabo.net/ubuntu bionic-backports main restricted universe multiverse restricted universe multiverse
    deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse restricted
    deb http://security.ubuntu.com/ubuntu bionic-security universe
    deb http://security.ubuntu.com/ubuntu bionic-security multiverse
    deb http://archive.ubuntu.com/ubuntu bionic universe
    deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,613
    Distro
    Ubuntu

    Re: update error target packages is configured multiple times

    Is there a recomended sources.list for ubuntu 18.04 webserver?
    The sources are the same, by default.
    Whether desktop or server.

    I'd recommend removing the entries with single repositories like these

    Code:
    deb http://asi-fs-n.contabo.net/ubuntu bionic-updates universe
    deb http://asi-fs-n.contabo.net/ubuntu bionic multiverse
    deb http://asi-fs-n.contabo.net/ubuntu bionic-updates multiverse
    deb http://security.ubuntu.com/ubuntu bionic-security universe
    deb http://security.ubuntu.com/ubuntu bionic-security multiverse
    deb http://archive.ubuntu.com/ubuntu bionic universe
    since all those are already mentioned in the other entries listed.
    And remove the duplicate restricted, universe, and multiverse entries in the backports entry here
    Code:
    deb http://asi-fs-n.contabo.net/ubuntu bionic-backports main restricted universe multiverse restricted universe multiverse
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  5. #5
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,193
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: update error target packages is configured multiple times

    tomdf; Hey - hey

    Heed deadflowr's last.

    As an example of a working sources list file: this is mine:
    #
    deb http://mirror.steadfast.net/ubuntu bionic main restricted universe multiverse

    deb http://mirror.steadfast.net/ubuntu bionic-security main restricted universe multiverse

    deb http://mirror.steadfast.net/ubuntu bionic-updates main restricted universe multiverse

    deb http://mirror.steadfast.net/ubuntu bionic-backports main restricted universe multiverse

    deb http://archive.canonical.com/ubuntu bionic partner
    For MY use case. where it is bare bones; only what I need. From a fast mirror site that is kept updated.
    Note I have no need in this install for source code thus "src" is not included, and you may or may not want the backports and partner repos.

    hope this helps
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •