Validated ubuntu-proxy-manager on Jammy using the steps below:

1. Install package from proposed
root@jammy-fccb9151:~# apt-cache policy ubuntu-proxy-manager
ubuntu-proxy-manager:
  Installed: 0.1.1~22.04
  Candidate: 0.1.1~22.04
  Version table:
 *** 0.1.1~22.04 400
        400 http://archive.ubuntu.com/ubuntu jammy-proposed/universe amd64 
Packages
        100 /var/lib/dpkg/status

2. Set all proxy settings
root@jammy-fccb9151:~# # Set all proxy settings
gdbus call --system --dest com.ubuntu.ProxyManager \
                    --object-path /com/ubuntu/ProxyManager \
                    --method com.ubuntu.ProxyManager.Apply \
                    "http://example.com:8080"; \
                    "https://example.com:8080"; \
                    "ftp://example.com:8080"; \
                    "socks://example.com:8080" \
                    "localhost,127.0.0.1,::1" \
                    "http://example.com:8080/proxy.pac";
()

3. Confirm environment and APT proxy have been set, and the gschema override 
was created 
root@jammy-fccb9151:~# cat /etc/environment.d/99ubuntu-proxy-manager.conf 
/etc/apt/apt.conf.d/99ubuntu-proxy-manager 
/usr/share/glib-2.0/schemas/99_ubuntu-proxy-manager.gschema.override
### This file was generated by ubuntu-proxy-manager - manual changes will be 
overwritten
HTTP_PROXY="http://example.com:8080";
http_proxy="http://example.com:8080";
HTTPS_PROXY="https://example.com:8080";
https_proxy="https://example.com:8080";
FTP_PROXY="ftp://example.com:8080";
ftp_proxy="ftp://example.com:8080";
SOCKS_PROXY="socks://example.com:8080"
socks_proxy="socks://example.com:8080"
NO_PROXY="localhost,127.0.0.1,::1"
no_proxy="localhost,127.0.0.1,::1"
### This file was generated by ubuntu-proxy-manager - manual changes will be 
overwritten
Acquire::http::Proxy "http://example.com:8080";;
Acquire::https::Proxy "https://example.com:8080";;
Acquire::ftp::Proxy "ftp://example.com:8080";;
Acquire::socks::Proxy "socks://example.com:8080";
### This file was generated by ubuntu-proxy-manager - manual changes will be 
overwritten
[org.gnome.system.proxy.http]
host='example.com'
port=8080

[org.gnome.system.proxy.https]
host='example.com'
port=8080

[org.gnome.system.proxy.ftp]
host='example.com'
port=8080

[org.gnome.system.proxy.socks]
host='example.com'
port=8080

[org.gnome.system.proxy]
ignore-hosts=['localhost','127.0.0.1','::1']

[org.gnome.system.proxy]
autoconfig-url='http://example.com:8080/proxy.pac'

[org.gnome.system.proxy]
mode='auto'

4. Confirm GSettings proxy has been set
root@jammy-fccb9151:~# gsettings list-recursively org.gnome.system.proxy
org.gnome.system.proxy autoconfig-url 'http://example.com:8080/proxy.pac'
org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.1', '::1']
org.gnome.system.proxy mode 'auto'
org.gnome.system.proxy use-same-proxy true
org.gnome.system.proxy.ftp host 'example.com'
org.gnome.system.proxy.ftp port 8080
org.gnome.system.proxy.http authentication-password ''
org.gnome.system.proxy.http authentication-user ''
org.gnome.system.proxy.http enabled false
org.gnome.system.proxy.http host 'example.com'
org.gnome.system.proxy.http port 8080
org.gnome.system.proxy.http use-authentication false
org.gnome.system.proxy.https host 'example.com'
org.gnome.system.proxy.https port 8080
org.gnome.system.proxy.socks host 'example.com'
org.gnome.system.proxy.socks port 8080

5. Unset all proxy settings
# Remove all previously set proxy settings
gdbus call --system --dest com.ubuntu.ProxyManager \
                    --object-path /com/ubuntu/ProxyManager \
                    --method com.ubuntu.ProxyManager.Apply \
                    "" "" "" "" "" ""

6. Confirm proxy settings are no longer set
root@jammy-fccb9151:~# cat /etc/environment.d/99ubuntu-proxy-manager.conf 
/etc/apt/apt.conf.d/99ubuntu-proxy-manager 
/usr/share/glib-2.0/schemas/99_ubuntu-proxy-manager.gschema.override
cat: /etc/environment.d/99ubuntu-proxy-manager.conf: No such file or directory
cat: /etc/apt/apt.conf.d/99ubuntu-proxy-manager: No such file or directory
cat: /usr/share/glib-2.0/schemas/99_ubuntu-proxy-manager.gschema.override: No 
such file or directory

root@jammy-fccb9151:~# gsettings list-recursively org.gnome.system.proxy
org.gnome.system.proxy autoconfig-url ''
org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
org.gnome.system.proxy mode 'none'
org.gnome.system.proxy use-same-proxy true
org.gnome.system.proxy.ftp host ''
org.gnome.system.proxy.ftp port 0
org.gnome.system.proxy.http authentication-password ''
org.gnome.system.proxy.http authentication-user ''
org.gnome.system.proxy.http enabled false
org.gnome.system.proxy.http host ''
org.gnome.system.proxy.http port 8080
org.gnome.system.proxy.http use-authentication false
org.gnome.system.proxy.https host ''
org.gnome.system.proxy.https port 0
org.gnome.system.proxy.socks host ''
org.gnome.system.proxy.socks port 0


** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2048232

Title:
  [SRU] Backport to 22.04 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-proxy-manager/+bug/2048232/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to