0

Recently I accidentally changed the permission of all file in the root directory to world readable/writable on my ubuntu 16.04. Somehow I managed to solve the majority of the problem but stuck with wifi module. So I thought of upgrade but having the following issue with "sudo apt-get update" commands: error part 1

error part 2

error part 3

E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi'
E: Sub-process returned an error code

Any help is much appreciated!

George Udosen
  • 36,677

1 Answers1

1

There's two links that you should take a look at. The first addresses your update process:

appstreamcli hanging with 100% CPU usage during update

The second addresses changing the root permissions:

What if I accidentally run command "chmod -R" on system directories (/, /etc, ...)

Charles Green
  • 21,339