unable to remove package

Bug #13320 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
mozilla-firefox-locale-all (Debian)
Fix Released
Unknown
mozilla-firefox-locale-all (Ubuntu)
Invalid
High
Thom May

Bug Description

Automatically imported from Debian bug report #294175 http://bugs.debian.org/294175

Revision history for this message
In , Cesar Martinez Izquierdo (listas-ono) wrote : Re: Bug#294175: unable to remove package

Hi Tomas, I can't reproduce the problem, it works just fine for me.

I think it is a problem of mozilla-firefox, not mozilla-firefox-locale-cs-cz,
because the error occurrs while executing update-mozilla-firefox-chrome,
which is a mozilla-firefox script.

Which version of mozilla-firefox are you using?

By the way, probably you can solve the error by making:
ln -fs /var/lib/mozilla-firefox/defaults.ini /usr/lib/mozilla-firefox
(if /var/lib/mozilla-firefox/defaults.ini already exists, otherwise you can
probably simply touch /usr/lib/mozilla-firefox/defaults.ini).

{Erik, Mike}, should I add a true command as mozilla-firefox-dom-inspector
does?
(Eg: update-mozilla-firefox-chrome || true ).

Regards,

  César Martínez Izquierdo

El Martes 08 Febrero 2005 12:24, Tomas Oberhuber escribió:
> Package: mozilla-firefox-locale-cs-cz
> Version: 1.0lang20041216-2
>
> 50:root>dpkg --remove mozilla-firefox-locale-cs-cz
> (Reading database ... 152623 files and directories currently installed.)
> Removing mozilla-firefox-locale-cs-cz ...
> Updating mozilla-firefox chrome registry...mv: cannot stat
> `/usr/lib/mozilla-firefox/defaults.ini': No such file or directory dpkg:
> error processing mozilla-firefox-locale-cs-cz (--remove):
> subprocess post-removal script returned error exit status 1
> Errors were encountered while processing:
> mozilla-firefox-locale-cs-cz
>
> I also tried to do
> touch /usr/lib/mozilla-firefox/defaults.ini
>
> but I got the same message.
> dpkg --remove --force-all did not help either.
>
> What shall I do? Now I am unable to install new firefox because of this
> bug.
>
> I have testing Debian.
>
> Tomas Oberhuber.

Revision history for this message
In , Eric Dorland (eric-dorland) wrote :

* Cesar Martinez Izquierdo (<email address hidden>) wrote:
> Hi Tomas, I can't reproduce the problem, it works just fine for me.
>
> I think it is a problem of mozilla-firefox, not mozilla-firefox-locale-cs-cz,
> because the error occurrs while executing update-mozilla-firefox-chrome,
> which is a mozilla-firefox script.
>
> Which version of mozilla-firefox are you using?
>
> By the way, probably you can solve the error by making:
> ln -fs /var/lib/mozilla-firefox/defaults.ini /usr/lib/mozilla-firefox
> (if /var/lib/mozilla-firefox/defaults.ini already exists, otherwise you can
> probably simply touch /usr/lib/mozilla-firefox/defaults.ini).
>
> {Erik, Mike}, should I add a true command as mozilla-firefox-dom-inspector
> does?
> (Eg: update-mozilla-firefox-chrome || true ).

Yes, you should, because if mozilla-firefox gets removed before
mozilla-firefox-locale-cs-cz then it will fail.

--
Eric Dorland <email address hidden>
ICQ: #61138586, Jabber: <email address hidden>
1024D/16D970C6 097C 4861 9934 27A0 8E1C 2B0A 61E9 8ECF 16D9 70C6

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+
G e h! r- y+
------END GEEK CODE BLOCK------

Revision history for this message
In , Eric Bavu (eric-bavu) wrote : default.ini and package uninstall

Hello,

I had the problem related in bug n°294175 with the package
mozilla-firefox-locale-fr-fr and mozilla-firefox-eu.

The solution proposed to add the file defaults.ini wasn't accurate in my
configuration (debian mozilla-firefox 1.0+dfsg.1-6).

Furthermore, it prevented me to use firefox (uninstall/install of
mozilla-firefox and impossible to configure firefox after the aptitude
install).

The only solution I found to remove the packages was apt-get remove
--purge mozilla-firefox* , a bit violent, isn't it ?

If you have the solution to prevent this bug with defaults.ini ... (when
I create this file, and I try to uninstall the packages
mozilla-firefox-fr-fr and mozilla-firefox-eu , I still have the error
message :

Updating mozilla-firefox chrome registry...E:
/usr/lib/mozilla-firefox/extensions/installed-extensions.txt still
present. Registration might have gone wrong.
mv: ne peut évaluer `/usr/lib/mozilla-firefox/defaults.ini': Aucun
fichier ou répertoire de ce type
dpkg : erreur de traitement de mozilla-firefox-locale-eu (--remove) :
  le sous-processus post-removal script a retourné une erreur de sortie
d'état 1

And then, the file defaults.ini disappears again ...

--
Eric Bavu

Revision history for this message
In , Cesar Martinez Izquierdo (listas-ono) wrote : Re: Bug#294175: default.ini and package uninstall

Hi, I made a new version that is supposed to solve the problem if you removed
mozilla-firefox before than the mozilla-firefox-locale-xx packages, but I'm
waiting for my sponsor to upload it.

For the moment, the only way I could reproduce the problem was to "dpkg -r
--force-depends mozilla-firefox".

Can you tell me what did you exactly do for get the problem?
(What versions did you had at the begining?
What commands did you execute?)

If you already got the problem, a quick an ugly fix is to
"rm /var/lib/dpkg/info/mozilla-firefox-locale-fr-fr.postrm".
(And then "aptitude remove mozilla-firefox-locale-fr-fr").

Please, note that mozilla-firefox-locale-eu is not under my maintenaince, so I
don't know about it.

Regards,

  Cesar

