apticron uses deprecated tempfile command

Bug #1901772 reported by Jonathan Kamens
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apticron (Debian)
Fix Released
Unknown
apticron (Ubuntu)
Fix Released
Undecided
Logan Rosen

Bug Description

The output of my apticron cron job emailed to me says, "WARNING: tempfile is deprecated; consider using mktemp instead."

A quick search yields two usages of the tempfile command in /usr/sbin/apticron.

Please fix so that people don't have to get emails from apticron consisting of nothing but this warning.

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: apticron 1.2.3+nmu1
ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14
Uname: Linux 5.8.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu50
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 27 16:47:52 2020
InstallationDate: Installed on 2019-08-16 (438 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
PackageArchitecture: all
SourcePackage: apticron
UpgradeStatus: Upgraded to groovy on 2020-10-26 (1 days ago)
modified.conffile..etc.apport.crashdb.conf: [modified]
mtime.conffile..etc.apport.crashdb.conf: 2020-04-19T16:14:35.801558

Revision history for this message
Jonathan Kamens (jik) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apticron (Ubuntu):
status: New → Confirmed
Changed in apticron (Debian):
status: Unknown → New
Changed in apticron (Debian):
status: New → Fix Released
Revision history for this message
Logan Rosen (logan) wrote :

This bug was fixed in the package apticron - 1.2.5

---------------
apticron (1.2.5) unstable; urgency=medium

  * Source upload for release unblock request at #962921

 -- Tiago Bortoletto Vaz <email address hidden> Mon, 29 Mar 2021 08:59:49 -0400

apticron (1.2.4) unstable; urgency=medium

  * Fix tempfile warning message. (Closes: #962921)

 -- Tiago Bortoletto Vaz <email address hidden> Sat, 20 Mar 2021 11:45:39 -0400

Changed in apticron (Ubuntu):
assignee: nobody → Logan Rosen (logan)
status: Confirmed → In Progress
status: In Progress → 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.