Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#38999 - [systemd] avoid vercmp in post_install or depend on pacman
Attached to Project:
Arch Linux
Opened by Matthias Dienstbier (fs4000) - Saturday, 22 February 2014, 23:54 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 23 February 2014, 00:04 GMT
Opened by Matthias Dienstbier (fs4000) - Saturday, 22 February 2014, 23:54 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 23 February 2014, 00:04 GMT
|
Detailssystemd 209 started to use the vercmp command in the post_common function of its install scriptlet. This gets executed on a fresh install although pacman might not be installed yet. If this happens, the following error will be printed but the installation runs fine.
( 47/100) Installiere systemd [######################] 100% Initializing machine ID from random generator. /tmp/alpm_kWrKft/.INSTALL: line 29: vercmp: command not found /tmp/alpm_kWrKft/.INSTALL: line 29: [: : integer expression expected ln -s '/usr/lib/systemd/system/getty@.service' '/etc/systemd/system/getty.target.wants/getty@tty1.service' :: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your bootloader to replace sysvinit with systemd, or install systemd-sysvcompat |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 23 February 2014, 00:04 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in SVN.
Sunday, 23 February 2014, 00:04 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in SVN.

Fixed in SVN. It's easier than this -- there's no $2 on post_install, so we can just protect the call to vercmp.