Apt failure on wine installation, how to restore the consistent state of my system?
I got this error when I tried to install wine:
Reading package lists... Done
Building dependency tree
Reading state information... Done
winetricks is already the newest version (0.0+20180217-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/273 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package libopenal1:i386 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of libwine:i386:
libwine:i386 depends on libopenal1 (>= 1.14); however:
Package libopenal1:i386 is not configured yet.
dpkg: error processing package libwine:i386 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of wine32:i386:
wine32:i386 depends on libwine (= 3.0-1ubuntu1); however:
Package libwine:i386 is not configured yet.
dpkg: error processing package wine32:i386 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libopenal1:i386
libwine:i386
wine32:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
package-management
New contributor
add a comment |
I got this error when I tried to install wine:
Reading package lists... Done
Building dependency tree
Reading state information... Done
winetricks is already the newest version (0.0+20180217-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/273 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package libopenal1:i386 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of libwine:i386:
libwine:i386 depends on libopenal1 (>= 1.14); however:
Package libopenal1:i386 is not configured yet.
dpkg: error processing package libwine:i386 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of wine32:i386:
wine32:i386 depends on libwine (= 3.0-1ubuntu1); however:
Package libwine:i386 is not configured yet.
dpkg: error processing package wine32:i386 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libopenal1:i386
libwine:i386
wine32:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
package-management
New contributor
add a comment |
I got this error when I tried to install wine:
Reading package lists... Done
Building dependency tree
Reading state information... Done
winetricks is already the newest version (0.0+20180217-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/273 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package libopenal1:i386 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of libwine:i386:
libwine:i386 depends on libopenal1 (>= 1.14); however:
Package libopenal1:i386 is not configured yet.
dpkg: error processing package libwine:i386 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of wine32:i386:
wine32:i386 depends on libwine (= 3.0-1ubuntu1); however:
Package libwine:i386 is not configured yet.
dpkg: error processing package wine32:i386 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libopenal1:i386
libwine:i386
wine32:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
package-management
New contributor
I got this error when I tried to install wine:
Reading package lists... Done
Building dependency tree
Reading state information... Done
winetricks is already the newest version (0.0+20180217-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/273 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package libopenal1:i386 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of libwine:i386:
libwine:i386 depends on libopenal1 (>= 1.14); however:
Package libopenal1:i386 is not configured yet.
dpkg: error processing package libwine:i386 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of wine32:i386:
wine32:i386 depends on libwine (= 3.0-1ubuntu1); however:
Package libwine:i386 is not configured yet.
dpkg: error processing package wine32:i386 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libopenal1:i386
libwine:i386
wine32:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
package-management
package-management
New contributor
New contributor
edited 7 hours ago
peterh
1755
1755
New contributor
asked 13 hours ago
AbdulhakimAbdulhakim
61
61
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
As usual, in such cases the real cause is the first error, namely:
dpkg: error processing package libopenal1:i386 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
So, the wine package requires the libopenal1:i386
package to work, but this is in a "very bad inconsistent state". The following error messages are only dependency problems - wine can't be installed because also libopenal1 can't be installed, but wine would require it.
It is probably not your first try to install wine, this state happens only if multiple install/uninstall/upgrade tries failed and also the automatical correction mechanisms failed.
You shouldn't imagine what microsoft is doing with his .msi files. A deb package has only these components:
- A tar.xz archive
- Some package metadata (this is what is shown for a
dpkg --info something.deb
or with anapt-cache show something
) - Install/uninstall scripts, these are typically 10-20 lines long shellscripts which are being called on package installation/uninstallation/upgrade. They are in
/var/lib/dpkg/info
, and their name is<packagename>.preinst
,<packagename>.postinst
,<packagename>.prerm
and<packagename>.postrm
.
If the package install/uninstall scripts give an error, your package goes into an inconsistent state. How deeply inconsistent, it depends on the circumstances. The important thing to know: it is not like some mysterious windows system failure requiring a reinstall. It is a simple error message in a simple installscript and you can easily fix it.
You can check your system for packages in inconsistent state with the command dpkg -C
. As in Unixes it is usual, empty answer means that everything happened correctly and you have no bad package.
Most problems can be automatically fixed by an apt-get -f install
. This command tries its best to take your system into a consistent state again. It is particularly useful if you are doing some "harder" things, like switching from a 32-bit system to a 64-bit one or vice versa without a reboot, or you are switching between distros, also without a reboot.
In your case, being this "very bad inconsistent state" the worst, an apt-get -f install
probably won't work, but you can give him a try. If it doesn't work, your next task should be to fix this libopenal1:i386
. It is some 3d-acceleration or direct hardware access library for the x11, I don't know exactly what it is exactly doing, but it isn't even important. What is important: it is coming into your system with the wine, so only wine needs it. Wine is using it probably to emulate graphically accelerated, 32-bit windows programs. So you can safely play with its removal/reinstall.
After apt-get -f install
failed, your next step should be to exterminate this libopenal1:i386
from your system. The "strongest" thing you can do it is a dpkg --force-depends --purge libopenal1:i386
. Probably also this won't work, because the error message clearly shows that the package requires a reinstall.
So, you have to reinstall libopenal1:i386
first. In /var/cache/apt/archives
, you have your package files, it should contain a file matching libopenal1*i386.deb
. If it doesn't, then you can use apt-get download libopenal1:i386
to download it, directory from the ubuntu package repositories.
A dpkg -i libopenal1*i386.deb
will try to install this file again. If it goes, you have luck, an apt-get -f install
will fix your system and install your wine correctly. If not, then you have to debug the install scripts.
Extend the question, what happened and I will extend the answer, on this point, what to do.
New contributor
add a comment |
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',
autoActivateHeartbeat: false,
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
});
}
});
Abdulhakim is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125055%2fapt-failure-on-wine-installation-how-to-restore-the-consistent-state-of-my-syst%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
As usual, in such cases the real cause is the first error, namely:
dpkg: error processing package libopenal1:i386 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
So, the wine package requires the libopenal1:i386
package to work, but this is in a "very bad inconsistent state". The following error messages are only dependency problems - wine can't be installed because also libopenal1 can't be installed, but wine would require it.
It is probably not your first try to install wine, this state happens only if multiple install/uninstall/upgrade tries failed and also the automatical correction mechanisms failed.
You shouldn't imagine what microsoft is doing with his .msi files. A deb package has only these components:
- A tar.xz archive
- Some package metadata (this is what is shown for a
dpkg --info something.deb
or with anapt-cache show something
) - Install/uninstall scripts, these are typically 10-20 lines long shellscripts which are being called on package installation/uninstallation/upgrade. They are in
/var/lib/dpkg/info
, and their name is<packagename>.preinst
,<packagename>.postinst
,<packagename>.prerm
and<packagename>.postrm
.
If the package install/uninstall scripts give an error, your package goes into an inconsistent state. How deeply inconsistent, it depends on the circumstances. The important thing to know: it is not like some mysterious windows system failure requiring a reinstall. It is a simple error message in a simple installscript and you can easily fix it.
You can check your system for packages in inconsistent state with the command dpkg -C
. As in Unixes it is usual, empty answer means that everything happened correctly and you have no bad package.
Most problems can be automatically fixed by an apt-get -f install
. This command tries its best to take your system into a consistent state again. It is particularly useful if you are doing some "harder" things, like switching from a 32-bit system to a 64-bit one or vice versa without a reboot, or you are switching between distros, also without a reboot.
In your case, being this "very bad inconsistent state" the worst, an apt-get -f install
probably won't work, but you can give him a try. If it doesn't work, your next task should be to fix this libopenal1:i386
. It is some 3d-acceleration or direct hardware access library for the x11, I don't know exactly what it is exactly doing, but it isn't even important. What is important: it is coming into your system with the wine, so only wine needs it. Wine is using it probably to emulate graphically accelerated, 32-bit windows programs. So you can safely play with its removal/reinstall.
After apt-get -f install
failed, your next step should be to exterminate this libopenal1:i386
from your system. The "strongest" thing you can do it is a dpkg --force-depends --purge libopenal1:i386
. Probably also this won't work, because the error message clearly shows that the package requires a reinstall.
So, you have to reinstall libopenal1:i386
first. In /var/cache/apt/archives
, you have your package files, it should contain a file matching libopenal1*i386.deb
. If it doesn't, then you can use apt-get download libopenal1:i386
to download it, directory from the ubuntu package repositories.
A dpkg -i libopenal1*i386.deb
will try to install this file again. If it goes, you have luck, an apt-get -f install
will fix your system and install your wine correctly. If not, then you have to debug the install scripts.
Extend the question, what happened and I will extend the answer, on this point, what to do.
New contributor
add a comment |
As usual, in such cases the real cause is the first error, namely:
dpkg: error processing package libopenal1:i386 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
So, the wine package requires the libopenal1:i386
package to work, but this is in a "very bad inconsistent state". The following error messages are only dependency problems - wine can't be installed because also libopenal1 can't be installed, but wine would require it.
It is probably not your first try to install wine, this state happens only if multiple install/uninstall/upgrade tries failed and also the automatical correction mechanisms failed.
You shouldn't imagine what microsoft is doing with his .msi files. A deb package has only these components:
- A tar.xz archive
- Some package metadata (this is what is shown for a
dpkg --info something.deb
or with anapt-cache show something
) - Install/uninstall scripts, these are typically 10-20 lines long shellscripts which are being called on package installation/uninstallation/upgrade. They are in
/var/lib/dpkg/info
, and their name is<packagename>.preinst
,<packagename>.postinst
,<packagename>.prerm
and<packagename>.postrm
.
If the package install/uninstall scripts give an error, your package goes into an inconsistent state. How deeply inconsistent, it depends on the circumstances. The important thing to know: it is not like some mysterious windows system failure requiring a reinstall. It is a simple error message in a simple installscript and you can easily fix it.
You can check your system for packages in inconsistent state with the command dpkg -C
. As in Unixes it is usual, empty answer means that everything happened correctly and you have no bad package.
Most problems can be automatically fixed by an apt-get -f install
. This command tries its best to take your system into a consistent state again. It is particularly useful if you are doing some "harder" things, like switching from a 32-bit system to a 64-bit one or vice versa without a reboot, or you are switching between distros, also without a reboot.
In your case, being this "very bad inconsistent state" the worst, an apt-get -f install
probably won't work, but you can give him a try. If it doesn't work, your next task should be to fix this libopenal1:i386
. It is some 3d-acceleration or direct hardware access library for the x11, I don't know exactly what it is exactly doing, but it isn't even important. What is important: it is coming into your system with the wine, so only wine needs it. Wine is using it probably to emulate graphically accelerated, 32-bit windows programs. So you can safely play with its removal/reinstall.
After apt-get -f install
failed, your next step should be to exterminate this libopenal1:i386
from your system. The "strongest" thing you can do it is a dpkg --force-depends --purge libopenal1:i386
. Probably also this won't work, because the error message clearly shows that the package requires a reinstall.
So, you have to reinstall libopenal1:i386
first. In /var/cache/apt/archives
, you have your package files, it should contain a file matching libopenal1*i386.deb
. If it doesn't, then you can use apt-get download libopenal1:i386
to download it, directory from the ubuntu package repositories.
A dpkg -i libopenal1*i386.deb
will try to install this file again. If it goes, you have luck, an apt-get -f install
will fix your system and install your wine correctly. If not, then you have to debug the install scripts.
Extend the question, what happened and I will extend the answer, on this point, what to do.
New contributor
add a comment |
As usual, in such cases the real cause is the first error, namely:
dpkg: error processing package libopenal1:i386 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
So, the wine package requires the libopenal1:i386
package to work, but this is in a "very bad inconsistent state". The following error messages are only dependency problems - wine can't be installed because also libopenal1 can't be installed, but wine would require it.
It is probably not your first try to install wine, this state happens only if multiple install/uninstall/upgrade tries failed and also the automatical correction mechanisms failed.
You shouldn't imagine what microsoft is doing with his .msi files. A deb package has only these components:
- A tar.xz archive
- Some package metadata (this is what is shown for a
dpkg --info something.deb
or with anapt-cache show something
) - Install/uninstall scripts, these are typically 10-20 lines long shellscripts which are being called on package installation/uninstallation/upgrade. They are in
/var/lib/dpkg/info
, and their name is<packagename>.preinst
,<packagename>.postinst
,<packagename>.prerm
and<packagename>.postrm
.
If the package install/uninstall scripts give an error, your package goes into an inconsistent state. How deeply inconsistent, it depends on the circumstances. The important thing to know: it is not like some mysterious windows system failure requiring a reinstall. It is a simple error message in a simple installscript and you can easily fix it.
You can check your system for packages in inconsistent state with the command dpkg -C
. As in Unixes it is usual, empty answer means that everything happened correctly and you have no bad package.
Most problems can be automatically fixed by an apt-get -f install
. This command tries its best to take your system into a consistent state again. It is particularly useful if you are doing some "harder" things, like switching from a 32-bit system to a 64-bit one or vice versa without a reboot, or you are switching between distros, also without a reboot.
In your case, being this "very bad inconsistent state" the worst, an apt-get -f install
probably won't work, but you can give him a try. If it doesn't work, your next task should be to fix this libopenal1:i386
. It is some 3d-acceleration or direct hardware access library for the x11, I don't know exactly what it is exactly doing, but it isn't even important. What is important: it is coming into your system with the wine, so only wine needs it. Wine is using it probably to emulate graphically accelerated, 32-bit windows programs. So you can safely play with its removal/reinstall.
After apt-get -f install
failed, your next step should be to exterminate this libopenal1:i386
from your system. The "strongest" thing you can do it is a dpkg --force-depends --purge libopenal1:i386
. Probably also this won't work, because the error message clearly shows that the package requires a reinstall.
So, you have to reinstall libopenal1:i386
first. In /var/cache/apt/archives
, you have your package files, it should contain a file matching libopenal1*i386.deb
. If it doesn't, then you can use apt-get download libopenal1:i386
to download it, directory from the ubuntu package repositories.
A dpkg -i libopenal1*i386.deb
will try to install this file again. If it goes, you have luck, an apt-get -f install
will fix your system and install your wine correctly. If not, then you have to debug the install scripts.
Extend the question, what happened and I will extend the answer, on this point, what to do.
New contributor
As usual, in such cases the real cause is the first error, namely:
dpkg: error processing package libopenal1:i386 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
So, the wine package requires the libopenal1:i386
package to work, but this is in a "very bad inconsistent state". The following error messages are only dependency problems - wine can't be installed because also libopenal1 can't be installed, but wine would require it.
It is probably not your first try to install wine, this state happens only if multiple install/uninstall/upgrade tries failed and also the automatical correction mechanisms failed.
You shouldn't imagine what microsoft is doing with his .msi files. A deb package has only these components:
- A tar.xz archive
- Some package metadata (this is what is shown for a
dpkg --info something.deb
or with anapt-cache show something
) - Install/uninstall scripts, these are typically 10-20 lines long shellscripts which are being called on package installation/uninstallation/upgrade. They are in
/var/lib/dpkg/info
, and their name is<packagename>.preinst
,<packagename>.postinst
,<packagename>.prerm
and<packagename>.postrm
.
If the package install/uninstall scripts give an error, your package goes into an inconsistent state. How deeply inconsistent, it depends on the circumstances. The important thing to know: it is not like some mysterious windows system failure requiring a reinstall. It is a simple error message in a simple installscript and you can easily fix it.
You can check your system for packages in inconsistent state with the command dpkg -C
. As in Unixes it is usual, empty answer means that everything happened correctly and you have no bad package.
Most problems can be automatically fixed by an apt-get -f install
. This command tries its best to take your system into a consistent state again. It is particularly useful if you are doing some "harder" things, like switching from a 32-bit system to a 64-bit one or vice versa without a reboot, or you are switching between distros, also without a reboot.
In your case, being this "very bad inconsistent state" the worst, an apt-get -f install
probably won't work, but you can give him a try. If it doesn't work, your next task should be to fix this libopenal1:i386
. It is some 3d-acceleration or direct hardware access library for the x11, I don't know exactly what it is exactly doing, but it isn't even important. What is important: it is coming into your system with the wine, so only wine needs it. Wine is using it probably to emulate graphically accelerated, 32-bit windows programs. So you can safely play with its removal/reinstall.
After apt-get -f install
failed, your next step should be to exterminate this libopenal1:i386
from your system. The "strongest" thing you can do it is a dpkg --force-depends --purge libopenal1:i386
. Probably also this won't work, because the error message clearly shows that the package requires a reinstall.
So, you have to reinstall libopenal1:i386
first. In /var/cache/apt/archives
, you have your package files, it should contain a file matching libopenal1*i386.deb
. If it doesn't, then you can use apt-get download libopenal1:i386
to download it, directory from the ubuntu package repositories.
A dpkg -i libopenal1*i386.deb
will try to install this file again. If it goes, you have luck, an apt-get -f install
will fix your system and install your wine correctly. If not, then you have to debug the install scripts.
Extend the question, what happened and I will extend the answer, on this point, what to do.
New contributor
New contributor
answered 12 hours ago
peterhpeterh
1755
1755
New contributor
New contributor
add a comment |
add a comment |
Abdulhakim is a new contributor. Be nice, and check out our Code of Conduct.
Abdulhakim is a new contributor. Be nice, and check out our Code of Conduct.
Abdulhakim is a new contributor. Be nice, and check out our Code of Conduct.
Abdulhakim is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125055%2fapt-failure-on-wine-installation-how-to-restore-the-consistent-state-of-my-syst%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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