El Domingo 20 Febrero 2005 18:04, Eric Bavu escribió:
> Hello,
>
> I had the problem related in bug n°294175 with the package
> mozilla-firefox-locale-fr-fr and mozilla-firefox-eu.
>
> The solution proposed to add the file defaults.ini wasn't accurate in my
> configuration (debian mozilla-firefox 1.0+dfsg.1-6).
>
> Furthermore, it prevented me to use firefox (uninstall/install of
> mozilla-firefox and impossible to configure firefox after the aptitude
> install).
>
> The only solution I found to remove the packages was apt-get remove
> --purge mozilla-firefox* , a bit violent, isn't it ?
>
> If you have the solution to prevent this bug with defaults.ini ... (when
> I create this file, and I try to uninstall the packages
> mozilla-firefox-fr-fr and mozilla-firefox-eu , I still have the error
> message :
>
> Updating mozilla-firefox chrome registry...E:
> /usr/lib/mozilla-firefox/extensions/installed-extensions.txt still
> present. Registration might have gone wrong.
> mv: ne peut évaluer `/usr/lib/mozilla-firefox/defaults.ini': Aucun
> fichier ou répertoire de ce type
> dpkg : erreur de traitement de mozilla-firefox-locale-eu (--remove) :
> le sous-processus post-removal script a retourné une erreur de sortie
> d'état 1
>
> And then, the file defaults.ini disappears again ...

Revision history for this message
In , Eric Bavu (eric-bavu) wrote :

Cesar Martinez Izquierdo wrote :

> Can you tell me what did you exactly do for get the problem?
> (What versions did you had at the begining?
> What commands did you execute?)

aptitude install mozilla-firefox-locale-fr-fr
aptitude install mozilla-firefox-locale-fr
aptitude remove mozilla-firefox
aptitude remove mozilla-firefox-locale-fr-fr

And here is the problem. Can't remove mozilla-firefox-fr-fr, and can't
reinstall mozilla-firefox properly (can't configure it neither launch it).

Now it's fixed, but it took me several hours to get rid of this package
because of the problem with the defaults.ini file (even if I put this
file in the right place, when I tried to uninstall the package
mozilla-firefox-locale-fr-fr it disappeared ...).

> Please, note that mozilla-firefox-locale-eu is not under my maintenaince, so I
> don't know about it.

It just had the same comportment as mozilla-firefox-locale-fr-fr .

By the way, thanks a lot for your answer.

--
Eric, happy to use again firefox (I feares I might be obliged to use
another browser ...)

Revision history for this message
In , Cesar Martinez Izquierdo (listas-ono) wrote :

El Domingo 20 Febrero 2005 20:12, Eric Bavu escribió:
> aptitude install mozilla-firefox-locale-fr-fr
> aptitude install mozilla-firefox-locale-fr
> aptitude remove mozilla-firefox
> aptitude remove mozilla-firefox-locale-fr-fr

mozilla-firefox-locale-fr is not in the archive, I asume it is a mistake.
I guess you mean then:
 aptitude install mozilla-firefox-locale-fr-fr
 aptitude remove mozilla-firefox
 aptitude remove mozilla-firefox-locale-fr-fr

But I can't reproduce the problem in this way, because
aptitude remove mozilla-firefox
also removes mozilla-firefox-locale-fr-fr (because
mozilla-firefox-locale-fr-fr depends on mozilla-firefox), so the problem
doesn't arise in my computer. I don't know how can you get that situation.

Maybe it can help me to know exactly which versions did you have at the
begining.

Regards,

  Cesar

Revision history for this message
In , Cesar Martinez Izquierdo (listas-ono) wrote : Fwd: Re: Bug#294175: default.ini and package uninstall

---------- Mensaje reenviado ----------

Subject: Re: Bug#294175: default.ini and package uninstall
Date: Domingo 20 Febrero 2005 21:27
From: Eric Bavu <email address hidden>
To: <email address hidden>

Cesar Martinez Izquierdo a écrit :
> mozilla-firefox-locale-fr is not in the archive, I asume it is a mistake.

It's not a mistake. I have this package in my sources :

coxx:/home/neric# aptitude search mozilla-firefox-locale-fr
c mozilla-firefox-locale-fr - Mozilla Firefox
Language/Region Package
id mozilla-firefox-locale-fr-fr - Mozilla Firefox
French language/region package

> Maybe it can help me to know exactly which versions did you have at the
> begining.

The problems maybe comes from the fact I removed my folder
~/.mozilla/firefox/profile an /etc/.mozilla-firefox before I tried to
uninstall / reinstall firefox and the other packages (because I made a
mistake with my profiles in trying exporting these ones from my windows
partition).

Here are the versions I had (the same as today) :

mozilla-firefox : 1.0+dfsg.1-6
mozilla-firefox-locale-fr-fr : 1.0lang20041216-2

Best regards.

--
Eric

-------------------------------------------------------

Revision history for this message
In , Cesar Martinez Izquierdo (listas-ono) wrote : Re: Bug#294175: default.ini and package uninstall

El Domingo 20 Febrero 2005 21:27 escribiste:
> Cesar Martinez Izquierdo a écrit :
> > mozilla-firefox-locale-fr is not in the archive, I asume it is a mistake.
>
> It's not a mistake. I have this package in my sources :
>
> coxx:/home/neric# aptitude search mozilla-firefox-locale-fr
> c mozilla-firefox-locale-fr - Mozilla Firefox
> Language/Region Package
> id mozilla-firefox-locale-fr-fr - Mozilla Firefox
> French language/region package

Hi again!
mozilla-firefox-locale-fr was in the archive, but it's not anymore.
Anyway, mozilla-firefox-locale-fr-fr conflicts with mozilla-firefox-locale-fr,
so I don't know how did you got both of them installed at the same time.
For me it works correctly, if I install one of them, the other gets correctly
removed.

> The problems maybe comes from the fact I removed my folder
> ~/.mozilla/firefox/profile an /etc/.mozilla-firefox before I tried to
> uninstall / reinstall firefox and the other packages (because I made a
> mistake with my profiles in trying exporting these ones from my windows
> partition).

OK, I tried deleting /etc/mozilla-firefox and I got the same error.
It seems the source of the problem.

Regards,

  César

Revision history for this message
In , dispiste (dispiste) wrote : Re: Bug#294175: unable to remove package

Hi Tomas, two questions.

Did you delete /etc/mozilla-firefox/profile before getting the error?
It's the only way I can reproduce your error.

I also found a really similar bug in mozilla-firefox (#286038,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286038 ).
Are you using hppa architecture?

Thanks a lot,

  Cesar

El Lunes 14 Febrero 2005 10:30 escribiste:
> Hi Cesar,
>
> thank you for your e-mail. Fortunately I was able to solve the problem.
> I just removed update-mozilla-firefox-chrome from postinst script. So I
> was able to remove the package. However, I was still unable to install
> common mozilla-firefox. I had to do
>
> rm -rf /usr/lib/mozilla-firefox
>
> and then install mozilla-firefox. Everything seems to be ok now. Your
> suggestion with adding 'true' seems to correspond with what I did.
>
> Have a nice day, Tomas.

Revision history for this message
In , dispiste (dispiste) wrote : Fwd: Re: Bug#294175: unable to remove package

---------- Mensaje reenviado ----------

Subject: Re: Bug#294175: unable to remove package
Date: Viernes 25 Febrero 2005 10:31
From: Tomas Oberhuber <email address hidden>
To: Cesar Martinez Izquierdo <email address hidden>

Hi Cesar,

I am quite sure that I did not delete the profile in /etc. It was not on
hppa.
It always tried to remove a file defaults.ini in /usr/lib/mozilla-firefox.
So I created the file but the script returned the same message. I opened
new terminal and while the script was running a repeated 'touch
defaults.ini' in /usr/lib/mozilla-firefox. Then it was happy with
defaults.ini but it wanted another file (I do not remeber the name). It
seemed to me like the update-mozilla-firefox-chrome script was started
twice but I am not sure about it. The bug in mozilla firefox bug report
seems to be exactly the same. It also said
'E: /usr/lib/mozilla-firefox/extensions/installed-extensions.txt still
present. Registration might have gone wrong.'

Have a nice day, Tomas.

Cesar Martinez Izquierdo wrote:
>Hi Tomas, two questions.
>
>Did you delete /etc/mozilla-firefox/profile before getting the error?
>It's the only way I can reproduce your error.
>
>I also found a really similar bug in mozilla-firefox (#286038,
>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286038 ).
>Are you using hppa architecture?
>
>Thanks a lot,
>
> Cesar
>

Revision history for this message
In , Cesar Martinez Izquierdo (listas-ono) wrote : 294175: unable to remove package

severity 294175 serious
thank

I increase the severity of the bug, as it renders the package uninstallable
for some people.

 César

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #294175 http://bugs.debian.org/294175

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 08 Feb 2005 11:24:39 +0100
From: Tomas Oberhuber <email address hidden>
To: <email address hidden>
Subject: unable to remove package

Package: mozilla-firefox-locale-cs-cz
Version: 1.0lang20041216-2

50:root>dpkg --remove mozilla-firefox-locale-cs-cz
(Reading database ... 152623 files and directories currently installed.)
Removing mozilla-firefox-locale-cs-cz ...
Updating mozilla-firefox chrome registry...mv: cannot stat `/usr/lib/mozilla-firefox/defaults.ini': No such file or directory
dpkg: error processing mozilla-firefox-locale-cs-cz (--remove):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 mozilla-firefox-locale-cs-cz

I also tried to do
touch /usr/lib/mozilla-firefox/defaults.ini

but I got the same message.
dpkg --remove --force-all did not help either.

What shall I do? Now I am unable to install new firefox because of this bug.

I have testing Debian.

Tomas Oberhuber.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 11 Feb 2005 18:30:54 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: Tomas Oberhuber <email address hidden>,
 <email address hidden>
Cc: <email address hidden>,
 <email address hidden>
Subject: Re: Bug#294175: unable to remove package

Hi Tomas, I can't reproduce the problem, it works just fine for me.

I think it is a problem of mozilla-firefox, not mozilla-firefox-locale-cs-c=
z,=20
because the error occurrs while executing update-mozilla-firefox-chrome,=20
which is a mozilla-firefox script.

Which version of mozilla-firefox are you using?

By the way, probably you can solve the error by making:
ln -fs /var/lib/mozilla-firefox/defaults.ini /usr/lib/mozilla-firefox
(if /var/lib/mozilla-firefox/defaults.ini already exists, otherwise you can=
=20
probably simply touch /usr/lib/mozilla-firefox/defaults.ini).

{Erik, Mike}, should I add a true command as mozilla-firefox-dom-inspector=
=20
does?=20
(Eg: update-mozilla-firefox-chrome || true ).

Regards,

  C=E9sar Mart=EDnez Izquierdo

El Martes 08 Febrero 2005 12:24, Tomas Oberhuber escribi=F3:
> Package: mozilla-firefox-locale-cs-cz
> Version: 1.0lang20041216-2
>
> 50:root>dpkg --remove mozilla-firefox-locale-cs-cz
> (Reading database ... 152623 files and directories currently installed.)
> Removing mozilla-firefox-locale-cs-cz ...
> Updating mozilla-firefox chrome registry...mv: cannot stat
> `/usr/lib/mozilla-firefox/defaults.ini': No such file or directory dpkg:
> error processing mozilla-firefox-locale-cs-cz (--remove):
> subprocess post-removal script returned error exit status 1
> Errors were encountered while processing:
> mozilla-firefox-locale-cs-cz
>
> I also tried to do
> touch /usr/lib/mozilla-firefox/defaults.ini
>
> but I got the same message.
> dpkg --remove --force-all did not help either.
>
> What shall I do? Now I am unable to install new firefox because of this
> bug.
>
> I have testing Debian.
>
> Tomas Oberhuber.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 14 Feb 2005 00:19:05 -0500
From: Eric Dorland <email address hidden>
To: Cesar Martinez Izquierdo <email address hidden>
Cc: Tomas Oberhuber <email address hidden>,
 <email address hidden>, <email address hidden>
Subject: Re: Bug#294175: unable to remove package

--jz7tQN4RWHemAAHb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Cesar Martinez Izquierdo (<email address hidden>) wrote:
> Hi Tomas, I can't reproduce the problem, it works just fine for me.
>=20
> I think it is a problem of mozilla-firefox, not mozilla-firefox-locale-cs=
-cz,=20
> because the error occurrs while executing update-mozilla-firefox-chrome,=
=20
> which is a mozilla-firefox script.
>=20
> Which version of mozilla-firefox are you using?
>=20
> By the way, probably you can solve the error by making:
> ln -fs /var/lib/mozilla-firefox/defaults.ini /usr/lib/mozilla-firefox
> (if /var/lib/mozilla-firefox/defaults.ini already exists, otherwise you c=
an=20
> probably simply touch /usr/lib/mozilla-firefox/defaults.ini).
>=20
> {Erik, Mike}, should I add a true command as mozilla-firefox-dom-inspecto=
r=20
> does?=20
> (Eg: update-mozilla-firefox-chrome || true ).

Yes, you should, because if mozilla-firefox gets removed before
mozilla-firefox-locale-cs-cz then it will fail.=20

--=20
Eric Dorland <email address hidden>
ICQ: #61138586, Jabber: <email address hidden>
1024D/16D970C6 097C 4861 9934 27A0 8E1C 2B0A 61E9 8ECF 16D9 70C6

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+=20
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+=20
G e h! r- y+=20
------END GEEK CODE BLOCK------

--jz7tQN4RWHemAAHb
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCEDTIYemOzxbZcMYRAmKyAJwKkRo9IFgirFlK4d4zLByxLtQZLACdG3Qb
Gj2FCe8cBOzZSwsphp63zQg=
=FDEj
-----END PGP SIGNATURE-----

--jz7tQN4RWHemAAHb--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 20 Feb 2005 17:04:56 +0100
From: Eric Bavu <email address hidden>
To: <email address hidden>
Subject: default.ini and package uninstall

Hello,

I had the problem related in bug n=B0294175 with the package=20
mozilla-firefox-locale-fr-fr and mozilla-firefox-eu.

The solution proposed to add the file defaults.ini wasn't accurate in my=20
configuration (debian mozilla-firefox 1.0+dfsg.1-6).

Furthermore, it prevented me to use firefox (uninstall/install of=20
mozilla-firefox and impossible to configure firefox after the aptitude=20
install).

The only solution I found to remove the packages was apt-get remove=20
--purge mozilla-firefox* , a bit violent, isn't it ?

If you have the solution to prevent this bug with defaults.ini ... (when=20
I create this file, and I try to uninstall the packages=20
mozilla-firefox-fr-fr and mozilla-firefox-eu , I still have the error=20
message :

Updating mozilla-firefox chrome registry...E:=20
/usr/lib/mozilla-firefox/extensions/installed-extensions.txt still=20
present. Registration might have gone wrong.
mv: ne peut =E9valuer `/usr/lib/mozilla-firefox/defaults.ini': Aucun=20
fichier ou r=E9pertoire de ce type
dpkg : erreur de traitement de mozilla-firefox-locale-eu (--remove) :
  le sous-processus post-removal script a retourn=E9 une erreur de sortie=
=20
d'=E9tat 1

And then, the file defaults.ini disappears again ...

--=20
Eric Bavu

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sun, 20 Feb 2005 19:12:37 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: Eric Bavu <email address hidden>,
 <email address hidden>
Subject: Re: Bug#294175: default.ini and package uninstall

Hi, I made a new version that is supposed to solve the problem if you remov=
ed=20
mozilla-firefox before than the mozilla-firefox-locale-xx packages, but I'm=
=20
waiting for my sponsor to upload it.

=46or the moment, the only way I could reproduce the problem was to "dpkg -=
r=20
=2D-force-depends mozilla-firefox".

Can you tell me what did you exactly do for get the problem?
(What versions did you had at the begining?
What commands did you execute?)

If you already got the problem, a quick an ugly fix is to=20
"rm /var/lib/dpkg/info/mozilla-firefox-locale-fr-fr.postrm".
(And then "aptitude remove mozilla-firefox-locale-fr-fr").

Please, note that mozilla-firefox-locale-eu is not under my maintenaince, s=
o I=20
don't know about it.

Regards,

  Cesar

El Domingo 20 Febrero 2005 18:04, Eric Bavu escribi=F3:
> Hello,
>
> I had the problem related in bug n=B0294175 with the package
> mozilla-firefox-locale-fr-fr and mozilla-firefox-eu.
>
> The solution proposed to add the file defaults.ini wasn't accurate in my
> configuration (debian mozilla-firefox 1.0+dfsg.1-6).
>
> Furthermore, it prevented me to use firefox (uninstall/install of
> mozilla-firefox and impossible to configure firefox after the aptitude
> install).
>
> The only solution I found to remove the packages was apt-get remove
> --purge mozilla-firefox* , a bit violent, isn't it ?
>
> If you have the solution to prevent this bug with defaults.ini ... (when
> I create this file, and I try to uninstall the packages
> mozilla-firefox-fr-fr and mozilla-firefox-eu , I still have the error
> message :
>
> Updating mozilla-firefox chrome registry...E:
> /usr/lib/mozilla-firefox/extensions/installed-extensions.txt still
> present. Registration might have gone wrong.
> mv: ne peut =E9valuer `/usr/lib/mozilla-firefox/defaults.ini': Aucun
> fichier ou r=E9pertoire de ce type
> dpkg : erreur de traitement de mozilla-firefox-locale-eu (--remove) :
> le sous-processus post-removal script a retourn=E9 une erreur de sortie
> d'=E9tat 1
>
> And then, the file defaults.ini disappears again ...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 20 Feb 2005 19:12:19 +0100
From: Eric Bavu <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#294175: default.ini and package uninstall

Cesar Martinez Izquierdo wrote :

> Can you tell me what did you exactly do for get the problem?
> (What versions did you had at the begining?
> What commands did you execute?)

aptitude install mozilla-firefox-locale-fr-fr
aptitude install mozilla-firefox-locale-fr
aptitude remove mozilla-firefox
aptitude remove mozilla-firefox-locale-fr-fr

And here is the problem. Can't remove mozilla-firefox-fr-fr, and can't
reinstall mozilla-firefox properly (can't configure it neither launch it).

Now it's fixed, but it took me several hours to get rid of this package
because of the problem with the defaults.ini file (even if I put this
file in the right place, when I tried to uninstall the package
mozilla-firefox-locale-fr-fr it disappeared ...).

> Please, note that mozilla-firefox-locale-eu is not under my maintenaince, so I
> don't know about it.

It just had the same comportment as mozilla-firefox-locale-fr-fr .

By the way, thanks a lot for your answer.

--
Eric, happy to use again firefox (I feares I might be obliged to use
another browser ...)

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sun, 20 Feb 2005 20:57:33 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: Eric Bavu <email address hidden>,
 <email address hidden>
Subject: Re: Bug#294175: default.ini and package uninstall

El Domingo 20 Febrero 2005 20:12, Eric Bavu escribi=F3:
> aptitude install mozilla-firefox-locale-fr-fr
> aptitude install mozilla-firefox-locale-fr
> aptitude remove mozilla-firefox
> aptitude remove mozilla-firefox-locale-fr-fr

mozilla-firefox-locale-fr is not in the archive, I asume it is a mistake.
I guess you mean then:
 aptitude install mozilla-firefox-locale-fr-fr
 aptitude remove mozilla-firefox
 aptitude remove mozilla-firefox-locale-fr-fr

But I can't reproduce the problem in this way, because
aptitude remove mozilla-firefox
also removes mozilla-firefox-locale-fr-fr (because=20
mozilla-firefox-locale-fr-fr depends on mozilla-firefox), so the problem=20
doesn't arise in my computer. I don't know how can you get that situation.

Maybe it can help me to know exactly which versions did you have at the=20
begining.

Regards,

  Cesar

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 22 Feb 2005 23:15:53 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: <email address hidden>
Subject: Fwd: Re: Bug#294175: default.ini and package uninstall

=2D--------- Mensaje reenviado ----------

Subject: Re: Bug#294175: default.ini and package uninstall
Date: Domingo 20 Febrero 2005 21:27
=46rom: Eric Bavu <email address hidden>
To: <email address hidden>

Cesar Martinez Izquierdo a =E9crit :
> mozilla-firefox-locale-fr is not in the archive, I asume it is a mistake.

It's not a mistake. I have this package in my sources :

coxx:/home/neric# aptitude search mozilla-firefox-locale-fr
c mozilla-firefox-locale-fr - Mozilla Firefox
Language/Region Package
id mozilla-firefox-locale-fr-fr - Mozilla Firefox
=46rench language/region package

> Maybe it can help me to know exactly which versions did you have at the
> begining.

The problems maybe comes from the fact I removed my folder
~/.mozilla/firefox/profile an /etc/.mozilla-firefox before I tried to
uninstall / reinstall firefox and the other packages (because I made a
mistake with my profiles in trying exporting these ones from my windows
partition).

Here are the versions I had (the same as today) :

mozilla-firefox : 1.0+dfsg.1-6
mozilla-firefox-locale-fr-fr : 1.0lang20041216-2

Best regards.

=2D-
Eric

=2D------------------------------------------------------

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 23 Feb 2005 03:13:47 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: Eric Bavu <email address hidden>,
 <email address hidden>
Subject: Re: Bug#294175: default.ini and package uninstall

El Domingo 20 Febrero 2005 21:27 escribiste:
> Cesar Martinez Izquierdo a =E9crit :
> > mozilla-firefox-locale-fr is not in the archive, I asume it is a mistak=
e.
>
> It's not a mistake. I have this package in my sources :
>
> coxx:/home/neric# aptitude search mozilla-firefox-locale-fr
> c mozilla-firefox-locale-fr - Mozilla Firefox
> Language/Region Package
> id mozilla-firefox-locale-fr-fr - Mozilla Firefox
> French language/region package

Hi again!
mozilla-firefox-locale-fr was in the archive, but it's not anymore.=20
Anyway, mozilla-firefox-locale-fr-fr conflicts with mozilla-firefox-locale-=
fr,=20
so I don't know how did you got both of them installed at the same time.
=46or me it works correctly, if I install one of them, the other gets corre=
ctly=20
removed.

> The problems maybe comes from the fact I removed my folder
> ~/.mozilla/firefox/profile an /etc/.mozilla-firefox before I tried to
> uninstall / reinstall firefox and the other packages (because I made a
> mistake with my profiles in trying exporting these ones from my windows
> partition).

OK, I tried deleting /etc/mozilla-firefox and I got the same error.
It seems the source of the problem.

Regards,

  C=E9sar

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 23 Feb 2005 03:19:37 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: Tomas Oberhuber <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#294175: unable to remove package

Hi Tomas, two questions.

Did you delete /etc/mozilla-firefox/profile before getting the error?
It's the only way I can reproduce your error.

I also found a really similar bug in mozilla-firefox (#286038,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286038 ).
Are you using hppa architecture?

Thanks a lot,

  Cesar

El Lunes 14 Febrero 2005 10:30 escribiste:
> Hi Cesar,
>
> thank you for your e-mail. Fortunately I was able to solve the problem.
> I just removed update-mozilla-firefox-chrome from postinst script. So I
> was able to remove the package. However, I was still unable to install
> common mozilla-firefox. I had to do
>
> rm -rf /usr/lib/mozilla-firefox
>
> and then install mozilla-firefox. Everything seems to be ok now. Your
> suggestion with adding 'true' seems to correspond with what I did.
>
> Have a nice day, Tomas.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sun, 27 Feb 2005 12:30:03 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: <email address hidden>
Subject: Fwd: Re: Bug#294175: unable to remove package

---------- Mensaje reenviado ----------

Subject: Re: Bug#294175: unable to remove package
Date: Viernes 25 Febrero 2005 10:31
From: Tomas Oberhuber <email address hidden>
To: Cesar Martinez Izquierdo <email address hidden>

Hi Cesar,

I am quite sure that I did not delete the profile in /etc. It was not on
hppa.
It always tried to remove a file defaults.ini in /usr/lib/mozilla-firefox.
So I created the file but the script returned the same message. I opened
new terminal and while the script was running a repeated 'touch
defaults.ini' in /usr/lib/mozilla-firefox. Then it was happy with
defaults.ini but it wanted another file (I do not remeber the name). It
seemed to me like the update-mozilla-firefox-chrome script was started
twice but I am not sure about it. The bug in mozilla firefox bug report
seems to be exactly the same. It also said
'E: /usr/lib/mozilla-firefox/extensions/installed-extensions.txt still
present. Registration might have gone wrong.'

Have a nice day, Tomas.

Cesar Martinez Izquierdo wrote:
>Hi Tomas, two questions.
>
>Did you delete /etc/mozilla-firefox/profile before getting the error?
>It's the only way I can reproduce your error.
>
>I also found a really similar bug in mozilla-firefox (#286038,
>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286038 ).
>Are you using hppa architecture?
>
>Thanks a lot,
>
> Cesar
>

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sun, 27 Feb 2005 12:41:21 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: <email address hidden>
Subject: 294175: unable to remove package

severity 294175 serious
thank

I increase the severity of the bug, as it renders the package uninstallable=
=20
for some people.

 C=E9sar

Revision history for this message
In , Cesar Martinez Izquierdo (listas-ono) wrote : Waiting upload

Here:
http://users.evtek.fi/~k0400388/debian/mozilla-firefox-locale-all/1.0lang20041216/

there is updated packages that solve this bug. Please, feel free to upload
them if you are a Debian developer.

Regards,

  Cesar

Revision history for this message
In , Cesar Martinez Izquierdo (listas-ono) wrote :

tags 294175 patch
thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Mon, 28 Feb 2005 01:23:45 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: <email address hidden>
Subject: Waiting upload

--nextPart3742686.QeDx0uGrYv
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Here:=20
http://users.evtek.fi/~k0400388/debian/mozilla-firefox-locale-all/1.0lang20=
041216/

there is updated packages that solve this bug. Please, feel free to upload=
=20
them if you are a Debian developer.

Regards,

  Cesar

--nextPart3742686.QeDx0uGrYv
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCIlaFBtldGnSByvERAkOxAJwOYKpl4BrHyGPnWzJMLgqn0/tU4QCfRxE1
byUsv5yeJInfnOSrl14Bgkk=
=CEvl
-----END PGP SIGNATURE-----

--nextPart3742686.QeDx0uGrYv--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Mon, 28 Feb 2005 01:24:44 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: <email address hidden>

tags 294175 patch
thanks

Revision history for this message
In , Steve Langasek (vorlon) wrote :

Hi Cesar,

> Here:
> http://users.evtek.fi/~k0400388/debian/mozilla-firefox-locale-all/1.0lang20041216/

> there is updated packages that solve this bug. Please, feel free to upload
> them if you are a Debian developer.

$ wget http://users.evtek.fi/~k0400388/debian/mozilla-firefox-locale-all/1.0lang20041216/mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz
--22:45:21--
http://users.evtek.fi/%7Ek0400388/debian/mozilla-firefox-locale-all/1.0lang20041216/mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz
           => `mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz'
Resolving users.evtek.fi... 195.148.144.3
Connecting to users.evtek.fi[195.148.144.3]:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
22:45:22 ERROR 403: Forbidden.
$

Thanks,
--
Steve Langasek
postmodern programmer

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 27 Feb 2005 22:46:05 -0800
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re: unable to remove package

--ftEhullJWpWg/VHq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Cesar,

> Here:=20
> http://users.evtek.fi/~k0400388/debian/mozilla-firefox-locale-all/1.0lang=
20041216/

> there is updated packages that solve this bug. Please, feel free to uploa=
d=20
> them if you are a Debian developer.

$ wget http://users.evtek.fi/~k0400388/debian/mozilla-firefox-locale-all/1.=
0lang20041216/mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz
--22:45:21--
http://users.evtek.fi/%7Ek0400388/debian/mozilla-firefox-locale-all/1.0lang=
20041216/mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz
           =3D> `mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz'
Resolving users.evtek.fi... 195.148.144.3
Connecting to users.evtek.fi[195.148.144.3]:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
22:45:22 ERROR 403: Forbidden.
$

Thanks,
--=20
Steve Langasek
postmodern programmer

--ftEhullJWpWg/VHq
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCIr4pKN6ufymYLloRAoSnAJ98x++/Th7gwENzyuGLNstoMDyrKgCfQB7G
5s8RyUkQsCU0yst+2yh5+Bc=
=NOHr
-----END PGP SIGNATURE-----

--ftEhullJWpWg/VHq--

Revision history for this message
In , Cesar Martinez Izquierdo (listas-ono) wrote : Re: Bug#294175: unable to remove package

El Lunes 28 Febrero 2005 08:46, Steve Langasek escribió:
> $ wget
> http://users.evtek.fi/~k0400388/debian/mozilla-firefox-locale-all/1.0lang20
>041216/mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz --22:45:21--
> http://users.evtek.fi/%7Ek0400388/debian/mozilla-firefox-locale-all/1.0lang
>20041216/mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz =>
> `mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz' Resolving
> users.evtek.fi... 195.148.144.3
> Connecting to users.evtek.fi[195.148.144.3]:80... connected.
> HTTP request sent, awaiting response... 403 Forbidden
> 22:45:22 ERROR 403: Forbidden.
> $
>
> Thanks,

OK, corrected. Sorry for the inconveniences.

 Cesar

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Mon, 28 Feb 2005 10:55:43 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: Steve Langasek <email address hidden>,
 <email address hidden>
Subject: Re: Bug#294175: unable to remove package

El Lunes 28 Febrero 2005 08:46, Steve Langasek escribi=F3:
> $ wget
> http://users.evtek.fi/~k0400388/debian/mozilla-firefox-locale-all/1.0lang=
20
>041216/mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz --22:45:21--
> http://users.evtek.fi/%7Ek0400388/debian/mozilla-firefox-locale-all/1.0la=
ng
>20041216/mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz =3D>
> `mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz' Resolving
> users.evtek.fi... 195.148.144.3
> Connecting to users.evtek.fi[195.148.144.3]:80... connected.
> HTTP request sent, awaiting response... 403 Forbidden
> 22:45:22 ERROR 403: Forbidden.
> $
>
> Thanks,

OK, corrected. Sorry for the inconveniences.

 Cesar

Revision history for this message
In , Steve Langasek (vorlon) wrote :

On Mon, Feb 28, 2005 at 10:55:43AM +0200, Cesar Martinez Izquierdo wrote:
> El Lunes 28 Febrero 2005 08:46, Steve Langasek escribió:
> > $ wget
> > http://users.evtek.fi/~k0400388/debian/mozilla-firefox-locale-all/1.0lang20
> >041216/mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz --22:45:21--
> > http://users.evtek.fi/%7Ek0400388/debian/mozilla-firefox-locale-all/1.0lang
> >20041216/mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz =>
> > `mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz' Resolving
> > users.evtek.fi... 195.148.144.3
> > Connecting to users.evtek.fi[195.148.144.3]:80... connected.
> > HTTP request sent, awaiting response... 403 Forbidden
> > 22:45:22 ERROR 403: Forbidden.
> > $

> OK, corrected. Sorry for the inconveniences.

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.

--
Steve Langasek
postmodern programmer

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 1 Mar 2005 11:13:27 -0800
From: Steve Langasek <email address hidden>
To: Cesar Martinez Izquierdo <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#294175: unable to remove package

--gr/z0/N6AeWAPJVB
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 28, 2005 at 10:55:43AM +0200, Cesar Martinez Izquierdo wrote:
> El Lunes 28 Febrero 2005 08:46, Steve Langasek escribi=F3:
> > $ wget
> > http://users.evtek.fi/~k0400388/debian/mozilla-firefox-locale-all/1.0la=
ng20
> >041216/mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz --22:45:21--
> > http://users.evtek.fi/%7Ek0400388/debian/mozilla-firefox-locale-all/1.0=
lang
> >20041216/mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz =3D>
> > `mozilla-firefox-locale-all_1.0lang20041216-3.diff.gz' Resolving
> > users.evtek.fi... 195.148.144.3
> > Connecting to users.evtek.fi[195.148.144.3]:80... connected.
> > HTTP request sent, awaiting response... 403 Forbidden
> > 22:45:22 ERROR 403: Forbidden.
> > $

> OK, corrected. Sorry for the inconveniences.

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.

--=20
Steve Langasek
postmodern programmer

--gr/z0/N6AeWAPJVB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCJL7UKN6ufymYLloRAtJSAJ9jiRVk349DviG4JhEN15XXT9kY7gCdEIpp
ySylYrdmwMUm+sf/0uAOi6s=
=9r8J
-----END PGP SIGNATURE-----

--gr/z0/N6AeWAPJVB--

Revision history for this message
In , Cesar Martinez Izquierdo (listas-ono) wrote :

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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 1 Mar 2005 23:48:45 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: Steve Langasek <email address hidden>,
 <email address hidden>
Subject: Re: Bug#294175: unable to remove package

El Martes 01 Marzo 2005 21:13, Steve Langasek escribi=F3:
> 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 confide=
nt
> 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-chro=
me
> does *not* leave the system in a broken state.c

I ignore the output of update-mozilla-firefox-chrome because Eric Dorlan=20
(firefox maintainer and update-mozilla-firefox-chrome creator) told me to d=
o=20
so.

Anyway I also don't really understand why the bug happens, and I'm also not=
=20
totally satisfied with this solution, but I can't find a better solution. I=
=20
tried to reproduce it but it was always working well for me (if using=20
standard installation methods).

There was two reporters. The last one told that he deleted=20
the /etc/mozilla-firefox/profile directory. I tried to do so and then I got=
=20
the bug. I'm not sure if this is a bug in the package or it rather is user'=
s=20
fault, who deleted a required directory.
The first reporter didn't deleted any dir, but he seems to don't have the=20
problem any more, so I can't get any new clue.

In any case, the failing script was update-mozilla-firefox-chrome, which is=
=20
part of mozilla-firefox package, not mozilla-firefox-locale-all.
The script doesn't take any argument, and my package is not doing anything=
=20
wrong. Moreover, none of the files mentioned in the report=20
(/etc/mozilla-firefox/profile and /usr/lib/mozilla-firefox/default.ini) are=
=20
part of mozilla-firefox-locale-all, but of mozilla-firefox.

Thus I only see two possible actions to adopt:
=2D we accept as valid that update-mozilla-firefox-chrome fails or
=2D I reassing the bug to mozilla-firefox package, which contains the faili=
ng=20
script.

Accept the first option is not as bad as it may seem, because both=20
mozilla-firefox and mozilla-firefox-locale-all get correctly uninstalled in=
=20
this way, despite the fact that update-mozilla-firefox-chrome script is=20
failing.

Thanks for your time, regards,

  C=E9sar

Revision history for this message
In , Steve Langasek (vorlon) wrote :

On Tue, Mar 01, 2005 at 11:48:45PM +0200, Cesar Martinez Izquierdo wrote:
> 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.

This is only true if the user is actually removing mozilla-firefox. What
state are things left in if the user is only trying to remove a single
locale package and this breakage happens?

> 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.

I think we're better off trying to find the source of the breakage in
mozilla-firefox first, instead of sweeping it under the rug with '|| true'.

--
Steve Langasek
postmodern programmer

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 1 Mar 2005 18:26:00 -0800
From: Steve Langasek <email address hidden>
To: Cesar Martinez Izquierdo <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: Re: Bug#294175: unable to remove package

--9dgjiU4MmWPVapMU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 01, 2005 at 11:48:45PM +0200, Cesar Martinez Izquierdo wrote:
> Accept the first option is not as bad as it may seem, because both=20
> mozilla-firefox and mozilla-firefox-locale-all get correctly uninstalled =
in=20
> this way, despite the fact that update-mozilla-firefox-chrome script is=
=20
> failing.

This is only true if the user is actually removing mozilla-firefox. What
state are things left in if the user is only trying to remove a single
locale package and this breakage happens?

> 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 faili=
ng=20
> script.

I think we're better off trying to find the source of the breakage in
mozilla-firefox first, instead of sweeping it under the rug with '|| true'.

--=20
Steve Langasek
postmodern programmer

--9dgjiU4MmWPVapMU
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCJSQ0KN6ufymYLloRAuGWAJwIFkIfZq6b9tGMtvpuGl+2fe+jEQCg0lvu
XS7bBHPs/MddRTjlYXDAbNU=
=rpUf
-----END PGP SIGNATURE-----

--9dgjiU4MmWPVapMU--

Revision history for this message
In , Cesar Martinez Izquierdo (listas-ono) wrote : retitle: update-mozilla-firefox-chrome fails in some circunstances

retitle 294175 update-mozilla-firefox-chrome fails in some circunstances
thank

Revision history for this message
In , Cesar Martinez Izquierdo (listas-ono) wrote : Some research about the bug

Hi, I reassing this bug to mozilla-firefox because
update-mozilla-firefox-chrome is the failing script.

I've tried to reproduce the bug, but I didn't get it with "standard" methods
(installing and removing packages).

There are two reporters of the bug. The second one got the bug because he
removed /etc/mozilla-firefox/profile. I can reproduce the problem in this
way, but I'm unsure if this is a bug or it's the user's fault because he
deleted some necessary files.
The first reporter didn't do anything special to get the problem, but he
doesn't have it anymore so I can't get any new clue.

I deleted my /etc/mozilla-firefox/profile to reproduce the error and try to
find the exact point where update-mozilla-firefox-chrome was failing.

I replaced the line:
# gen
firefox-bin -register >/dev/null 2>&1 || echo "E: Registration process existed
with status: $?" >&2

with the following line:
# gen
firefox-bin -register 2>&1 && echo "E: Registration process existed with
status: $?" >&2

Then I got the following messages:

"Updating mozilla-firefox chrome registry...Extension System Warning: Failed
to set up default extensions files probably because you do not have write
privileges to this location. While you can run Firefox like this, it is
recommended that you run it at least once with privileges that allow it to
generate these initial files to improve start performance. Running froma disk
image on MacOS X is not recommended.Extension System Warning: Failed to set
up default extensions files probably because you do not have write privileges
to this location. While you can run Firefox like this, it is recommended that
you run it at least once with privileges that allow it to generate these
initial files to improve start performance. Running froma disk image on MacOS
X is not recommended.E: Registration process existed with status: 0
E: /usr/lib/mozilla-firefox/extensions/installed-extensions.txt still present.
Registration might have gone wrong.
mv: cannot stat `/usr/lib/mozilla-firefox/defaults.ini': No such file or
directory"

It seems that firefox-bin -register fails, but then returns status 0!!
As far as I understand, the normal process inside
update-mozilla-firefox-chrome is:
1) rm -f ${LIBDIR}/defaults.ini
2) then firefox-bin -register creates a new defaults.ini
3) mv ${LIBDIR}/defaults.ini ${VARDIR}/
ln -fs ${VARDIR}/defaults.ini ${LIBDIR}/

