Tag: dpkg

dpkg: error: fgets gave an empty string from ‘/var/lib/dpkg/triggers/Unincorp’ (SOLVED)

When trying to use the apt package manager, for example: sudo apt install linux-image-amd64 An error occurred: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. The error is caused by disk problems or package upgrade failure. When trying to use the recommended command: sudo dpkg --configure -a There was another error: dpkg:...

Is it safe to remove configuration files left over from removed packages? (SOLVED)

What does the package status “[residual-config]” mean? When searching the package repository using the apt utility, you may encounter programs that have a status like this instead of “installed” or not installed. [residual-config] See also: How to check if a package is installed on Linux Mint There can be quite a lot of such files. This raises the question: is...

How to simulate package installation on Linux (How to create and install a dummy package)

Sometimes, when installing packages from source code, you may encounter the problem that the required dependency is missing from the system. Usually you need to solve this problem by installing the necessary dependencies from the standard repository, or by compiling them from source. Sometimes the required package is present, but its version is not suitable, a similar example and solution...
Loading...
X