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#113 - slocate does not add "slocate" group during installation / missing dependency
Attached to Project:
Arch Linux
Opened by Dennis Herbrich (gyroplast) - Monday, 11 August 2003, 01:51 GMT
Last edited by Judd Vinet (judd) - Thursday, 04 December 2003, 08:52 GMT
Opened by Dennis Herbrich (gyroplast) - Monday, 11 August 2003, 01:51 GMT
Last edited by Judd Vinet (judd) - Thursday, 04 December 2003, 08:52 GMT
|
DetailsThe slocate package presents an odd problem. When installed during a normal 0.5 FTP install, the necessary slocate group is not added to the /mnt/etc/group file. This in itself is not surprising since the post_install script uses the 'groupadd' tool which is not in the patch during installation, thus causing this to fail until you update the package after the new system has been booted.
Unfortunately, when patching the slocate.install file to use 'echo "slocate::21:" >>/mnt/etc/group' instead of groupadd, this does not seem to be executed during the install process. Frankly, if I drop out of the installer after package installation and install the package manually with '/tmp/usr/bin/pacman --refresh --root /mnt --sync slocate', it adds the group just fine. WTF? I can't figure this one out, maybe someone with more intimate knowledge of the installer could have a look at this? Oh, the workaround: Reinstall the package right after booting your new system, or add the group with gid 21 manually. |
This task depends upon
Closed by Anonymous Submitter
Thursday, 04 December 2003, 08:52 GMT
Reason for closing: Fixed
Thursday, 04 December 2003, 08:52 GMT
Reason for closing: Fixed
Since slocate edits the group file, it's mandatory that the filesystem package gets installed beforehand, otherwise the changes will be overwritten. Right now it happens to work out correctly, but to ensure consistency adding 'filesystem' to slocate's requirements would surely help my peace of mind. :)