Software⏱️ 3 min read📅 2026-06-19

How to Fix: E: Internal Error, Could not perform immediate configuration (2) on util-linux

Failed to upgrade Ubuntu due to internal error in util-linux.

Quick Answer: Try reinstalling util-linux package and then run apt-get update and upgrade again.

The error 'E: Internal Error, Could not perform immediate configuration (2) on util-linux' occurs when the system is unable to configure some packages due to an internal issue with the util-linux package. This affects users who have recently upgraded their Ubuntu installation or installed new packages.

This error can be frustrating as it prevents users from installing necessary packages and causes inconvenience in their workflow. However, by following the steps outlined below, you should be able to resolve this issue and continue using your system.

💡 Why You Are Getting This Error

  • The primary reason for this error is that the util-linux package has been modified or corrupted during the upgrade process. This can occur when a new version of Ubuntu is installed on top of an older version, causing conflicts with the existing package configuration.
  • Another possible cause is that the system's package index has become corrupted, leading to issues with package installation and configuration.

🔧 Proven Troubleshooting Steps

Reinstalling util-linux from source

  1. Step 1: 1. Download the util-linux source code using a command like `wget https://www.kernel.org/pub/linux/utils/util-linux-2.31.tar.gz`.
  2. Step 2: 2. Extract the downloaded archive to a temporary directory using `tar -xvf util-linux-2.31.tar.gz -C /tmp`.
  3. Step 3: 3. Build and install util-linux from source using `make -j$(nproc) && make install`. This may take some time, depending on your system's hardware.

Cleaning the package index and reinstalling util-linux

  1. Step 1: 1. Remove any corrupted or outdated packages from the system using `sudo apt-get autoremove && sudo apt-get clean`.
  2. Step 2: 2. Update the package index to ensure that all available packages are listed correctly using `sudo apt-get update`.
  3. Step 3: 3. Reinstall util-linux using `sudo apt-get install util-linux`.

✨ Wrapping Up

To resolve the 'E: Internal Error, Could not perform immediate configuration (2) on util-linux' error, try reinstalling util-linux from source or cleaning the package index and reinstalling it. If these methods do not work, you may need to seek further assistance from a system administrator or Ubuntu support team.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions