Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: There is no package in debian/ubuntu called openssh #34561

Closed
pipedream opened this issue Sep 20, 2022 · 8 comments
Closed

Documentation: There is no package in debian/ubuntu called openssh #34561

pipedream opened this issue Sep 20, 2022 · 8 comments

Comments

@pipedream
Copy link

configure suggests to install openssh and openssh-client.

0 jan@muizenberg:/srv/sage-9.7$grep openssh src/doc/en/installation/debian-develop.txt.orig
  $ sudo apt-get install  autoconf automake git gpgconf libtool openssh openssh-client pkg-config

There is no package called openssh:
https://packages.debian.org/search?keywords=openssh&searchon=names&exact=1&suite=all&section=all
https://packages.ubuntu.com/search?keywords=openssh&searchon=names&exact=1&suite=all&section=all

End-users often copy and paste this line, often not even reading the error or realising the command failed.

There is a meta-package called ssh depending on openssh-client and openssh-server, but we should not be advocating ssh server installations on laptops which often have terrible passwords, such as containing or equal to the username, or very poor passwords like 1234 or password. Yes, my students still do this.

0 jan@muizenberg:/srv/sage-9.7$apt depends ssh
ssh
  PreDepends: dpkg (>= 1.17.5)
    dpkg:i386
  Depends: openssh-client (>= 1:8.4p1-5+deb11u1)
    openssh-client:i386
  Depends: openssh-server (>= 1:8.4p1-5+deb11u1)
    openssh-server:i386

Attached patch to remove "openssh" from the instructions for debian, but keeping openssh-client.

Note I do not know whether a package called openssh exists for the other distros/platforms:

0 jan@muizenberg:/srv/sage-9.7$ls src/doc/en/installation/*-develop.txt
src/doc/en/installation/arch-develop.txt    src/doc/en/installation/debian-develop.txt  src/doc/en/installation/homebrew-develop.txt
src/doc/en/installation/cygwin-develop.txt  src/doc/en/installation/fedora-develop.txt  src/doc/en/installation/opensuse-develop.txt

Component: documentation

Author: Jan Groenewald

Branch/Commit: 2de6d46

Reviewer: Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/34561

@pipedream pipedream added this to the sage-9.8 milestone Sep 20, 2022
@mkoeppe
Copy link
Contributor

mkoeppe commented Sep 20, 2022

comment:1

Attachment: debian-no-package-called-openssh.patch.gz

The correct file to patch is build/pkgs/_develop/distros/debian.txt

The instructions are generated from there.

@pipedream
Copy link
Author

comment:2

Attached a patch to the correct file, build/pkgs/_develop/distros/debian.txt

@mkoeppe
Copy link
Contributor

mkoeppe commented Sep 22, 2022

comment:3

Attachment: debian.txt.patch.gz

@mkoeppe
Copy link
Contributor

mkoeppe commented Sep 22, 2022

@mkoeppe
Copy link
Contributor

mkoeppe commented Sep 22, 2022

New commits:

2de6d46build/pkgs/_develop/distros/debian.txt: Remove nonexistent package openssh

@mkoeppe
Copy link
Contributor

mkoeppe commented Sep 22, 2022

Commit: 2de6d46

@mkoeppe
Copy link
Contributor

mkoeppe commented Sep 22, 2022

Reviewer: Matthias Koeppe

@vbraun
Copy link
Member

vbraun commented Sep 25, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants