Bug#753439: cups: postinst fail with 'mv: can't run stat() on "/etc/pam.d/cups-daemon": No such file or directory'
Package: cups
Version: 1.7.3-3
Severity: serious
I just installed a Thinkpad X200 with a Debian 7.5 DVD image, and
started an upgrade by replacing wheezy with jessie in
/etc/apt/sources.list and running 'apt-get install isenkram
upgrade-system'. This failed while setting up cups versoin 1.7.3-3,
with this (quickly translated from Norwegian) message:
Setting up cups (1.7.3-3) ...
Preserving user changes to /etc/pam.d/cups-daemon (renamed from
/etc/pam.d/cups)...
mv: can't run stat() on "/etc/pam.d/cups-daemon": No such file or
directory
dpkg: error while processing cups (--configure):
subprocess installed postinst script returned exit status 1
I did not edit the file, and suspect the postinst need to have more
special case handling. :)
Setting severity to seriuos, as this break upgrades on a untouched
installation.
--
Happy hacking
Petter Reinholdtsen
Reply to: