updatebase passes invalid flags to apt-get update

Bug #1075581 reported by Trevor Adams
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fai (Ubuntu)
New
Undecided
Unassigned

Bug Description

1) Precise
2) 3.4.8ubuntu2
3) updatebase should run apt-get update with proper flags
4) updatebase runs apt-get as follows:

export aptopt='-y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"'
$ROOTCMD apt-get $aptopt update

Which result in invalid Dpkg::Options as they are double quoted, removing the quotes solves the problem. As a result of this apt-get update only downloads the system architecture packages, instead of both the system and the foreign architectures.

This is related to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1075260

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.