upgrade-notifier -> update-notifier issue

Bug #11812 reported by Sebastien Bacher
6
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

$ apt-get install update-notifier (with upgrade-notifier installed)
...
Paramétrage de update-notifier (0.37.2) ...
touch: ne peut faire un touch sur `/var/lib/upgrade-notifier/dpkg-run-stamp':
Aucun fichier ou répertoire de ce type
E: Problem executing scripts DPkg::Post-Invoke 'touch
/var/lib/upgrade-notifier/dpkg-run-stamp'
E: Sub-process returned an error code

"Aucun fichier ou répertoire de ce type" == "No such file or directory"

Revision history for this message
Michael Vogt (mvo) wrote :

Please run "sudo dpkg -P upgrade-notifier" (this will remove the configuration
file from upgrade-notifier that causes this problem)

thanks,
 Michael

Revision history for this message
Sebastien Bacher (seb128) wrote :

that's not a solution, users should not be required to do this :)

Revision history for this message
Michael Vogt (mvo) wrote :

(In reply to comment #2)
> that's not a solution, users should not be required to do this :)

Yes, that's why I kept the bug open :)
I added a preinst that checks for unmodified 99upgrade-notifier files
and removes them. Should be fixed with: update-notifier 0.37.3

Revision history for this message
Sebastien Bacher (seb128) wrote :

Paramétrage de update-notifier (0.37.3) ...
touch: ne peut faire un touch sur `/var/lib/upgrade-notifier/dpkg-run-stamp':
Aucun fichier ou répertoire de ce type
E: Problem executing scripts DPkg::Post-Invoke 'touch
/var/lib/upgrade-notifier/dpkg-run-stamp'
E: Sub-process returned an error code

still here ...

Revision history for this message
Michael Vogt (mvo) wrote :

Can you send me your /etc/apt/apt.conf.d/99upgrade-notifier file please? I would
like to see
if my md5sum is wrong.

thanks,
 Michael

Revision history for this message
Sebastien Bacher (seb128) wrote :

no such file, but in fact the bug seems to be fixed now, the issue was perhaps
just still here during the update-notifier update.
I'm closing this bug, thanks.

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.