(Solved) Could not download all repository indexes

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
europa

(Solved) Could not download all repository indexes

Post by europa »

Hi all! I am new to Linux Mint and this forum.

I am getting few errors. Pls advise on a solution:

Code: Select all

Could not download all repository indexes

Code: Select all

GPG error: https://dl.winehq.org/wine-builds/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54AThe repository 'https://dl.winehq.org/wine-builds/ubuntu xenial InRelease' is not signed.Data from such a repository can't be authenticated and is therefore potentially dangerous to use.See apt-secure(8) manpage for repository creation and user configuration details.The repository 'http://download.opensuse.org/repositories/home:/olav-st/xUbuntu_16.04  Release' does not have a Release file.Data from such a repository can't be authenticated and is therefore potentially dangerous to use.See apt-secure(8) manpage for repository creation and user configuration details.Failed to fetch http://download.opensuse.org/repositories/home:/olav-st/xUbuntu_16.04/Packages  Connection failedSome index files failed to download. They have been ignored, or old ones used instead.
The output for:

Code: Select all

inxi -Sr

Code: Select all

Host: papaz-mint Kernel: 4.10.0-37-generic x86_64 (64 bit) Desktop: Cinnamon 3.4.6
           Distro: Linux Mint 18.2 Sonya
Repos:     Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
           deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
           Active apt sources in file: /etc/apt/sources.list.d/gezakovacs-ppa-xenial.list
           deb http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial main
           deb-src http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial 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/inkscape_dev-stable-xenial.list
           deb http://ppa.launchpad.net/inkscape.dev/stable/ubuntu xenial main
           deb-src http://ppa.launchpad.net/inkscape.dev/stable/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://mirrors.evowise.com/linuxmint/packages sonya main upstream import backport
           deb http://mirror.t-home.mk/ubuntu xenial main restricted universe multiverse
           deb http://mirror.t-home.mk/ubuntu xenial-updates main restricted universe multiverse
           deb http://mirror.t-home.mk/ubuntu xenial-backports main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ xenial partner
           Active apt sources in file: /etc/apt/sources.list.d/opera-stable.list
           deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
           Active apt sources in file: /etc/apt/sources.list.d/otto-kesselgulasch-gimp-xenial.list
           deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial main
           deb-src http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/screencloud.list
           deb http://download.opensuse.org/repositories/home:/olav-st/xUbuntu_16.04/ /
           Active apt sources in file: /etc/apt/sources.list.d/skype-stable.list
           deb [arch=amd64] https://repo.skype.com/deb stable main
           Active apt sources in file: /etc/apt/sources.list.d/webupd8team-java-xenial.list
           deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main
           deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/yannubuntu-boot-repair-xenial.list
           deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial main
           deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial main
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
minitux

Re: Could not download all repository indexes

Post by minitux »

Code: Select all

sudo rm /etc/apt/sources.list.d/screencloud.list

Code: Select all

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 818A435C5FCBF54A

Code: Select all

sudo apt-get update
europa

Re: Could not download all repository indexes

Post by europa »

minitux whats your Paypal account so i can buy you a beer! lol

thanks a lot! that solved it :D
minitux

Re: (Solved) Could not download all repository indexes

Post by minitux »

Nice :D
europa

Re: (Solved) Could not download all repository indexes

Post by europa »

btw, is there a way i can give you some sort of points...or karma plus? like in some forums?
minitux

Re: (Solved) Could not download all repository indexes

Post by minitux »

no, no way
europa

Re: (Solved) Could not download all repository indexes

Post by europa »

minitux wrote:no, no way
minitux please help me again - similar error.

This is my system:

Code: Select all

System:    Host: papaz-mint Kernel: 4.10.0-38-generic x86_64 (64 bit)
           Desktop: Cinnamon 3.4.6  Distro: Linux Mint 18.2 Sonya
Repos:     Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
           deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
           Active apt sources in file: /etc/apt/sources.list.d/gezakovacs-ppa-xenial.list
           deb http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial main
           deb-src http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial 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/inkscape_dev-stable-xenial.list
           deb http://ppa.launchpad.net/inkscape.dev/stable/ubuntu xenial main
           deb-src http://ppa.launchpad.net/inkscape.dev/stable/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://mirrors.evowise.com/linuxmint/packages sonya main upstream import backport
           deb http://mirror.t-home.mk/ubuntu xenial main restricted universe multiverse
           deb http://mirror.t-home.mk/ubuntu xenial-updates main restricted universe multiverse
           deb http://mirror.t-home.mk/ubuntu xenial-backports main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ xenial partner
           Active apt sources in file: /etc/apt/sources.list.d/opera-stable.list
           deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
           Active apt sources in file: /etc/apt/sources.list.d/otto-kesselgulasch-gimp-xenial.list
           deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial main
           deb-src http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/skype-stable.list
           deb [arch=amd64] https://repo.skype.com/deb stable main
           Active apt sources in file: /etc/apt/sources.list.d/webupd8team-java-xenial.list
           deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main
           deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/yannubuntu-boot-repair-xenial.list
           deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial main
           deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial main
This is the error:

Code: Select all

Failed to fetch http://mirrors.evowise.com/linuxmint/packages/dists/sonya/backport/binary-i386/Packages.gz  Hash Sum mismatchSome index files failed to download. They have been ignored, or old ones used instead.
Thanks! :D
minitux

Re: (Solved) Could not download all repository indexes

Post by minitux »

change the server from you download the update, in main, from software sources, search it in the menù or launch from terminal

Code: Select all

gksudo software-properties-gtk
and set the default server from the dedicated button in the official repository tab and recharge the cache or close the window and do a update

Code: Select all

sudo apt update
or from terminal edit official-package-repositories.list

Code: Select all

gksudo xed /etc/apt/sources.list.d/official-package-repositories.list
and delete all, and copy/paste this

Code: Select all

deb http://packages.linuxmint.com sonya main upstream import backport 
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ xenial partner
then, save and close the file and do a update

Code: Select all

sudo apt update
europa

Re: (Solved) Could not download all repository indexes

Post by europa »

Wooohooo! It worked!

thanks :)
Locked

Return to “Beginner Questions”