Wine package broken after Ubuntu upgrade to 13.04

Asked by Clifford Reynolds on 2013-09-09

Wine 1.4 was installed on Ubuntu 12.04LTS on 32 bit (though didn't work for Quicken 2012). Upgraded Ubuntu -> 12.10 -> 13.04. Tried to run wine, didn't work. trying to uninstall or reinstall didn't work - "broken packages" . Have noticed in posts that when versions of Ubuntu change, this type of error for Wine (and others) occurs. Have tired using Y PPA Manager which states that only Wine packages (1.5 up) are available for my system (Ubuntu 13.04) so it looks as if I can't get the wine 1.4 package to either install or uninstall. "wine1.4-i386" seems to be the hangup.

It was suggested in other posts that I do a fresh install of 13.04. I don't want to do that; besides, what then is the point of the upgrade process?

Also, Canonical Partners and Canonical Partners (Source) are listed twice even after running Scan and remove duplicates in Y PPA Manager.

if this helps, :
installArchives() failed: (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 220348 files and directories currently installed.)
Removing wine1.4 ...
dpkg: error processing wine1.4-i386 (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Processing triggers for mime-support ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Errors were encountered while processing:
 wine1.4-i386
Error in function:

when trying to repair:

installArchives() failed: Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
Selecting previously unselected package wine1.4.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 220182 files and directories currently installed.)
Unpacking wine1.4 (from .../wine1.4_1.4.1-0ubuntu5_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for mime-support ...
dpkg: error processing wine1.4-i386 (--configure):
 package wine1.4-i386 is not ready for configuration
 cannot configure (current status `half-installed')
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of wine1.4:
 wine1.4 depends on wine1.4-i386 (= 1.4.1-0ubuntu5); however:
  Package wine1.4-i386 is not installed.

dpkg: error processing wine1.4 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 wine1.4-i386
 wine1.4
Error in function:
dpkg: dependency problems prevent configuration of wine1.4:
 wine1.4 depends on wine1.4-i386 (= 1.4.1-0ubuntu5); however:
  Package wine1.4-i386 is not installed.

dpkg: error processing wine1.4 (--configure):
 dependency problems - leaving unconfigured

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu wine Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2013-09-10
Last query:
2013-09-10
Last reply:
2013-09-09

Try:

sudo apt-get --reinstall install wine1.4-i386

What is the full output?

Thanks

cliff@Dell-desk:~$ sudo apt-get --reinstall install wine1.4-i386
[sudo] password for cliff:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not
upgraded.
2 not fully installed or removed.
Need to get 0 B/20.6 MB of archives.
After this operation, 0 B of additional disk space will be used.
Selecting previously unselected package wine1.4-i386.
(Reading database ... 220668 files and directories currently installed.)
Preparing to replace wine1.4-i386 1.4.1-0ubuntu5 (using
.../wine1.4-i386_1.4.1-0ubuntu5_i386.deb) ...
Unpacking replacement wine1.4-i386 ...
Setting up wine1.4-i386 (1.4.1-0ubuntu5) ...
Setting up wine1.4 (1.4.1-0ubuntu5) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
cliff@Dell-desk:~$

On Mon, Sep 9, 2013 at 1:31 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #235417 on wine in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/wine/+question/235417
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Try:
>
> sudo apt-get --reinstall install wine1.4-i386
>
> What is the full output?
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/wine/+question/235417
>
> You received this question notification because you asked the question.
>

Looks great. Ok try uninstalling the package and it should remove without issue.

Worked great! Thanks a lot!

The clue was in the error. Read the error then read the fix. Not rocket science

Thanks for the insult (not).

Perhaps you would be kind enough to point out where in the error:
"dpkg: error processing wine1.4-i386 (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal."
I should have gotten
"sudo apt-get --reinstall install wine1.4-i386"

I don't do command line all day and thought that Synaptic Package Manager
should be able to reinstall.

On Tue, Sep 10, 2013 at 12:36 AM, actionparsnip <
<email address hidden>> wrote:

> Your question #235417 on wine in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/wine/+question/235417
>
> actionparsnip posted a new comment:
> The clue was in the error. Read the error then read the fix. Not rocket
> science
>
> --
> You received this question notification because you asked the question.
>