[Bug 998492] Re: Fails to detect package download errors on architectures other than amd64

Stéphane Graber stgraber at stgraber.org
Wed Jul 4 19:44:01 UTC 2012


So, I just spent an hour or so trying to test that fix, it proved to be
a lot trickier than expected :)

Reproducing the issue was easy using that perl script, the problem was
to test the fix without getting into other crashes...

I "think" that the fix works, in the sense that I now correctly see the packages being downloaded and no ubiquity crashes happening during that time, however, that perl script triggers the following issues:
 - Ubiquity crashes on invalid geoip information (had to disable the proxy to have it go past that point)
 - Ubiquity crashes on invalid apt list ("Encountered a section with no Package: header")

As I mentioned, I managed to workaround the first crash by simply
bypassing the proxy for that step but that second crash is a bit more
annoying though I "believe" is not a regression from this fix and is a
corner case I hit with my testing environment.

To enforce the use of the proxy, I set it up as a transparent http
proxy, thereby forcing every tcp/80 traffic through it, this very likely
catches a lot more than what was used by the reporter and can explain
why I'm getting more crashes.

-- 
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/998492

Title:
  Fails to detect package download errors on architectures other than
  amd64

Status in “ubiquity” package in Ubuntu:
  Fix Released
Status in “ubiquity” source package in Precise:
  Fix Committed
Status in Baltix GNU/Linux:
  New

Bug description:
  TEST CASE: Install an i386 system (importantly, must not be amd64)
  whose networking goes through a deliberately broken proxy; for
  example, comment #5 has an attachment that can be modified to break
  packages with selected names.  If one of those packages is a language
  support package - firefox-locale-en is usually a good victim for this
  kind of thing - then ubiquity will crash.  The fix arranges for it to
  skip installing language packs and carry on instead, which was how it
  works in 12.04 on amd64 but was broken on other architectures.

  Original report follows:

  Installment process, many errors occur about copy files.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: ubiquity 2.10.16
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
  Uname: Linux 3.2.0-23-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: i386
  CasperVersion: 1.315
  Date: Sat May 12 23:53:20 2012
  InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
  LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
  ProcEnviron:
   LANGUAGE=en_US.UTF-8
   TERM=linux
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list