[Bug 398989] [NEW] quotes in remaining arguments to pbuilder-dist must be escaped

Ryan Pavlik abiryan at ryand.net
Mon Jul 13 20:21:59 UTC 2009


Public bug reported:

Binary package hint: ubuntu-dev-tools

In order to pass an argument to the underlying pbuilder, for example,
--extramirror, any quotes must be escaped by the user.  It seems that
one level of quotes are stripped by pbuilder-dist for the "remaining
arguments" which is less than ideal.

Example:
Problem:
ryan at gamma:~/srctrees/ubuntu$ pbuilder-dist dapper login  --othermirror 'deb http://ppa.launchpad.net/abiword-stable/ppa/ubuntu dapper main'
  -> Logging to /home/ryan/pbuilder/dapper_result/last_operation.log
Building the build Environment
 -> extracting base tarball [/home/ryan/pbuilder/dapper-base.tgz]
 -> creating local configuration
 -> copying local configuration
  -> Installing apt-lines
 -> mounting /proc filesystem
 -> mounting /dev/pts filesystem
 -> policy-rc.d already exists
Obtaining the cached apt archive contents
 -> entering the shell
File extracted to: /var/cache/pbuilder/build//22363

cat /etc/apt/sources.list
deb
deb http://mirror.anl.gov/pub/ubuntu/ dapper main restricted universe multiverse
#deb-src http://mirror.anl.gov/pub/ubuntu/ dapper main restricted universe multiverse


Problem worked around:
ryan at gamma:~/srctrees/ubuntu$ pbuilder-dist dapper login  --othermirror \'deb http://ppa.launchpad.net/abiword-stable/ppa/ubuntu dapper main\'
  -> Logging to /home/ryan/pbuilder/dapper_result/last_operation.log
Building the build Environment
 -> extracting base tarball [/home/ryan/pbuilder/dapper-base.tgz]
 -> creating local configuration
 -> copying local configuration
  -> Installing apt-lines
 -> mounting /proc filesystem
 -> mounting /dev/pts filesystem
 -> policy-rc.d already exists
Obtaining the cached apt archive contents
 -> entering the shell
File extracted to: /var/cache/pbuilder/build//24285

cat /etc/apt/sources.list
deb http://ppa.launchpad.net/abiword-stable/ppa/ubuntu dapper main
deb http://mirror.anl.gov/pub/ubuntu/ dapper main restricted universe multiverse
#deb-src http://mirror.anl.gov/pub/ubuntu/ dapper main restricted universe multiverse

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
quotes in remaining arguments to pbuilder-dist must be escaped
https://bugs.launchpad.net/bugs/398989
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in ubuntu.




More information about the universe-bugs mailing list