Pengwin: apt upgrade behind corporate firewall

Created on 12 Jul 2019  路  8Comments  路  Source: WhitewaterFoundry/Pengwin

I am behind a corporate firewall with self signed certs and cannot get apt upgrade with the Pengwin repos to work:

Preconfiguring packages ...
Setting up pengwin-base (0.1-221) ...
Symlinking /etc/dpkg/origins/pengwin to default
Installing Whitewater Foundry GPG keys...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:41 --:--:--     0curl: (7) Failed to connect to packagecloud.io port 443: Con
nection refused
dpkg: error processing package pengwin-base (--configure):
 installed pengwin-base package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 pengwin-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
  • I can use Ubuntu and OpenSuse in WSL just fine.
  • I can apt update in Pengwin
  • I have my ca-certificate installed to /usr/local/share/ca-certificates/
  • I have my proxy set up in /etc/apt/apt.conf.d/proxy.conf and ~/.bashrc
  • I've manually apt-key added this gpg key: https://packagecloud.io/whitewaterfoundry/wslu/gpgkey
Answered How-To-Candidate User Support

All 8 comments

Hello,

First, try to go to https://packagecloud.io/ in your browser and try to solve it.

Regards

I can get to https://packagecloud.io/ just fine. I can also curl https://packagecloud.io/ from Pengwin.

The offending code is here. Can you copy and paste lines 49-54 into your terminal and share the results? Thank you.

Closing to due to no response.

Sorry. I honestly just ended up installing Linux on bare metal. Too many headaches with WSL for my specific use cases.

Maybe WSL2 will address those issues? It is still in Fast Ring and not recommended for production, but perhaps you could revisit it in a few months or try it in Gnome Boxes?

I was facing this issue on WSL2.
But adding the corporate proxy to /root/.curlrc solved the issue for me.

proxy = <proxy_host>:<proxy_port>

Thanks for sharing

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ket000 picture ket000  路  5Comments

LucasYihsuehTsai picture LucasYihsuehTsai  路  3Comments

juliosegarra picture juliosegarra  路  3Comments

ghost picture ghost  路  5Comments

camilorojasguzman picture camilorojasguzman  路  4Comments