As firefox-bin -register is failing, default.ini isn't created, and then mv
${LIBDIR}/defaults.ini ${VARDIR}/ is failing.

I hope my explaination was useful (or maybe was I explaining obvious things
for you?).

Regards,

  César

Revision history for this message
In , Cesar Martinez Izquierdo (listas-ono) wrote : #294175:reassing to mozilla-firefox

reassign 294175 mozilla-firefox

Revision history for this message
In , Cesar Martinez Izquierdo (listas-ono) wrote :

tags 294175 -patch

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 2 Mar 2005 11:51:30 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: <email address hidden>
Subject: Some research about the bug

Hi, I reassing this bug to mozilla-firefox because =20
update-mozilla-firefox-chrome is the failing script.

I've tried to reproduce the bug, but I didn't get it with "standard" method=
s=20
(installing and removing packages).

There are two reporters of the bug. The second one got the bug because he=20
removed /etc/mozilla-firefox/profile. I can reproduce the problem in this=20
way, but I'm unsure if this is a bug or it's the user's fault because he=20
deleted some necessary files.
The first reporter didn't do anything special to get the problem, but he=20
doesn't have it anymore so I can't get any new clue.

I deleted my /etc/mozilla-firefox/profile to reproduce the error and try to=
=20
find the exact point where update-mozilla-firefox-chrome was failing.

