tylermmoore
Posts: 4
Joined: Tue May 12, 2020 12:19 am

Ras Pi Zero W (buster) Apt Upgrade dpkg error

Tue May 19, 2020 2:22 pm

Hi All, I am trying to do a simple apt update apt upgrade to a ras pi zero W (Buster) and I am getting the error below. Any idea why this is happening?
Thanks

pi@raspizero:~ $ sudo apt update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
pi@raspizero:~ $ sudo apt list --upgradable
Listing... Done
dphys-swapfile/testing 20100506-5+rpt1 all [upgradable from: 20100506-5]
rpi-eeprom-images/testing 7.0-1 all [upgradable from: 6.0-1]
rpi-eeprom/testing 7.0-1 all [upgradable from: 6.0-1]
pi@raspizero:~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
dphys-swapfile rpi-eeprom rpi-eeprom-images
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/472 kB of archives.
After this operation, 506 kB disk space will be freed.
Do you want to continue? [Y/n] Y
Reading changelogs... Done
dpkg: error processing archive /var/cache/apt/archives/dphys-swapfile_20100506-5+rpt1_all.deb (--unpack):
subprocess dpkg-split returned error exit status 11
dpkg: error processing archive /var/cache/apt/archives/rpi-eeprom-images_7.0-1_all.deb (--unpack):
subprocess dpkg-split returned error exit status 11
dpkg: error processing archive /var/cache/apt/archives/rpi-eeprom_7.0-1_all.deb (--unpack):
subprocess dpkg-split returned error exit status 11
Errors were encountered while processing:
/var/cache/apt/archives/dphys-swapfile_20100506-5+rpt1_all.deb
/var/cache/apt/archives/rpi-eeprom-images_7.0-1_all.deb
/var/cache/apt/archives/rpi-eeprom_7.0-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

pcmanbob
Posts: 9465
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Ras Pi Zero W (buster) Apt Upgrade dpkg error

Tue May 19, 2020 2:28 pm

Have you tried with the recommended update commands ?

Code: Select all

sudo apt update
sudo apt full-upgrade
ref doc.....
https://www.raspberrypi.org/documentati ... pdating.md
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

tylermmoore
Posts: 4
Joined: Tue May 12, 2020 12:19 am

Re: Ras Pi Zero W (buster) Apt Upgrade dpkg error

Tue May 19, 2020 2:59 pm

Hi, I did try that but it gave me the same error.

Return to “Troubleshooting”