Jump to content

Recommended Posts

Posted

Hello

 

I having some issues with the Armbian Buster image for Nano Pi Neo 2.

https://www.armbian.com/nanopi-neo-2/

 

When I launch the command sudo apt update, I'm getting the following error:

 

The package cache file is corrupted, it has the wrong hash

 

I already downloaded the image several times, I still getting the same error.

My SD card is ok, I have tried with 2 different ones.

 

I can remember having the same issue with a preview version.

 

What's wrong???

 

Thank you

Posted
5 hours ago, Tantalum said:

What's wrong???


Did you try with some other SD card?

 

Images are tested and since I am testing upgrades to new version where we will change packages names ... I did one more test. Works as expected:

 

Spoiler

root@10.0.10.113's password: 
 _   _ ____  _   _   _              ____  
| \ | |  _ \(_) | \ | | ___  ___   |___ \ 
|  \| | |_) | | |  \| |/ _ \/ _ \    __) |
| |\  |  __/| | | |\  |  __/ (_) |  / __/ 
|_| \_|_|   |_| |_| \_|\___|\___/  |_____|
                                          
Welcome to Debian Buster with Armbian Linux 4.19.59-sunxi64
System load:   0.15 0.18 0.08  	Up time:       2 min		
Memory usage:  17 % of 481MB  	IP:            10.0.10.113
CPU temp:      40°C           	
Usage of /:    3% of 58G    	

Last login: Tue Jul 16 07:18:15 2019 from 10.0.10.98

