Can't install/update/remove apps âtrying to overwrite⦠which is also inâ¦â [duplicate]

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
This question already has an answer here:
dpkg error: âtrying to overwrite file, which is also inâ¦â
4 answers
While installing updating or removing any app, I get this error:
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
winetricks : Depends: cabextract
E: Unmet dependencies. Try using -f.
And when I run sudo apt -f install, I get this error:
$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
cabextract
The following NEW packages will be installed:
cabextract
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
Need to get 0 B/21.4 kB of archives.
After this operation, 112 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 282096 files and directories currently
installed.)
Preparing to unpack .../cabextract_1.6-1_amd64.deb ...
Unpacking cabextract (1.6-1) ...
dpkg: error processing archive /var/cache/apt/archives/cabextract_1.6-
1_amd64.deb (--unpack):
trying to overwrite '/usr/share/icons/cab_extract.png', which is also
in package zorinos-icons 10.0~xenial~NoobsLab.com
Errors were encountered while processing:
/var/cache/apt/archives/cabextract_1.6-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt dpkg
marked as duplicate by N0rbert, user117103, Terrance, karel, Zanna Mar 4 at 20:42
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
0
down vote
favorite
This question already has an answer here:
dpkg error: âtrying to overwrite file, which is also inâ¦â
4 answers
While installing updating or removing any app, I get this error:
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
winetricks : Depends: cabextract
E: Unmet dependencies. Try using -f.
And when I run sudo apt -f install, I get this error:
$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
cabextract
The following NEW packages will be installed:
cabextract
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
Need to get 0 B/21.4 kB of archives.
After this operation, 112 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 282096 files and directories currently
installed.)
Preparing to unpack .../cabextract_1.6-1_amd64.deb ...
Unpacking cabextract (1.6-1) ...
dpkg: error processing archive /var/cache/apt/archives/cabextract_1.6-
1_amd64.deb (--unpack):
trying to overwrite '/usr/share/icons/cab_extract.png', which is also
in package zorinos-icons 10.0~xenial~NoobsLab.com
Errors were encountered while processing:
/var/cache/apt/archives/cabextract_1.6-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt dpkg
marked as duplicate by N0rbert, user117103, Terrance, karel, Zanna Mar 4 at 20:42
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
ZorinOS is offtopix here. If you are really using Ubuntu, please specify its version and show us the output ofapt-cache policy zorinos-icons.
â N0rbert
Mar 4 at 9:44
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This question already has an answer here:
dpkg error: âtrying to overwrite file, which is also inâ¦â
4 answers
While installing updating or removing any app, I get this error:
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
winetricks : Depends: cabextract
E: Unmet dependencies. Try using -f.
And when I run sudo apt -f install, I get this error:
$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
cabextract
The following NEW packages will be installed:
cabextract
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
Need to get 0 B/21.4 kB of archives.
After this operation, 112 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 282096 files and directories currently
installed.)
Preparing to unpack .../cabextract_1.6-1_amd64.deb ...
Unpacking cabextract (1.6-1) ...
dpkg: error processing archive /var/cache/apt/archives/cabextract_1.6-
1_amd64.deb (--unpack):
trying to overwrite '/usr/share/icons/cab_extract.png', which is also
in package zorinos-icons 10.0~xenial~NoobsLab.com
Errors were encountered while processing:
/var/cache/apt/archives/cabextract_1.6-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt dpkg
This question already has an answer here:
dpkg error: âtrying to overwrite file, which is also inâ¦â
4 answers
While installing updating or removing any app, I get this error:
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
winetricks : Depends: cabextract
E: Unmet dependencies. Try using -f.
And when I run sudo apt -f install, I get this error:
$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
cabextract
The following NEW packages will be installed:
cabextract
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
Need to get 0 B/21.4 kB of archives.
After this operation, 112 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 282096 files and directories currently
installed.)
Preparing to unpack .../cabextract_1.6-1_amd64.deb ...
Unpacking cabextract (1.6-1) ...
dpkg: error processing archive /var/cache/apt/archives/cabextract_1.6-
1_amd64.deb (--unpack):
trying to overwrite '/usr/share/icons/cab_extract.png', which is also
in package zorinos-icons 10.0~xenial~NoobsLab.com
Errors were encountered while processing:
/var/cache/apt/archives/cabextract_1.6-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
This question already has an answer here:
dpkg error: âtrying to overwrite file, which is also inâ¦â
4 answers
apt dpkg
apt dpkg
edited Mar 4 at 20:42
Zanna
48.2k13120228
48.2k13120228
asked Mar 4 at 7:40
kailasneupane
6
6
marked as duplicate by N0rbert, user117103, Terrance, karel, Zanna Mar 4 at 20:42
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by N0rbert, user117103, Terrance, karel, Zanna Mar 4 at 20:42
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
ZorinOS is offtopix here. If you are really using Ubuntu, please specify its version and show us the output ofapt-cache policy zorinos-icons.
â N0rbert
Mar 4 at 9:44
add a comment |Â
ZorinOS is offtopix here. If you are really using Ubuntu, please specify its version and show us the output ofapt-cache policy zorinos-icons.
â N0rbert
Mar 4 at 9:44
ZorinOS is offtopix here. If you are really using Ubuntu, please specify its version and show us the output of
apt-cache policy zorinos-icons.â N0rbert
Mar 4 at 9:44
ZorinOS is offtopix here. If you are really using Ubuntu, please specify its version and show us the output of
apt-cache policy zorinos-icons.â N0rbert
Mar 4 at 9:44
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
Remove the package zorinos-icons. It is not official and prevents cabextract from installing by providing the same file.
add a comment |Â
up vote
0
down vote
since apt was not working, I could not execute
sudo apt purge zorinos-icons
So i had to manually remove those contents by searching via file manager in root mode. Now it is fixed.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Remove the package zorinos-icons. It is not official and prevents cabextract from installing by providing the same file.
add a comment |Â
up vote
1
down vote
Remove the package zorinos-icons. It is not official and prevents cabextract from installing by providing the same file.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Remove the package zorinos-icons. It is not official and prevents cabextract from installing by providing the same file.
Remove the package zorinos-icons. It is not official and prevents cabextract from installing by providing the same file.
answered Mar 4 at 8:41
S.M.
1464
1464
add a comment |Â
add a comment |Â
up vote
0
down vote
since apt was not working, I could not execute
sudo apt purge zorinos-icons
So i had to manually remove those contents by searching via file manager in root mode. Now it is fixed.
add a comment |Â
up vote
0
down vote
since apt was not working, I could not execute
sudo apt purge zorinos-icons
So i had to manually remove those contents by searching via file manager in root mode. Now it is fixed.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
since apt was not working, I could not execute
sudo apt purge zorinos-icons
So i had to manually remove those contents by searching via file manager in root mode. Now it is fixed.
since apt was not working, I could not execute
sudo apt purge zorinos-icons
So i had to manually remove those contents by searching via file manager in root mode. Now it is fixed.
answered Mar 4 at 16:54
kailasneupane
6
6
add a comment |Â
add a comment |Â
ZorinOS is offtopix here. If you are really using Ubuntu, please specify its version and show us the output of
apt-cache policy zorinos-icons.â N0rbert
Mar 4 at 9:44