How to install powershell on Artful Aardvark 17.10?

Clash Royale CLAN TAG#URR8PPP up vote
-1
down vote
favorite
Because of this bug it's not possible to install powershell from apt for newer Ubuntu versions?
$ cat /etc/apt/sources.list.d/microsoft.list
deb [arch=amd64] https://packages.microsoft.com/ubuntu/14.04/prod trusty main
$ sudo apt install -y powershell
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
powershell : Depends: libicu52 but it is not installable
E: Unable to correct problems, you have held broken packages.
Actually, on closer examination, the documentation clearly states:
Supports Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04
I'm on 17.10, what should the microsoft.list file look like from an artful system?
command-line apt 17.10 microsoft powershell
add a comment |Â
up vote
-1
down vote
favorite
Because of this bug it's not possible to install powershell from apt for newer Ubuntu versions?
$ cat /etc/apt/sources.list.d/microsoft.list
deb [arch=amd64] https://packages.microsoft.com/ubuntu/14.04/prod trusty main
$ sudo apt install -y powershell
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
powershell : Depends: libicu52 but it is not installable
E: Unable to correct problems, you have held broken packages.
Actually, on closer examination, the documentation clearly states:
Supports Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04
I'm on 17.10, what should the microsoft.list file look like from an artful system?
command-line apt 17.10 microsoft powershell
add a comment |Â
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
Because of this bug it's not possible to install powershell from apt for newer Ubuntu versions?
$ cat /etc/apt/sources.list.d/microsoft.list
deb [arch=amd64] https://packages.microsoft.com/ubuntu/14.04/prod trusty main
$ sudo apt install -y powershell
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
powershell : Depends: libicu52 but it is not installable
E: Unable to correct problems, you have held broken packages.
Actually, on closer examination, the documentation clearly states:
Supports Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04
I'm on 17.10, what should the microsoft.list file look like from an artful system?
command-line apt 17.10 microsoft powershell
Because of this bug it's not possible to install powershell from apt for newer Ubuntu versions?
$ cat /etc/apt/sources.list.d/microsoft.list
deb [arch=amd64] https://packages.microsoft.com/ubuntu/14.04/prod trusty main
$ sudo apt install -y powershell
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
powershell : Depends: libicu52 but it is not installable
E: Unable to correct problems, you have held broken packages.
Actually, on closer examination, the documentation clearly states:
Supports Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04
I'm on 17.10, what should the microsoft.list file look like from an artful system?
command-line apt 17.10 microsoft powershell
command-line apt 17.10 microsoft powershell
edited Feb 15 at 9:26
dessert
20k55795
20k55795
asked Feb 15 at 7:54
Thufir
1,41984088
1,41984088
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
You tried to install the package for Ubuntu 14.04, which has libicu52 as a dependency, but Artful (exactly like Zesty) ships with libicu57. At least when it comes to the dependencies, the steps for Ubuntu 17.04 should work for 17.10. Luckily, Microsoft provides a prod.list file for 17.10 and 18.04 as well:
# Import the public repository GPG keys
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
# Register the Microsoft Ubuntu repository â use your exact release only!
curl https://packages.microsoft.com/config/ubuntu/17.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
curl https://packages.microsoft.com/config/ubuntu/17.10/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
# Update the list of products
sudo apt update
# Install PowerShell
sudo apt install powershell
# Start PowerShell
pwsh
Thanks @dessert, asking at askubuntu.com/q/1040028/439867
â Peter Krauss
May 25 at 0:13
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
You tried to install the package for Ubuntu 14.04, which has libicu52 as a dependency, but Artful (exactly like Zesty) ships with libicu57. At least when it comes to the dependencies, the steps for Ubuntu 17.04 should work for 17.10. Luckily, Microsoft provides a prod.list file for 17.10 and 18.04 as well:
# Import the public repository GPG keys
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
# Register the Microsoft Ubuntu repository â use your exact release only!
curl https://packages.microsoft.com/config/ubuntu/17.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
curl https://packages.microsoft.com/config/ubuntu/17.10/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
# Update the list of products
sudo apt update
# Install PowerShell
sudo apt install powershell
# Start PowerShell
pwsh
Thanks @dessert, asking at askubuntu.com/q/1040028/439867
â Peter Krauss
May 25 at 0:13
add a comment |Â
up vote
3
down vote
accepted
You tried to install the package for Ubuntu 14.04, which has libicu52 as a dependency, but Artful (exactly like Zesty) ships with libicu57. At least when it comes to the dependencies, the steps for Ubuntu 17.04 should work for 17.10. Luckily, Microsoft provides a prod.list file for 17.10 and 18.04 as well:
# Import the public repository GPG keys
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
# Register the Microsoft Ubuntu repository â use your exact release only!
curl https://packages.microsoft.com/config/ubuntu/17.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
curl https://packages.microsoft.com/config/ubuntu/17.10/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
# Update the list of products
sudo apt update
# Install PowerShell
sudo apt install powershell
# Start PowerShell
pwsh
Thanks @dessert, asking at askubuntu.com/q/1040028/439867
â Peter Krauss
May 25 at 0:13
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
You tried to install the package for Ubuntu 14.04, which has libicu52 as a dependency, but Artful (exactly like Zesty) ships with libicu57. At least when it comes to the dependencies, the steps for Ubuntu 17.04 should work for 17.10. Luckily, Microsoft provides a prod.list file for 17.10 and 18.04 as well:
# Import the public repository GPG keys
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
# Register the Microsoft Ubuntu repository â use your exact release only!
curl https://packages.microsoft.com/config/ubuntu/17.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
curl https://packages.microsoft.com/config/ubuntu/17.10/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
# Update the list of products
sudo apt update
# Install PowerShell
sudo apt install powershell
# Start PowerShell
pwsh
You tried to install the package for Ubuntu 14.04, which has libicu52 as a dependency, but Artful (exactly like Zesty) ships with libicu57. At least when it comes to the dependencies, the steps for Ubuntu 17.04 should work for 17.10. Luckily, Microsoft provides a prod.list file for 17.10 and 18.04 as well:
# Import the public repository GPG keys
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
# Register the Microsoft Ubuntu repository â use your exact release only!
curl https://packages.microsoft.com/config/ubuntu/17.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
curl https://packages.microsoft.com/config/ubuntu/17.10/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
# Update the list of products
sudo apt update
# Install PowerShell
sudo apt install powershell
# Start PowerShell
pwsh
edited May 24 at 21:51
answered Feb 15 at 8:53
dessert
20k55795
20k55795
Thanks @dessert, asking at askubuntu.com/q/1040028/439867
â Peter Krauss
May 25 at 0:13
add a comment |Â
Thanks @dessert, asking at askubuntu.com/q/1040028/439867
â Peter Krauss
May 25 at 0:13
Thanks @dessert, asking at askubuntu.com/q/1040028/439867
â Peter Krauss
May 25 at 0:13
Thanks @dessert, asking at askubuntu.com/q/1040028/439867
â Peter Krauss
May 25 at 0:13
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006379%2fhow-to-install-powershell-on-artful-aardvark-17-10%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password