• last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.

    From tom@tommiller.us@21:1/5 to All on Tue Jun 4 06:40:01 2024
    Hello!

    last(1) seems to have disappeared following an upgrade from 12.5 to sid.

    More info is shown below. What is my mistake? Or, could it be a bug?

    Please send me copies of replies since I am not subscribed to this list.

    Thanks for your help!

    Best!

    Tom

    --------<8>--------

    # Prior to upgrade, last(1) is present in 12.5

    root@lol ~ # cat /etc/debian_version
    12.5
    root@lol ~ # which last
    /usr/bin/last
    root@lol ~ # last --version
    last from util-linux 2.38.1
    root@lol ~ #

    # Update, upgrade, and reboot 12.5 to prepare for sid

    root@lol ~ # apt-get update && apt-get full-upgrade -y

    [reboot]

    root@lol ~ # last --version
    last from util-linux 2.38.1
    root@lol ~ #

    # Edit sources.list

    root@lol ~ # cat /etc/apt/sources.list
    deb http://deb.debian.org/debian/ unstable main contrib non-free non-free-firmware
    deb-src http://deb.debian.org/debian/ unstable main contrib non-free non-free-firmware
    root@lol ~ #

    # Snips from command line during upgrade from 12.5 to sid

    root@lol ~ # apt-get update && apt-get full-upgrade -y

    Get:215 http://deb.debian.org/debian unstable/main amd64 util-linux amd64 2.40.1-4 [1,210 kB]
    Get:216 http://deb.debian.org/debian unstable/main amd64 util-linux-extra amd64 2.40.1-4 [262 kB]

    Get:351 http://deb.debian.org/debian unstable/main amd64 util-linux-locales all 2.40.1-4 [2,897 kB]

    Preparing to unpack .../util-linux_2.40.1-4_amd64.deb ...
    Unpacking util-linux (2.40.1-4) over (2.38.1-5+deb12u1) ...
    Setting up util-linux (2.40.1-4) ...
    fstrim.service is a disabled or a static unit not running, not starting it. (Reading database ... 34837 files and directories currently installed.) Preparing to unpack .../util-linux-extra_2.40.1-4_amd64.deb ...
    Adding 'diversion of /sbin/ctrlaltdel to /sbin/ctrlaltdel.usr-is-merged by util-linux-extra'
    Adding 'diversion of /sbin/fsck.cramfs to /sbin/fsck.cramfs.usr-is-merged by util-linux-extra'
    Adding 'diversion of /sbin/fsck.minix to /sbin/fsck.minix.usr-is-merged by util-linux-extra'
    Adding 'diversion of /sbin/mkfs.bfs to /sbin/mkfs.bfs.usr-is-merged by util-linux-extra'
    Adding 'diversion of /sbin/mkfs.cramfs to /sbin/mkfs.cramfs.usr-is-merged by util-linux-extra'
    Adding 'diversion of /sbin/mkfs.minix to /sbin/mkfs.minix.usr-is-merged by util-linux-extra'
    Unpacking util-linux-extra (2.40.1-4) over (2.38.1-5+deb12u1) ...
    Setting up util-linux-extra (2.40.1-4) ...
    (Reading database ... 34879 files and directories currently installed.)

    # last(1) seems gone even before reboot; still gone following reboot

    root@lol ~ # last --version
    -bash: /usr/bin/last: No such file or directory
    root@lol ~ #

    root@lol ~ # systemctl reboot

    root@lol ~ # cat /etc/debian_version
    trixie/sid
    root@lol ~ # which which
    /usr/bin/which
    root@lol ~ # which last
    root@lol ~ # man last
    No manual entry for last
    root@lol ~ #

    ========>8<========

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ash Joubert@21:1/5 to tom@tommiller.us on Tue Jun 4 07:40:01 2024
    On 2024-06-04 16:09, tom@tommiller.us wrote:
    last(1) seems to have disappeared following an upgrade from 12.5 to sid.

    I remember seeing in the NEWS for util-linux that last(1) was moved to
    the wtmpdb package:


    $ zcat /usr/share/doc/util-linux/NEWS.Debian.gz
    util-linux (2.40.1-2) unstable; urgency=medium

    * last(1) has been split off to the wtmpdb package.
    If you find last(1) useful, please install wtmpdb and accept the
    default
    PAM configuration changes from libpam-wtmpdb.
    * lastb(1) is removed. Please see syslog/journal for failed login
    attempts.

    -- Chris Hofstaedtler <zeha@debian.org> Wed, 29 May 2024 23:52:19 +0200


    Kind regards,

    --
    Ash Joubert (they/them) <ash@transient.nz>
    Director / Game Developer
    Transient Software Limited <https://transient.nz/>
    New Zealand

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tom@tommiller.us@21:1/5 to tom@tommiller.us on Tue Jun 4 08:00:01 2024
    June 3, 2024 at 9:09 PM, tom@tommiller.us wrote:




    Hello!

    last(1) seems to have disappeared following an upgrade from 12.5 to sid.

    More info is shown below. What is my mistake? Or, could it be a bug?

    Please send me copies of replies since I am not subscribed to this list.

    Thanks for your help!

    Best!

    Tom

    --------<8>--------

    # Prior to upgrade, last(1) is present in 12.5

    root@lol ~ # cat /etc/debian_version

    12.5

    root@lol ~ # which last

    /usr/bin/last

    root@lol ~ # last --version

    last from util-linux 2.38.1

    root@lol ~ #

    # Update, upgrade, and reboot 12.5 to prepare for sid

    root@lol ~ # apt-get update && apt-get full-upgrade -y

    [reboot]

    root@lol ~ # last --version

    last from util-linux 2.38.1

    root@lol ~ #

    # Edit sources.list

    root@lol ~ # cat /etc/apt/sources.list

    deb http://deb.debian.org/debian/ unstable main contrib non-free non-free-firmware

    deb-src http://deb.debian.org/debian/ unstable main contrib non-free non-free-firmware

    root@lol ~ #

    # Snips from command line during upgrade from 12.5 to sid

    root@lol ~ # apt-get update && apt-get full-upgrade -y

    Get:215 http://deb.debian.org/debian unstable/main amd64 util-linux amd64 2.40.1-4 [1,210 kB]

    Get:216 http://deb.debian.org/debian unstable/main amd64 util-linux-extra amd64 2.40.1-4 [262 kB]

    Get:351 http://deb.debian.org/debian unstable/main amd64 util-linux-locales all 2.40.1-4 [2,897 kB]

    Preparing to unpack .../util-linux_2.40.1-4_amd64.deb ...

    Unpacking util-linux (2.40.1-4) over (2.38.1-5+deb12u1) ...

    Setting up util-linux (2.40.1-4) ...

    fstrim.service is a disabled or a static unit not running, not starting it.

    (Reading database ... 34837 files and directories currently installed.)

    Preparing to unpack .../util-linux-extra_2.40.1-4_amd64.deb ...

    Adding 'diversion of /sbin/ctrlaltdel to /sbin/ctrlaltdel.usr-is-merged by util-linux-extra'

    Adding 'diversion of /sbin/fsck.cramfs to /sbin/fsck.cramfs.usr-is-merged by util-linux-extra'

    Adding 'diversion of /sbin/fsck.minix to /sbin/fsck.minix.usr-is-merged by util-linux-extra'

    Adding 'diversion of /sbin/mkfs.bfs to /sbin/mkfs.bfs.usr-is-merged by util-linux-extra'

    Adding 'diversion of /sbin/mkfs.cramfs to /sbin/mkfs.cramfs.usr-is-merged by util-linux-extra'

    Adding 'diversion of /sbin/mkfs.minix to /sbin/mkfs.minix.usr-is-merged by util-linux-extra'

    Unpacking util-linux-extra (2.40.1-4) over (2.38.1-5+deb12u1) ...

    Setting up util-linux-extra (2.40.1-4) ...

    (Reading database ... 34879 files and directories currently installed.)

    # last(1) seems gone even before reboot; still gone following reboot

    root@lol ~ # last --version

    -bash: /usr/bin/last: No such file or directory

    root@lol ~ #

    root@lol ~ # systemctl reboot

    root@lol ~ # cat /etc/debian_version

    trixie/sid

    root@lol ~ # which which

    /usr/bin/which

    root@lol ~ # which last

    root@lol ~ # man last

    No manual entry for last

    root@lol ~ #

    ========>8<========


    Thanks to the kind person who sent me:

    -------->8<--------

    root@lol ~ # zcat /usr/share/doc/util-linux/NEWS.Debian.gz
    util-linux (2.40.1-2) unstable; urgency=medium

    * last(1) has been split off to the wtmpdb package.
    If you find last(1) useful, please install wtmpdb and accept the default
    PAM configuration changes from libpam-wtmpdb.
    * lastb(1) is removed. Please see syslog/journal for failed login attempts.

    -- Chris Hofstaedtler <zeha@debian.org> Wed, 29 May 2024 23:52:19 +0200 root@lol ~ #

    ========>8<========

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From songbird@21:1/5 to tom@tommiller.us on Tue Jun 4 21:50:01 2024
    tom@tommiller.us wrote:

    Hello!

    last(1) seems to have disappeared following an upgrade from 12.5 to sid.
    ...

    i've been using the "more" command provided by the util-linux
    package.


    songbird

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From eben@gmx.us@21:1/5 to songbird on Tue Jun 4 22:20:01 2024
    On 6/4/24 10:59, songbird wrote:
    tom@tommiller.us wrote:

    Hello!

    last(1) seems to have disappeared following an upgrade from 12.5 to sid.
    ...

    i've been using the "more" command provided by the util-linux
    package.

    How do you use "more" to do what "last" does?

    --
    Q: What did one photon say to the other photon?
    A: I'm sick and tired of your interference. -- thebigmike1983 on Fark

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ash Joubert@21:1/5 to songbird on Tue Jun 4 22:30:01 2024
    On 2024-06-05 02:59, songbird wrote:
    tom@tommiller.us wrote:
    last(1) seems to have disappeared following an upgrade from 12.5 to sid.
    i've been using the "more" command provided by the util-linux
    package.

    You might be thinking of less(1), a program similar to more(1). The
    original post refers to last(1), which lists logins.

    Cheers,

    --
    Ash Joubert (they/them) <ash@transient.nz>
    Director / Game Developer
    Transient Software Limited <https://transient.nz/>
    New Zealand

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From songbird@21:1/5 to Ash Joubert on Wed Jun 5 03:00:01 2024
    Ash Joubert wrote:
    On 2024-06-05 02:59, songbird wrote:
    tom@tommiller.us wrote:
    last(1) seems to have disappeared following an upgrade from 12.5 to sid.
    i've been using the "more" command provided by the util-linux
    package.

    You might be thinking of less(1), a program similar to more(1). The
    original post refers to last(1), which lists logins.

    yes, i was mistaken.


    songbird

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From songbird@21:1/5 to eben@gmx.us on Wed Jun 5 03:10:01 2024
    eben@gmx.us wrote:
    On 6/4/24 10:59, songbird wrote:
    tom@tommiller.us wrote:

    Hello!

    last(1) seems to have disappeared following an upgrade from 12.5 to sid.
    ...

    i've been using the "more" command provided by the util-linux
    package.

    How do you use "more" to do what "last" does?

    correct, i messed up, i was thinking of less. oops! sorry... :)


    songbird

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)