PowerShell fails to install on Debian-9
See original GitHub issueSteps to reproduce
Try installing PowerShell on Debian-9 using the instructions for Debian-8.
Expected behavior
Not sure. 😃 I just wanted to draw attention to the fact that it doesn’t install, in case you hadn’t gotten around to testing it yet.
Actual behavior
The following packages have unmet dependencies:
powershell : Depends: libssl1.0.0 but it is not installable
Depends: libicu52 bit it is not installable
For libssl, Debian stretch has libssl1.0.2 installed. I’m not sure about the other library though.
Environment data
root@myserver:/# cat /etc/debian_version
9.0
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:18 (4 by maintainers)
Top Results From Across the Web
[SOLVED] Cannot install Powershell core
Hi, I downloaded Powershell Core for debian as a .deb file from github, and when I run it the installation doesn't start.
Read more >Install PowerShell in Debian 9
To install Microsoft PowerShell in Debian 9, run Install GPG keys Add repository Install powershell To start powershell…
Read more >Install PowerShell on Linux
Learn about the Linux distributions supported by PowerShell. ... PowerShell can be installed on different Linux distributions.
Read more >How to Fix “E: unable to locate package” Error in Debian 9
Save and close the file. Then update the system packages list using the command below. # apt update. Now try to install the...
Read more >Installing PowerShell on Debian Linux
Information about installing PowerShell on Debian Linux.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just edit your apt sources:
cat /etc/apt/sources.list.d/microsoft.list deb [arch=amd64] https://packages.microsoft.com/debian/stretch/prod stretch main
@iSazonov Sorry. I missed that out. The issue was that I don’t have those libraries pre-installed. Not sure if apt-get-install -f will install those dependenceis.
I have used the following steps that don’t require me to
apt-get install -y powershell
and it works for me.