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).
Baski
16 days agoNew Contributor
Hello 1P_SimonH I've removed 1password from my computer (I could install it before using a network without the Proxy) and then installed it with your method on the proxy network and it works thank you.
@AJCxZ0
My proxy was configured both, system wide and for apt, but the installation still failed. The flag "-E" for sudo could be reminded in the official installation doc I think