Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4)
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<========
Reply to: