Title: Wrong depedencies of powershell-preview (7.0.0) package for Debian 10 · Issue #11187 · PowerShell/PowerShell · GitHub
Open Graph Title: Wrong depedencies of powershell-preview (7.0.0) package for Debian 10 · Issue #11187 · PowerShell/PowerShell
X Title: Wrong depedencies of powershell-preview (7.0.0) package for Debian 10 · Issue #11187 · PowerShell/PowerShell
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 main Expected behavior Reading pa...
Open Graph 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 ...
X 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 ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/11187
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wrong depedencies of powershell-preview (7.0.0) package for Debian 10","articleBody":"\u003c!--\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\nWindows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nThis repository is **ONLY** for PowerShell Core 6 issues.\r\n\r\n- Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://docs.microsoft.com/powershell/scripting/whats-new/known-issues-ps6?view=powershell-6).\r\n-->\r\n\r\n\r\n\r\n# Steps to reproduce\r\n\r\n```bash\r\nsudo apt install ./powershell-preview_7.0.0-preview.6-1.debian.10_amd64.deb\r\n# or install powershell-preview from \r\n# deb [arch=amd64] https://packages.microsoft.com/debian/10/prod buster main\r\n```\r\n\r\n# Expected behavior\r\n\r\n```none\r\nReading package lists... Done\r\nBuilding dependency tree \r\nReading state information... Done\r\nNote, selecting 'powershell-preview' instead of './powershell-preview_7.0.0-preview.6-1.1.debian.10_amd64.deb'\r\nThe following NEW packages will be installed:\r\n powershell-preview\r\n0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.\r\nAfter this operation, 158 MB of additional disk space will be used.\r\nGet: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]\r\nSelecting previously unselected package powershell-preview.\r\n(Reading database ... 545800 files and directories currently installed.)\r\nPreparing to unpack .../powershell-preview_7.0.0-preview.6-1.1.debian.10_amd64.deb ...\r\nUnpacking powershell-preview (7.0.0-preview.6-1.debian.10) ...\r\nSetting up powershell-preview (7.0.0-preview.6-1.debian.10) ...\r\nProcessing triggers for man-db (2.8.5-2) ...\r\n```\r\n\r\n# Actual behavior\r\n\r\n```none\r\nReading package lists... Done\r\nBuilding dependency tree \r\nReading state information... Done\r\nNote, selecting 'powershell-preview' instead of './powershell-preview_7.0.0-preview.6-1.debian.10_amd64.deb'\r\nSome packages could not be installed. This may mean that you have\r\nrequested an impossible situation or if you are using the unstable\r\ndistribution that some required packages have not yet been created\r\nor been moved out of Incoming.\r\nThe following information may help to resolve the situation:\r\n\r\nThe following packages have unmet dependencies:\r\n powershell-preview : Depends: libssl1.0.2 but it is not installable\r\n Depends: libicu57 but it is not installable\r\nE: Unable to correct problems, you have held broken packages.\r\n```\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n```\r\nName Value\r\n---- -----\r\nPSVersion 7.0.0-preview.6\r\nPSEdition Core\r\nGitCommitId 7.0.0-preview.6\r\nOS Linux 5.2.0-0.bpo.3-amd64 #1 SMP Debian 5.2.17-1~bpo10+1 (2019-09-30)\r\nPlatform Unix\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n\r\n```none\r\nPackage: powershell-preview\r\nVersion: 7.0.0-preview.6-1.debian.10\r\nPriority: extra\r\nSection: shells\r\nMaintainer: PowerShell Team \u003cPowerShellTeam@hotmail.com>\r\nInstalled-Size: 158 MB\r\nDepends: libc6, libgcc1, libgssapi-krb5-2, liblttng-ust0, libstdc++6, zlib1g, libssl1.0.2, libicu57\r\nHomepage: https://microsoft.com/powershell\r\nLicense: MIT License\r\nVendor: Microsoft Corporation\r\nDownload-Size: 58.1 MB\r\nAPT-Sources: https://packages.microsoft.com/debian/10/prod buster/main amd64 Packages\r\nDescription: PowerShell is an automation and configuration management platform.\r\n It consists of a cross-platform command-line shell and associated scripting language.\r\n```\r\n\r\n# Suggestions\r\n\r\n* Directly change dependencies to `libssl1.1, libicu63`, for e.g.:\r\n\r\n```\r\nPackage: powershell-preview\r\nVersion: 7.0.0-preview.6-1.debian.10\r\nStatus: install ok installed\r\nPriority: extra\r\nSection: shells\r\nMaintainer: PowerShell Team \u003cPowerShellTeam@hotmail.com>\r\nInstalled-Size: 158 MB\r\nDepends: libc6, libgcc1, libgssapi-krb5-2, liblttng-ust0, libstdc++6, zlib1g, libssl1.1, libicu63\r\nHomepage: https://microsoft.com/powershell\r\nLicense: MIT License\r\nVendor: Microsoft Corporation\r\nDownload-Size: unknown\r\nAPT-Manual-Installed: yes\r\nAPT-Sources: /var/lib/dpkg/status\r\nDescription: PowerShell is an automation and configuration management platform.\r\n It consists of a cross-platform command-line shell and associated scripting language.\r\n```\r\n\r\n# Work around method for current Debian Buster users:\r\n\r\n*Note: this method is dirty, and use this on your own risk*\r\n\r\n## extract\r\n\r\n```bash\r\nmkdir powershell-preview_7.0.0-preview.6-1-1.debian.10_amd64\r\nbsdtar 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\r\ncd powershell-preview_7.0.0-preview.6-1-1.debian.10_amd64\r\nmkdir DEBIAN\r\ntar xvf control.tar.gz -C DEBIAN ## non gzip archive actually\r\ntar zxvf data.tar.gz\r\nrm control.tar.gz data.tar.gz\r\nls\r\n## It should be:\r\n# DEBIAN opt usr\r\n```\r\n\r\n## fix info\r\n```diff\r\n--- DEBIAN/control 2019-11-19 06:02:18.000000000 +0800\r\n+++ DEBIAN/control 2019-11-25 19:11:41.986636209 +0800\r\n@@ -1,11 +1,11 @@\r\n Package: powershell-preview\r\n-Version: 7.0.0-preview.6-1.debian.10\r\n+Version: 7.0.0-preview.6-1-1.debian.10\r\n License: MIT License\r\n Vendor: Microsoft Corporation\r\n Architecture: amd64\r\n Maintainer: PowerShell Team \u003cPowerShellTeam@hotmail.com>\r\n Installed-Size: 154170\r\n-Depends: libc6, libgcc1, libgssapi-krb5-2, liblttng-ust0, libstdc++6, zlib1g, libssl1.0.2, libicu57\r\n+Depends: libc6, libgcc1, libgssapi-krb5-2, liblttng-ust0, libstdc++6, zlib1g, libssl1.1, libicu63\r\n Section: shells\r\n Priority: extra\r\n Homepage: https://microsoft.com/powershell\r\n```\r\n\r\n## Package it again\r\n\r\n```bash\r\ncd .. ## $OLDPWD is under powershell-preview_7.0.0-preview.6-1-1.debian.10_amd64\r\ndpkg-deb -b powershell-preview_7.0.0-preview.6-1-1.debian.10_amd64\r\nbsdtar tf powershell-preview_7.0.0-preview.6-1-1.debian.10_amd64.deb ## check\r\nsudo apt install ./powershell-preview_7.0.0-preview.6-1-1.debian.10_amd64.deb\r\n```\r\n\r\n## Done!","author":{"url":"https://github.com/holishing","@type":"Person","name":"holishing"},"datePublished":"2019-11-25T11:19:35Z","url":"https://github.com/PowerShell/PowerShell/issues/11187"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:10172da1-9470-a814-0dac-ab0adba3f948 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D172:52961:1F2ABE:2A3520:6AFD44DE |
| html-safe-nonce | fda52c7eb9fb44fb9836535bc23d103cb6b978575f32561476c1bfc01df29f9d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTcyOjUyOTYxOjFGMkFCRToyQTM1MjA6NkFGRDQ0REUiLCJ2aXNpdG9yX2lkIjoiMzI3NzU3ODczMDM2ODQ4NDU3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ea609f42bbe8f94173057b6d8a9419cd5469407fe4d301a2d86518d13483943c |
| hovercard-subject-tag | issue:528019729 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/11187/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a84194aab2a5405a1057c44e6c101f3119a1587506c8f9cd6088c48c5cba8d96/PowerShell/PowerShell/issues/11187 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a84194aab2a5405a1057c44e6c101f3119a1587506c8f9cd6088c48c5cba8d96/PowerShell/PowerShell/issues/11187 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | holishing |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width