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

Daniel Hartwig mandyke at gmail.com
Tue Nov 6 07:00:09 UTC 2012


Trevor Adams <tra26 at cs.drexel.edu> wrote:
> 3) Command run: aptitude -o 'Dpkg::Options::="--force-confdef"' update

Nested quotes are invalid here.  They are shell syntax and not
interpretted by APT.

The syntax for this option is in apt.conf(5).  Multiple options should
be passed using multiple "-o" arguments, for example:
# apt-get update \
    -o "DPkg::options::=--force-confdef" \
    -o "DPkg::options::=--path-exclude=/usr/share/doc/*"

 status invalid


** Changed in: aptitude (Ubuntu)
       Status: New => Invalid

-- 
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:
  aptitude update fails to handle multiarch when given quoted
  dpkg::options

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/aptitude/+bug/1075260/+subscriptions




More information about the foundations-bugs mailing list