Unable to install 1Password CLI in Ubuntu 16.04.7 LTS

boris2339boris2339
edited March 30 in CLI

I'm running these commands inside a Docker container that's running Ubuntu Xenial:

apt-key --keyring /usr/share/keyrings/1password.gpg adv --keyserver keyserver.ubuntu.com --recv-keys 3FEF9748469ADBE15DA7CA80AC2D62742012EA22
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/1password.gpg] https://downloads.1password.com/linux/debian edge main' > /etc/apt/sources.list.d/1password.list
apt-get install -y apt-transport-https
apt-get update && apt-get install -y 1password

When running the last command, which installs 1password, I am getting mismatch on library dependencies:

The following packages have unmet dependencies:
 1password : Depends: libcurl4 but it is not installable
             Depends: libc6 (>= 2.27) but 2.23-0ubuntu11.2 is to be installed

The command '/bin/sh -c apt-get update && apt-get install -y 1password' returned a non-zero code: 100

The version of the system is:

# cat /etc/os-release 
NAME="Ubuntu"
VERSION="16.04.7 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.7 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Ubuntu 16.04.7 LTS
Sync Type: Not Provided
Referrer: forum-search:Docker xenial

Comments

  • ag_yaronag_yaron

    Team Member

    Hey @boris2339 ,
    Seems like you are trying to install 1Password for Linux (the desktop app) and not the CLI.

    Here’s how to install the CLI: https://support.1password.com/command-line-getting-started

  • Thank you @ag_yaron, this worked. If anyone wants full instructions:

    wget -O op.zip https://cache.agilebits.com/dist/1P/op/pkg/v1.8.0/op_linux_amd64_v1.8.0.zip
    unzip op.zip && rm op.zip op.sig
    gpg --import 1password-codesign-pubkey.asc
    gpg --verify op_linux_amd64_v1.8.0.sig op && cp op /usr/local/bin/
    

    The op_linux_amd64_v1.8.0.sig file is the op.sig in the zip, but renamed. And you can download the signing key like this:

    gpg --keyserver keyserver.ubuntu.com --recv-keys 3FEF9748469ADBE15DA7CA80AC2D62742012EA22
    gpg --armor --export [email protected] > 1password-codesign-pubkey.asc
    
  • ag_yaronag_yaron

    Team Member

    I'm glad to hear it @boris2339 :chuffed:

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file