apt upgrade or aptautoremove failing with E: Sub-process /usr/bin/dpkg returned an error code (1)
After run commands "sudo apt upgrade" and "sudo apt autoremove" the following is happening:
$ sudo apt upgrade
Upgrading packages that are needed to be...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up brave-browser (1.10.93) ...
update-
dpkg: error processing package brave-browser (--configure):
installed brave-browser package post-installation script subprocess returned error exit status 2
Setting up google-
update-
dpkg: error processing package google-
installed google-
Errors were encountered while processing:
brave-browser
google-
E: Sub-process /usr/bin/dpkg returned an error code (1)
$
$ sudo apt autoremove -y
Removing unnecessary packages...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up brave-browser (1.10.93) ...
update-
dpkg: error processing package brave-browser (--configure):
installed brave-browser package post-installation script subprocess returned error exit status 2
Setting up google-
update-
dpkg: error processing package google-
installed google-
Errors were encountered while processing:
brave-browser
google-
E: Sub-process /usr/bin/dpkg returned an error code (1)
Did someone experienced this kind of failure? If yes, any way to fix it?
Thanks in advance very much.
My best regards.
Rod.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Rodivaldo Marcelo Raimundo
- Solved:
- Last query:
- Last reply: