motd-news complains that curl is missing

Bug #1875644 reported by Simon Déziel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
base-files (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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
base-files:
  Installed: 11ubuntu5
  Candidate: 11ubuntu5
  Version table:
 *** 11ubuntu5 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.