Could not commit changes

Asked by nordine

When I want to install a package I get a pop up window with the following message:

There was an error committing changes.Possible reasons include problems downloading some of the packages or that the commit would break other packages.

Before that message I encountered the following message:
You will not be able to change your system settings in any way (install, remove or upgrade software), because another process is using the packaging system database (probably some other Adept application or apt-get or aptitude). Please close the other application before using this one.

After cheking with ps -ef | grep -i adept, there were nothing related to a running adept process.

I run: aptitude update and then dpkg --configure -a, and since I have the 1st message.

Best Regards,

Question information

Language:
English Edit question
Status:
Solved
For:
Adept Manager Edit question
Assignee:
No assignee Edit question
Solved by:
nordine
Solved:
Last query:
Last reply:
Revision history for this message
Best nordine (nordine) said :
#1

I run the following commands:

dpkg --configure -a && sudo apt-get -f install

That fixed the problem!