sudo apt clean
sudo apt-get update
sudo apt full-upgrade
Code: Select all
dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)
Traceback (most recent call last):
File "/usr/share/apt-listchanges/DebianFiles.py", line 124, in readdeb
output = subprocess.check_output(command)
File "/usr/lib/python3.7/subprocess.py", line 395, in check_output
**kwargs).stdout
File "/usr/lib/python3.7/subprocess.py", line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['dpkg-deb', '-f', '/var/cache/apt/archives/base-files_10.3+rpi1+deb10u4_armhf.deb', 'Package', 'Source', 'Version', 'Architecture', 'Status']' returned non-zero exit status 2.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 281, in <module>
main(config)
File "/usr/bin/apt-listchanges", line 96, in main
pkg = DebianFiles.Package(deb)
File "/usr/share/apt-listchanges/DebianFiles.py", line 215, in __init__
parser.readdeb(self.path)
File "/usr/share/apt-listchanges/DebianFiles.py", line 128, in readdeb
{'what': file, 'errmsg': str(ex)}) from ex
NameError: name 'file' is not defined
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)
dpkg: error processing archive /var/cache/apt/archives/base-files_10.3+rpi1+deb10u4_armhf.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/base-files_10.3+rpi1+deb10u4_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
pi@raspberrypi:~ $ cat /etc/debian_version
10.3
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@raspberrypi:~ $