Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #269919 > unrolled thread
| Started by | tom@tommiller.us |
|---|---|
| First post | 2024-06-04 06:40 +0200 |
| Last post | 2024-06-05 03:00 +0200 |
| Articles | 8 — 4 participants |
Back to article view | Back to linux.debian.user
last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) tom@tommiller.us - 2024-06-04 06:40 +0200
Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) Ash Joubert <ash@transient.nz> - 2024-06-04 07:40 +0200
Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) tom@tommiller.us - 2024-06-04 08:00 +0200
Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) songbird <songbird@anthive.com> - 2024-06-04 21:50 +0200
Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) eben@gmx.us - 2024-06-04 22:20 +0200
Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) songbird <songbird@anthive.com> - 2024-06-05 03:10 +0200
Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) Ash Joubert <ash@transient.nz> - 2024-06-04 22:30 +0200
Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) songbird <songbird@anthive.com> - 2024-06-05 03:00 +0200
| From | tom@tommiller.us |
|---|---|
| Date | 2024-06-04 06:40 +0200 |
| Subject | last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) |
| Message-ID | <ILu7L-sLG-9@gated-at.bofh.it> |
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<========
[toc] | [next] | [standalone]
| From | Ash Joubert <ash@transient.nz> |
|---|---|
| Date | 2024-06-04 07:40 +0200 |
| Subject | Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) |
| Message-ID | <ILv3P-tmG-3@gated-at.bofh.it> |
| In reply to | #269919 |
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
[toc] | [prev] | [next] | [standalone]
| From | tom@tommiller.us |
|---|---|
| Date | 2024-06-04 08:00 +0200 |
| Subject | Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) |
| Message-ID | <ILvnb-tti-1@gated-at.bofh.it> |
| In reply to | #269919 |
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<========
[toc] | [prev] | [next] | [standalone]
| From | songbird <songbird@anthive.com> |
|---|---|
| Date | 2024-06-04 21:50 +0200 |
| Subject | Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) |
| Message-ID | <ILIkp-Bj7-7@gated-at.bofh.it> |
| In reply to | #269919 |
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
[toc] | [prev] | [next] | [standalone]
| From | eben@gmx.us |
|---|---|
| Date | 2024-06-04 22:20 +0200 |
| Subject | Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) |
| Message-ID | <ILINr-BHR-1@gated-at.bofh.it> |
| In reply to | #269932 |
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
[toc] | [prev] | [next] | [standalone]
| From | songbird <songbird@anthive.com> |
|---|---|
| Date | 2024-06-05 03:10 +0200 |
| Subject | Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) |
| Message-ID | <ILNk5-FKS-7@gated-at.bofh.it> |
| In reply to | #269933 |
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
[toc] | [prev] | [next] | [standalone]
| From | Ash Joubert <ash@transient.nz> |
|---|---|
| Date | 2024-06-04 22:30 +0200 |
| Subject | Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) |
| Message-ID | <ILIX7-BL0-1@gated-at.bofh.it> |
| In reply to | #269932 |
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
[toc] | [prev] | [next] | [standalone]
| From | songbird <songbird@anthive.com> |
|---|---|
| Date | 2024-06-05 03:00 +0200 |
| Subject | Re: last(1) missing after upgrade from 12.5 to sid (util-linux 2.38.1 to 2.40.1-4) |
| Message-ID | <ILNap-FiX-1@gated-at.bofh.it> |
| In reply to | #269934 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web