Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 May 2019, 01:24
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Install Wine in Bionic Dog
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
dcung

Joined: 13 Jul 2018
Posts: 230
Location: Down Under - 3rd rock from Sun.

PostPosted: Sat 01 Sep 2018, 04:07    Post subject:  Install Wine in Bionic Dog  

Hi all,

I have been trying to install wine in Bionic Dog this past week.
After few unsuccessful attempts, I decided to try with fresh Bionic Dog OOTB, nothing else installed, to avoid any conflicts with my other apps installed.

Dell D630, CoreDuo@2.40GHz, 2GB RAM, 120GB SSD.

I tried 3 version of wine available in synaptic, all lead to the same error (all from fresh OOTB Bionic Dog, each retry from fresh).
wine-stable 3.0
wine64 3.0
wine 1.6

But the result were the same. All were asking wine32 to be installed, which I did....by executing the commands (tried, separately and together).

Code:
root@live64:~# wine
it looks like wine32 is missing, you should install it.
multiarch needs to be enabled first.  as root, please
execute "dpkg --add-architecture i386 && apt-get update &&
apt-get install wine32"
Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program
       wine --help                   Display this help and exit
       wine --version                Output version information and exit


https://wiki.winehq.org/Ubuntu

Code:
dpkg --add-architecture i386 && apt-get update &&
apt-get install wine32


Whether I installed thru synaptic or command lines, they ended up with error below.

