This bug was fixed in the package apt - 1.2.24
---
apt (1.2.24) xenial; urgency=medium
* Microrelease covering fixes of 1.4.6
* Fix parsing of or groups in build-deps with ignored packages (LP: #1694697)
* apt.systemd.daily: Use unattended-ugrade --download-only if available.
Started with:
ii apt 1.2.20
amd64commandline package manager
Run modified test case to check that quoted strings are escaped right:
root@apt-verify:~# apt-config dump -o foo=" bar " | sed
Hello Dimitri, or anyone else affected,
Accepted apt into xenial-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/apt/1.2.24 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
Hello Dimitri, or anyone else affected,
Accepted apt into xenial-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/apt/1.2.21 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
** Changed in: apt (Ubuntu Xenial)
Status: Triaged => Fix Committed
** Changed in: apt (Ubuntu Yakkety)
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
** Also affects: apt (Ubuntu Xenial)
Importance: Undecided
Status: New
** Changed in: apt (Ubuntu Xenial)
Status: New => Triaged
** Changed in: apt (Ubuntu Xenial)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Touch
xenial has the same problem, but does not actually parse the file to
apt-key. If we SRU there, I suggest:
apt-config dump -o foo=" bar " | sed
s#CommandLine::AsString#CommandLineAsString#g | apt-config shell FOO
CommandLineAsString -c /dev/stdin
as the test case.
xenial:
> E: Syntax error
** Also affects: apt (Ubuntu Yakkety)
Importance: Undecided
Status: New
** Description changed:
When Dir has a space, and it is set via APT_CONFIG file, keys are found and
validated correctly.
When Dir is set without a space via cmdline, keys are found and validated
correctly.
This bug was fixed in the package apt - 1.4
---
apt (1.4) unstable; urgency=medium
* The April Fools' Release
[ Julian Andres Klode ]
* Ignore \.ucf-[a-z]+$ like we do for \.dpkg-[a-z]+$
* Fix mistake in CHANGEPATH comment example
[ Chris Lamb ]
* auto-removal: Ignore
apt config does not support double quote escaping. "" just ends the
first string and starts another. and \" does not work either.
Specifying Dir on the commandline does not really work in a sane way
anyway, as it loads the configuration files from /etc, but the rest from
within the specified
I guess the correct generated config should have:
CommandLine::AsString "apt -o Dir=""/tmp/tmp.26IBhxIxAw/Sub Dir"" update";
instead of the currently broken:
CommandLine::AsString "apt -o Dir="/tmp/tmp.26IBhxIxAw/Sub Dir" update"";
Note the wrong double double quote escaping.
--
You received
I made the apt-key dump the passed config file...
The difference between the generated files in the first and second cases
are:
-CommandLine::AsString "apt update";
+CommandLine::AsString "apt -o Dir="/tmp/tmp.26IBhxIxAw/Sub Dir" update"";
When executing apt-config with the second file as the
12 matches
Mail list logo