Control: tags -1 +pending Hi Petter, Le mardi, 1 juillet 2014, 23.19:36 Petter Reinholdtsen a écrit : > 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. :)
Good catch, thanks. The file in /etc/pam.d has changed name twice in the jessie timeframe: once from cups to cups-daemon for 1.6.1 (while changing binary package accordingly) and then back from cups-daemon to cups (while staying in the cups-daemon package). The mv_conffile dpkg-maintscript-helper call in the cups package is therefore misguided and will be removed. http://anonscm.debian.org/gitweb/?p=printing/cups.git;a=commitdiff;h=950e44d3bc3f7cc93379cea0a6a2d3a7bcc3b8c3 Cheers, OdyX -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org