Results 1 to 10 of 10

Thread: Sources list help please

  1. #1
    Join Date
    Nov 2007
    Location
    North Texas
    Beans
    2,280
    Distro
    Ubuntu 20.04 Focal Fossa

    Sources list help please

    While reinstalling Fossa, (only ISO) I had access to, I know I screwed up my sources list. I get the error listed. Is it possible to generate a clean sources list or fix my current one.
    Attached Images Attached Images
    Ubuntu 20.04
    Lenovo ThinkPad T470s W10DG
    Intel® Core™ i5-6300U × 4
    Intel® HD Graphics 520 (SKL GT2)

  2. #2
    Join Date
    Mar 2010
    Location
    /home
    Beans
    9,657
    Distro
    Xubuntu

    Re: Sources list help please

    I would first try the following:

    Code:
    sudo apt clean
    and then
    Code:
    sudo apt update
    Post back if there are any errors.

    Also do this:
    Open the Software & Updates application >> Go to the Other Software tab >> Uncheck any third-party PPAs or repositories

    Close and refresh.

    Fixed?

  3. #3
    Join Date
    Apr 2014
    Location
    Tucson AZ, USA
    Beans
    1,093
    Distro
    Ubuntu

    Re: Sources list help please

    Code:
    deb http://us.archive.ubuntu.com/ubuntu jammy main restricted universe multiverse 
    deb http://us.archive.ubuntu.com/ubuntu jammy-security main restricted universe multiverse 
    deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse  
    deb http://us.archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse


    A cleaned up jammy official repository list. Just change jammy to focal I believe and you should be set. I never understood that massive list with all the damn comments and seemingly same repos defined multiple times.

    Also I would be remiss to not mention that Focal will be out of support April of next year so either enable Ubuntu Pro or start getting an upgrade plan in place.
    Last edited by Tadaen_Sylvermane; 4 Weeks Ago at 03:34 PM.

  4. #4
    Join Date
    Nov 2007
    Location
    North Texas
    Beans
    2,280
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Sources list help please

    Oh yes errors galore.

    Code:
    93 packages can be upgraded. Run 'apt list --upgradable' to see them.
    W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target DEP-11-icons-small (universe/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target DEP-11-icons-hidpi (universe/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target Sources (partner/source/Sources) is configured multiple times in /etc/apt/sources.list:42 and /etc/apt/sources.list:60
    W: Target Sources (partner/source/Sources) is configured multiple times in /etc/apt/sources.list:42 and /etc/apt/sources.list:68
    W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target DEP-11-icons-small (universe/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target DEP-11-icons-hidpi (universe/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11-icons-small (restricted/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11-icons-hidpi (restricted/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11-icons-small (multiverse/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11-icons-hidpi (multiverse/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target DEP-11-icons-small (universe/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target DEP-11-icons-hidpi (universe/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:62
    W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target DEP-11-icons-small (universe/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target DEP-11-icons-hidpi (universe/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:62
    W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target DEP-11-icons-small (universe/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target DEP-11-icons-hidpi (universe/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:64
    W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11-icons-small (restricted/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11-icons-hidpi (restricted/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11-icons-small (multiverse/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target DEP-11-icons-hidpi (multiverse/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list:66
    W: Target Sources (partner/source/Sources) is configured multiple times in /etc/apt/sources.list:42 and /etc/apt/sources.list:60
    W: Target Sources (partner/source/Sources) is configured multiple times in /etc/apt/sources.list:42 and /etc/apt/sources.list:68
    W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:44 and /etc/apt/sources.list:61
    W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target DEP-11-icons-small (universe/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target DEP-11-icons-hidpi (universe/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:61
    Last edited by oldfred; 4 Weeks Ago at 03:49 PM. Reason: Please use Code Tags.
    Ubuntu 20.04
    Lenovo ThinkPad T470s W10DG
    Intel® Core™ i5-6300U × 4
    Intel® HD Graphics 520 (SKL GT2)

  5. #5
    Join Date
    Apr 2014
    Location
    Tucson AZ, USA
    Beans
    1,093
    Distro
    Ubuntu

    Re: Sources list help please

    Yea, delete that entire file and add the one I posted, changing jammy for focal. That will get it cleaned up. Then you can re-add anything missing one line a a time.

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Sources list help please

    Matt, you have been here long enough to know to use Code Tags.
    Easy to add with Forum's Go Advanced editor & # icon.
    Or
    If using Quick Reply then [CODE] at the beginning and [/CODE] at the end.
    I sometimes click on quote in Quick Reply and edit quote to code.

    cat -n /etc/apt/sources.list
    If you have added ppas
    ls -l /etc/apt/sources.list.d/*.list

    But in my Noble install sources.list is now an empty file, but update works. Looks like encrypted now?
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Nov 2007
    Location
    North Texas
    Beans
    2,280
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Sources list help please

    I will next time. And I do have pro.
    Ubuntu 20.04
    Lenovo ThinkPad T470s W10DG
    Intel® Core™ i5-6300U × 4
    Intel® HD Graphics 520 (SKL GT2)

  8. #8
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Sources list help please

    Code:
    deb http://us.archive.ubuntu.com/ubuntu focal main restricted
    
    deb http://us.archive.ubuntu.com/ubuntu focal-updates main restricted
    
    deb http://us.archive.ubuntu.com/ubuntu focal universe
    deb http://us.archive.ubuntu.com/ubuntu focal-updates universe
    
    deb http://us.archive.ubuntu.com/ubuntu focal multiverse
    deb http://us.archive.ubuntu.com/ubuntu focal-updates multiverse
    
    deb http://us.archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
    
    
    deb http://us.archive.ubuntu.com/ubuntu focal-security main restricted
    deb http://us.archive.ubuntu.com/ubuntu focal-security universe
    deb http://us.archive.ubuntu.com/ubuntu focal-security multiverse
    is my 20.04 server sources.list file.

  9. #9
    Join Date
    Aug 2022
    Beans
    26

    Re: Sources list help please

    I wasn't aware of the fact that focal was to be the next sequential release. does this mean that those like myself will have to upgrade straight away to Focal?
    I am I altogether miss under standing the nature of what the OP is doing?

  10. #10
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Sources list help please

    Quote Originally Posted by kinddolphin8827 View Post
    I wasn't aware of the fact that focal was to be the next sequential release. does this mean that those like myself will have to upgrade straight away to Focal?
    I am I altogether miss under standing the nature of what the OP is doing?
    You miss understand what the OP is doing.

    He's installing Focal and screwed up the /etc/apt/sources.list file ... er ... somehow. He didn't make a .bak file before editing, I guess. Noob mistake, but it happens to everyone - even non-noobs. He needed a pristine copy of the file, which is what I provided from a running system.

    Now, if the description of the issue and what he'd trying to accomplish isn't correct, then nobody really knows what the goal is. That happens around here too. People often write one thing and forget something critical to the background in the post. Normally, I make a guess, but this time, it seemed really clear.

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
  •