Thursday, September 21, 2023
rated 0 times [  0] [ 0]  / answers: 1 / hits: 4880  / 2 Years ago, tue, august 3, 2021, 5:50:05

I have a laptop with dead battery that when there is no current connected to it turns critical so fast and in the energy management in Ubuntu, when the battery is critical, there are 2 options: shutdown and hibernate witch is in grey (unclickable), so I have no choice but to chose immediate shutdown, there is no standby even if it is an option in the screen behavior. An immediate shutdown (and I mean by immediate the one that we use when we ended using the computer) happened while I was installing a program called quickly, so after the power was restored, I tried to reinstall the program then I get this translated message:

An untreatable error occurred:

It seems there is a software error in aptdaemon, the program that lets you install and remove software and any other task related to package management.


Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/aptdaemon/", line 968, in simulate
trans.unauthenticated = self._simulate_helper(trans)
File "/usr/lib/python2.7/dist-packages/aptdaemon/", line 1092, in _simulate_helper
return depends, self._cache.required_download,
File "/usr/lib/python2.7/dist-packages/apt/", line 235, in required_download
pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate a file for the libpng12-dev package. This might mean you need to manually fix this package.

More From » system-installation


open the terminal and type

sudo apt-get install -f

[#39684] Wednesday, August 4, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 500
Total Questions: 104
Total Answers: 92

Location: Virgin Islands (U.S.)
Member since Fri, May 7, 2021
2 Years ago
inaterested questions
Fri, Aug 12, 22, 21:24, 1 Year ago
Wed, Apr 27, 22, 17:14, 1 Year ago
Tue, Oct 26, 21, 20:41, 2 Years ago