hash sum mismatch, you have held broken packages, unable to fetch etc
I am using ubuntu 18.04
When I make sudo apt-get update
, this is the output:
Hit:1 http://ubuntu.vargonen.com/ubuntu bionic InRelease
Get:2 http://ubuntu.vargonen.com/ubuntu bionic-updates InRelease [88,7 kB]
Hit:3 http://ubuntu.vargonen.com/ubuntu bionic-security InRelease
Get:4 https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ InRelease [1.487 B]
Get:5 http://ubuntu.vargonen.com/ubuntu bionic-updates/main i386 Packages [413 kB]
Err:5 http://ubuntu.vargonen.com/ubuntu bionic-updates/main i386 Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:412704 [weak]
- SHA256:93358166c270b6b92fa9b2f22a2b48682eab53091a898321d887541133721297
- SHA1:18d14381256ffb6581e1a46b11d911a3cfe6c7ad [weak]
- MD5Sum:925906a34ad2a7f04f96fa373fb4d672 [weak]
Hashes of received file:
- SHA256:8963f74a7233a0b6d3fef6305755210d987563d34f3d4f9baad34985c3f2f2f8
- SHA1:4fe0dbdb757e94d9217ae262253ffa29737b92fa [weak]
- MD5Sum:12d989921f2d8efe120ea70cb64ac867 [weak]
- Filesize:412704 [weak]
Last modification reported: Tue, 01 Jan 2019 06:30:31 +0000
Release file created at: Fri, 04 Jan 2019 08:05:12 +0000
Get:6 http://ubuntu.vargonen.com/ubuntu bionic-updates/main amd64 Packages [476 kB]
Get:7 http://ubuntu.vargonen.com/ubuntu bionic-updates/main Translation-en [177 kB]
Get:8 http://ubuntu.vargonen.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [245 kB]
Get:9 http://ubuntu.vargonen.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [55,7 kB]
Get:10 http://ubuntu.vargonen.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [105 kB]
Get:11 http://ubuntu.vargonen.com/ubuntu bionic-updates/restricted i386 Packages [6.928 B]
Get:12 http://ubuntu.vargonen.com/ubuntu bionic-updates/restricted amd64 Packages [6.992 B]
Get:13 http://ubuntu.vargonen.com/ubuntu bionic-updates/restricted Translation-en [3.076 B]
Get:14 http://ubuntu.vargonen.com/ubuntu bionic-updates/universe amd64 Packages [706 kB]
Get:15 http://ubuntu.vargonen.com/ubuntu bionic-updates/universe i386 Packages [698 kB]
Fetched 414 kB in 1s (287 kB/s)
Reading package lists... Done
E: Failed to fetch http://ubuntu.vargonen.com/ubuntu/dists/bionic-updates/main/binary-i386/by-hash/SHA256/93358166c270b6b92fa9b2f22a2b48682eab53091a898321d887541133721297 Hash Sum mismatch
Hashes of expected file:
- Filesize:412704 [weak]
- SHA256:93358166c270b6b92fa9b2f22a2b48682eab53091a898321d887541133721297
- SHA1:18d14381256ffb6581e1a46b11d911a3cfe6c7ad [weak]
- MD5Sum:925906a34ad2a7f04f96fa373fb4d672 [weak]
Hashes of received file:
- SHA256:8963f74a7233a0b6d3fef6305755210d987563d34f3d4f9baad34985c3f2f2f8
- SHA1:4fe0dbdb757e94d9217ae262253ffa29737b92fa [weak]
- MD5Sum:12d989921f2d8efe120ea70cb64ac867 [weak]
- Filesize:412704 [weak]
Last modification reported: Tue, 01 Jan 2019 06:30:31 +0000
Release file created at: Fri, 04 Jan 2019 08:05:12 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Also when I make sudo apt-get install python3-dev
, this is the output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-dev : Depends: python3 (= 3.6.5-3) but 3.6.5-3ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
I tried nearly everything in the existing posts but nothing solve the problem.
Edit:
uname -m :
x86_64
cat /etc/apt/sources.list :
# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu bionic main restricted
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic-updates main 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://archive.ubuntu.com/ubuntu bionic universe
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu bionic-updates universe
# deb-src http://tr.archive.ubuntu.com/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://archive.ubuntu.com/ubuntu bionic multiverse
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main 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-src http://tr.archive.ubuntu.com/ubuntu/ bionic-backports main 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://archive.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://archive.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://archive.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
apt 18.04 package-management dependencies
|
show 7 more comments
I am using ubuntu 18.04
When I make sudo apt-get update
, this is the output:
Hit:1 http://ubuntu.vargonen.com/ubuntu bionic InRelease
Get:2 http://ubuntu.vargonen.com/ubuntu bionic-updates InRelease [88,7 kB]
Hit:3 http://ubuntu.vargonen.com/ubuntu bionic-security InRelease
Get:4 https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ InRelease [1.487 B]
Get:5 http://ubuntu.vargonen.com/ubuntu bionic-updates/main i386 Packages [413 kB]
Err:5 http://ubuntu.vargonen.com/ubuntu bionic-updates/main i386 Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:412704 [weak]
- SHA256:93358166c270b6b92fa9b2f22a2b48682eab53091a898321d887541133721297
- SHA1:18d14381256ffb6581e1a46b11d911a3cfe6c7ad [weak]
- MD5Sum:925906a34ad2a7f04f96fa373fb4d672 [weak]
Hashes of received file:
- SHA256:8963f74a7233a0b6d3fef6305755210d987563d34f3d4f9baad34985c3f2f2f8
- SHA1:4fe0dbdb757e94d9217ae262253ffa29737b92fa [weak]
- MD5Sum:12d989921f2d8efe120ea70cb64ac867 [weak]
- Filesize:412704 [weak]
Last modification reported: Tue, 01 Jan 2019 06:30:31 +0000
Release file created at: Fri, 04 Jan 2019 08:05:12 +0000
Get:6 http://ubuntu.vargonen.com/ubuntu bionic-updates/main amd64 Packages [476 kB]
Get:7 http://ubuntu.vargonen.com/ubuntu bionic-updates/main Translation-en [177 kB]
Get:8 http://ubuntu.vargonen.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [245 kB]
Get:9 http://ubuntu.vargonen.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [55,7 kB]
Get:10 http://ubuntu.vargonen.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [105 kB]
Get:11 http://ubuntu.vargonen.com/ubuntu bionic-updates/restricted i386 Packages [6.928 B]
Get:12 http://ubuntu.vargonen.com/ubuntu bionic-updates/restricted amd64 Packages [6.992 B]
Get:13 http://ubuntu.vargonen.com/ubuntu bionic-updates/restricted Translation-en [3.076 B]
Get:14 http://ubuntu.vargonen.com/ubuntu bionic-updates/universe amd64 Packages [706 kB]
Get:15 http://ubuntu.vargonen.com/ubuntu bionic-updates/universe i386 Packages [698 kB]
Fetched 414 kB in 1s (287 kB/s)
Reading package lists... Done
E: Failed to fetch http://ubuntu.vargonen.com/ubuntu/dists/bionic-updates/main/binary-i386/by-hash/SHA256/93358166c270b6b92fa9b2f22a2b48682eab53091a898321d887541133721297 Hash Sum mismatch
Hashes of expected file:
- Filesize:412704 [weak]
- SHA256:93358166c270b6b92fa9b2f22a2b48682eab53091a898321d887541133721297
- SHA1:18d14381256ffb6581e1a46b11d911a3cfe6c7ad [weak]
- MD5Sum:925906a34ad2a7f04f96fa373fb4d672 [weak]
Hashes of received file:
- SHA256:8963f74a7233a0b6d3fef6305755210d987563d34f3d4f9baad34985c3f2f2f8
- SHA1:4fe0dbdb757e94d9217ae262253ffa29737b92fa [weak]
- MD5Sum:12d989921f2d8efe120ea70cb64ac867 [weak]
- Filesize:412704 [weak]
Last modification reported: Tue, 01 Jan 2019 06:30:31 +0000
Release file created at: Fri, 04 Jan 2019 08:05:12 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Also when I make sudo apt-get install python3-dev
, this is the output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-dev : Depends: python3 (= 3.6.5-3) but 3.6.5-3ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
I tried nearly everything in the existing posts but nothing solve the problem.
Edit:
uname -m :
x86_64
cat /etc/apt/sources.list :
# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu bionic main restricted
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic-updates main 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://archive.ubuntu.com/ubuntu bionic universe
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu bionic-updates universe
# deb-src http://tr.archive.ubuntu.com/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://archive.ubuntu.com/ubuntu bionic multiverse
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main 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-src http://tr.archive.ubuntu.com/ubuntu/ bionic-backports main 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://archive.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://archive.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://archive.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
apt 18.04 package-management dependencies
1
"I tried nearly everything", well. Did you tried to switch download mirror withsoftware-properties-gtk
?
– N0rbert
Jan 4 at 11:20
1
As @N0rbert suggested, try to change repository url viasoftware-properties-gtk
>Download from
and pick up different host.
– kenn
Jan 4 at 11:43
1
Your sources list mixed. You can recreate new one using following link : repogen.simplylinux.ch but at fist back up existing one withsudo mv /etc/apt/sources.list /etc/apt/sources.list.bak
then create new file with the same namesources.list
in that directory (/etc/apt/) then paste the list you generated in the link. Only pick upmain
,restricted
,universe
,multiverse
ones.
– kenn
Jan 4 at 17:52
1
Try this at first:askubuntu.com/questions/1065888/…
– kenn
Jan 4 at 18:00
1
I found another similar issue here github.com/MycroftAI/mycroft-core/issues/1780 . According to that report you also need to addImportant Security Updates
,Recommended Updates
– kenn
Jan 4 at 18:14
|
show 7 more comments
I am using ubuntu 18.04
When I make sudo apt-get update
, this is the output:
Hit:1 http://ubuntu.vargonen.com/ubuntu bionic InRelease
Get:2 http://ubuntu.vargonen.com/ubuntu bionic-updates InRelease [88,7 kB]
Hit:3 http://ubuntu.vargonen.com/ubuntu bionic-security InRelease
Get:4 https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ InRelease [1.487 B]
Get:5 http://ubuntu.vargonen.com/ubuntu bionic-updates/main i386 Packages [413 kB]
Err:5 http://ubuntu.vargonen.com/ubuntu bionic-updates/main i386 Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:412704 [weak]
- SHA256:93358166c270b6b92fa9b2f22a2b48682eab53091a898321d887541133721297
- SHA1:18d14381256ffb6581e1a46b11d911a3cfe6c7ad [weak]
- MD5Sum:925906a34ad2a7f04f96fa373fb4d672 [weak]
Hashes of received file:
- SHA256:8963f74a7233a0b6d3fef6305755210d987563d34f3d4f9baad34985c3f2f2f8
- SHA1:4fe0dbdb757e94d9217ae262253ffa29737b92fa [weak]
- MD5Sum:12d989921f2d8efe120ea70cb64ac867 [weak]
- Filesize:412704 [weak]
Last modification reported: Tue, 01 Jan 2019 06:30:31 +0000
Release file created at: Fri, 04 Jan 2019 08:05:12 +0000
Get:6 http://ubuntu.vargonen.com/ubuntu bionic-updates/main amd64 Packages [476 kB]
Get:7 http://ubuntu.vargonen.com/ubuntu bionic-updates/main Translation-en [177 kB]
Get:8 http://ubuntu.vargonen.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [245 kB]
Get:9 http://ubuntu.vargonen.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [55,7 kB]
Get:10 http://ubuntu.vargonen.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [105 kB]
Get:11 http://ubuntu.vargonen.com/ubuntu bionic-updates/restricted i386 Packages [6.928 B]
Get:12 http://ubuntu.vargonen.com/ubuntu bionic-updates/restricted amd64 Packages [6.992 B]
Get:13 http://ubuntu.vargonen.com/ubuntu bionic-updates/restricted Translation-en [3.076 B]
Get:14 http://ubuntu.vargonen.com/ubuntu bionic-updates/universe amd64 Packages [706 kB]
Get:15 http://ubuntu.vargonen.com/ubuntu bionic-updates/universe i386 Packages [698 kB]
Fetched 414 kB in 1s (287 kB/s)
Reading package lists... Done
E: Failed to fetch http://ubuntu.vargonen.com/ubuntu/dists/bionic-updates/main/binary-i386/by-hash/SHA256/93358166c270b6b92fa9b2f22a2b48682eab53091a898321d887541133721297 Hash Sum mismatch
Hashes of expected file:
- Filesize:412704 [weak]
- SHA256:93358166c270b6b92fa9b2f22a2b48682eab53091a898321d887541133721297
- SHA1:18d14381256ffb6581e1a46b11d911a3cfe6c7ad [weak]
- MD5Sum:925906a34ad2a7f04f96fa373fb4d672 [weak]
Hashes of received file:
- SHA256:8963f74a7233a0b6d3fef6305755210d987563d34f3d4f9baad34985c3f2f2f8
- SHA1:4fe0dbdb757e94d9217ae262253ffa29737b92fa [weak]
- MD5Sum:12d989921f2d8efe120ea70cb64ac867 [weak]
- Filesize:412704 [weak]
Last modification reported: Tue, 01 Jan 2019 06:30:31 +0000
Release file created at: Fri, 04 Jan 2019 08:05:12 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Also when I make sudo apt-get install python3-dev
, this is the output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-dev : Depends: python3 (= 3.6.5-3) but 3.6.5-3ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
I tried nearly everything in the existing posts but nothing solve the problem.
Edit:
uname -m :
x86_64
cat /etc/apt/sources.list :
# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu bionic main restricted
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic-updates main 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://archive.ubuntu.com/ubuntu bionic universe
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu bionic-updates universe
# deb-src http://tr.archive.ubuntu.com/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://archive.ubuntu.com/ubuntu bionic multiverse
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main 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-src http://tr.archive.ubuntu.com/ubuntu/ bionic-backports main 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://archive.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://archive.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://archive.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
apt 18.04 package-management dependencies
I am using ubuntu 18.04
When I make sudo apt-get update
, this is the output:
Hit:1 http://ubuntu.vargonen.com/ubuntu bionic InRelease
Get:2 http://ubuntu.vargonen.com/ubuntu bionic-updates InRelease [88,7 kB]
Hit:3 http://ubuntu.vargonen.com/ubuntu bionic-security InRelease
Get:4 https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ InRelease [1.487 B]
Get:5 http://ubuntu.vargonen.com/ubuntu bionic-updates/main i386 Packages [413 kB]
Err:5 http://ubuntu.vargonen.com/ubuntu bionic-updates/main i386 Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:412704 [weak]
- SHA256:93358166c270b6b92fa9b2f22a2b48682eab53091a898321d887541133721297
- SHA1:18d14381256ffb6581e1a46b11d911a3cfe6c7ad [weak]
- MD5Sum:925906a34ad2a7f04f96fa373fb4d672 [weak]
Hashes of received file:
- SHA256:8963f74a7233a0b6d3fef6305755210d987563d34f3d4f9baad34985c3f2f2f8
- SHA1:4fe0dbdb757e94d9217ae262253ffa29737b92fa [weak]
- MD5Sum:12d989921f2d8efe120ea70cb64ac867 [weak]
- Filesize:412704 [weak]
Last modification reported: Tue, 01 Jan 2019 06:30:31 +0000
Release file created at: Fri, 04 Jan 2019 08:05:12 +0000
Get:6 http://ubuntu.vargonen.com/ubuntu bionic-updates/main amd64 Packages [476 kB]
Get:7 http://ubuntu.vargonen.com/ubuntu bionic-updates/main Translation-en [177 kB]
Get:8 http://ubuntu.vargonen.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [245 kB]
Get:9 http://ubuntu.vargonen.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [55,7 kB]
Get:10 http://ubuntu.vargonen.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [105 kB]
Get:11 http://ubuntu.vargonen.com/ubuntu bionic-updates/restricted i386 Packages [6.928 B]
Get:12 http://ubuntu.vargonen.com/ubuntu bionic-updates/restricted amd64 Packages [6.992 B]
Get:13 http://ubuntu.vargonen.com/ubuntu bionic-updates/restricted Translation-en [3.076 B]
Get:14 http://ubuntu.vargonen.com/ubuntu bionic-updates/universe amd64 Packages [706 kB]
Get:15 http://ubuntu.vargonen.com/ubuntu bionic-updates/universe i386 Packages [698 kB]
Fetched 414 kB in 1s (287 kB/s)
Reading package lists... Done
E: Failed to fetch http://ubuntu.vargonen.com/ubuntu/dists/bionic-updates/main/binary-i386/by-hash/SHA256/93358166c270b6b92fa9b2f22a2b48682eab53091a898321d887541133721297 Hash Sum mismatch
Hashes of expected file:
- Filesize:412704 [weak]
- SHA256:93358166c270b6b92fa9b2f22a2b48682eab53091a898321d887541133721297
- SHA1:18d14381256ffb6581e1a46b11d911a3cfe6c7ad [weak]
- MD5Sum:925906a34ad2a7f04f96fa373fb4d672 [weak]
Hashes of received file:
- SHA256:8963f74a7233a0b6d3fef6305755210d987563d34f3d4f9baad34985c3f2f2f8
- SHA1:4fe0dbdb757e94d9217ae262253ffa29737b92fa [weak]
- MD5Sum:12d989921f2d8efe120ea70cb64ac867 [weak]
- Filesize:412704 [weak]
Last modification reported: Tue, 01 Jan 2019 06:30:31 +0000
Release file created at: Fri, 04 Jan 2019 08:05:12 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Also when I make sudo apt-get install python3-dev
, this is the output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-dev : Depends: python3 (= 3.6.5-3) but 3.6.5-3ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
I tried nearly everything in the existing posts but nothing solve the problem.
Edit:
uname -m :
x86_64
cat /etc/apt/sources.list :
# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu bionic main restricted
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic-updates main 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://archive.ubuntu.com/ubuntu bionic universe
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu bionic-updates universe
# deb-src http://tr.archive.ubuntu.com/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://archive.ubuntu.com/ubuntu bionic multiverse
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse
# deb-src http://tr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main 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-src http://tr.archive.ubuntu.com/ubuntu/ bionic-backports main 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://archive.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://archive.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://archive.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
apt 18.04 package-management dependencies
apt 18.04 package-management dependencies
edited Jan 4 at 17:11
Metin Ersin Arıcan
asked Jan 4 at 11:14
Metin Ersin ArıcanMetin Ersin Arıcan
163
163
1
"I tried nearly everything", well. Did you tried to switch download mirror withsoftware-properties-gtk
?
– N0rbert
Jan 4 at 11:20
1
As @N0rbert suggested, try to change repository url viasoftware-properties-gtk
>Download from
and pick up different host.
– kenn
Jan 4 at 11:43
1
Your sources list mixed. You can recreate new one using following link : repogen.simplylinux.ch but at fist back up existing one withsudo mv /etc/apt/sources.list /etc/apt/sources.list.bak
then create new file with the same namesources.list
in that directory (/etc/apt/) then paste the list you generated in the link. Only pick upmain
,restricted
,universe
,multiverse
ones.
– kenn
Jan 4 at 17:52
1
Try this at first:askubuntu.com/questions/1065888/…
– kenn
Jan 4 at 18:00
1
I found another similar issue here github.com/MycroftAI/mycroft-core/issues/1780 . According to that report you also need to addImportant Security Updates
,Recommended Updates
– kenn
Jan 4 at 18:14
|
show 7 more comments
1
"I tried nearly everything", well. Did you tried to switch download mirror withsoftware-properties-gtk
?
– N0rbert
Jan 4 at 11:20
1
As @N0rbert suggested, try to change repository url viasoftware-properties-gtk
>Download from
and pick up different host.
– kenn
Jan 4 at 11:43
1
Your sources list mixed. You can recreate new one using following link : repogen.simplylinux.ch but at fist back up existing one withsudo mv /etc/apt/sources.list /etc/apt/sources.list.bak
then create new file with the same namesources.list
in that directory (/etc/apt/) then paste the list you generated in the link. Only pick upmain
,restricted
,universe
,multiverse
ones.
– kenn
Jan 4 at 17:52
1
Try this at first:askubuntu.com/questions/1065888/…
– kenn
Jan 4 at 18:00
1
I found another similar issue here github.com/MycroftAI/mycroft-core/issues/1780 . According to that report you also need to addImportant Security Updates
,Recommended Updates
– kenn
Jan 4 at 18:14
1
1
"I tried nearly everything", well. Did you tried to switch download mirror with
software-properties-gtk
?– N0rbert
Jan 4 at 11:20
"I tried nearly everything", well. Did you tried to switch download mirror with
software-properties-gtk
?– N0rbert
Jan 4 at 11:20
1
1
As @N0rbert suggested, try to change repository url via
software-properties-gtk
> Download from
and pick up different host.– kenn
Jan 4 at 11:43
As @N0rbert suggested, try to change repository url via
software-properties-gtk
> Download from
and pick up different host.– kenn
Jan 4 at 11:43
1
1
Your sources list mixed. You can recreate new one using following link : repogen.simplylinux.ch but at fist back up existing one with
sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak
then create new file with the same name sources.list
in that directory (/etc/apt/) then paste the list you generated in the link. Only pick up main
, restricted
, universe
, multiverse
ones.– kenn
Jan 4 at 17:52
Your sources list mixed. You can recreate new one using following link : repogen.simplylinux.ch but at fist back up existing one with
sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak
then create new file with the same name sources.list
in that directory (/etc/apt/) then paste the list you generated in the link. Only pick up main
, restricted
, universe
, multiverse
ones.– kenn
Jan 4 at 17:52
1
1
Try this at first:askubuntu.com/questions/1065888/…
– kenn
Jan 4 at 18:00
Try this at first:askubuntu.com/questions/1065888/…
– kenn
Jan 4 at 18:00
1
1
I found another similar issue here github.com/MycroftAI/mycroft-core/issues/1780 . According to that report you also need to add
Important Security Updates
, Recommended Updates
– kenn
Jan 4 at 18:14
I found another similar issue here github.com/MycroftAI/mycroft-core/issues/1780 . According to that report you also need to add
Important Security Updates
, Recommended Updates
– kenn
Jan 4 at 18:14
|
show 7 more comments
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106883%2fhash-sum-mismatch-you-have-held-broken-packages-unable-to-fetch-etc%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106883%2fhash-sum-mismatch-you-have-held-broken-packages-unable-to-fetch-etc%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
"I tried nearly everything", well. Did you tried to switch download mirror with
software-properties-gtk
?– N0rbert
Jan 4 at 11:20
1
As @N0rbert suggested, try to change repository url via
software-properties-gtk
>Download from
and pick up different host.– kenn
Jan 4 at 11:43
1
Your sources list mixed. You can recreate new one using following link : repogen.simplylinux.ch but at fist back up existing one with
sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak
then create new file with the same namesources.list
in that directory (/etc/apt/) then paste the list you generated in the link. Only pick upmain
,restricted
,universe
,multiverse
ones.– kenn
Jan 4 at 17:52
1
Try this at first:askubuntu.com/questions/1065888/…
– kenn
Jan 4 at 18:00
1
I found another similar issue here github.com/MycroftAI/mycroft-core/issues/1780 . According to that report you also need to add
Important Security Updates
,Recommended Updates
– kenn
Jan 4 at 18:14