You are not logged in.

#1 2017-02-18 12:35:56

nox
New Member
Registered: 2017-02-18
Posts: 3

PowerShell in Debian

Hi, how to make BL to present itself as Debian? I have issue installing some software because BL is not supported...
specifically PowerShell...

Last edited by Head_on_a_Stick (2017-02-19 13:28:12)

Offline

#2 2017-02-18 12:38:38

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: PowerShell in Debian

sudo apt purge bunsen-os-release

You can reinstall the package afterwards wink

Offline

#3 2017-02-18 12:40:26

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: PowerShell in Debian

Note that the PowerShell developers are only offering an Ubuntu .deb file and BunsenLabs may not be compatible.

Be sure to use gdebi to install the .deb file.

Offline

#4 2017-02-18 12:53:13

nox
New Member
Registered: 2017-02-18
Posts: 3

Re: PowerShell in Debian

so I need another distro? sad

Offline

#5 2017-02-18 12:57:11

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: PowerShell in Debian

If gdebi will install the .deb file without complaint then it is "safe" to install in a BunsenLabs system.

I have no idea if it will work or not but I would think that it would, the PowerShell github page says:

This works for Debian Stretch (now testing) as well.

So the chances are good (ish) smile

Offline

#6 2017-02-18 13:02:19

nox
New Member
Registered: 2017-02-18
Posts: 3

Re: PowerShell in Debian

It's asking for "libicu55" can't make it work sad

Offline

#7 2017-02-18 13:08:06

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: PowerShell in Debian

You could try Debian stretch, the installer is now in RC2 status:

https://www.debian.org/devel/debian-installer/

We have an experimental Helium-dev netinstall script that can be run from a stretch system:

https://github.com/BunsenLabs/bunsen-ne … helium-dev

Any systems installed by such methods should *not* be used for anything important.

Offline

#8 2017-02-19 02:59:12

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,661
Website

Re: PowerShell in Debian

libicu55 is not available in Debian. Jessie has libicu52 and Stretch has 57. Either way, the Ubuntu .deb file will probably reject it. I don't know if it would actually work with 52 or 57...


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#9 2017-02-19 13:09:37

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: PowerShell in Debian

I don't think this will work with Debian sad

I tried editing debian/control and changing libicu55 to libicu57 and libssl1.0.0 to libssl1.0.2 and the re-built .deb installed successfully but it won't run for me:

Helium: ~/Downloads/powershell $ powershell
Failed to initialize CoreCLR, HRESULT: 0x80131500
Helium: ~/Downloads/powershell 137$

Here is the modified .deb if anybody wants to investigate this further:

https://drive.google.com/open?id=0BxKgG … klXTEtuYTQ

EDIT: for stretch-based systems only.

Last edited by Head_on_a_Stick (2017-02-19 13:10:38)

Offline

#10 2017-02-19 20:43:56

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: PowerShell in Debian

I have managed to get this running in an Ubuntu container:

https://forums.bunsenlabs.org/viewtopic … 580#p45580

Use the jessie-backports version of debootstrap with this command to create an Ubuntu Xenial filesystem tree at ~/ubuntu:

debootstrap xenial ~/ubuntu http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu/

Then follow this guide to set up the container with systemd-nspawn:

http://forums.debian.net/viewtopic.php?f=16&t=129390

PowerShell can then be run with:

sudo systemd-nspawn --directory=~/ubuntu --user=$USER powershell

You may need to change the permissions of systemd-nspawn to use the program as you want to, it is only exposed to the container filesystem with the stock configuration.

Offline

Board footer

Powered by FluxBB