The other day I installed Wine using the software repository. Until now, I had assumed that it would report the latest (at least stable) versions. This is not the case! It seems the Software Repository itself does not update, not by default anyway.
I had installed version 1.4. But it made Thunderbird Portable (a Windows app) crash on opening. I discovered this after a little googling showed me that this was a bug that was fixed subsequently in version 1.5.8 of Wine.
So, I decided to install version 1.6 which is also the latest stable version. But how to upgrade? There was no option in Software Repository.
Now I understand already that the terminal command "apt-get" is some kind of way to install programs and all their dependencies. I think it works by keeping a local copy of approved repositories that you can add to (taking care, of course) and then poll for various applications and their dependencies to be downloaded.
But all I could find was info on installing apps and nothing on upgrading them. In the end, I decided to uninstall Wine 1.4 using the Software Repository and then re-install it (v1.6) using the terminal window. I hoped that uninstalling it wouldn't unwind a ton of dependencies that would then break when trying to reinstall. A lot more complicated than your typical Windows uninstall and reinstall methinks, and a lot more to potentially go wrong.
So after uninstalling, I opened a terminal window and type in the following commands (thanks to this site):
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.6
sudo apt-get install winetricks
It went well. In fact, I had noticed after uninstalling that the Wine menus were still there. Strange, I thought. It made sense after running the commands above: the procedure actually uninstalled Wine 1.4. Pretty smart, eh? I'm not sure why it never really got uninstalled but at least the commands I used took care of that. I've attached the output below if you want to read it (my username is "user").
After that, I re-ran Thunderbird Portable and it worked pretty well. Only downside was it can't handle an IMAP connection - it crashed again - but it can handle POP3 fine. I actually just put a dummy account there as my main use for it is for locally stored mail I've moved from another installation of this application. I don't intend to use it to send and receive new email.
Here's the terminal window output:
user@computer ~/Desktop $ sudo add-apt-repository ppa:ubuntu-wine/ppa[sudo] password for user:You are about to add the following PPA to your system:Welcome to the Wine Team PPA. Here you can get the latest available Wine betas for every supported version of Ubuntu. This PPA is managed by Scott Ritchie and Maarten Lankhorst.More info: https://launchpad.net/~ubuntu-wine/+archive/ppaPress [ENTER] to continue or ctrl-c to cancel adding itExecuting: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.b7487HkSGR --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 883E8688397576B6C509DF495A9A06AEF9CB8DB0gpg: requesting key F9CB8DB0 from hkp server keyserver.ubuntu.comgpg: key F9CB8DB0: public key "Launchpad PPA for Ubuntu Wine Team" importedgpg: no ultimately trusted keys foundgpg: Total number processed: 1gpg: imported: 1 (RSA: 1)user@computer ~/Desktop $ sudo apt-get updateHit http://archive.canonical.com precise Release.gpgGet:1 http://ppa.launchpad.net precise Release.gpg [316 B]Hit http://dl.google.com stable Release.gpgHit http://archive.canonical.com precise ReleaseGet:2 http://ppa.launchpad.net precise Release [11.9 kB]Hit http://dl.google.com stable ReleaseHit http://archive.ubuntu.com precise Release.gpgGet:3 http://archive.ubuntu.com precise-updates Release.gpg [198 B]Get:4 http://security.ubuntu.com precise-security Release.gpg [198 B]Hit http://archive.canonical.com precise/partner i386 PackagesGet:5 http://packages.linuxmint.com maya Release.gpg [198 B]Hit http://dl.google.com stable/main i386 PackagesIgn http://archive.canonical.com precise/partner TranslationIndexGet:6 http://ppa.launchpad.net precise/main Sources [6,389 B]Ign http://dl.google.com stable/main TranslationIndexGet:7 http://ppa.launchpad.net precise/main i386 Packages [7,494 B]Ign http://ppa.launchpad.net precise/main TranslationIndexHit http://archive.ubuntu.com precise ReleaseGet:8 http://security.ubuntu.com precise-security Release [49.6 kB]Get:9 http://packages.linuxmint.com maya Release [18.6 kB]Get:10 http://archive.ubuntu.com precise-updates Release [49.6 kB]Get:11 http://packages.linuxmint.com maya/main i386 Packages [18.1 kB]Get:12 http://security.ubuntu.com precise-security/main i386 Packages [377 kB]Ign http://archive.canonical.com precise/partner Translation-en_GBHit http://archive.ubuntu.com precise/main i386 PackagesHit http://archive.ubuntu.com precise/restricted i386 PackagesHit http://archive.ubuntu.com precise/universe i386 PackagesHit http://archive.ubuntu.com precise/multiverse i386 PackagesHit http://archive.ubuntu.com precise/main TranslationIndexHit http://archive.ubuntu.com precise/multiverse TranslationIndexHit http://archive.ubuntu.com precise/restricted TranslationIndexHit http://archive.ubuntu.com precise/universe TranslationIndexIgn http://archive.canonical.com precise/partner Translation-enIgn http://ppa.launchpad.net precise/main Translation-en_GBIgn http://ppa.launchpad.net precise/main Translation-enGet:13 http://archive.ubuntu.com precise-updates/main i386 Packages [769 kB]Ign http://dl.google.com stable/main Translation-en_GBIgn http://dl.google.com stable/main Translation-enGet:14 http://packages.linuxmint.com maya/upstream i386 Packages [10.6 kB]Get:15 http://packages.linuxmint.com maya/import i386 Packages [42.0 kB]Ign http://packages.linuxmint.com maya/import TranslationIndexIgn http://packages.linuxmint.com maya/main TranslationIndexIgn http://packages.linuxmint.com maya/upstream TranslationIndexErr http://packages.medibuntu.org precise Release.gpgSomething wicked happened resolving 'packages.medibuntu.org:http' (-5 - No address associated with hostname)Ign http://packages.medibuntu.org precise ReleaseIgn http://packages.medibuntu.org precise/free i386 Packages/DiffIndexIgn http://packages.medibuntu.org precise/non-free i386 Packages/DiffIndexGet:16 http://archive.ubuntu.com precise-updates/restricted i386 Packages [11.5 kB]Ign http://packages.medibuntu.org precise/free TranslationIndexGet:17 http://archive.ubuntu.com precise-updates/universe i386 Packages [235 kB]Ign http://packages.medibuntu.org precise/non-free TranslationIndexIgn http://packages.linuxmint.com maya/import Translation-en_GBIgn http://packages.linuxmint.com maya/import Translation-enGet:18 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]Ign http://packages.linuxmint.com maya/main Translation-en_GBGet:19 http://security.ubuntu.com precise-security/universe i386 Packages [93.5 kB]Ign http://packages.linuxmint.com maya/main Translation-enIgn http://packages.linuxmint.com maya/upstream Translation-en_GBIgn http://packages.linuxmint.com maya/upstream Translation-enGet:20 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,650 B]Hit http://security.ubuntu.com precise-security/main TranslationIndexHit http://security.ubuntu.com precise-security/multiverse TranslationIndexHit http://security.ubuntu.com precise-security/restricted TranslationIndexHit http://security.ubuntu.com precise-security/universe TranslationIndexHit http://security.ubuntu.com precise-security/main Translation-enHit http://security.ubuntu.com precise-security/multiverse Translation-enHit http://security.ubuntu.com precise-security/restricted Translation-enHit http://security.ubuntu.com precise-security/universe Translation-enGet:21 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [14.4 kB]Hit http://archive.ubuntu.com precise-updates/main TranslationIndexHit http://archive.ubuntu.com precise-updates/multiverse TranslationIndexHit http://archive.ubuntu.com precise-updates/restricted TranslationIndexHit http://archive.ubuntu.com precise-updates/universe TranslationIndexHit http://archive.ubuntu.com precise/main Translation-en_GBHit http://archive.ubuntu.com precise/main Translation-enHit http://archive.ubuntu.com precise/multiverse Translation-en_GBHit http://archive.ubuntu.com precise/multiverse Translation-enHit http://archive.ubuntu.com precise/restricted Translation-en_GBHit http://archive.ubuntu.com precise/restricted Translation-enHit http://archive.ubuntu.com precise/universe Translation-en_GBHit http://archive.ubuntu.com precise/universe Translation-enHit http://archive.ubuntu.com precise-updates/main Translation-en_GBHit http://archive.ubuntu.com precise-updates/main Translation-enHit http://archive.ubuntu.com precise-updates/multiverse Translation-en_GBHit http://archive.ubuntu.com precise-updates/multiverse Translation-enHit http://archive.ubuntu.com precise-updates/restricted Translation-en_GBHit http://archive.ubuntu.com precise-updates/restricted Translation-enHit http://archive.ubuntu.com precise-updates/universe Translation-en_GBHit http://archive.ubuntu.com precise-updates/universe Translation-enErr http://packages.medibuntu.org precise/free i386 PackagesSomething wicked happened resolving 'packages.medibuntu.org:http' (-5 - No address associated with hostname)Err http://packages.medibuntu.org precise/non-free i386 PackagesSomething wicked happened resolving 'packages.medibuntu.org:http' (-5 - No address associated with hostname)Err http://packages.medibuntu.org precise/free Translation-en_GBSomething wicked happened resolving 'packages.medibuntu.org:http' (-5 - No address associated with hostname)Err http://packages.medibuntu.org precise/free Translation-enSomething wicked happened resolving 'packages.medibuntu.org:http' (-5 - No address associated with hostname)Err http://packages.medibuntu.org precise/non-free Translation-en_GBSomething wicked happened resolving 'packages.medibuntu.org:http' (-5 - No address associated with hostname)Err http://packages.medibuntu.org precise/non-free Translation-enSomething wicked happened resolving 'packages.medibuntu.org:http' (-5 - No address associated with hostname)Fetched 1,722 kB in 12s (139 kB/s)W: Failed to fetch http://packages.medibuntu.org/dists/precise/Release.gpg Something wicked happened resolving 'packages.medibuntu.org:http' (-5 - No address associated with hostname)W: Failed to fetch http://packages.medibuntu.org/dists/precise/free/binary-i386/Packages Something wicked happened resolving 'packages.medibuntu.org:http' (-5 - No address associated with hostname)W: Failed to fetch http://packages.medibuntu.org/dists/precise/non-free/binary-i386/Packages Something wicked happened resolving 'packages.medibuntu.org:http' (-5 - No address associated with hostname)W: Failed to fetch http://packages.medibuntu.org/dists/precise/free/i18n/Translation-en_GB Something wicked happened resolving 'packages.medibuntu.org:http' (-5 - No address associated with hostname)W: Failed to fetch http://packages.medibuntu.org/dists/precise/free/i18n/Translation-en Something wicked happened resolving 'packages.medibuntu.org:http' (-5 - No address associated with hostname)W: Failed to fetch http://packages.medibuntu.org/dists/precise/non-free/i18n/Translation-en_GB Something wicked happened resolving 'packages.medibuntu.org:http' (-5 - No address associated with hostname)W: Failed to fetch http://packages.medibuntu.org/dists/precise/non-free/i18n/Translation-en Something wicked happened resolving 'packages.medibuntu.org:http' (-5 - No address associated with hostname)E: Some index files failed to download. They have been ignored, or old ones used instead.user@computer ~/Desktop $ sudo apt-get install wine1.6Reading package lists... DoneBuilding dependency treeReading state information... DoneThe following extra packages will be installed:libosmesa6 wine-gecko2.21 wine-mono0.0.8 wine1.6-i386Suggested packages:dosboxRecommended packages:wine1.5-i386The following packages will be REMOVEDwine1.4 wine1.4-common wine1.4-i386The following NEW packages will be installedlibosmesa6 wine-gecko2.21 wine-mono0.0.8 wine1.6 wine1.6-i3860 upgraded, 5 newly installed, 3 to remove and 51 not upgraded.Need to get 94.5 MB of archives.After this operation, 95.2 MB of additional disk space will be used.Do you want to continue [Y/n]? YGet:1 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main wine-gecko2.21 i386 2.21-0ubuntu1~ppa1~precise1 [20.8 MB]Get:2 http://archive.ubuntu.com/ubuntu/ precise-updates/main libosmesa6 i386 8.0.4-0ubuntu0.7 [1,146 kB]Get:3 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main wine-mono0.0.8 all 0.0.8-0ubuntu1~ppa2 [46.6 MB]Get:4 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main wine1.6-i386 i386 1:1.6.1-0ubuntu1~ppa1~precise1 [24.8 MB]Get:5 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main wine1.6 i386 1:1.6.1-0ubuntu1~ppa1~precise1 [1,189 kB]Fetched 94.5 MB in 7min 4s (223 kB/s)(Reading database ... 144278 files and directories currently installed.)Removing wine1.4 ...Removing wine1.4-i386 ...Removing wine1.4-common ...Processing triggers for man-db ...Processing triggers for hicolor-icon-theme ...Processing triggers for desktop-file-utils ...Processing triggers for bamfdaemon ...Rebuilding /usr/share/applications/bamf.index...Processing triggers for gnome-menus ...Processing triggers for libc-bin ...ldconfig deferred processing now taking placeSelecting previously unselected package wine-gecko2.21.(Reading database ... 142968 files and directories currently installed.)Unpacking wine-gecko2.21 (from .../wine-gecko2.21_2.21-0ubuntu1~ppa1~precise1_i386.deb) ...Selecting previously unselected package wine-mono0.0.8.Unpacking wine-mono0.0.8 (from .../wine-mono0.0.8_0.0.8-0ubuntu1~ppa2_all.deb) ...Selecting previously unselected package wine1.6-i386.Unpacking wine1.6-i386 (from .../wine1.6-i386_1%3a1.6.1-0ubuntu1~ppa1~precise1_i386.deb) ...Selecting previously unselected package wine1.6.Unpacking wine1.6 (from .../wine1.6_1%3a1.6.1-0ubuntu1~ppa1~precise1_i386.deb) ...Selecting previously unselected package libosmesa6.Unpacking libosmesa6 (from .../libosmesa6_8.0.4-0ubuntu0.7_i386.deb) ...Processing triggers for hicolor-icon-theme ...Processing triggers for man-db ...Processing triggers for desktop-file-utils ...Processing triggers for bamfdaemon ...Rebuilding /usr/share/applications/bamf.index...Processing triggers for gnome-menus ...Setting up wine-gecko2.21 (2.21-0ubuntu1~ppa1~precise1) ...Setting up wine-mono0.0.8 (0.0.8-0ubuntu1~ppa2) ...Setting up libosmesa6 (8.0.4-0ubuntu0.7) ...Setting up wine1.6 (1:1.6.1-0ubuntu1~ppa1~precise1) ...Setting up wine1.6-i386 (1:1.6.1-0ubuntu1~ppa1~precise1) ...Processing triggers for libc-bin ...ldconfig deferred processing now taking placeuser@computer ~/Desktop $ sudo apt-get install winetricksReading package lists... DoneBuilding dependency treeReading state information... DoneThe following packages were automatically installed and are no longer required:ttf-umefont gettext wine-gecko1.4 ttf-unfonts-coreUse 'apt-get autoremove' to remove them.The following packages will be upgraded:winetricks1 upgraded, 0 newly installed, 0 to remove and 50 not upgraded.Need to get 151 kB of archives.After this operation, 13.3 kB of additional disk space will be used.Get:1 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main winetricks i386 0.0+20130707~precise1~ppa1 [151 kB]Fetched 151 kB in 1s (114 kB/s)(Reading database ... 144407 files and directories currently installed.)Preparing to replace winetricks 0.0+20120308 (using .../winetricks_0.0+20130707~precise1~ppa1_i386.deb) ...Unpacking replacement winetricks ...Processing triggers for hicolor-icon-theme ...Processing triggers for desktop-file-utils ...Processing triggers for bamfdaemon ...Rebuilding /usr/share/applications/bamf.index...Processing triggers for gnome-menus ...Setting up winetricks (0.0+20130707~precise1~ppa1) ...user@computer ~/Desktop $
No comments:
Post a Comment