• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    issue with updating / isntall script

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    2 Posts 2 Posters 85 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      boombasstic
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • P
        Petěrko
        last edited by Petěrko

        My workarounds for update on Debian Trixie are:

        A)
        git checkout master ; git pull
        userdel fogproject
        cd bin ; ./installfog.sh

        or
        B)
        apt install lastlog2
        git checkout master ; git pull
        ln -s /usr/bin/lastlog2 /usr/bin/lastlog
        cd bin ; ./installfog.sh

        Peter

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        110

        Online

        12.6k

        Users

        17.5k

        Topics

        156.4k

        Posts
        Copyright © 2012-2026 FOG Project