Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Baski
17 days agoNew Contributor
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...
- 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.
- 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"
- 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
- 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!
- Set the proxy variables for your current terminal session. (Be sure to replace http://proxy.yourcompany.com:8080 with your actual proxy address).
AJCxZ0
17 days agoBronze Expert
While 1P_SimonH's workaround should help in the short term, you should configure your system to work behind a proxy.
Since this isn't the place for a full breakdown of all the places and methods and quality resources can be found elsewhere, I'll address just apt by pointing you to apt.conf(5) and apt-transport-http(1) for configuring apt(8). If you are a Pro, the see also How to configure a proxy.