Code:
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 47536 files and directories currently installed.)
Preparing to unpack .../libsystemd0_237-3ubuntu10.3_amd64.deb ...
Unpacking libsystemd0:amd64 (237-3ubuntu10.3) over (237-3ubuntu10) ...
Selecting previously unselected package libc6:i386.
Preparing to unpack .../libc6_2.27-3ubuntu1_i386.deb ...
Unpacking libc6:i386 (2.27-3ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6_2.27-3ubuntu1_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libc6/NEWS.Debian.gz', which is different from other instances of package libc6:i386
Selecting previously unselected package libgcc1:i386.
Preparing to unpack .../libgcc1_1%3a8-20180414-1ubuntu2_i386.deb ...
Unpacking libgcc1:i386 (1:8-20180414-1ubuntu2) ...
Selecting previously unselected package gcc-8-base:i386.
Preparing to unpack .../gcc-8-base_8-20180414-1ubuntu2_i386.deb ...
Unpacking gcc-8-base:i386 (8-20180414-1ubuntu2) ...
dpkg: error processing archive /var/cache/apt/archives/gcc-8-base_8-20180414-1ubuntu2_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/gcc-8-base/TODO.Debian', which is different from other instances of package gcc-8-base:i386
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.27-3ubuntu1_i386.deb
 /var/cache/apt/archives/gcc-8-base_8-20180414-1ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@live64:~#


After which, it will say that there are 2 broken packages, and recommend to run 'apt --fix-broken install'

Code:
root@live64:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  gcc-8-base:i386 libc6:i386 libpam-systemd systemd
Suggested packages:
  glibc-doc:i386 locales:i386 systemd-container
Recommended packages:
  networkd-dispatcher
The following NEW packages will be installed:
  gcc-8-base:i386 libc6:i386
The following packages will be upgraded:
  libpam-systemd systemd
2 upgraded, 2 newly installed, 0 to remove and 112 not upgraded.
2 not fully installed or removed.
Need to get 0 B/5,572 kB of archives.
After this operation, 10.9 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Preconfiguring packages ...
(Reading database ... 47538 files and directories currently installed.)
Preparing to unpack .../libpam-systemd_237-3ubuntu10.3_amd64.deb ...
Unpacking libpam-systemd:amd64 (237-3ubuntu10.3) over (237-3ubuntu10) ...
Preparing to unpack .../systemd_237-3ubuntu10.3_amd64.deb ...
Unpacking systemd (237-3ubuntu10.3) over (237-3ubuntu10) ...
Setting up libsystemd0:amd64 (237-3ubuntu10.3) ...
(Reading database ... 47538 files and directories currently installed.)
Preparing to unpack .../gcc-8-base_8-20180414-1ubuntu2_i386.deb ...
Unpacking gcc-8-base:i386 (8-20180414-1ubuntu2) ...
dpkg: error processing archive /var/cache/apt/archives/gcc-8-base_8-20180414-1ubuntu2_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/gcc-8-base/TODO.Debian', which is different from other instances of package gcc-8-base:i386
Preparing to unpack .../libc6_2.27-3ubuntu1_i386.deb ...
Unpacking libc6:i386 (2.27-3ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6_2.27-3ubuntu1_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libc6/NEWS.Debian.gz', which is different from other instances of package libc6:i386
Errors were encountered while processing:
 /var/cache/apt/archives/gcc-8-base_8-20180414-1ubuntu2_i386.deb
 /var/cache/apt/archives/libc6_2.27-3ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@live64:~#


If I remove, the broken packages thru synaptic, and retry, it just going thru the same loop.

What is going on?... Smile
Is there ready made wine SFS for Bionic Dog?
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3921
Location: holland

PostPosted: Sat 01 Sep 2018, 04:57    Post subject:  

Hi dcung, I know very little about wine, but I'll try to investigate your issue in the next days.
Try doing a web search for installing wine on Ubuntu 18.04 64-bit, probably you're not the only one with this problem, I guess

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 4977
Location: King's Lynn, UK.

PostPosted: Sat 01 Sep 2018, 05:28    Post subject:  

@ dcung:-

Peebee's Upup Bionic has exactly the same problem; WINE just will not install, no matter what you try.....and this is a 32-bit Pup, so, no need for the multi-arch stuff.

As Fred says, I think you'll find this is an on-going problem for 18.04 LTS. But this is where we try and help each other out; any 'fixes' discovered can only be to the good of the whole Puppy community!

I shall watch this thread with interest.....


Mike. Wink

_________________
My 'Puppy' Packages
--------------------------------------

Back to top
View user's profile Send private message 
zagreb999

Joined: 11 Apr 2014
Posts: 438
Location: Yugoslavija

PostPosted: Sat 01 Sep 2018, 06:12    Post subject: wine  

this one works in xenialdog

https://osdn.net/projects/sfnet_puppystuff/downloads/Utility/Wine/wine-1.7.2.sfs/
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3921
Location: holland

PostPosted: Sat 01 Sep 2018, 06:38    Post subject:  

Hi dcung, I must admit that this is a bug in Bionicdog64, my mistake, sorry for the inconvenience !
But can be fixed, see below.

To explain:
The man and doc files in /usr/share are "zerosized" (null bytes), to make ISO as small as possible (similar as "Trim the Fat" in Puppy).
In most cases that gives no problems, except for when installing "i386" packages, the package installer expects no 'null bytes' files and will give error.
So instead of "zerosizing" the files, they should be removed, then installing wine went OK for me.

I'd advice to start fresh and first do in terminal (remove man and doc files):
Code:
find /usr/share/doc -type f -exec rm -f {} \;
find /usr/share/man -type f -exec rm -f {} \;
find /usr/share/info -type f -exec rm -f {} \;
find /usr/share/gnome/help -type f -exec rm -f {} \;
find /usr/share/gtk-doc -type f -exec rm -f {} \;


Then add architecture and install wine:
Code:
dpkg --add-architecture i386 && apt-get update
apt-get install wine-stable wine32


Code:
root@live64:~# wine
Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program
       wine --help                   Display this help and exit
       wine --version                Output version information and exit


I'll add this issue to the changes and fixes list later.
(also the Quick-remaster program should be fixed, by removing the files instead of 'zerosizing' at the cleaning section of the script)

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 3140
Location: 500 seconds from Sol

PostPosted: Sat 01 Sep 2018, 09:59    Post subject:  

Mike Walsh wrote:
@ dcung:-

Peebee's Upup Bionic has exactly the same problem; WINE just will not install, no matter what you try.....and this is a 32-bit Pup, so, no need for the multi-arch stuff.


As Portable Wine version 3.3_v2.1 is functional under upupbb, http://murga-linux.com/puppy/viewtopic.php?p=989245#989245 and every other Puppy (32 bit or 64 bit with 32-bit compatibility in use) I would expect Version2013's Wine 3.3_v2.1 to also function as it was used as the "engine" for the portable. See, http://www.murga-linux.com/puppy/viewtopic.php?p=904612#904612 regarding how it was constructed.

Unless you have 64-bit Windows programs --almost all of which were created for Windows 7 or above-- you don't want the 64-bit Wine package. It can not run 32-bit windows programs. [And unless you need both 64-bit and 32-bit Wine, installing both may just be buying unnecessary complexity].

fredx181 provided instructions as to what was required to run 32-bit wine in 64-bit DebianDog64-Jessie. http://www.murga-linux.com/puppy/viewtopic.php?p=881963#881963 I would expect the same (or similar) for BionicDog

I'm kind of hazy about how I got wine-portable to work under DebianDog64 Embarassed , but part of doing so required following fredx181's instructions here: http://www.murga-linux.com/puppy/viewtopic.php?p=882482#882482.

I'll revisit that question after breakfast. Smile

Last edited by mikeslr on Sat 01 Sep 2018, 10:44; edited 1 time in total
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3921
Location: holland

PostPosted: Sat 01 Sep 2018, 10:26    Post subject:  

mikeslr wrote:
fredx181 provided instructions as to what was required to run 32-bit wine in 64-bit DebianDog64-Jessie. http://www.murga-linux.com/puppy/viewtopic.php?p=881963#881963 I would expect the same (or similar) for BionicDog

Looks like history is repeated and I didn't learn from mistakes back then Embarassed
EDIT: To clarify, the problem wouldn't exist if the man and doc files were removed in the BionIcdog64 ISO.

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 3140
Location: 500 seconds from Sol

PostPosted: Sat 01 Sep 2018, 11:05    Post subject:  

Thanks, fred. But I resent you're use of the excuse I've staked out for myself: Not being able to remember something which happened more than a day ago. Shocked Which reminds me. Two heads are better than one, unless you're trying to feed yourself. Laughing

It's the other part I'm hazy about. Wine-portable was created as a "rox-app" designed so that you Right-Click the unpacked folder, select "Register" from the menu which appears and the Register-bash-script within the folder creates a symbolic link in the operating system to the Wine-portable script also within the folder. Registering also places a couple executable files "on the path", desktop files in /usr/share/applications and a wine-icon where the desktop files can find them so that your system now provides menu entries. On systems which do NOT support rox-apps, it may only be necessary to file-browse into the Wine-portable folder (or open a terminal to it) and execute the Register script. That may have been the way I got Wine-portable to run under DebianDog64-Jessie after following fredx181's instructions.

But I'm not sure. I know that I somehow had to get DebianDog64 to invoke the wine-portable script.

mikesLr
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 230
Location: Down Under - 3rd rock from Sun.

PostPosted: Sat 01 Sep 2018, 18:23    Post subject:  

fredx181 wrote:
Hi dcung, I must admit that this is a bug in Bionicdog64, my mistake, sorry for the inconvenience !
But can be fixed, see below.


Thanks Fred..

I did that and confirmed it works now.

Upon testing, I found another question...
How do you change file ascociation?
At the moment .exe are associated with uextract and hence I had to manually run wine when executing Dos executable.
I tried using properties/command line (since no wine icon in menu), it works once only, but it seems to ignore it and still run uextract instead for next run.
xendog-20180902084705.jpg
 Description   
 Filesize   46.07 KB
 Viewed   407 Time(s)

xendog-20180902084705.jpg

xendog-20180902081709.jpg
 Description   
 Filesize   34.74 KB
 Viewed   415 Time(s)

xendog-20180902081709.jpg

Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 230
Location: Down Under - 3rd rock from Sun.

PostPosted: Sat 01 Sep 2018, 19:44    Post subject:  

Mike Walsh wrote:
Peebee's Upup Bionic has exactly the same problem; WINE just will not install, no matter what you try.....and this is a 32-bit Pup, so, no need for the multi-arch stuff.
....
I shall watch this thread with interest.....


Hi Mike,

I came across this link when 'troubleshooting' before fred found the bug in Bionic Dog. Not sure Bionic Beaver have same bug. But this guy said he installed wine on Bionic Beaver.

https://linuxconfig.org/install-wine-on-ubuntu-18-04-bionic-beaver-linux

I have not tried to install wine in Bionic Beaver yet... one of these days I will...
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3921
Location: holland

PostPosted: Sun 02 Sep 2018, 02:51    Post subject:  

dcung wrote:
How do you change file ascociation?
At the moment .exe are associated with uextract and hence I had to manually run wine when executing Dos executable.

You need to give it a name, see pic below.
Btw, I tried quickly and found that the Openbox menu doesn't show menu entry for Wine.
(it should be after installing programs)
The Menu from lxpanel does support it, use "Desktop Manager" and choose "Pcmanfm + Lxpanel", and there should be entry for Wine (after installing programs), see also pic below.

Fred
file-association.png
 Description   file association
 Filesize   64.09 KB
 Viewed   384 Time(s)

file-association.png

wine.jpg
 Description   Wine in Menu
 Filesize   45.94 KB
 Viewed   386 Time(s)

wine.jpg


_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 230
Location: Down Under - 3rd rock from Sun.

PostPosted: Mon 03 Sep 2018, 22:31    Post subject:  

fredx181 wrote:

You need to give it a name, see pic below.


I missed this most important bit...
I was wondering why it didn't keep the association...

Thanks Fred.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0783s ][ Queries: 13 (0.0109s) ][ GZIP on ]