Bug#322210: [m68k] ocaml-nox: can not be removed
On Fri, Aug 19, 2005 at 09:49:43AM +0200, Stefano Zacchiroli wrote: On Thu, Aug 18, 2005 at 09:53:00PM +0200, Christian T. Steigies wrote: Well, this is not related to ocaml-md5sums any longer, but to emacs. That is true, but your prerm script uses emacs, so your package has to (pre)depend on emacs or something. I pointed out that the bug is not related to ocaml-md5sums just because the bug was originally related to that. Now, as you've problably seen, I've reopened the bug and merged it with the emacs related bug. That said your bug is proper, serious, and need to be fixed. Still, I know almost nothing about emacs and I thus asked for help on debian-ocaml-maint to people with more emacs policy knowledge. Or are you actually part of the conspiracy trying to demote m68k to second class citizens? ;-) Worst than that: our conspiracy is to have all architectures which do not support ocaml native code compilation demoted to SCC :-))) Notice that some guy was hacking the m68k code generation stuff to work again :) That would leave only s390 i think. Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#322210: [m68k] ocaml-nox: can not be removed
On Thu, Aug 18, 2005 at 09:53:00PM +0200, Christian T. Steigies wrote: Well, this is not related to ocaml-md5sums any longer, but to emacs. That is true, but your prerm script uses emacs, so your package has to (pre)depend on emacs or something. I pointed out that the bug is not related to ocaml-md5sums just because the bug was originally related to that. Now, as you've problably seen, I've reopened the bug and merged it with the emacs related bug. That said your bug is proper, serious, and need to be fixed. Still, I know almost nothing about emacs and I thus asked for help on debian-ocaml-maint to people with more emacs policy knowledge. Or are you actually part of the conspiracy trying to demote m68k to second class citizens? ;-) Worst than that: our conspiracy is to have all architectures which do not support ocaml native code compilation demoted to SCC :-))) -- Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy [EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/ If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. -!- signature.asc Description: Digital signature
Bug#322210: [m68k] ocaml-nox: can not be removed
On Fri, Aug 12, 2005 at 09:44:13PM +0200, Sven Luther wrote: If the directory is missing qnd qnother pqckqges does the above, stuff will be copied as md5sum which will not be a directory. This will only happen when a package ith bad dependency is installed and installs a md5sum file though. I tried to clean my buildd and now its broke worse than ever: Preparing to replace ocaml-nox 3.08.3-6 (using .../ocaml-nox_3.08.3-7_m68k.deb) ... ERROR: emacsen-common being used before being configured. ERROR: This is likely a bug in the ocaml-nox package, which needs to ERROR: add one of the appropriate dependencies. ERROR: See /usr/share/doc/emacsen-common/debian-emacs-policy.gz ERROR: for details. dpkg: warning - old pre-removal script returned error exit status 2 dpkg - trying script from the new package instead ... ERROR: emacsen-common being used before being configured. ERROR: This is likely a bug in the ocaml-nox package, which needs to ERROR: add one of the appropriate dependencies. ERROR: See /usr/share/doc/emacsen-common/debian-emacs-policy.gz ERROR: for details. dpkg: error processing /var/cache/apt/archives/ocaml-nox_3.08.3-7_m68k.deb (--unpack): subprocess new pre-removal script returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/ocaml-nox_3.08.3-7_m68k.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Christian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#322210: [m68k] ocaml-nox: can not be removed
On Thu, Aug 18, 2005 at 07:56:28AM +0200, Christian T. Steigies wrote: I tried to clean my buildd and now its broke worse than ever: Preparing to replace ocaml-nox 3.08.3-6 (using .../ocaml-nox_3.08.3-7_m68k.deb) ... ERROR: emacsen-common being used before being configured. Well, this is not related to ocaml-md5sums any longer, but to emacs. Julien, or someone else with emacs knowledge, could you please look at this issue? -- Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy [EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/ If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. -!- signature.asc Description: Digital signature
Bug#322210: [m68k] ocaml-nox: can not be removed
On Thu, Aug 18, 2005 at 09:48:10AM +0200, Stefano Zacchiroli wrote: On Thu, Aug 18, 2005 at 07:56:28AM +0200, Christian T. Steigies wrote: I tried to clean my buildd and now its broke worse than ever: Preparing to replace ocaml-nox 3.08.3-6 (using .../ocaml-nox_3.08.3-7_m68k.deb) ... ERROR: emacsen-common being used before being configured. Well, this is not related to ocaml-md5sums any longer, but to emacs. Julien, or someone else with emacs knowledge, could you please look at this issue? Let's just ripe the emacsen stuff in its one package and be done with this. It would be a ocaml-emacs binary package coming from the main ocaml source package, that would be the easiest way. Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#322210: [m68k] ocaml-nox: can not be removed
On Thu, Aug 18, 2005 at 09:48:10AM +0200, Stefano Zacchiroli wrote: On Thu, Aug 18, 2005 at 07:56:28AM +0200, Christian T. Steigies wrote: I tried to clean my buildd and now its broke worse than ever: Preparing to replace ocaml-nox 3.08.3-6 (using .../ocaml-nox_3.08.3-7_m68k.deb) ... ERROR: emacsen-common being used before being configured. Well, this is not related to ocaml-md5sums any longer, but to emacs. That is true, but your prerm script uses emacs, so your package has to (pre)depend on emacs or something. # Automatically added by dh_installemacsen if [ -x /usr/lib/emacsen-common/emacs-package-remove ] ; then /usr/lib/emacsen-common/emacs-package-remove ocaml-nox fi Last night, when I cleaned up the buildd again, I thought I had all of ocaml removed, only to notice this morning, that 146 packages failed to build, because some ocaml zombies were still hiding on the system, preventing any other package from being installed. I don't care if you have a separate ocaml-emacs package, I just want to be able to remove ocaml-* without manually editing some packaging scripts. The alternative would be to leave ocaml installed, it gets pulled in anyhow everytime I build an ocaml related package. But then it would not get upgraded automatically whenever you release a new version, so packages depending on ocaml will be built against outdated packages. The third alternative (can there be more than two alternatives?) I am thinking about, is instructing my buildds never to touch anything ocaml related again, I don't like packages that break my buildd, epscially when we are fighting a backlog. Or are you actually part of the conspiracy trying to demote m68k to second class citizens? ;-) Christian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#322210: [m68k] ocaml-nox: can not be removed
On Tue, Aug 09, 2005 at 08:26:45PM +0200, Christian T. Steigies wrote: I am trying to clean up my unstable chroot, for some reason a few ocaml packages were still installed. This bug report shows two different problems: 1) ocaml-md5sums may be not available when postrm scripts are invoked 2) /var/lib/ocaml/md5sums is not a directory I fixed (1) and upload is pending. I can't understand (2). /var/lib/ocaml/md5sums/ is a directory and several ocaml related packages install stuff under that directory. I can understand if the directory is no longer there when some postrm scripts are executed (and I fixed the faulty behaviour of ocaml-md5sums in that case), but I can't understand how it comes /var/lib/ocaml/md5sums is something else than a directory. Have you toch-ed it trying to fix the postrm problem (like you did a few lines below in your report)? Thanks for the bug report. -- Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy [EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/ If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. -!- signature.asc Description: Digital signature
Processed: Re: Bug#322210: [m68k] ocaml-nox: can not be removed
Processing commands for [EMAIL PROTECTED]: tags 322210 + pending Bug#322210: [m68k] ocaml-nox: can not be removed There were no tags set. Tags added: pending thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#322210: [m68k] ocaml-nox: can not be removed
On Fri, Aug 12, 2005 at 10:37:37AM +0200, Stefano Zacchiroli wrote: On Tue, Aug 09, 2005 at 08:26:45PM +0200, Christian T. Steigies wrote: I am trying to clean up my unstable chroot, for some reason a few ocaml packages were still installed. This bug report shows two different problems: 1) ocaml-md5sums may be not available when postrm scripts are invoked Sure, you should use it in prerm, since postrm removes it, no ? 2) /var/lib/ocaml/md5sums is not a directory I fixed (1) and upload is pending. I can't understand (2). /var/lib/ocaml/md5sums/ is a directory and several ocaml related packages install stuff under that directory. I can understand if the directory is no longer there when some postrm scripts are executed (and I fixed the faulty behaviour of ocaml-md5sums in that case), but I can't understand how it comes /var/lib/ocaml/md5sums is something else than a directory. It is probably not there, but why if it was not there, and some random packages does a : cp stuff /var/lib/ocaml/md5sums expecting it to be a dir, this would end in it being a file. Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#322210: [m68k] ocaml-nox: can not be removed
On Fri, Aug 12, 2005 at 10:37:37AM +0200, Stefano Zacchiroli wrote: On Tue, Aug 09, 2005 at 08:26:45PM +0200, Christian T. Steigies wrote: I am trying to clean up my unstable chroot, for some reason a few ocaml packages were still installed. This bug report shows two different problems: 1) ocaml-md5sums may be not available when postrm scripts are invoked 2) /var/lib/ocaml/md5sums is not a directory I fixed (1) and upload is pending. Good I can't understand (2). /var/lib/ocaml/md5sums/ is a directory and several ocaml related packages install stuff under that directory. I can understand if the directory is no longer there when some postrm scripts are executed (and I fixed the faulty behaviour of ocaml-md5sums in that case), but I can't understand how it comes /var/lib/ocaml/md5sums is something else than a directory. Have you toch-ed it trying to fix the postrm problem (like you did a few lines below in your report)? Yes. I tried several things before I filed the bug, so I did not start out with a clean system. But I think you could easily reproduce the problem. Christian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#322210: [m68k] ocaml-nox: can not be removed
On Fri, Aug 12, 2005 at 11:09:10AM +0200, Sven Luther wrote: 1) ocaml-md5sums may be not available when postrm scripts are invoked Sure, you should use it in prerm, since postrm removes it, no ? No, I can't, since when prerm is invoked .md5sums entries are still in /var/lib/ocaml/md5sums/. Still this is not a problem, invoking it on postrm only if ocaml-md5sums is available is fine since as long as it is not available .md5sums entries are useless. As soon as it will get re-installed the registry will be updated again. It is probably not there, but why if it was not there, and some random packages does a : cp stuff /var/lib/ocaml/md5sums It was there since the error reported was not a directory rather than no such file or directory:. But as Christian reported he probably created that file by hand. All should be fixed now, I'm rebuilding the package right now. -- Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy [EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/ If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. -!- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#322210: [m68k] ocaml-nox: can not be removed
On Fri, Aug 12, 2005 at 11:43:42AM +0200, Stefano Zacchiroli wrote: On Fri, Aug 12, 2005 at 11:09:10AM +0200, Sven Luther wrote: 1) ocaml-md5sums may be not available when postrm scripts are invoked Sure, you should use it in prerm, since postrm removes it, no ? No, I can't, since when prerm is invoked .md5sums entries are still in /var/lib/ocaml/md5sums/. Still this is not a problem, invoking it on postrm only if ocaml-md5sums is available is fine since as long as it is not available .md5sums entries are useless. As soon as it will get re-installed the registry will be updated again. It is probably not there, but why if it was not there, and some random packages does a : cp stuff /var/lib/ocaml/md5sums It was there since the error reported was not a directory rather than no such file or directory:. But as Christian reported he probably created that file by hand. If the directory is missing qnd qnother pqckqges does the above, stuff will be copied as md5sum which will not be a directory. This will only happen when a package ith bad dependency is installed and installs a md5sum file though. Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#322210: [m68k] ocaml-nox: can not be removed
Package: ocaml-nox Version: 3.08.3-6 Severity: serious Filed as RC bug as requested by Sven Luther I am trying to clean up my unstable chroot, for some reason a few ocaml packages were still installed. Reinstalling after a failed purge attempt: Setting up ocaml-base-nox (3.08.3-6) ... Setting up ocaml-interp (3.08.3-6) ... And purge again: The following packages will be REMOVED: emacsen-common* libncurses5-dev* ocaml-base-nox* ocaml-interp* ocaml-nox* Removing ocaml-nox ... /usr/bin/ocaml-md5sums: opendir failed on /var/lib/ocaml/md5sums: Not a directory dpkg: error processing ocaml-nox (--purge): subprocess post-removal script returned error exit status 2 (unstable)[EMAIL PROTECTED]:/# touch /var/lib/ocaml/md5sums (unstable)[EMAIL PROTECTED]:/# debfoster Keep ocaml-nox? [Ynpsiuqx?], [H]elp: P Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: ocaml-nox* 0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded. Need to get 0B of archives. After unpacking 15.3MB disk space will be freed. Do you want to continue [Y/n]? (Reading database ... 9370 files and directories currently installed.) Removing ocaml-nox ... /var/lib/dpkg/info/ocaml-nox.postrm: line 6: ocaml-md5sums: command not found dpkg: error processing ocaml-nox (--purge): subprocess post-removal script returned error exit status 127 Christian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]