Not possible to install anything on Ubuntu 18.04 LTS











up vote
0
down vote

favorite












It's not possible to install anything on my Ubuntu 18.04 LTS. When I run



sudo apt-get upgrade


I get:



Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not installed
wine64 : Depends: libwine (= 3.0-1ubuntu1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


When I run



sudo  apt --fix-broken install


I get the error-messages after a while:



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
fonts-wine libwine libwine:i386
The following NEW packages will be installed:
fonts-wine libwine libwine:i386
0 upgraded, 3 newly installed, 0 to remove and 10 not upgraded.
15 not fully installed or removed.
Need to get 0 B/39,9 MB of archives.
After this operation, 375 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 373690 files and directories currently installed.)
Preparing to unpack .../libwine_3.0-1ubuntu1_amd64.deb ...
Unpacking libwine:amd64 (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libwine_3.0-1ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/wine/acledit.dll.so', which is also in package wine1.8-amd64 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../libwine_3.0-1ubuntu1_i386.deb ...
Unpacking libwine:i386 (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libwine_3.0-1ubuntu1_i386.deb (--unpack):
trying to overwrite '/usr/lib/i386-linux-gnu/wine/acledit.dll.so', which is also in package wine1.8-i386:i386 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../fonts-wine_3.0-1ubuntu1_all.deb ...
Unpacking fonts-wine (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/fonts-wine_3.0-1ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/share/wine/fonts/coue1255.fon', which is also in package wine1.8 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libwine_3.0-1ubuntu1_amd64.deb
/var/cache/apt/archives/libwine_3.0-1ubuntu1_i386.deb
/var/cache/apt/archives/fonts-wine_3.0-1ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


So something about wine....



Do you have any suggestions?










share|improve this question









New contributor




Stig Uteng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • You can try the following, sudo apt remove --purge wine* libwine* && sudo apt clean && sudo apt update then reinstall wine completely, this should ususally fix it.
    – Videonauth
    Nov 12 at 20:02






  • 1




    Possible duplicate of dpkg error: "trying to overwrite file, which is also in..."
    – N0rbert
    Nov 12 at 21:07















up vote
0
down vote

favorite












It's not possible to install anything on my Ubuntu 18.04 LTS. When I run



sudo apt-get upgrade


I get:



Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not installed
wine64 : Depends: libwine (= 3.0-1ubuntu1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


When I run



sudo  apt --fix-broken install


I get the error-messages after a while:



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
fonts-wine libwine libwine:i386
The following NEW packages will be installed:
fonts-wine libwine libwine:i386
0 upgraded, 3 newly installed, 0 to remove and 10 not upgraded.
15 not fully installed or removed.
Need to get 0 B/39,9 MB of archives.
After this operation, 375 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 373690 files and directories currently installed.)
Preparing to unpack .../libwine_3.0-1ubuntu1_amd64.deb ...
Unpacking libwine:amd64 (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libwine_3.0-1ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/wine/acledit.dll.so', which is also in package wine1.8-amd64 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../libwine_3.0-1ubuntu1_i386.deb ...
Unpacking libwine:i386 (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libwine_3.0-1ubuntu1_i386.deb (--unpack):
trying to overwrite '/usr/lib/i386-linux-gnu/wine/acledit.dll.so', which is also in package wine1.8-i386:i386 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../fonts-wine_3.0-1ubuntu1_all.deb ...
Unpacking fonts-wine (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/fonts-wine_3.0-1ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/share/wine/fonts/coue1255.fon', which is also in package wine1.8 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libwine_3.0-1ubuntu1_amd64.deb
/var/cache/apt/archives/libwine_3.0-1ubuntu1_i386.deb
/var/cache/apt/archives/fonts-wine_3.0-1ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


So something about wine....



Do you have any suggestions?










share|improve this question









New contributor




Stig Uteng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • You can try the following, sudo apt remove --purge wine* libwine* && sudo apt clean && sudo apt update then reinstall wine completely, this should ususally fix it.
    – Videonauth
    Nov 12 at 20:02






  • 1




    Possible duplicate of dpkg error: "trying to overwrite file, which is also in..."
    – N0rbert
    Nov 12 at 21:07













up vote
0
down vote

favorite









up vote
0
down vote

favorite











It's not possible to install anything on my Ubuntu 18.04 LTS. When I run



sudo apt-get upgrade


I get:



Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not installed
wine64 : Depends: libwine (= 3.0-1ubuntu1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


When I run



sudo  apt --fix-broken install


I get the error-messages after a while:



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
fonts-wine libwine libwine:i386
The following NEW packages will be installed:
fonts-wine libwine libwine:i386
0 upgraded, 3 newly installed, 0 to remove and 10 not upgraded.
15 not fully installed or removed.
Need to get 0 B/39,9 MB of archives.
After this operation, 375 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 373690 files and directories currently installed.)
Preparing to unpack .../libwine_3.0-1ubuntu1_amd64.deb ...
Unpacking libwine:amd64 (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libwine_3.0-1ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/wine/acledit.dll.so', which is also in package wine1.8-amd64 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../libwine_3.0-1ubuntu1_i386.deb ...
Unpacking libwine:i386 (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libwine_3.0-1ubuntu1_i386.deb (--unpack):
trying to overwrite '/usr/lib/i386-linux-gnu/wine/acledit.dll.so', which is also in package wine1.8-i386:i386 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../fonts-wine_3.0-1ubuntu1_all.deb ...
Unpacking fonts-wine (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/fonts-wine_3.0-1ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/share/wine/fonts/coue1255.fon', which is also in package wine1.8 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libwine_3.0-1ubuntu1_amd64.deb
/var/cache/apt/archives/libwine_3.0-1ubuntu1_i386.deb
/var/cache/apt/archives/fonts-wine_3.0-1ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


So something about wine....



Do you have any suggestions?










share|improve this question









New contributor




Stig Uteng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











It's not possible to install anything on my Ubuntu 18.04 LTS. When I run



sudo apt-get upgrade


I get:



Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not installed
wine64 : Depends: libwine (= 3.0-1ubuntu1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


When I run



sudo  apt --fix-broken install


I get the error-messages after a while:



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
fonts-wine libwine libwine:i386
The following NEW packages will be installed:
fonts-wine libwine libwine:i386
0 upgraded, 3 newly installed, 0 to remove and 10 not upgraded.
15 not fully installed or removed.
Need to get 0 B/39,9 MB of archives.
After this operation, 375 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 373690 files and directories currently installed.)
Preparing to unpack .../libwine_3.0-1ubuntu1_amd64.deb ...
Unpacking libwine:amd64 (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libwine_3.0-1ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/wine/acledit.dll.so', which is also in package wine1.8-amd64 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../libwine_3.0-1ubuntu1_i386.deb ...
Unpacking libwine:i386 (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libwine_3.0-1ubuntu1_i386.deb (--unpack):
trying to overwrite '/usr/lib/i386-linux-gnu/wine/acledit.dll.so', which is also in package wine1.8-i386:i386 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../fonts-wine_3.0-1ubuntu1_all.deb ...
Unpacking fonts-wine (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/fonts-wine_3.0-1ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/share/wine/fonts/coue1255.fon', which is also in package wine1.8 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libwine_3.0-1ubuntu1_amd64.deb
/var/cache/apt/archives/libwine_3.0-1ubuntu1_i386.deb
/var/cache/apt/archives/fonts-wine_3.0-1ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


So something about wine....



Do you have any suggestions?







18.04 software-installation wine dpkg dependencies






share|improve this question









New contributor




Stig Uteng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Stig Uteng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Nov 12 at 19:48









NickTux

13.6k54464




13.6k54464






New contributor




Stig Uteng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 12 at 18:55









Stig Uteng

1032




1032




New contributor




Stig Uteng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Stig Uteng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Stig Uteng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • You can try the following, sudo apt remove --purge wine* libwine* && sudo apt clean && sudo apt update then reinstall wine completely, this should ususally fix it.
    – Videonauth
    Nov 12 at 20:02






  • 1




    Possible duplicate of dpkg error: "trying to overwrite file, which is also in..."
    – N0rbert
    Nov 12 at 21:07


















  • You can try the following, sudo apt remove --purge wine* libwine* && sudo apt clean && sudo apt update then reinstall wine completely, this should ususally fix it.
    – Videonauth
    Nov 12 at 20:02






  • 1




    Possible duplicate of dpkg error: "trying to overwrite file, which is also in..."
    – N0rbert
    Nov 12 at 21:07
















You can try the following, sudo apt remove --purge wine* libwine* && sudo apt clean && sudo apt update then reinstall wine completely, this should ususally fix it.
– Videonauth
Nov 12 at 20:02




You can try the following, sudo apt remove --purge wine* libwine* && sudo apt clean && sudo apt update then reinstall wine completely, this should ususally fix it.
– Videonauth
Nov 12 at 20:02




1




1




Possible duplicate of dpkg error: "trying to overwrite file, which is also in..."
– N0rbert
Nov 12 at 21:07




Possible duplicate of dpkg error: "trying to overwrite file, which is also in..."
– N0rbert
Nov 12 at 21:07










1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










This seems similar problem as this one. It refers to another package, but the output error is the same trying to overwrite file, which is also in…



The solution here is to (force) remove the package that causes the error, directly with dpkg . The problematic package is mentioned after the which is also in <package to be removed>



In your case wine1.8-amd64 , wine1.8-i386 and wine1.8



The following commands should do the trick:



sudo dpkg -P wine1.8
sudo dpkg -P wine1.8-amd64
sudo dpkg -P wine1.8-i386


Then run again



sudo apt-get install -f


and dpkg should now be able to configure the packages correctly.



If for some reason above commands won't work, then use the --force-all option. Dangerous option as it can break things, but it is there for a reason.



sudo dpkg -P --force-all wine1.8
sudo dpkg -P --force-all wine1.8-amd64
sudo dpkg -P --force-all wine1.8-i386


Also, if you still have any PPA about wine enabled, please disable it or completely remove it.






share|improve this answer























  • Thanks for your answer, but when i run: sudo dpkg -P wine1.8 I get: dpkg: dependency problems prevent removal of wine1.8: wine1.8-i386:i386 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). wine1.8-amd64 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). dpkg: error processing package wine1.8 (--purge): dependency problems - not removing Errors were encountered while processing: wine1.8 Do you have any idea on how to deal with/circumvent this
    – Stig Uteng
    Nov 13 at 9:12










  • Try to run the commands in another order. 1st sudo dpkg -P wine1.8-amd64 , then sudo dpkg -P wine1.8-i386, last sudo dpkg -P wine1.8.
    – NickTux
    2 days ago










  • Sorry, but each of the commands returns an error message: sudo dpkg -P wine1.8-amd64, returns dpkg: dependency problems prevent removal of wine1.8-amd64: wine1.8 depends on wine1.8-amd64 (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). dpkg: error processing package wine1.8-amd64 (--purge): dependency problems - not removing Errors were encountered while processing: wine1.8-amd64, and similar for the other two
    – Stig Uteng
    2 days ago








  • 1




    OK then. I think is time to use the force option. Use the same commands but with force option. Dangerous option as it can break things, but it is there for a reason. Example sudo dpkg -P --force-all wine1.8-amd64. Good luck.
    – NickTux
    yesterday






  • 1




    Thank you very much! It worked! I did an upgrade and update after I ran a fix command, when everything just worked fine!
    – Stig Uteng
    21 hours ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Stig Uteng is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1092307%2fnot-possible-to-install-anything-on-ubuntu-18-04-lts%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote



accepted










This seems similar problem as this one. It refers to another package, but the output error is the same trying to overwrite file, which is also in…



The solution here is to (force) remove the package that causes the error, directly with dpkg . The problematic package is mentioned after the which is also in <package to be removed>



In your case wine1.8-amd64 , wine1.8-i386 and wine1.8



The following commands should do the trick:



sudo dpkg -P wine1.8
sudo dpkg -P wine1.8-amd64
sudo dpkg -P wine1.8-i386


Then run again



sudo apt-get install -f


and dpkg should now be able to configure the packages correctly.



If for some reason above commands won't work, then use the --force-all option. Dangerous option as it can break things, but it is there for a reason.



sudo dpkg -P --force-all wine1.8
sudo dpkg -P --force-all wine1.8-amd64
sudo dpkg -P --force-all wine1.8-i386


Also, if you still have any PPA about wine enabled, please disable it or completely remove it.






share|improve this answer























  • Thanks for your answer, but when i run: sudo dpkg -P wine1.8 I get: dpkg: dependency problems prevent removal of wine1.8: wine1.8-i386:i386 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). wine1.8-amd64 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). dpkg: error processing package wine1.8 (--purge): dependency problems - not removing Errors were encountered while processing: wine1.8 Do you have any idea on how to deal with/circumvent this
    – Stig Uteng
    Nov 13 at 9:12










  • Try to run the commands in another order. 1st sudo dpkg -P wine1.8-amd64 , then sudo dpkg -P wine1.8-i386, last sudo dpkg -P wine1.8.
    – NickTux
    2 days ago










  • Sorry, but each of the commands returns an error message: sudo dpkg -P wine1.8-amd64, returns dpkg: dependency problems prevent removal of wine1.8-amd64: wine1.8 depends on wine1.8-amd64 (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). dpkg: error processing package wine1.8-amd64 (--purge): dependency problems - not removing Errors were encountered while processing: wine1.8-amd64, and similar for the other two
    – Stig Uteng
    2 days ago








  • 1




    OK then. I think is time to use the force option. Use the same commands but with force option. Dangerous option as it can break things, but it is there for a reason. Example sudo dpkg -P --force-all wine1.8-amd64. Good luck.
    – NickTux
    yesterday






  • 1




    Thank you very much! It worked! I did an upgrade and update after I ran a fix command, when everything just worked fine!
    – Stig Uteng
    21 hours ago















up vote
2
down vote



accepted










This seems similar problem as this one. It refers to another package, but the output error is the same trying to overwrite file, which is also in…



The solution here is to (force) remove the package that causes the error, directly with dpkg . The problematic package is mentioned after the which is also in <package to be removed>



In your case wine1.8-amd64 , wine1.8-i386 and wine1.8



The following commands should do the trick:



sudo dpkg -P wine1.8
sudo dpkg -P wine1.8-amd64
sudo dpkg -P wine1.8-i386


Then run again



sudo apt-get install -f


and dpkg should now be able to configure the packages correctly.



If for some reason above commands won't work, then use the --force-all option. Dangerous option as it can break things, but it is there for a reason.



sudo dpkg -P --force-all wine1.8
sudo dpkg -P --force-all wine1.8-amd64
sudo dpkg -P --force-all wine1.8-i386


Also, if you still have any PPA about wine enabled, please disable it or completely remove it.






share|improve this answer























  • Thanks for your answer, but when i run: sudo dpkg -P wine1.8 I get: dpkg: dependency problems prevent removal of wine1.8: wine1.8-i386:i386 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). wine1.8-amd64 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). dpkg: error processing package wine1.8 (--purge): dependency problems - not removing Errors were encountered while processing: wine1.8 Do you have any idea on how to deal with/circumvent this
    – Stig Uteng
    Nov 13 at 9:12










  • Try to run the commands in another order. 1st sudo dpkg -P wine1.8-amd64 , then sudo dpkg -P wine1.8-i386, last sudo dpkg -P wine1.8.
    – NickTux
    2 days ago










  • Sorry, but each of the commands returns an error message: sudo dpkg -P wine1.8-amd64, returns dpkg: dependency problems prevent removal of wine1.8-amd64: wine1.8 depends on wine1.8-amd64 (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). dpkg: error processing package wine1.8-amd64 (--purge): dependency problems - not removing Errors were encountered while processing: wine1.8-amd64, and similar for the other two
    – Stig Uteng
    2 days ago








  • 1




    OK then. I think is time to use the force option. Use the same commands but with force option. Dangerous option as it can break things, but it is there for a reason. Example sudo dpkg -P --force-all wine1.8-amd64. Good luck.
    – NickTux
    yesterday






  • 1




    Thank you very much! It worked! I did an upgrade and update after I ran a fix command, when everything just worked fine!
    – Stig Uteng
    21 hours ago













up vote
2
down vote



accepted







up vote
2
down vote



accepted






This seems similar problem as this one. It refers to another package, but the output error is the same trying to overwrite file, which is also in…



The solution here is to (force) remove the package that causes the error, directly with dpkg . The problematic package is mentioned after the which is also in <package to be removed>



In your case wine1.8-amd64 , wine1.8-i386 and wine1.8



The following commands should do the trick:



sudo dpkg -P wine1.8
sudo dpkg -P wine1.8-amd64
sudo dpkg -P wine1.8-i386


Then run again



sudo apt-get install -f


and dpkg should now be able to configure the packages correctly.



If for some reason above commands won't work, then use the --force-all option. Dangerous option as it can break things, but it is there for a reason.



sudo dpkg -P --force-all wine1.8
sudo dpkg -P --force-all wine1.8-amd64
sudo dpkg -P --force-all wine1.8-i386


Also, if you still have any PPA about wine enabled, please disable it or completely remove it.






share|improve this answer














This seems similar problem as this one. It refers to another package, but the output error is the same trying to overwrite file, which is also in…



The solution here is to (force) remove the package that causes the error, directly with dpkg . The problematic package is mentioned after the which is also in <package to be removed>



In your case wine1.8-amd64 , wine1.8-i386 and wine1.8



The following commands should do the trick:



sudo dpkg -P wine1.8
sudo dpkg -P wine1.8-amd64
sudo dpkg -P wine1.8-i386


Then run again



sudo apt-get install -f


and dpkg should now be able to configure the packages correctly.



If for some reason above commands won't work, then use the --force-all option. Dangerous option as it can break things, but it is there for a reason.



sudo dpkg -P --force-all wine1.8
sudo dpkg -P --force-all wine1.8-amd64
sudo dpkg -P --force-all wine1.8-i386


Also, if you still have any PPA about wine enabled, please disable it or completely remove it.







share|improve this answer














share|improve this answer



share|improve this answer








edited 20 hours ago

























answered Nov 12 at 20:12









NickTux

13.6k54464




13.6k54464












  • Thanks for your answer, but when i run: sudo dpkg -P wine1.8 I get: dpkg: dependency problems prevent removal of wine1.8: wine1.8-i386:i386 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). wine1.8-amd64 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). dpkg: error processing package wine1.8 (--purge): dependency problems - not removing Errors were encountered while processing: wine1.8 Do you have any idea on how to deal with/circumvent this
    – Stig Uteng
    Nov 13 at 9:12










  • Try to run the commands in another order. 1st sudo dpkg -P wine1.8-amd64 , then sudo dpkg -P wine1.8-i386, last sudo dpkg -P wine1.8.
    – NickTux
    2 days ago










  • Sorry, but each of the commands returns an error message: sudo dpkg -P wine1.8-amd64, returns dpkg: dependency problems prevent removal of wine1.8-amd64: wine1.8 depends on wine1.8-amd64 (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). dpkg: error processing package wine1.8-amd64 (--purge): dependency problems - not removing Errors were encountered while processing: wine1.8-amd64, and similar for the other two
    – Stig Uteng
    2 days ago








  • 1




    OK then. I think is time to use the force option. Use the same commands but with force option. Dangerous option as it can break things, but it is there for a reason. Example sudo dpkg -P --force-all wine1.8-amd64. Good luck.
    – NickTux
    yesterday






  • 1




    Thank you very much! It worked! I did an upgrade and update after I ran a fix command, when everything just worked fine!
    – Stig Uteng
    21 hours ago


















  • Thanks for your answer, but when i run: sudo dpkg -P wine1.8 I get: dpkg: dependency problems prevent removal of wine1.8: wine1.8-i386:i386 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). wine1.8-amd64 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). dpkg: error processing package wine1.8 (--purge): dependency problems - not removing Errors were encountered while processing: wine1.8 Do you have any idea on how to deal with/circumvent this
    – Stig Uteng
    Nov 13 at 9:12










  • Try to run the commands in another order. 1st sudo dpkg -P wine1.8-amd64 , then sudo dpkg -P wine1.8-i386, last sudo dpkg -P wine1.8.
    – NickTux
    2 days ago










  • Sorry, but each of the commands returns an error message: sudo dpkg -P wine1.8-amd64, returns dpkg: dependency problems prevent removal of wine1.8-amd64: wine1.8 depends on wine1.8-amd64 (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). dpkg: error processing package wine1.8-amd64 (--purge): dependency problems - not removing Errors were encountered while processing: wine1.8-amd64, and similar for the other two
    – Stig Uteng
    2 days ago








  • 1




    OK then. I think is time to use the force option. Use the same commands but with force option. Dangerous option as it can break things, but it is there for a reason. Example sudo dpkg -P --force-all wine1.8-amd64. Good luck.
    – NickTux
    yesterday






  • 1




    Thank you very much! It worked! I did an upgrade and update after I ran a fix command, when everything just worked fine!
    – Stig Uteng
    21 hours ago
















Thanks for your answer, but when i run: sudo dpkg -P wine1.8 I get: dpkg: dependency problems prevent removal of wine1.8: wine1.8-i386:i386 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). wine1.8-amd64 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). dpkg: error processing package wine1.8 (--purge): dependency problems - not removing Errors were encountered while processing: wine1.8 Do you have any idea on how to deal with/circumvent this
– Stig Uteng
Nov 13 at 9:12




