[Bug 462379] Re: ubiquity does not honor apt proxy settings while downloading language packs

Ryan Tandy 462379 at bugs.launchpad.net
Thu May 22 19:08:49 UTC 2014


Forgot to mention that the proxy was preseeded:

ubiquity mirror/http/proxy string http://10.0.2.9:3142/

In IRC, xnox suggested configuring a global proxy in network-manager,
and that does work for the language packs:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 10.0.254.133:58356      10.0.2.9:3142           TIME_WAIT   -               
tcp        0      0 10.0.254.133:893        10.0.2.1:2049           ESTABLISHED -               
tcp        0      0 10.0.254.133:58357      10.0.2.9:3142           ESTABLISHED 10345/http      
tcp        0      0 10.0.254.133:57483      91.189.92.60:80         ESTABLISHED 3667/python3    

(In my case 10.0.2.9:3142 is not a general http proxy but only an apt-
cacher-ng, so that does break e.g. Firefox in the live session, but it
does work for installing.)

The http process is a child of plugininstall.py and runs in the host,
not the target:

init───lightdm───lightdm───init───sh───udisks2-inhibit───ubiquity───log-
output───plugininstall.p───http

His other suggestion was to disable downloading the language packs at
install time. Preseeding "ubiquity pkgsel/install-language-support
boolean false" does that, so that's a good workaround. (Not quite ideal,
though, because /var/lib/update-notifier/user.d/incomplete-language-
support-*.note aren't created; is that a bug?)

plugininstall.py already seems to respect some other apt settings, maybe
it wouldn't be hard to teach it about mirror/http/proxy as well? If I
find time I'll see about a patch. Low importance, anyway.

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

Title:
  ubiquity does not honor apt proxy settings while downloading language
  packs

Status in “ubiquity” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: ubiquity

  When ubiquity downloads additional english language packages in an
  en_US install (as reported in bug 462367), it does not honor the apt
  proxy configuration as setup during the installer. It correctly
  downloads the Packages files from the proxy, but not the individual
  packages themselves.

  Here is netstat output while ubiquity is configuring apt:

  $ sudo netstat -antp
  Active Internet connections (servers and established)
  Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
  tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      2231/cupsd      
  tcp        0      0 10.0.2.15:60353         192.168.1.210:3142      ESTABLISHED 8000/http       
  tcp6       0      0 ::1:631                 :::*                    LISTEN      2231/cupsd      

  and here is netstat output while downloading one of the packages:

  $ sudo netstat -antp
  Active Internet connections (servers and established)
  Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
  tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      2231/cupsd      
  tcp     1448      0 10.0.2.15:32799         91.189.88.40:80         ESTABLISHED 8888/http       
  tcp6       0      0 ::1:631                 :::*                    LISTEN      2231/cupsd

  (host 91.189.88.40 being one of hosts in archive.ubuntu.com)

  $ ps auwwx | grep 8888
  root      8888  1.5  0.4  27572  2204 ?        S    21:02   0:01 /usr/lib/apt/methods/http

  $ pstree -p -l 2921
  gksudo(2921)───devkit-disks(2923)───ubiquity(2925)─┬─debconf-communi(7553)
                                                     ├─log-output(7555)───install.py(7556)───http(8888)
                                                     └─{ubiquity}(6529)

  ProblemType: Bug
  Architecture: amd64
  Date: Tue Oct 27 21:07:50 2009
  DistroRelease: Ubuntu 9.10
  LiveMediaBuild: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  Package: ubiquity 2.0.6
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
  SourcePackage: ubiquity
  Uname: Linux 2.6.31-14-generic x86_64
  XsessionErrors:
   (gnome-settings-daemon:2751): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
   (gnome-settings-daemon:2751): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
   (nautilus:2807): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
   (polkit-gnome-authentication-agent-1:2830): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
   (gnome-panel:2806): Gdk-CRITICAL **: gdk_x11_colormap_foreign_new: assertion `GDK_IS_VISUAL (visual)' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/462379/+subscriptions



More information about the foundations-bugs mailing list