Tag: apt

Updating packages: whether to update the config file

Consider a situation when the package manager of your Linux distribution (Debian, Linux Mint, Ubuntu, Kali Linux) asks about updating the configuration file – what to do and how to get the latest version of the configuration file? Let’s figure it out. With some updates of some packages, the structure of the configuration file changes. As a rule, the new...

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...

Do services need to be restarted when updating packages

Package configuration: whether to restart the service During the installation of package updates and their configuration, the apt program may ask you to restart the service: There are services installed on your system which need to be restarted when certain libraries, such as libpam, libc, and libssl, are upgraded. Since these restarts may cause interruptions of service for the system,...

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...

Warning: apt-key is deprecated (SOLVED)

The apt-key command manages keys that are responsible for verifying the signature of application package repositories. Now, whenever you use the apt-key command, you will receive the message: Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). It means that the apt-key program is now deprecated. Now we should use trusted.gpg.d to manage keyfiles. Translated into human...
Loading...
X