Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Problem with APT-GET UPGRADE

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Rorro
Posts: 1
Joined: 2019-01-17 09:23

Problem with APT-GET UPGRADE

#1 Post by Rorro »

Hello everyone, I have a problem to make the order apt-get upgrade, it comes out:

ERR : 6 http://security.debian.org/debian-security stretch/updates/main amd64 libvlc5 amd64 3.0.6-0+deb9u1
Inconsistent hash check sum
Hashes of expected file :
etc...

I don't understand my mistake??
In my /etc/apt/sources.list folder I put :

deb http://deb.debian.org/debian stretch main
deb-src http://deb.debian.org/debian stretch main

deb http://deb.debian.org/debian stretch-updates main
deb-src http://deb.debian.org/debian stretch-updates main

deb http://security.debian.org/debian-security/ stretch/updates main
deb-src http://security.debian.org/debian-security/ stretch/updates main

I also tried:

Debian Stretch official repositories:
deb http://deb.debian.org/debian/ stretch main contrib non-free
#deb-src http://deb.debian.org/debian/ stretch main

# Debian Stretch, security updates :
deb http://security.debian.org/ stretch/updates main contrib non-free
#deb-src http://security.debian.org/ stretch/updates main contrib non-free

# Debian Stretch, "volatile" updates :
deb http://deb.debian.org/debian/ stretch-updates main contrib non-free
#deb-src http://deb.debian.org/debian/ stretch-updates main contrib non-free

But still the same error, I tried the command: rm /var/lib/apt/lists/* but it doesn't work either...

Thank you in advance

Translated with www.DeepL.com/Translator

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Problem with APT-GET UPGRADE

#2 Post by Head_on_a_Stick »

Try the CDN re-director instead:

Code: Select all

# /etc/apt/sources.list
deb https://cdn-aws.deb.debian.org/debian/ stretch main non-free contrib
deb https://cdn-aws.deb.debian.org/debian/ stretch-updates main contrib non-free
deb https://cdn-aws.deb.debian.org/debian-security stretch/updates main contrib non-free
https://deb.debian.org

EDIT: you need the apt-transport-https package to use https.
deadbang

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

Re: Problem with APT-GET UPGRADE

#3 Post by llivv »

just wait a day or two than try again.

there are a couple of reasons things like that happen and are usually fixed quickly - sometimes within minutes if it has to do with syncing the repos.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

Post Reply