root@nanopineo2:~# apt update
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian buster InRelease [122 kB]                                   
Get:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:4 http://cdn-fastly.deb.debian.org/debian buster-backports InRelease [46.7 kB]
Get:6 http://security.debian.org buster/updates/main armhf Packages [145 kB]
Get:5 https://apt.armbian.com buster InRelease [18.3 kB]
Get:7 http://security.debian.org buster/updates/main arm64 Packages [145 kB]      
Get:8 http://cdn-fastly.deb.debian.org/debian buster/main arm64 Packages [7728 kB]
Get:9 http://cdn-fastly.deb.debian.org/debian buster/main armhf Packages [7690 kB]
Get:10 http://cdn-fastly.deb.debian.org/debian buster/main arm64 Contents (deb) [35.3 MB]
Get:11 https://apt.armbian.com buster/main armhf Packages [71.2 kB]
Get:12 https://apt.armbian.com buster/main arm64 Packages [69.0 kB]                                 
Get:13 https://apt.armbian.com buster/main armhf Contents (deb) [2978 kB]                           
Get:14 https://apt.armbian.com buster/main arm64 Contents (deb) [2989 kB]                            
Get:15 https://apt.armbian.com buster/buster-utils armhf Packages [3749 B]               
Get:16 https://apt.armbian.com buster/buster-utils arm64 Packages [3459 B]               
Get:17 https://apt.armbian.com buster/buster-utils arm64 Contents (deb) [572 B]          
Get:18 https://apt.armbian.com buster/buster-utils armhf Contents (deb) [572 B]          
Get:19 https://apt.armbian.com buster/buster-desktop arm64 Packages [403 B]              
Get:20 https://apt.armbian.com buster/buster-desktop armhf Packages [1531 B]             
Get:21 https://apt.armbian.com buster/buster-desktop armhf Contents (deb) [213 B]        
Get:22 https://apt.armbian.com buster/buster-desktop arm64 Contents (deb) [60 B]         
Get:23 http://cdn-fastly.deb.debian.org/debian buster/main armhf Contents (deb) [35.2 MB]
Get:24 http://cdn-fastly.deb.debian.org/debian buster/non-free arm64 Packages [53.9 kB]                                                               
Get:25 http://cdn-fastly.deb.debian.org/debian buster/non-free armhf Packages [62.0 kB]                                                               
Get:26 http://cdn-fastly.deb.debian.org/debian buster/non-free armhf Contents (deb) [764 kB]                                                          
Get:27 http://cdn-fastly.deb.debian.org/debian buster/non-free arm64 Contents (deb) [757 kB]                                                          
Get:28 http://cdn-fastly.deb.debian.org/debian buster-updates/main armhf Packages [5780 B]                                                            
Get:29 http://cdn-fastly.deb.debian.org/debian buster-updates/main arm64 Packages [5776 B]                                                            
Get:30 http://cdn-fastly.deb.debian.org/debian buster-updates/main arm64 Contents (deb) [39.1 kB]                                                     
Get:31 http://cdn-fastly.deb.debian.org/debian buster-updates/main armhf Contents (deb) [39.1 kB]                                                     
Get:32 http://cdn-fastly.deb.debian.org/debian buster-backports/main armhf Packages [125 kB]                                                          
Get:33 http://cdn-fastly.deb.debian.org/debian buster-backports/main arm64 Packages [125 kB]                                                          
Get:34 http://cdn-fastly.deb.debian.org/debian buster-backports/main arm64 Contents (deb) [2637 kB]                                                   
Get:35 http://cdn-fastly.deb.debian.org/debian buster-backports/main armhf Contents (deb) [2796 kB]                                                   
Get:36 http://cdn-fastly.deb.debian.org/debian buster-backports/contrib arm64 Packages [4912 B]                                                       
Get:37 http://cdn-fastly.deb.debian.org/debian buster-backports/contrib armhf Packages [5040 B]                                                       
Get:38 http://cdn-fastly.deb.debian.org/debian buster-backports/contrib arm64 Contents (deb) [20.8 kB]                                                
Get:39 http://cdn-fastly.deb.debian.org/debian buster-backports/contrib armhf Contents (deb) [20.7 kB]                                                
Get:40 http://cdn-fastly.deb.debian.org/debian buster-backports/non-free armhf Packages [5192 B]                                                      
Get:41 http://cdn-fastly.deb.debian.org/debian buster-backports/non-free arm64 Packages [5192 B]                                                      
Get:42 http://cdn-fastly.deb.debian.org/debian buster-backports/non-free armhf Contents (deb) [40.0 kB]                                               
Get:43 http://cdn-fastly.deb.debian.org/debian buster-backports/non-free arm64 Contents (deb) [40.0 kB]                                               
Fetched 100 MB in 1min 27s (1148 kB/s)                                                                                                                
Reading package lists... Done
Building dependency tree       
Reading state information... Done
61 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Repository 'http://cdn-fastly.deb.debian.org/debian buster InRelease' changed its 'Version' value from '10.0' to '10.1'

 

 

Posted

I have tried with 2 different SD cards (Samsung Evo Plus), 2 different card readers and updated Etcher and Win32DiskImager.

 

File hash is also ok.

 

Posted

Mine works. Perhaps there is some problem with an upstream Debian repository you are getting updates from. No idea. It looks beyond Armbian - I am unable to recreate.

Posted
Quote

Err:35 http://cdn-fastly.deb.debian.org/debian buster-backports/main armhf Contents (deb)
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:2795533 [weak]
   - SHA256:15f530a047e49a52284cce318630a8acb7879ebab95ecd28b8b660ba17dcbb94
  Hashes of received file:
   - SHA256:8c74979f1ac7600e494d33fda829dd2b5081b095f4c25889435c247247f8a549
   - Filesize:2795533 [weak]
  Last modification reported: Sat, 16 Nov 2019 14:01:28 +0000
  Release file created at: Sat, 16 Nov 2019 14:29:08 +0000

 

Posted
22 hours ago, Tantalum said:

Err:35 http://cdn-fastly.deb.debian.org/debian buster-backports/main armhf Contents (deb)

 

We have absolutely no control over Debian packages located at debian.org. Wrong forum/place you are reporting this problem -> perhaps Debian armhf maintainers?

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines