rust-u2f: E: Unable to locate package softu2f

from README.md:
Ubuntu Installation
$ sudo apt install -y curl
$ curl -s https://packagecloud.io/install/repositories/danstiner/softu2f/script.deb.sh | sudo bash
$ sudo  apt install -y softu2f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
**E: Unable to locate package softu2f**

$ cat /etc/apt/sources.list.d/danstiner_softu2f.list 
# this file was generated by packagecloud.io for
# the repository at https://packagecloud.io/danstiner/softu2f

deb https://packagecloud.io/danstiner/softu2f/ubuntu/ bionic main
deb-src https://packagecloud.io/danstiner/softu2f/ubuntu/ bionic main

**https://packagecloud.io/danstiner/softu2f/ubuntu/ does not exist: "The page you were looking for doesn't exist."**

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 17 (6 by maintainers)

Most upvoted comments

Pushed a new version for bionic, cosmic, and xenial. Let me know if it works!

It’s working. Just do these steps for Ubuntu installation

sudo apt install -y curl curl -s https://packagecloud.io/install/repositories/danstiner/softu2f/script.deb.sh | sudo bash sudo apt install -y softu2f systemctl --user start softu2f

Thank you

Firefox can show https://packagecloud.io/danstiner/softu2f no problem. However, https://packagecloud.io/danstiner/softu2f/ubuntu (from /etc/apt/sources.list.d/danstiner_softu2f.list) does not exist.

WORKAROUND:

Skip the repository installation (by script or manual), and just download the .deb files for your version of Ubuntu. I downloaded the [ubuntu/xenial] tagged files from https://packagecloud.io/app/danstiner/softu2f/search?dist=ubuntu%2Fxenial for my Ubuntu 18.04.1 (the xenial files work for bionic):

softu2f-user-daemon_0.2.0_amd64.deb softu2f_0.1.0_all.deb softu2f-system-daemon_0.2.0_amd64.deb u2f-hidraw-policy_1.0.2-1_amd64.deb

I skipped the 0.1.0 versions of softu2f-system-daemon_0.1.0_amd64.deb and softu2f-user-daemon_0.1.0_amd64.deb assuming they were older versions of the 0.2.0 .deb files.

$ sudo dpkg -i softu2f-user-daemon_0.2.0_amd64.deb softu2f_0.1.0_all.deb softu2f-system-daemon_0.2.0_amd64.deb u2f-hidraw-policy_1.0.2-1_amd64.deb $ systemctl --user start softu2f

Then start Chrome (Chromium does not work) and test with github.com. Ubuntu 18.04.1 does not require a reboot. It just works after the systemctl start is run and Chrome is started after.