FS#46405 - [checkupdates] Fails with some locales
Attached to Project:
Pacman
Opened by Alad Wenter (Alad) - Wednesday, 23 September 2015, 00:50 GMT
Last edited by Allan McRae (Allan) - Saturday, 28 November 2015, 23:12 GMT
Opened by Alad Wenter (Alad) - Wednesday, 23 September 2015, 00:50 GMT
Last edited by Allan McRae (Allan) - Saturday, 28 November 2015, 23:12 GMT
|
Details
Summary and Info:
With some locales (in particular, nl_NL.UTF-8), the fakeroot call in checkupdates will fail with "getopt: invalid option". See: https://aur.archlinux.org/packages/tkpacman/ From IRC, why this happens: 02:41 < agregory> alad: fakeroot is stupid https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=fakeroot/fakeroot.git;f=scripts/fakeroot.in;hb=HEAD#l46 02:42 < agregory> the output of `getopt --version` is translated... 02:43 < agregory> and apparently in certain locales does not match the format they expect for their test A workaround is to use: fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null instead of: fakeroot pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null |
This task depends upon
Closed by Allan McRae (Allan)
Saturday, 28 November 2015, 23:12 GMT
Reason for closing: Fixed
Additional comments about closing: git commit 0ee1beca12f607
Saturday, 28 November 2015, 23:12 GMT
Reason for closing: Fixed
Additional comments about closing: git commit 0ee1beca12f607
Comment by Alad Wenter (Alad) -
Wednesday, 23 September 2015, 00:55 GMT
See also:
https://lists.alioth.debian.org/pipermail/fakeroot-devel/Week-of-Mon-20141124/000008.html