(SOLVED) Could not download all repository indexes

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
MrGrimm
Level 5
Level 5
Posts: 648
Joined: Sun Nov 11, 2018 9:13 am

(SOLVED) Could not download all repository indexes

Post by MrGrimm » Fri Nov 23, 2018 5:04 pm

Code: Select all


The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.


Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3

Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3

Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3

Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3

Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3

Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3Target DEP-11-icons-small 

(main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3

Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3

Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3Target DEP-11-icons-large 

(main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3

Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3

Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3Failed to fetch http://packages.domain.com/dists/bionic/InRelease  

Could not connect to packages.domain.com:80 (127.0.0.1). - connect (111: Connection refused)Some index files failed to download. They have been ignored, or old ones used instead.

Last edited by MrGrimm on Fri Nov 23, 2018 8:52 pm, edited 1 time in total.

User avatar
karlchen
Level 20
Level 20
Posts: 11410
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Could not download all repository indexes

Post by karlchen » Fri Nov 23, 2018 5:11 pm

Hello, MrGrimm.

Please, post the complete screen output of the terminal command

Code: Select all

inxi -Sr
By the way, if you read the error messages, which you posted, carefully, you might have the idea of launching Software Sources and check the entries for Google Chrome for duplicates and remove the duplicated entries.
Actually it looks as if there are 2 software sources list files for the same Google Chrome repository: chrome.list and google-chrome.list. Eliminate of of the 2.
Plus, you should disable the software sources packages.domain.com. It is a dummy entry. - No idea what enables it why sometimes.

Regards,
Karl
Image
Linux Mint 19.2 32-bit xfce Desktop, Total Commander 9.22a 32-bit
Haß gleicht einer Krankheit, dem Miserere, wo man vorne herausgibt, was eigentlich hinten wegsollte. (Goethe)

MrGrimm
Level 5
Level 5
Posts: 648
Joined: Sun Nov 11, 2018 9:13 am

Re: Could not download all repository indexes

Post by MrGrimm » Fri Nov 23, 2018 5:15 pm

o.k. here, you'll have to explain about chrome, thanks

Code: Select all


System:    Host: LOTN Kernel: 4.15.0-39-generic x86_64 bits: 64
           Desktop: Cinnamon 3.8.9  Distro: Linux Mint 19 Tara
Repos:     Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
           deb http://packages.domain.com/ bionic main
           deb http://packages.domain.com/ bionic main
           Active apt sources in file: /etc/apt/sources.list.d/agornostal-ulauncher-bionic.list
           deb http://ppa.launchpad.net/agornostal/ulauncher/ubuntu bionic main
           deb-src http://ppa.launchpad.net/agornostal/ulauncher/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/chrome.list
           deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/clipgrab-team-ppa-bionic.list
           deb http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu bionic main
           deb-src http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/elementary-os-stable-bionic.list
           deb http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic main
           deb-src http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
           deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/nilarimogard-webupd8-bionic.list
           deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu bionic main
           deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/noobslab-apps-bionic.list
           deb http://ppa.launchpad.net/noobslab/apps/ubuntu bionic main
           deb-src http://ppa.launchpad.net/noobslab/apps/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/noobslab-icons-bionic.list
           deb http://ppa.launchpad.net/noobslab/icons/ubuntu bionic main
           deb-src http://ppa.launchpad.net/noobslab/icons/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/notepadqq-team-notepadqq-bionic.list
           deb http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu bionic main
           deb-src http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://packages.linuxmint.com tara main upstream import backport
           deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ bionic partner
           Active apt sources in file: /etc/apt/sources.list.d/rikmills-latte-dock-bionic.list
           deb http://ppa.launchpad.net/rikmills/latte-dock/ubuntu bionic main
           deb-src http://ppa.launchpad.net/rikmills/latte-dock/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/teejee2008-ppa-bionic.list
           deb http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic main
           deb-src http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/xuzhen666-dockbarx-bionic.list
           deb http://ppa.launchpad.net/xuzhen666/dockbarx/ubuntu bionic main
           deb-src http://ppa.launchpad.net/xuzhen666/dockbarx/ubuntu bionic main



User avatar
karlchen
Level 20
Level 20
Posts: 11410
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Could not download all repository indexes

Post by karlchen » Fri Nov 23, 2018 6:19 pm

Hello, MrGrimm.

Here is what you should do:
  1. Close the Update Manager window, in case it has been opened. Also close Software Manager in case it has been started.
    .
  2. Delete the sources list file /etc/apt/sources.list.d/additional-repositories.list There is nothing useful in it.
    Relevant section from your inxi output:

    Code: Select all

              Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
               deb http://packages.domain.com/ bionic main
               deb http://packages.domain.com/ bionic main
    Terminal command to delete the unneeded file:

    Code: Select all

    sudo rm /etc/apt/sources.list.d/additional-repositories.list
  3. Delete the sources list file /etc/apt/sources.list.d/chrome.list
    It holds the same content as the sources list file /etc/apt/sources.list.d/google-chrome.list.
    Relevant sections from your inxi output:

    Code: Select all

              Active apt sources in file: /etc/apt/sources.list.d/chrome.list
               deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
    
               Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
               deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
    Terminal command to delete the mentioned file:

    Code: Select all

    sudo rm /etc/apt/sources.list.d/chrome.list
Next launch Update Manager again and press the [Refresh] button. Hopefully no more error messages will be returned.
Else post them here.

HTH,
Karl
Image
Linux Mint 19.2 32-bit xfce Desktop, Total Commander 9.22a 32-bit
Haß gleicht einer Krankheit, dem Miserere, wo man vorne herausgibt, was eigentlich hinten wegsollte. (Goethe)

MrGrimm
Level 5
Level 5
Posts: 648
Joined: Sun Nov 11, 2018 9:13 am

Re: Could not download all repository indexes

Post by MrGrimm » Fri Nov 23, 2018 8:51 pm

karlchen looks like that's just what the doctor ordered. thanks very much

User avatar
karlchen
Level 20
Level 20
Posts: 11410
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: (SOLVED) Could not download all repository indexes

Post by karlchen » Sat Nov 24, 2018 11:23 am

You're welcome, MrGrimm. :)
Image
Linux Mint 19.2 32-bit xfce Desktop, Total Commander 9.22a 32-bit
Haß gleicht einer Krankheit, dem Miserere, wo man vorne herausgibt, was eigentlich hinten wegsollte. (Goethe)

Post Reply

Return to “Software & Applications”