View Issue Details

IDProjectCategoryView StatusLast Update
0005621Kali Linux[All Projects] General Bugpublic2019-08-15 13:48
ReporternethunterAssigned Torhertzog 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version2019.2 
Target VersionFixed in Version 
Summary0005621: Can't install powershell on Kali on VMware
DescriptionHi, I have Kali Linux 2019.2 64-bit on VMware and Windows 10 Host. I am trying to install PowerShell. Here are my errors...I've tried aptitude and synaptic. Neither worked. Can anyone take a look and fix this? Please reply. Thanks
Full message:

root@kali:~# apt -y install 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 to resolve the situation:

The following packages have unmet dependencies:
powershell : Depends: libicu57 but it is not installable
E: Unable to correct problems, you have held broken packages.

SECOND ERROR:

I tried "sudo aptitude -y install powershell." Got a huge error:

The following NEW packages will be installed:
liblttng-ust-ctl4{a} liblttng-ust0{a} powershell{b}
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 58.1 MB of archives. After unpacking 159 MB will be used.
The following packages have unmet dependencies:
powershell : Depends: libicu57 which is a virtual package and is not provided by any available package

The following actions will resolve these dependencies:

Keep the following packages at their current version:
1) powershell [Not Installed]



No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft.list:1 and /etc/apt/sources.list.d/powershell.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft.list:1 and /etc/apt/sources.list.d/powershell.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/microsoft.list:1 and /etc/apt/sources.list.d/powershell.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/microsoft.list:1 and /etc/apt/sources.list.d/powershell.list:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/microsoft.list:1 and /etc/apt/sources.list.d/powershell.list:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/microsoft.list:1 and /etc/apt/sources.list.d/powershell.list:1
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/microsoft.list:1 and /etc/apt/sources.list.d/powershell.list:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/microsoft.list:1 and /etc/apt/sources.list.d/powershell.list:1

And:

root@kali:~# pwsh
bash: pwsh: command not found
Steps To Reproduceapt -y install powershell

Activities

crash

2019-08-08 12:10

reporter   ~0010827

Hi nethunter,
The Powershell pkg ins NOT available in Kali repositories.
If you have added an external repository in Kali probably you will break your install.
I suggest you open a request to ADD the powershell as New Tool instead of a BUG.

nethunter

2019-08-08 19:57

reporter   ~0010831

Hi, thanks for your reply. I will try it on New Tool. Should I just clean install Kali on VMware? I can do that. And stay out of the repository. I was following the steps on kali.org. How do I install PowerShell without repository? Thanks again

crash

2019-08-09 07:01

reporter   ~0010834

Hi!
Did you follow this https://www.kali.org/tutorials/installing-powershell-on-kali-linux/ ?

I should work.

crash

2019-08-09 13:53

reporter   ~0010847

My fault! It's working in kali already!
Refer to the https://bugs.kali.org/view.php?id=5624 , please.

nethunter

2019-08-09 21:31

reporter   ~0010850

I installed libicu57 and it worked. I have PowerShell now. Thanks for the help!

rhertzog

2019-08-15 13:48

administrator   ~0010879

Request to add powershell in Kali is already filed in 0005290.

Issue History

Date Modified Username Field Change
2019-08-08 07:14 nethunter New Issue
2019-08-08 12:10 crash Note Added: 0010827
2019-08-08 19:57 nethunter Note Added: 0010831
2019-08-09 07:01 crash Note Added: 0010834
2019-08-09 13:53 crash Note Added: 0010847
2019-08-09 21:31 nethunter Note Added: 0010850
2019-08-15 13:48 rhertzog Assigned To => rhertzog
2019-08-15 13:48 rhertzog Status new => closed
2019-08-15 13:48 rhertzog Resolution open => duplicate
2019-08-15 13:48 rhertzog Note Added: 0010879