Type: Documentation issue (README installation instructions)
Describe the bug
The README installation instructions for PowerShell use a package link fixed for Ubuntu 20.04.
On Linux Mint based on Ubuntu 22.04/24.04, this causes downgrade warnings and directory errors.
To Reproduce
Steps to reproduce the behavior:
run the commands below according to the README
sudo apt update
sudo apt install -y wget apt-transport-https software-properties-common
wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
Expected behavior
The installation should detect the system's Ubuntu version and use the correct package link for that version,
without causing downgrade warnings or errors.
Screenshots/Output
dpkg: aviso: a fazer downgrade a packages-microsoft-prod de 1.2-ubuntu24.04 para 1.0-ubuntu20.04.1
(Lendo banco de dados ... 544615 ficheiros e diret贸rios atualmente instalados.)
A preparar para desempacotar packages-microsoft-prod.deb ...
A descompactar packages-microsoft-prod (1.0-ubuntu20.04.1) sobre (1.2-ubuntu24.04) ...
dpkg: aviso: n茫o foi poss铆vel apagar o direct贸rio antigo '/etc/debsig/policies/EB3E94ADBE1229CF': Diret贸rio n茫o vazio
dpkg: aviso: n茫o foi poss铆vel apagar o direct贸rio antigo '/etc/debsig/policies': Diret贸rio n茫o vazio
dpkg: aviso: n茫o foi poss铆vel apagar o direct贸rio antigo '/etc/debsig': Diret贸rio n茫o vazio
Configurando packages-microsoft-prod (1.0-ubuntu20.04.1) ...
Environment (please complete the following information):
- OS: Linux Mint 22.2 (based on Ubuntu 24.04)
- PowerShell Version: I didn't install PowerShell because the error occurs before the installation step.
- yt-dlp Version: not relevant for this issue
Additional context
Suggest updating the README to instruct users to use the package that matches their Ubuntu base version
or link to the Microsoft instructions to detect correct package automatically.
Type: Documentation issue (README installation instructions)
Describe the bug
The README installation instructions for PowerShell use a package link fixed for Ubuntu 20.04.
On Linux Mint based on Ubuntu 22.04/24.04, this causes downgrade warnings and directory errors.
To Reproduce
Steps to reproduce the behavior:
run the commands below according to the README
Expected behavior
The installation should detect the system's Ubuntu version and use the correct package link for that version,
without causing downgrade warnings or errors.
Screenshots/Output
Environment (please complete the following information):
Additional context
Suggest updating the README to instruct users to use the package that matches their Ubuntu base version
or link to the Microsoft instructions to detect correct package automatically.