I replaced the line:
# gen
firefox-bin -register >/dev/null 2>&1 || echo "E: Registration process exis=
ted=20
with status: $?" >&2

with the following line:
# gen
firefox-bin -register 2>&1 && echo "E: Registration process existed with=20
status: $?" >&2

Then I got the following messages:

"Updating mozilla-firefox chrome registry...Extension System Warning: Faile=
d=20
to set up default extensions files probably because you do not have write=20
privileges to this location. While you can run Firefox like this, it is=20
recommended that you run it at least once with privileges that allow it to=
=20
generate these initial files to improve start performance. Running froma di=
sk=20
image on MacOS X is not recommended.Extension System Warning: Failed to set=
=20
up default extensions files probably because you do not have write privileg=
es=20
to this location. While you can run Firefox like this, it is recommended th=
at=20
you run it at least once with privileges that allow it to generate these=20
initial files to improve start performance. Running froma disk image on Mac=
OS=20
X is not recommended.E: Registration process existed with status: 0
E: /usr/lib/mozilla-firefox/extensions/installed-extensions.txt still prese=
nt.=20
Registration might have gone wrong.
mv: cannot stat `/usr/lib/mozilla-firefox/defaults.ini': No such file or=20
directory"

It seems that firefox-bin -register fails, but then returns status 0!!
As far as I understand, the normal process inside=20
update-mozilla-firefox-chrome is:
1) rm -f ${LIBDIR}/defaults.ini
2) then firefox-bin -register creates a new defaults.ini
3) mv ${LIBDIR}/defaults.ini ${VARDIR}/
ln -fs ${VARDIR}/defaults.ini ${LIBDIR}/

As firefox-bin -register is failing, default.ini isn't created, and then mv=
=20
${LIBDIR}/defaults.ini ${VARDIR}/ is failing.

I hope my explaination was useful (or maybe was I explaining obvious things=
=20
for you?).

Regards,

  C=E9sar

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 2 Mar 2005 11:48:07 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: <email address hidden>
Subject: retitle: update-mozilla-firefox-chrome fails in some circunstances

retitle 294175 update-mozilla-firefox-chrome fails in some circunstances
thank

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 2 Mar 2005 12:07:34 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: <email address hidden>
Subject: #294175:reassing to mozilla-firefox

reassign 294175 mozilla-firefox

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 2 Mar 2005 12:11:46 +0200
From: Cesar Martinez Izquierdo <email address hidden>
To: <email address hidden>

tags 294175 -patch

Revision history for this message
In , Eric Dorland (eric-debian) wrote : Bug#294175: fixed in mozilla-firefox 1.0.1-2
Download full text (3.8 KiB)

Source: mozilla-firefox
Source-Version: 1.0.1-2

We believe that the bug you reported is fixed in the latest version of
mozilla-firefox, which is due to be installed in the Debian FTP archive:

mozilla-firefox-dom-inspector_1.0.1-2_i386.deb
  to pool/main/m/mozilla-firefox/mozilla-firefox-dom-inspector_1.0.1-2_i386.deb
mozilla-firefox-gnome-support_1.0.1-2_i386.deb
  to pool/main/m/mozilla-firefox/mozilla-firefox-gnome-support_1.0.1-2_i386.deb
mozilla-firefox_1.0.1-2.diff.gz
  to pool/main/m/mozilla-firefox/mozilla-firefox_1.0.1-2.diff.gz
mozilla-firefox_1.0.1-2.dsc
  to pool/main/m/mozilla-firefox/mozilla-firefox_1.0.1-2.dsc
mozilla-firefox_1.0.1-2_i386.deb
  to pool/main/m/mozilla-firefox/mozilla-firefox_1.0.1-2_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Eric Dorland <email address hidden> (supplier of updated mozilla-firefox package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 5 Mar 2005 18:46:09 -0500
Source: mozilla-firefox
Binary: mozilla-firefox mozilla-firefox-gnome-support mozilla-firefox-dom-inspector
Architecture: source i386
Version: 1.0.1-2
Distribution: unstable
Urgency: high
Maintainer: Eric Dorland <email address hidden>
Changed-By: Eric Dorland <email address hidden>
Description:
 mozilla-firefox - lightweight web browser based on Mozilla
 mozilla-firefox-dom-inspector - tool for inspecting the DOM of pages in Mozilla Firefox
 mozilla-firefox-gnome-support - Support for Gnome in Mozilla Firefox
Closes: 280586 282592 294175 296749 297088
Changes:
 mozilla-firefox (1.0.1-2) unstable; urgency=high
 .
   * Changes by Mike Hommey:
   * Urgency: high due to RC bug fix.
   * debian/update-mozilla-firefox-chrome: Re-initialize Extensions.rdf
     inside the script instead of relying on mozilla-firefox's default
     behaviour, which just fails when defaults/profile/extensions/ \
     Extensions.rdf doesn't exist (and it seems some people like to remove
     files in /etc). (Closes: #294175)
 .
   * Changes by Eric Dorland:
   * debian/mozilla-firefox.menu: Capitalize "browsers". Thanks Gerfried
     Fuchs.
   * debian/mozilla-firefox-runner: Fix from Marc Horowitz to fix sound
     device detection. (Closes: #297088)
   * toolkit/content/widgets/tabbrowser.xml: Apply patch from bz#283063, to
     fix a memory leak when closing tabs. (Closes: #296749)
   * xpfe/global/resources/content/bindings/browser.xml,
     xpfe/global/resources/content/bindings/tabbrowser.xml,
     toolkit/content/widgets/browser.xml,
     toolkit/content/widgets/tabbrowser.xml: Apply patches from bz#131456
     to fix various tab related memory leaks. (Closes: #280586)
   * netwerk/protocol/http/src/nsHttpHandler.cpp: Patch from bz#265536 to
     differentiate between AMD64 and...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (4.0 KiB)

Message-Id: <email address hidden>
Date: Sat, 05 Mar 2005 23:32:35 -0500
From: Eric Dorland <email address hidden>
To: <email address hidden>
Subject: Bug#294175: fixed in mozilla-firefox 1.0.1-2

Source: mozilla-firefox
Source-Version: 1.0.1-2

We believe that the bug you reported is fixed in the latest version of
mozilla-firefox, which is due to be installed in the Debian FTP archive:

mozilla-firefox-dom-inspector_1.0.1-2_i386.deb
  to pool/main/m/mozilla-firefox/mozilla-firefox-dom-inspector_1.0.1-2_i386.deb
mozilla-firefox-gnome-support_1.0.1-2_i386.deb
  to pool/main/m/mozilla-firefox/mozilla-firefox-gnome-support_1.0.1-2_i386.deb
mozilla-firefox_1.0.1-2.diff.gz
  to pool/main/m/mozilla-firefox/mozilla-firefox_1.0.1-2.diff.gz
mozilla-firefox_1.0.1-2.dsc
  to pool/main/m/mozilla-firefox/mozilla-firefox_1.0.1-2.dsc
mozilla-firefox_1.0.1-2_i386.deb
  to pool/main/m/mozilla-firefox/mozilla-firefox_1.0.1-2_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Eric Dorland <email address hidden> (supplier of updated mozilla-firefox package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 5 Mar 2005 18:46:09 -0500
Source: mozilla-firefox
Binary: mozilla-firefox mozilla-firefox-gnome-support mozilla-firefox-dom-inspector
Architecture: source i386
Version: 1.0.1-2
Distribution: unstable
Urgency: high
Maintainer: Eric Dorland <email address hidden>
Changed-By: Eric Dorland <email address hidden>
Description:
 mozilla-firefox - lightweight web browser based on Mozilla
 mozilla-firefox-dom-inspector - tool for inspecting the DOM of pages in Mozilla Firefox
 mozilla-firefox-gnome-support - Support for Gnome in Mozilla Firefox
Closes: 280586 282592 294175 296749 297088
Changes:
 mozilla-firefox (1.0.1-2) unstable; urgency=high
 .
   * Changes by Mike Hommey:
   * Urgency: high due to RC bug fix.
   * debian/update-mozilla-firefox-chrome: Re-initialize Extensions.rdf
     inside the script instead of relying on mozilla-firefox's default
     behaviour, which just fails when defaults/profile/extensions/ \
     Extensions.rdf doesn't exist (and it seems some people like to remove
     files in /etc). (Closes: #294175)
 .
   * Changes by Eric Dorland:
   * debian/mozilla-firefox.menu: Capitalize "browsers". Thanks Gerfried
     Fuchs.
   * debian/mozilla-firefox-runner: Fix from Marc Horowitz to fix sound
     device detection. (Closes: #297088)
   * toolkit/content/widgets/tabbrowser.xml: Apply patch from bz#283063, to
     fix a memory leak when closing tabs. (Closes: #296749)
   * xpfe/global/resources/content/bindings/browser.xml,
     xpfe/global/resources/content/bindings/tabbrowser.xml,
     toolkit/content/widgets/browser.xml,
     toolkit/content/widgets/tabbr...

Read more...

Revision history for this message
Martin Pitt (pitti) wrote :

This works fine in Hoary.

Changed in mozilla-firefox-locale-all:
status: Unknown → Fix Released
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.