Bug#817908: iceweasel: leaves cruft in /etc/iceweasel/ on upgrade

Mike Hommey mh at glandium.org
Fri Mar 11 13:25:17 UTC 2016


On Fri, Mar 11, 2016 at 02:05:17PM +0100, Adam Borowski wrote:
> Package: iceweasel
> Version: 45.0esr-1
> Severity: normal
> 
> 
> After upgrading to 45.0esr-1 (ie, the big rename to Firefox), the following
> unowned files are left:
> /etc/iceweasel/
> /etc/iceweasel/pref
> /etc/iceweasel/pref/iceweasel.js
> /etc/iceweasel/profile
> /etc/iceweasel/profile/chrome
> /etc/iceweasel/profile/chrome/userChrome-example.css
> /etc/iceweasel/profile/chrome/userContent-example.css
> /etc/iceweasel/profile/localstore.rdf
> /etc/iceweasel/profile/mimeTypes.rdf
> /etc/iceweasel/profile/prefs.js
> /etc/iceweasel/searchplugins
> /etc/iceweasel/searchplugins/locale
> /etc/iceweasel/searchplugins/locale/en-US
> /etc/iceweasel/searchplugins/common
> /etc/iceweasel/searchplugins/common/debsearch.xml
> 
> As I understand the changelog, the default profile and all iceweasel
> conffiles are supposed to be removed.  I never consciously touched any
> of those files.
> 
> The console output from the upgrade spews a number of errors:
> 
> .--=======================================================================
> The following NEW packages will be installed:
>   firefox-esr
> The following packages will be upgraded:
>   iceweasel
> 1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 41.4 MB of archives.
> After this operation, 690 kB of additional disk space will be used.
> Get:1 http://apt.angband.pl:3142/ftp.pl.debian.org/debian unstable/main amd64 iceweasel all 45.0esr-1 [114 kB]
> Get:2 http://apt.angband.pl:3142/ftp.pl.debian.org/debian unstable/main amd64 firefox-esr amd64 45.0esr-1 [41.3 MB]
> Fetched 41.4 MB in 6s (6231 kB/s)                                                                       
> Reading changelogs... Done
> (Reading database ... 215305 files and directories currently installed.)
> Preparing to unpack .../iceweasel_45.0esr-1_all.deb ...
> dpkg-query: package 'iceweasel' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> dpkg-query: package 'iceweasel' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> dpkg-query: package 'iceweasel' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> dpkg-query: package 'iceweasel' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> dpkg-query: package 'iceweasel' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> dpkg-query: package 'iceweasel' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> dpkg-query: package 'iceweasel' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> Unpacking iceweasel (45.0esr-1) over (44.0.2-1) ...
> dpkg: warning: unable to delete old directory '/etc/iceweasel/searchplugins/common': Directory not empty
> dpkg: warning: unable to delete old directory '/etc/iceweasel/searchplugins': Directory not empty
> dpkg: warning: unable to delete old directory '/etc/iceweasel/profile/chrome': Directory not empty
> dpkg: warning: unable to delete old directory '/etc/iceweasel/profile': Directory not empty
> dpkg: warning: unable to delete old directory '/etc/iceweasel/pref': Directory not empty
> dpkg: warning: unable to delete old directory '/etc/iceweasel': Directory not empty

This all makes no sense. First, it worked when I tried before uploading,
but it doesn't work anymore. Second, these dpkg-query messages make no
sense, and I don't know where they are coming from. Third, just taking
one of the files, there *are* commands to remove the conffiles in
iceweasel's post/pre rm/inst, like the following:

dpkg-maintscript-helper rm_conffile /etc/iceweasel/pref/iceweasel.js -- "$@"

Now... looking at dpkg-maintscript-helper, it would seem it is the one
doing those dpkg-query requests. So maybe dpkg-maintscript-helper is
just broken? Help, dpkg maintainers?

Mike



More information about the pkg-mozilla-maintainers mailing list