motd-news complains that curl is missing

Bug #1875644 reported by Simon Déziel on 2020-04-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
base-files (Ubuntu)

Bug Description


motd-news complains that curl is missing on every run. motd-news.timer firing every ~12 hours, this useless message ends up in the logs regularly.

Steps to reproduce:

$ lxc launch images:ubuntu/focal motd
Creating motd
Starting motd
$ lxc exec motd -- /etc/update-motd.d/50-motd-news --force
dpkg-query: no packages found matching curl

This should output nothing.

Additional information:

# lsb_release -rd
Description: Ubuntu 20.04 LTS
Release: 20.04

# apt-cache policy base-files
  Installed: 11ubuntu5
  Candidate: 11ubuntu5
  Version table:
 *** 11ubuntu5 500
        500 focal/main amd64 Packages
        100 /var/lib/dpkg/status

Related branches

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package base-files - 11ubuntu7

base-files (11ubuntu7) groovy; urgency=medium

  [ Simon Deziel ]
  * motd/50-motd-news: abort early if curl is missing (LP: #1875644)

 -- Andreas Hasenack <email address hidden> Wed, 06 May 2020 09:25:15 -0300

Changed in base-files (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers