Regarding the bug in lastcomm for the noble repository:

   # lastcomm
   *** buffer overflow detected ***: terminated
   Aborted (core dumped)

I have a temporary fix which seems to work. The fix is based on the
confirmation that lastcomm is properly patched in plucky, but not yet
patched in noble.

   * Update apt.
   * Add the plucky repository to ubuntu.sources.
   * Update apt a second time, this will 
   * Install lastcomm
   * Remove the plucky repository

The specific steps are:

   $ sudo apt update

   ##Update /etc/apt/sources.list.d/ubuntu to include the lines:
   $ sudo cat >> /etc/apt/sources.list.d/ubuntu.sources

      Types: deb
      URIs: http://security.ubuntu.com/ubuntu/
      Suites: plucky-security
      Components: main restricted universe multiverse
      Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
      ^D

  $ sudo apt-update 
  $ sudo apt install lastcomm

To test the installation:

   $ sudo  lastcomm|head

   kworker/dying     F    root     __         0.00 secs Mon Mar 24 12:32
   man                    root     pts/3      0.01 secs Mon Mar 24 13:05
   man               F  X root     pts/3      0.00 secs Mon Mar 24 13:05
   head                   root     pts/3      0.00 secs Mon Mar 24 13:05
   col                    root     pts/3      0.00 secs Mon Mar 24 13:05
   nroff                  root     pts/3      0.00 secs Mon Mar 24 13:05
   groff                  root     pts/3      0.00 secs Mon Mar 24 13:05
   grotty                 root     pts/3      0.00 secs Mon Mar 24 13:05
   troff                  root     pts/3      0.00 secs Mon Mar 24 13:05
   tbl                    root     pts/3      0.00 secs Mon Mar 24 13:05

The cleanup step is to delete the added lines in ubuntu.sources and
update apt.

   $ sudo cat > /etc/apt/sopurces.list.d/ubuntu.sources
      Types: deb
      URIs: http://us.archive.ubuntu.com/ubuntu/
      Suites: noble noble-updates noble-backports
      Components: main restricted universe multiverse
      Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

      Types: deb
      URIs: http://security.ubuntu.com/ubuntu/
      Suites: noble-security
      Components: main restricted universe multiverse
      Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
      ^D

   $sudo apt update

At this point, the installation of lastcomm will not show in the list of
installed packages. The application is properly installed and working,
just no longer in the repositories being checked for installations.

Hopefully the noble package will will be properly updated soon.

Kevin Marinelli
University of Connecticut

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2095035

Title:
  lastcomm buffer overflow detected terminated

To manage notifications about this bug go to:
https://bugs.launchpad.net/acct/+bug/2095035/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to