Hi,
In apt.spec we have [1] and when I query apt rpm for scripts (rpm -q
apt --scripts ) we have [2], i.e. %{_sharedstatedir} wasn't replaced by
/var/lib . why ? and how I fix it ?
Thanks ,
[1]
%pre
getent group _apt >/dev/null || groupadd -r _apt
getent passwd _apt >/dev/null || \
useradd -r -g _apt -d %{_sharedstatedir}/apt -s /sbin/nologin \
-c "APT account for owning persistent & cache data" _apt
exit 0
[2]
preinstall scriptlet (using /bin/sh):
getent group apt >/dev/null || groupadd -r apt
getent passwd apt >/dev/null || \
useradd -r -g apt -d apt -s /sbin/nologin \
-c "APT account for owning persistent & cache data" apt
exit 0
--
Sérgio M. B.