![]() In addition, if you still get this E: Unable to lock directory /var/lib/apt/lists/ error, you can remove the apt lock file and see. Or, you can run it by other users (such as pi) with sudo before the command. var/cache/apt/archives/base-files_10.3+rpi1+deb10u4_armhf. The apt-get update command requires to write some system directories hence you have to run it as a root user. ) from exĭpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)ĭpkg: error processing archive /var/cache/apt/archives/base-files_10.3+rpi1+deb10u4_b (-unpack):ĭpkg-deb -control subprocess returned error exit status 2Įrrors were encountered while processing: ![]() nano to remove the offending 'etcher' line(s): sudo nano /etc/apt/sources.list You also need to check the 'secondary' list files. The main source file is /etc/apt/sources.list. ![]() sudo apt full-upgrade: Installs updates ( add or remove packages ), equivalent of dist-upgrade. All the repository URL's are in the apt source files. sudo apt upgrade: Strictly upgrades the current packages. Subprocess.CalledProcessError: Command '' returned non-zero exit status 2.ĭuring handling of the above exception, another exception occurred:įile "/usr/bin/apt-listchanges", line 281, in įile "/usr/bin/apt-listchanges", line 96, in mainįile "/usr/share/apt-listchanges/DebianFiles.py", line 215, in _init_įile "/usr/share/apt-listchanges/DebianFiles.py", line 128, in readdeb I know that there are three command to update and then upgrade the whole system, these are: sudo apt update: Fetches the list of available updates. Output = subprocess.check_output(command)įile "/usr/lib/python3.7/subprocess.py", line 395, in check_outputįile "/usr/lib/python3.7/subprocess.py", line 487, in run Code: Select all dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)įile "/usr/share/apt-listchanges/DebianFiles.py", line 124, in readdeb
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |