-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Area-Maintainers-Buildspecific to affecting the buildspecific to affecting the buildIssue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productMustHaveResolution-FixedThe issue is fixed.The issue is fixed.
Milestone
Description
Steps to reproduce
sudo apt install ./powershell-preview_7.0.0-preview.6-1.debian.10_amd64.deb
# or install powershell-preview from
# deb [arch=amd64] https://packages.microsoft.com/debian/10/prod buster mainExpected behavior
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'powershell-preview' instead of './powershell-preview_7.0.0-preview.6-1.1.debian.10_amd64.deb'
The following NEW packages will be installed:
powershell-preview
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
After this operation, 158 MB of additional disk space will be used.
Get:1 /home/user/tests/powershell-preview_7.0.0-preview.6-1.1.debian.10_amd64.deb powershell-preview amd64 7.0.0-preview.6-1.debian.10 [99.0 MB]
Selecting previously unselected package powershell-preview.
(Reading database ... 545800 files and directories currently installed.)
Preparing to unpack .../powershell-preview_7.0.0-preview.6-1.1.debian.10_amd64.deb ...
Unpacking powershell-preview (7.0.0-preview.6-1.debian.10) ...
Setting up powershell-preview (7.0.0-preview.6-1.debian.10) ...
Processing triggers for man-db (2.8.5-2) ...
Actual behavior
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'powershell-preview' instead of './powershell-preview_7.0.0-preview.6-1.debian.10_amd64.deb'
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-preview : Depends: libssl1.0.2 but it is not installable
Depends: libicu57 but it is not installable
E: Unable to correct problems, you have held broken packages.
Environment data
Name Value
---- -----
PSVersion 7.0.0-preview.6
PSEdition Core
GitCommitId 7.0.0-preview.6
OS Linux 5.2.0-0.bpo.3-amd64 #1 SMP Debian 5.2.17-1~bpo10+1 (2019-09-30)
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Package: powershell-preview
Version: 7.0.0-preview.6-1.debian.10
Priority: extra
Section: shells
Maintainer: PowerShell Team <PowerShellTeam@hotmail.com>
Installed-Size: 158 MB
Depends: libc6, libgcc1, libgssapi-krb5-2, liblttng-ust0, libstdc++6, zlib1g, libssl1.0.2, libicu57
Homepage: https://microsoft.com/powershell
License: MIT License
Vendor: Microsoft Corporation
Download-Size: 58.1 MB
APT-Sources: https://packages.microsoft.com/debian/10/prod buster/main amd64 Packages
Description: PowerShell is an automation and configuration management platform.
It consists of a cross-platform command-line shell and associated scripting language.
Suggestions
- Directly change dependencies to
libssl1.1, libicu63, for e.g.:
Package: powershell-preview
Version: 7.0.0-preview.6-1.debian.10
Status: install ok installed
Priority: extra
Section: shells
Maintainer: PowerShell Team <PowerShellTeam@hotmail.com>
Installed-Size: 158 MB
Depends: libc6, libgcc1, libgssapi-krb5-2, liblttng-ust0, libstdc++6, zlib1g, libssl1.1, libicu63
Homepage: https://microsoft.com/powershell
License: MIT License
Vendor: Microsoft Corporation
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: PowerShell is an automation and configuration management platform.
It consists of a cross-platform command-line shell and associated scripting language.
Work around method for current Debian Buster users:
Note: this method is dirty, and use this on your own risk
extract
mkdir powershell-preview_7.0.0-preview.6-1-1.debian.10_amd64
bsdtar xvf powershell-preview_7.0.0-preview.6-1.debian.10_amd64.deb -C powershell-preview_7.0.0-preview.6-1-1.debian.10_amd64
cd powershell-preview_7.0.0-preview.6-1-1.debian.10_amd64
mkdir DEBIAN
tar xvf control.tar.gz -C DEBIAN ## non gzip archive actually
tar zxvf data.tar.gz
rm control.tar.gz data.tar.gz
ls
## It should be:
# DEBIAN opt usrfix info
--- DEBIAN/control 2019-11-19 06:02:18.000000000 +0800
+++ DEBIAN/control 2019-11-25 19:11:41.986636209 +0800
@@ -1,11 +1,11 @@
Package: powershell-preview
-Version: 7.0.0-preview.6-1.debian.10
+Version: 7.0.0-preview.6-1-1.debian.10
License: MIT License
Vendor: Microsoft Corporation
Architecture: amd64
Maintainer: PowerShell Team <PowerShellTeam@hotmail.com>
Installed-Size: 154170
-Depends: libc6, libgcc1, libgssapi-krb5-2, liblttng-ust0, libstdc++6, zlib1g, libssl1.0.2, libicu57
+Depends: libc6, libgcc1, libgssapi-krb5-2, liblttng-ust0, libstdc++6, zlib1g, libssl1.1, libicu63
Section: shells
Priority: extra
Homepage: https://microsoft.com/powershellPackage it again
cd .. ## $OLDPWD is under powershell-preview_7.0.0-preview.6-1-1.debian.10_amd64
dpkg-deb -b powershell-preview_7.0.0-preview.6-1-1.debian.10_amd64
bsdtar tf powershell-preview_7.0.0-preview.6-1-1.debian.10_amd64.deb ## check
sudo apt install ./powershell-preview_7.0.0-preview.6-1-1.debian.10_amd64.debDone!
djdv
Metadata
Metadata
Assignees
Labels
Area-Maintainers-Buildspecific to affecting the buildspecific to affecting the buildIssue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productMustHaveResolution-FixedThe issue is fixed.The issue is fixed.