Choose style:

Author Topic: i386 archetecture on live session  (Read 1074 times)

0 Members and 1 Guest are viewing this topic.

Online emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1719
  • Karma: 394
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
i386 archetecture on live session
« on: September 03, 2016, 03:52:59 am »
Hi guys

Recently I installed Peppermint7 to a friends laptop remotely via Team Viewer and I discovered Team Viewer wouldn't install to the live session because it didn't have i386 architecture included which made the job much more difficult because I had to write a script for her to install the i386 architecture and some other files first before I could get TV running on the live session

would it be a good to have i386 architecture included in a respin or is scenarios like too rare  to make it viable




Graeme
« Last Edit: September 03, 2016, 03:59:16 am by emegra »
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline GNULINUX

  • Trusted User
  • Member
  • *****
  • Posts: 987
  • Karma: 310
    • View Profile
  • Peppermint version(s): Peppermint Six (x64)
Re: i386 archetecture on live session
« Reply #1 on: September 03, 2016, 06:18:34 am »
I always end up needing it anyway (Skype, Wine, etc.) so I'm for the idea (on the live and installed OS)!  ;)

I believe the commands are:
Code: [Select]
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get dist-upgrade
Please correct me if I'm wrong!  ;)
Peppermint 6  (x64)   -   Windows 7 Ultimate SP1  (x64)
Running different OS flavors in VirtualBox, just for fun!

Online emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1719
  • Karma: 394
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: i386 archetecture on live session
« Reply #2 on: September 03, 2016, 06:26:10 am »
Quote
I believe the commands are:
Code: [Select]

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get dist-upgrade

Please correct me if I'm wrong!

You're quite right but I also had to install these files to get Team Viewer working,

 libc6:i386 libncurses5:i386 libstdc++6:i386

I got that info online but can't remember where now



Graeme
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22902
  • Karma: 2556
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: i386 archetecture on live session
« Reply #3 on: September 03, 2016, 09:48:15 am »
We're never going to add ALL the 32bit libs for every possible app and end up with a 'mahoosive' ISO so there's always going to be work involved with installing 32bit apps in a 64bit "Live" session.

Or are you asking that we favour TeamViewer  and add those extra required 32bit libs too ?

To me it makes more sense for mutiarch to be added post installation.

If you need 32bit app support in a "Live" environment .. what's wrong with creating a 32bit LiveCD/LiveUSB in the first place ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Online emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1719
  • Karma: 394
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: i386 archetecture on live session
« Reply #4 on: September 03, 2016, 10:13:22 am »
Quote
Or are you asking that we favour TeamViewer  and add those extra required 32bit libs too ?

No I was really just asking what the rest of you guys thought, my own particular issue was with Team Viewer but I suppose there wouldn't be many scenarios where anybody would want Team Viewer running in a live session other than what I was doing which in all fairness must be pretty rare

Quote
To me it makes more sense for mutiarch to be added post installation.

I agree but it doesn't help if you're trying to install remotely

Quote
If you need 32bit app support in a "Live" environment .. what's wrong with creating a 32bit LiveCD/LiveUSB in the first place ?

That's no good if you want to use the same LiveCD/LiveUSB to install a 64bit system

Another thing I don't understand is the Team Viewer download claims to be Multiarch yet it clearly doesn't work with 64bit libs or am I misunderstanding the meaning of Multiarch



Graeme
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22902
  • Karma: 2556
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: i386 archetecture on live session
« Reply #5 on: September 03, 2016, 10:37:03 am »
Another thing I don't understand is the Team Viewer download claims to be Multiarch yet it clearly doesn't work with 64bit libs or am I misunderstanding the meaning of Multiarch

What they mean is it's 32bit, but **SHOULD** be packaged in such a way that a 64bit multiarch enabled OS should be able to install it and automatically have the 32bit dependencies resolved by the package manager .. this clearly isn't the case (badly packaged) if you're having to manually install some of those dependencies.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline GNULINUX

  • Trusted User
  • Member
  • *****
  • Posts: 987
  • Karma: 310
    • View Profile
  • Peppermint version(s): Peppermint Six (x64)
Re: i386 archetecture on live session
« Reply #6 on: September 03, 2016, 11:57:34 am »
Multi-arch is enabled by default on Peppermint?  :-\

Output from a clean and updated PM6 x64 VM:
Code: [Select]
username@PPM ~ $ uname -a
Linux PPM 3.16.0-77-generic #99~14.04.1-Ubuntu SMP Tue Jun 28 19:17:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
username@PPM ~ $ dpkg --print-architecture
amd64
username@PPM ~ $ dpkg --print-foreign-architectures
i386
username@PPM ~ $
Output from a clean and updated PM7 x64 VM:
Code: [Select]
user@PPM7 ~ $ uname -a
Linux PPM7 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
user@PPM7 ~ $ dpkg --print-architecture
amd64
user@PPM7 ~ $ dpkg --print-foreign-architectures
i386
user@PPM7 ~ $
Thanks for your answer!  ;)
Peppermint 6  (x64)   -   Windows 7 Ultimate SP1  (x64)
Running different OS flavors in VirtualBox, just for fun!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22902
  • Karma: 2556
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: i386 archetecture on live session
« Reply #7 on: September 03, 2016, 04:38:05 pm »
It is in an installed version .. but not in a "Live" session from the ISO

The ubiquity installer installs Peppermint as it is on the LiveCD/LiveUSB, and one of the last things it does is enable multiarch.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline GNULINUX

  • Trusted User
  • Member
  • *****
  • Posts: 987
  • Karma: 310
    • View Profile
  • Peppermint version(s): Peppermint Six (x64)
Re: i386 archetecture on live session
« Reply #8 on: September 03, 2016, 05:52:56 pm »
Ah OK... I've been enabling multi-arch on my (non VM) installs while it was enabled by default!  ::)

Could it be enabled by default on the live version? Are there disadvantages in doing that?
This would not solve the problem of the badly packaged programs but it would make installing other 32 bit packages easier.

Greets!  ;)
Peppermint 6  (x64)   -   Windows 7 Ultimate SP1  (x64)
Running different OS flavors in VirtualBox, just for fun!