El Martes 01 Marzo 2005 21:13, Steve Langasek escribió: > Thanks, I've got it now. > > I'm looking at your diff, and I'm a little concerned at how you chose to > close this bug. Making the maintainer script exit 0 is not an overriding > goal; it's much more important to first ensure that the maintainer script > succeeds in *doing what it's supposed to*. Given your solution to ignore > the return value of update-mozilla-firefox-chrome, I'm not at all confident > that this is happening. > > I still don't understand why this bug occurs. It is not possible through > normal operation that the mozilla-firefox package is removed before the > locale packages that depend on it -- I was hoping to see something in your > patch that would explain what was really happening here, but instead you > seem to have punted on the question. > > I'm not willing to sponsor this upload for you without at least an > understanding of why ignoring the errors from update-mozilla-firefox-chrome > does *not* leave the system in a broken state.c
I ignore the output of update-mozilla-firefox-chrome because Eric Dorlan (firefox maintainer and update-mozilla-firefox-chrome creator) told me to do so. Anyway I also don't really understand why the bug happens, and I'm also not totally satisfied with this solution, but I can't find a better solution. I tried to reproduce it but it was always working well for me (if using standard installation methods). There was two reporters. The last one told that he deleted the /etc/mozilla-firefox/profile directory. I tried to do so and then I got the bug. I'm not sure if this is a bug in the package or it rather is user's fault, who deleted a required directory. The first reporter didn't deleted any dir, but he seems to don't have the problem any more, so I can't get any new clue. In any case, the failing script was update-mozilla-firefox-chrome, which is part of mozilla-firefox package, not mozilla-firefox-locale-all. The script doesn't take any argument, and my package is not doing anything wrong. Moreover, none of the files mentioned in the report (/etc/mozilla-firefox/profile and /usr/lib/mozilla-firefox/default.ini) are part of mozilla-firefox-locale-all, but of mozilla-firefox. Thus I only see two possible actions to adopt: - we accept as valid that update-mozilla-firefox-chrome fails or - I reassing the bug to mozilla-firefox package, which contains the failing script. Accept the first option is not as bad as it may seem, because both mozilla-firefox and mozilla-firefox-locale-all get correctly uninstalled in this way, despite the fact that update-mozilla-firefox-chrome script is failing. Thanks for your time, regards, César