Thanks for your answer, but when i run: sudo dpkg -P wine1.8 I get: dpkg: dependency problems prevent removal of wine1.8: wine1.8-i386:i386 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). wine1.8-amd64 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). dpkg: error processing package wine1.8 (--purge): dependency problems - not removing Errors were encountered while processing: wine1.8 Do you have any idea on how to deal with/circumvent this
– Stig Uteng
Nov 13 at 9:12












Try to run the commands in another order. 1st sudo dpkg -P wine1.8-amd64 , then sudo dpkg -P wine1.8-i386, last sudo dpkg -P wine1.8.
– NickTux
2 days ago




Try to run the commands in another order. 1st sudo dpkg -P wine1.8-amd64 , then sudo dpkg -P wine1.8-i386, last sudo dpkg -P wine1.8.
– NickTux
2 days ago












Sorry, but each of the commands returns an error message: sudo dpkg -P wine1.8-amd64, returns dpkg: dependency problems prevent removal of wine1.8-amd64: wine1.8 depends on wine1.8-amd64 (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). dpkg: error processing package wine1.8-amd64 (--purge): dependency problems - not removing Errors were encountered while processing: wine1.8-amd64, and similar for the other two
– Stig Uteng
2 days ago






Sorry, but each of the commands returns an error message: sudo dpkg -P wine1.8-amd64, returns dpkg: dependency problems prevent removal of wine1.8-amd64: wine1.8 depends on wine1.8-amd64 (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1). dpkg: error processing package wine1.8-amd64 (--purge): dependency problems - not removing Errors were encountered while processing: wine1.8-amd64, and similar for the other two
– Stig Uteng
2 days ago






1




1




OK then. I think is time to use the force option. Use the same commands but with force option. Dangerous option as it can break things, but it is there for a reason. Example sudo dpkg -P --force-all wine1.8-amd64. Good luck.
– NickTux
yesterday




OK then. I think is time to use the force option. Use the same commands but with force option. Dangerous option as it can break things, but it is there for a reason. Example sudo dpkg -P --force-all wine1.8-amd64. Good luck.
– NickTux
yesterday




1




1




Thank you very much! It worked! I did an upgrade and update after I ran a fix command, when everything just worked fine!
– Stig Uteng
21 hours ago




Thank you very much! It worked! I did an upgrade and update after I ran a fix command, when everything just worked fine!
– Stig Uteng
21 hours ago










Stig Uteng is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















Stig Uteng is a new contributor. Be nice, and check out our Code of Conduct.













Stig Uteng is a new contributor. Be nice, and check out our Code of Conduct.












Stig Uteng is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1092307%2fnot-possible-to-install-anything-on-ubuntu-18-04-lts%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?