sudo apt-get install sshpass
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package sshpass is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
cat /etc/issue
? (2) Did you runsudo apt-get update
beforesudo apt-get install …
? (3) What is the output ofcat /etc/apt/sources.list
? Have you changed anything in this file? – Kamil Maciorowski Feb 09 '24 at 05:03(e.g. netinst, live or single CD). The matching "deb cdrom"
entries were disabled at the end of the installation process.
For information about how to configure apt package sources,
see the sources.list(5) manual.
– nikita Feb 09 '24 at 05:12sudo apt-get … && apt-get … && apt-get …
thesudo
applies to the firstapt-get
only. The whole command will probably work as intended if you precede eachapt-get
withsudo
. Maybe it will not solve the problem yet, but I'm sure it's the lack ofsudo
before the secondapt-get
that gave youare you root?
. – Kamil Maciorowski Feb 09 '24 at 05:36