Forum Discussion

Baski's avatar
Baski
New Contributor
17 days ago
Solved

1Password linux install proxy fail

Hello, While installing 1Password on linux (Ubuntu 24.04), following the official guide (using .deb method here: https://support.1password.com/install-linux/#debian-or-ubuntu) and with a corporate p...
  • 1P_SimonH's avatar
    17 days ago

    Hi Baski​,

    Thanks for providing those logs. This is a common issue when installing software on a machine that's behind a corporate proxy.

    The problem is that while you've correctly configured apt to use the proxy, the 1Password installation script (which runs with sudo) doesn't know about those settings. The solution is to pass your proxy settings to the sudo command.

    Here are the steps to resolve this. Just run these commands in your terminal.

    1. Set the proxy variables for your current terminal session. (Be sure to replace http://proxy.yourcompany.com:8080 with your actual proxy address).
      Bash
      export http_proxy="http://proxy.yourcompany.com:8080"
      export https_proxy="http://proxy.yourcompany.com:8080"
    2. Clean up the previous failed installation. This command will fix any packages that were left in a broken state.
      Bash
      sudo apt --fix-broken install
    3. Run the upgrade again using the -E flag. This is the most important step. The -E flag tells sudo to preserve your environment variables (including the proxy settings), allowing the installation script to connect to the internet.
      Bash
      sudo -E apt upgrade

    That should get 1Password installed successfully for you. Let us know if that works!