Ubuntu: update manager fails


I'm trying to update my Ubuntu system, but cannot do anything with the Update Manager. I get the following error message:

Could not initialize the package information  An unresolvable problem occurred while initializing the package information.  Please report this bug against the 'update-manager' package and include the following error message:  You may want to run apt-get update to correct these problems,   E:The package perl-base needs to be reinstalled, but I can't find an archive for it.'  


TL;DR Open a terminal and run these commands:

sudo apt-get update  sudo apt-get install --reinstall perl-base  sudo apt-get upgrade  


  • apt-get update

    • update

      update is used to resynchronize the package index files from their sources.

  • apt-get install --reinstall

    • install

      install is followed by one or more packages desired for installation or upgrading.

    • --reinstall

      Re-install packages that are already installed and at the newest version.

  • apt-get upgrade

    • upgrade

      upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list.


Open a terminal and run the following:

sudo apt-get update  

This should update the package lists, and the problem may have been caused a process being terminated while in the middle of updating. Make sure not to interrupt it this time.

sudo apt-get dist-upgrade  

This will upgrade all packages, and hopefully there will be no errors. If this works, then chances are that when you open up Update Manager again, there won't be any errors.

To remove a broken repository, run the following in the terminal:

cd /etc/apt/sources.list.d  ls  

Extra repositories will be listed. To delete the one you don't want any more:

sudo rm <file>  

For example:

sudo rm opera.list  

Then, run the first two commands again (sudo apt-get update and sudo apt-get dist-upgrade). This time, there should be no errors.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »