User avatar
midola
Posts: 21
Joined: Fri Jul 01, 2016 8:58 pm

updating fails

Sun Sep 29, 2019 10:32 pm

Code: Select all

sudo apt-get update
Geraakt:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Geraakt:2 http://archive.raspberrypi.org/debian buster InRelease
Fout:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
  Splitting up /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_buster_InRelease into data and signature failed
Pakketlijsten worden ingelezen... Fout!
W: Er is een fout opgetreden bij de controle van de ondertekening. De pakketbron is niet bijgewerkt en de oude indexbestanden zullen worden gebruikt. GPG-fout: http://raspbian.raspberrypi.org/raspbian buster InRelease: Splitting up /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_buster_InRelease into data and signature failed
W: Ophalen van http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease is mislukt  Splitting up /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_buster_InRelease into data and signature failed
W: Ophalen van sommige indexbestanden is mislukt. Deze zijn of genegeerd, of er zijn oudere versies van gebruikt.
E: Splitting of clearsigned file /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_buster_InRelease failed as it doesn't contain all expected parts
E: De pakketlijsten of het statusbestand konden of niet ontleed, of niet geopend worden.
Can anybody help me fix this problem?

User avatar
Paul Webster
Posts: 817
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: updating fails

Thu Dec 05, 2019 6:40 pm

... time passed ... and I am now seeing the same thing.

Just bringing an old RPi 1 back into life. Fresh SD card with Buster from raspberrypi.org

I ran update and upgrade earlier today without a reported problem.
Rebooted about an hour ago and an install routine (Pimoroni Mote) ran apt-get update ... and error as above (in my case in English).

Code: Select all

 sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Err:1 http://archive.raspberrypi.org/debian buster InRelease
  Splitting up /var/lib/apt/lists/archive.raspberrypi.org_debian_dists_buster_InRelease into data and signature failed
Reading package lists... Error!
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.raspberrypi.org/debian buster InRelease: Splitting up /var/lib/apt/lists/archive.raspberrypi.org_debian_dists_buster_InRelease into data and signature failed
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/buster/InRelease  Splitting up /var/lib/apt/lists/archive.raspberrypi.org_debian_dists_buster_InRelease into data and signature failed
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Splitting of clearsigned file /var/lib/apt/lists/archive.raspberrypi.org_debian_dists_buster_InRelease failed as it doesn't contain all expected parts
E: The package lists or status file could not be parsed or opened.

Code: Select all

ls -lrt /var/lib/apt/lists
total 69196
-rw-r--r-- 1 root root     2704 Feb  9  2019 raspbian.raspberrypi.org_raspbian_dists_buster_rpi_binary-armhf_Packages
-rw-r--r-- 1 root root   234845 Jun 27 23:35 raspbian.raspberrypi.org_raspbian_dists_buster_contrib_binary-armhf_Packages
-rw-r--r-- 1 root root   495146 Sep  7 17:55 raspbian.raspberrypi.org_raspbian_dists_buster_non-free_binary-armhf_Packages
-rw-r----- 1 root root        0 Sep 26 01:09 lock
drwxr-xr-x 2 _apt root     4096 Sep 26 01:09 auxfiles
-rw-r--r-- 1 root root 69066892 Nov 29 05:00 raspbian.raspberrypi.org_raspbian_dists_buster_main_binary-armhf_Packages
-rw-r--r-- 1 root root    14974 Dec  5 16:51 raspbian.raspberrypi.org_raspbian_dists_buster_InRelease
-rw-r--r-- 1 root root   994379 Dec  5 16:54 archive.raspberrypi.org_debian_dists_buster_main_binary-armhf_Packages
-rw-r--r-- 1 root root    25169 Dec  5 16:54 archive.raspberrypi.org_debian_dists_buster_InRelease
drwx------ 2 _apt root     4096 Dec  5 18:33 partial
I presume that the "partial" is a result of this failure to update.

Any clues?

User avatar
Paul Webster
Posts: 817
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: updating fails

Thu Dec 05, 2019 7:16 pm

Looking at one from Nov 29th on an RPi4 ... I see a very different style of content.

The recent one that I picked up has lots of "alias" records like

Code: Select all

alias symbol:ieee80211_chandef_to_operating_class cfg80211
but the older one from an RPi4 has no mention of "alias"

User avatar
Paul Webster
Posts: 817
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: updating fails

Thu Dec 05, 2019 8:31 pm

Great - someone or something has fixed it ... all of the "alias" lines have now gone and apt is happy again.

Return to “Troubleshooting”