Scripts don't seem to work anymore - [ERROR] in line 195: exit code 0: while executing command $STD apt-get -o Dpkg::Options::="--force-confold" -y dist-upgrade #1737
Unanswered
m4tthall73
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Something broken on your Debian Install. apt autoremove? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Fairly new to this so please bear with me. I have run a number of scripts on my proxmox node with success. However, today I seem to constantly get the same error message for 4 that I have tried, one of which I knew worked previously. So I am guessing something has changed on my server but not sure what. Any help would be greatly appreciated, thanks.
Here is an example of verbose from running Homarr, with the last few lines being
Processing triggers for libc-bin (2.36-9+deb12u9) ...
Errors were encountered while processing:
openssh-server
ssh
⠏E: Sub-process /usr/bin/dpkg returned an error code (1)
[ERROR] in line 195: exit code 0: while executing command $STD apt-get -o Dpkg::Options::="--force-confold" -y dist-upgrade
Scrolling up through the output the only other thing I can see that looks out of place is this
Get:45 http://deb.debian.org/debian bookworm/main amd64 ssh all 1:9.2p1-2+deb12u4 [174 kB]
Fetched 30.4 MB in 1s (45.3 MB/s)
⠸apt-listchanges: Reading changelogs...
dpkg-deb: error: unable to create temporary directory: No such file or directory
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.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['dpkg-deb', '-f', '/var/cache/apt/archives/base-files_12.4+deb12u9_amd64.deb', 'Package', 'Source', 'Version', 'Architecture', 'Status']' returned non-zero exit status 2.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 323, in
main(config)
File "/usr/bin/apt-listchanges", line 104, in main
pkg = DebianFiles.Package(deb)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/apt-listchanges/DebianFiles.py", line 358, in init
parser.readdeb(self.path)
File "/usr/share/apt-listchanges/DebianFiles.py", line 127, in readdeb
raise RuntimeError(_("Error processing '%(what)s': %(errmsg)s") %
RuntimeError: Error processing '/var/cache/apt/archives/base-files_12.4+deb12u9_amd64.deb': Command '['dpkg-deb', '-f', '/var/cache/apt/archives/base-files_12.4+deb12u9_amd64.deb', 'Package', 'Source', 'Version', 'Architecture', 'Status']' returned non-zero exit status 2.
Extracting templates from packages: 100%
Beta Was this translation helpful? Give feedback.
All reactions