"last" command is not found on Plucky 25.04

The “last” command is not found on Plucky 25.04:

last me
Could not find command-not-found database. Run 'sudo apt update' to populate it.
last: command not found

 last
Could not find command-not-found database. Run 'sudo apt update' to populate it.
last: command not found
apt policy command-not-found
command-not-found:
  Installed: 23.04.0
  Candidate: 23.04.0
  Version table:
 *** 23.04.0 500
        500 http://us.archive.ubuntu.com/ubuntu plucky/main amd64 Packages
        100 /var/lib/dpkg/status

This is needed or was on 24.10 24.04 and below:

apt policy util-linux
util-linux:
  Installed: 2.40.2-1ubuntu2
  Candidate: 2.40.2-1ubuntu2
  Version table:
 *** 2.40.2-1ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu plucky/main amd64 Packages
        100 /var/lib/dpkg/status

Kernel in use:
uname -r
6.11.0-8-generic

Before I file a bug I would like to see other comments first.

Yes I know there is other methods to call logins but I’m more interested in the “last command” failure.

@popey are you using 25.04?

1 Like

@1fallen Is this what you’re looking for? -

1 Like

I forgot to show that:

apt policy wtmpdb
wtmpdb:
  Installed: 0.13.0-1
  Candidate: 0.13.0-1
  Version table:
 *** 0.13.0-1 500
        500 http://us.archive.ubuntu.com/ubuntu plucky/universe amd64 Packages
        100 /var/lib/dpkg/status

@halogen2 thanks for the reply though.

1 Like

Just for S&G’s I reinstalled it:

sudo apt install --reinstall  wtmpdb

Now working:

last me

/var/lib/wtmpdb/wtmp.db begins Sat Dec 14 08:38:29 2024

I’ll mark yours as the Solution, but I can’t figure why it broke in the first place.
The Joys of testing…LOL

Latest daily build of Plucky: last command not found

@rubi1200
Is your 's installed?

apt policy wtmpdb

there you go … it moved out of the default install into universe …

2 Likes

That helps, Thank You @ogra thought I was losing whats left of my Senior Mind :smiley:
But it still dose not explain why I had to reinstall it. (see my apt policy)

1 Like

@1fallen No, not installed. But I was not on the latest daily build.

As mentioned, it is now in universe.