apt-file-update left on disk after upgrade to 3.1.4

Bug #1706163 reported by Brian Murray on 2017-07-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-file (Ubuntu)
Medium
Unassigned

Bug Description

The previous versions of apt-file installed and update-notifier hook into /var/lib/update-notifier/user.d/. This can be see in the apt-file.postinst in version 2.5.5ubuntu1 of the package:

if [ -d $unud ]; then
        cp -f /usr/share/apt-file/apt-file-update.update-notifier \
            "$unud/apt-file-update"
fi

The hook displays an update-notifier dialog if /usr/share/apt-file/is-cache-empty returns true and that dialog contains a "Run this action now" button. Clicking the button does nothing though because the command is "/usr/share/apt-file/do-apt-file-update" which is no longer provided by the package apt-file.

The postinst in the new version of apt-file should remove the apt-file-update file if it exists.
I don't know if the installation of that file was an an Ubuntu specific change.

tags: added: artful
Changed in apt-file (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers