issue with updating / isntall script
-
Hi,
i use fog on debian trixie, and have no issue so far it works great.
I tried today to update to the lastest stable version.At the end of the install script it checks fogproject user last login with lastlog command.
But that command was deprecated i think.
i had to install lastlog2, and modify /lib/common/functions.sh line 1256 , and replace lastlog by lastlog2, and then it worked.Otherwise as it cannot check last login time, it cancels the update and say that the usr was logged with, so we should delete the user.
-
My workarounds for update on Debian Trixie are:
A)
git checkout master ; git pull
userdel fogproject
cd bin ; ./installfog.shor
B)
apt install lastlog2
git checkout master ; git pull
ln -s /usr/bin/lastlog2 /usr/bin/lastlog
cd bin ; ./installfog.shPeter