Saturday, January 6, 2018

apt - An error occurred, please run package manager



I have just upgraded my Dell Inspiron 1545 laptop from Ubuntu 12.04 to 13.04. Unfortunately the top bar now has a little red circle with a minus sign in it. When I click it, it opens a box with the following message in it:




An error occurred, please run Package Manager from the right-click from the right click window or apt-get in a terminal to see what is wrong. The error message was: 'Unknown Error:''(E:The package google-chrome-stable needs to be reinstalled, but I can't find an archive for it.)'This usually means that you have >installed packages with unmet dependencies




I don't have a lot of experience using ubuntu, or linux in general, and I don't know what this means. It sounded to me like some kind of google chrome error. I had downloaded and installed google chrome only a few minutes before. I ran apt-get in the terminal but it didn't do anything, and I had no idea what run the Package Manager from the right click window meant. Google chrome and the geany ide are the only sofware I have installed since installing linux. The computer seems to be running perfectly fine. Do you have any suggestions on what I should do?




The results from: sudo apt-get -f install are:




E: The package google-chrome-stable needs to be reinstalled, but I can't find an archive for it.




It seems that google-chrome-stable have broke your system for some reason. Try this:
Open your terminal window



Ctrl+Alt+T



Then right there type commands (after each command type enter and respond yes to questions)



sudo apt-get remove google-chrome-stable 


Then update the system via



sudo apt-get update && sudo apt-get upgrade



Let apt-get run and if there is any error post as comment here and I will help (or anyone available)



If the Commands fails you can try these ones:
Update Packages



sudo apt-get update



clean the downloaded packages (where there might be broken ones)



sudo apt-get clean


Remove unneeded packages (careful! If it might list something that is needed but its dependency or such have been removed and left it orphan)



sudo apt-get autoremove



Reconfigure all packages



sudo dpkg --configure -a


Fix broken packages



sudo apt-get install -f

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...