[Bug 1075260] Re: aptitude update fails to handle multiarch when given quoted dpkg::options

Daniel Hartwig mandyke at gmail.com
Tue Nov 6 07:21:13 UTC 2012


> […] or an error message detailing that the argument passed is invalid
> due to the extra set of quotations.

Not really possible for APT to check the validity of another programs
options.  However, it can check that the exit status of this call to
dpkg is 0 and issue an error or warning otherwise.


** Also affects: apt (Ubuntu)
   Importance: Undecided
       Status: New

** Summary changed:

- aptitude update fails to handle multiarch when given quoted dpkg::options
+ abort on failure of "dpkg --print-foreign-architectures" (e.g. when invalid DPkg::options)

** Summary changed:

- abort on failure of "dpkg --print-foreign-architectures" (e.g. when invalid DPkg::options)
+ no error or warning shown when "dpkg --print-foreign-architectures" fails (e.g. with invalid DPkg::options)

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

Title:
  no error or warning shown when "dpkg --print-foreign-architectures"
  fails (e.g. with invalid DPkg::options)

Status in “apt” package in Ubuntu:
  New
Status in “aptitude” package in Ubuntu:
  Invalid

Bug description:
  1) Release: Precise

  2) aptitude 0.6.6-1ubuntu1
       and apt 0.8.16~exp12ubuntu10.5 -- not sure what the protocol is for this or if the bug is at a common dependency.

  3) Command run: aptitude -o 'Dpkg::Options::="--force-confdef"' update
  Command produces identical output as aptitude update with respect to amd64 and i386 or an error message detailing that the argument passed is invalid due to the extra set of quotations.

  -- A separate system runs the above command, and it fails to allow us
  to install 32bit libraries as needed for our systems.

  4) Command only downloads the package lists for the main architecture
  of the system.

  Reproduction:

      aptitude clean
      aptitude -o 'Dpkg::Options::="anyoptioninquotes"' update | grep i386

  There should be no results whereas:

      aptitude clean
      aptitude update | grep i386 

  Lists the i386 repositories being hit.

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




More information about the foundations-bugs mailing list