Bug#390108: With the actual version only uncomplete fortunes are printed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hoi Andreas, sorry for the late answer. Am Mo den 2. Okt 2006 um 18:39 schrieb Andreas Tille: ln -sf /usr/share/games/fortunes-de/${j}.dat /usr/share/games/fortunes/de/${j}.dat [...] I have to admit that I fail to see the bug in fortunes-de. If you install a local package with diversions so it is your job to care for all files and links to be diverted. If the postinst installs the symlinks in the package you probably have to do the diversion of the symlinks. True for the first but false for the second. It is impossible to divert symlinks (or other stuff) which is hardcoded in the postinst. If the symlink is in the package itself this is no problem. The package installs files and sets symlinks in the postinst. What do you think should I do differently to help you. bug. If it *is* a bug, then I will fix it but *what* is the bug. Put the symlinks into the package or test for diversions in postinst before you make the concrete symlink. have shown you that you can simply delete a single file data/zitate/paul Oh. Fine. ;-) Gruß Klaus - -- Klaus Ethgenhttp://www.ethgen.de/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen [EMAIL PROTECTED] Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRe1ygJ+OKpjRpO3lAQJzqQgAiU55wQBxHWRemAlXhG2S/mqAqwaagSII duRYqwrrYqW2Fxloef8BG/cIyczeBhLO4L/Y+mk204b1/FXVG213DiE/ZOx90n6z atdhYibkTzmJWznU+EqY8I95EHsFE/HZqbT/P9yPu4JaH0toxnJ3ZQe29Upbxbbv 0E2L51lSlkJf7iUcgh78fk9GtRKFn1CLk+tJ90V3Wh0FZn/r78QEM5G4B2ZhKe+L mqwzKFAxg5630c95Zi5TEHHAGZapFFZVnfrkIfTn6YFbMYCXw5JG+eY4QegGpr6Z 1XrNm99atHF0q2Q8Y04J0fXoxVZvpgKjJczmY/O2VSsO0Y4MhgEhSA== =GTmW -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390108: With the actual version only uncomplete fortunes are printed
On Tue, 6 Mar 2007, Klaus Ethgen wrote: sorry for the late answer. No problem. True for the first but false for the second. It is impossible to divert symlinks (or other stuff) which is hardcoded in the postinst. If the symlink is in the package itself this is no problem. Well, the symlink can not be in the package because it is decided via debconf which symlink should be set and which not. Put the symlinks into the package or test for diversions in postinst before you make the concrete symlink. Hmmm, checking for diversions in postinst??? I do not think that this is the usual way to do. have shown you that you can simply delete a single file data/zitate/paul Oh. Fine. ;-) So I think your original problem should be solved when you read this hint, right? Kind regards Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390108: With the actual version only uncomplete fortunes are printed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andreas, Am Di den 6. Mär 2007 um 15:54 schrieb Andreas Tille: Well, the symlink can not be in the package because it is decided via debconf which symlink should be set and which not. I see. Hmmm, checking for diversions in postinst??? I do not think that this is the usual way to do. Hmm. It would be a bad hack. But isn't there a other way? have shown you that you can simply delete a single file data/zitate/paul Oh. Fine. ;-) So I think your original problem should be solved when you read this hint, right? I didn't test as I HAVE a diversion. :-) There is just many Jean Paul messages inside of the zitate file. I don't want to build a new package which I have to update every time there is a update in the archive. I just know about that it IS necessary to handle the link. Gruß Klaus - -- Klaus Ethgenhttp://www.ethgen.de/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen [EMAIL PROTECTED] Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRe2F4Z+OKpjRpO3lAQJk8gf7BvPSOJOW2niMxsm9oh5PwrirtpWKwXbq NZ7EjP1+VDw/jN8xZm85HcOvmudSF2WGOuYN6G3pjloP5OxISAnBnCbEajKOfcCA 1iGd7fsJPt3lgC5qQcQg7GJsPLkrlm3H14hN5B3cJBjIoAkfLDhBNKhSIBO1GAEi Sn7xBPT/YBNzoGNzbiukbzaS8UzOtl9Iqs0VcoFLsQRSF64atKB7EzCzqD5i5I17 Iyy+B7WclZHgzRfxXX8Zmtk8kDBluewZzi+u4TXcDsmJFmQmm9cAeTHaB18ifglt ymiV4EGXX4cIDr16v9/SxOsd2Ewcl6g7j5Pe8unU/UJZraAsMgxb+g== =j2IF -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390108: With the actual version only uncomplete fortunes are printed
On Tue, 6 Mar 2007, Klaus Ethgen wrote: Hmmm, checking for diversions in postinst??? I do not think that this is the usual way to do. Hmm. It would be a bad hack. But isn't there a other way? Well, IMHO your diversion is not done the right way. You have not to divert the symlink but the real file. There is just many Jean Paul messages inside of the zitate file. I don't want to build a new package which I have to update every time there is a update in the archive. I just know about that it IS necessary to handle the link. As I said divert the real file, not the symlink Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390108: With the actual version only uncomplete fortunes are printed
Hi Andreas, Am So den 1. Okt 2006 um 23:07 schrieb Andreas Tille: Can you please elaborate more on this diversion problem? I do not ~ dpkg-divert --list | grep fortunes local diversion of /usr/share/games/fortunes/de/zitate to /usr/share/games/fortunes/de/zitate.distrib local diversion of /usr/share/games/fortunes/de/zitate.dat to /usr/share/games/fortunes/de/zitate.dat.distrib And in the postinst-file I find: ... ln -sf /usr/share/games/fortunes-de/${j}.dat /usr/share/games/fortunes/de/${j}.dat ... So the diversion for the text file work but the one for the dat file is ignored. understand whether I should change something in fortunes-de, to circumvent this, reassign the bug to dpkg-divert or whether your local diversion is just broken (and we could close the bug). See above. It is no dpkg-divert bug, its a (small) bug of the fortunes-de package and doing a way around dpkg. BTW, to the Jean Paul quotes: Yes, you are right they are 50% rubish (at least) and I would definitely accept patches to the data files that remove this rubish or would you think it might make sense to I put a small script in the attachment to remove them. ;-) handle the Jean Paul quotes with a separate debconf question (off by default)? I'm very interested in your input. Therefor I have to answer in German: Wäre eine gute Idee, falls irgendjemand in den geistigen Ergüssen dieser Person interessiert sein sollte. ;-) Gruß Klaus -- Klaus Ethgenhttp://www.ethgen.de/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen [EMAIL PROTECTED] Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B wipe_jean_paul.sh Description: Bourne shell script signature.asc Description: Digital signature
Bug#390108: With the actual version only uncomplete fortunes are printed
On Mon, 2 Oct 2006, Klaus Ethgen wrote: ~ dpkg-divert --list | grep fortunes local diversion of /usr/share/games/fortunes/de/zitate to /usr/share/games/fortunes/de/zitate.distrib local diversion of /usr/share/games/fortunes/de/zitate.dat to /usr/share/games/fortunes/de/zitate.dat.distrib And in the postinst-file I find: ... ln -sf /usr/share/games/fortunes-de/${j}.dat /usr/share/games/fortunes/de/${j}.dat ... So the diversion for the text file work but the one for the dat file is ignored. I have to admit that I fail to see the bug in fortunes-de. If you install a local package with diversions so it is your job to care for all files and links to be diverted. If the postinst installs the symlinks in the package you probably have to do the diversion of the symlinks. understand whether I should change something in fortunes-de, to circumvent this, reassign the bug to dpkg-divert or whether your local diversion is just broken (and we could close the bug). See above. It is no dpkg-divert bug, its a (small) bug of the fortunes-de package and doing a way around dpkg. Well, I do not want to evaluate whether it is a small or a big bug. If it *is* a bug, then I will fix it but *what* is the bug. The package installs files and sets symlinks in the postinst. What do you think should I do differently to help you. BTW, to the Jean Paul quotes: Yes, you are right they are 50% rubish (at least) and I would definitely accept patches to the data files that remove this rubish or would you think it might make sense to I put a small script in the attachment to remove them. ;-) Thanks for this script but a quick view into the source would have shown you that you can simply delete a single file data/zitate/paul Kind regards Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390108: With the actual version only uncomplete fortunes are printed
On Sat, 30 Sep 2006, Klaus Ethgen wrote: I did. And it gave strange behavior: Some fortunes with umlauts gets printed correct some not. Sample: This all sounds really strange. I fail to see a system in this: :-( I have to admit that I have one box where I can reproduce #316953 if I use xterm (no other Terminal emulator on the same box shows this problem which is really strange and not reproducible on any other box running the same package all out of testing) but the problem you reported here is not reproducible at all. If I use the version with -m ALL works. Even more strange. Bug #316953 is at least consistent to -m option and does not print the Umlauts either. Sure but I have no other etch-box. All other is sid or sarge. Perhaps you could try it anyway and we might learn something new. This machine does not seem to be a machine set up with Etch installer. Well, no, it was allways upgraded from older machines. And yes, I do never ever use the debian kernel as I do compile it by myself. And for stable machines I need a stable kernel, no developement version 2.6.x! Well, the kernel is definitely no issue in this problem - it's just the reason I based my suspection on that it was a continuosely upgrade machine (as well as my problematic machine. The reason why I asked is that we have to look for any locale upgrade probleme anywhere between Sarge and Etch if we want tp track down this problem. That might be possible. But then there is also a bug (maybe on another place.) My guess is that there is a bug *only* at another place. There is no reason why the problem you reported should happyn only on *one* machine. The fortune database is that simple that there is hardly room for producing these errors. Ahh, BTW, could you please try the French fortunes-fr again on this machine. You reported that #316953 did not showed up for fortunes-fr. What happens now? Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Well, I live in swizerland and when I lifed in germany years ago there was no [EMAIL PROTECTED]. ;-) :) Kind regards and thanks for your pateience Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390108: With the actual version only uncomplete fortunes are printed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hoi Andreas, I think I found the Bug. It seems that with symlinks, dpkg-divert will not work properly. I have local diverted zitate and zitate.dat to remove all the Jean Paul-zitats. However for the zitate file the diversion works. For the symlink it dont. To the bug itself. -m seems to do a simple grep in the text file itself. Without the index is used. So the severity can be lowered to normal for me. A solution is just play attent for the diversions. Gruß Klaus - -- Klaus Ethgenhttp://www.ethgen.de/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen [EMAIL PROTECTED] Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iQEVAwUBRR+R/5+OKpjRpO3lAQK64QgAj5ekat7+26cFlWoAlGot4gu+QarsbM06 LyU6/5TE+Mkedbhc/IXC1cYfmDMLIGg6Dep5/Gdme34WgnRkHy7D6y2FcUnqupbN SJrWlnwQ25izdvsUD+5pep7IMYwBcj6AjOpI5QEo82lW76I879AWv7Elj9b70xBy 6RB1NaVGRoNjADh3imJiJf2u8cLEP0B/zmJfTmc6Iy7NLa11wnfQALP/TTtir+q3 uykf2W3XF3dFMflGn1yBVYq0ECPnC8LQurU6zt27B3KuGdGzoDpjfCdHUCcOwwnw nww7nDFJvRzwHETS046aG9AmbpwHnZj+R4tXk56dux/q3xIhHPdVIg== =BQsS -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390108: With the actual version only uncomplete fortunes are printed
On Sun, 1 Oct 2006, Klaus Ethgen wrote: I think I found the Bug. It seems that with symlinks, dpkg-divert will not work properly. I have local diverted zitate and zitate.dat to remove all the Jean Paul-zitats. However for the zitate file the diversion works. For the symlink it dont. Can you please elaborate more on this diversion problem? I do not understand whether I should change something in fortunes-de, to circumvent this, reassign the bug to dpkg-divert or whether your local diversion is just broken (and we could close the bug). BTW, to the Jean Paul quotes: Yes, you are right they are 50% rubish (at least) and I would definitely accept patches to the data files that remove this rubish or would you think it might make sense to handle the Jean Paul quotes with a separate debconf question (off by default)? I'm very interested in your input. So the severity can be lowered to normal for me. A solution is just play attent for the diversions. IMHO the package is perfectly conform to policy and should work with diversions nicely. Kind regards Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390108: With the actual version only uncomplete fortunes are printed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hallo Andreas, Am Fr den 29. Sep 2006 um 11:24 schrieb Andreas Tille: I have the strange feeling that this is the very same problem as you reported as #316953 but it shows up differently. You reported that the French fortunes would print nicely (fortunes-fr) and thus my idea was to do the same things as the French people did (and took over the nice debconf selection which is a nice add in functionality). Might be... I would like you to try some more fortunes until you find one without any Umlaut. If I seek for you example I did. And it gave strange behavior: Some fortunes with umlauts gets printed correct some not. Sample: ~ fortune de Das wäre dann so eine Art Negativ-Steuer. -- Thomas Uwe Grüttmüller ~ fortune de lleicht muß man die Liebe gefühlt haben, um die Freundschaft richtig zu erkennen. -- Nicolas Sébastien de Chamfort ~ fortune Kommt der Gockel unter'n Trecker, gibt es morgens keinen Wecker. ~ fortune Wie kann man junge Pflanzen von Unkraut unterscheiden? Man reißt alles aus. Was wiederkommt ist Unkraut. ~ fortune ~ fortune hrige die Siebzigjährige. -- Oliver Hassencamp If I use the version with -m ALL works. Definitely not. The files that are seeked by fortune are in /usr/share/games/fortunes/de that contains symlinks to the place you mentioned. The symlinks are set according to the debconf selection. Ah, ok. It is the same for you? My guess is that this is a bug in reportbug and I will verify this by replacing any Umlaut in the DebConf template if you commit that you observed the same. I'ts the same and I just add a note to the bugreport #386659. Shell: /bin/sh linked to /bin/dash Is this shell known to show encoding problems? (Can you verify the problem with bash?) The bug also happens with bash as /bin/sh. Kernel: Linux 2.4.32 Could you test fortunes-de on a different box? Sure but I have no other etch-box. All other is sid or sarge. This machine does not seem to be a machine set up with Etch installer. Well, no, it was allways upgraded from older machines. And yes, I do never ever use the debian kernel as I do compile it by myself. And for stable machines I need a stable kernel, no developement version 2.6.x! Is it possible that over several updates something in the encoding settings became brocken. I observed similar things when I used a box that was updated from Woody to Sarge and now to Etch. It would be great if you could test this on a freshly installed machine. My suspection is that not fortunes-de is brocken itself but some encoding settings. That might be possible. But then there is also a bug (maybe on another place.) Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Well, I live in swizerland and when I lifed in germany years ago there was no [EMAIL PROTECTED]. ;-) Gruß Klaus - -- Klaus Ethgenhttp://www.ethgen.de/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen [EMAIL PROTECTED] Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iQEVAwUBRR5FUZ+OKpjRpO3lAQIa3gf+NOsIlbljLg5gphUc6HNrS1k4R2bCdqcP 4O4P0KN9/flZl03JrTsoJkPmbvoXYvN1/eJGLpRSsrHspDEi6Q/Q//7HDYakRHQE km/NxGTWMmXaBvkmyE9atrN6xs0JP7Agam0XrfsplS2R4JL3YvsVVKoYKgTIzTJg iU23prnniEqU0wMRoiBsrFprFw/ysqSTAEdqfHhS87JAMb/a1JehA/vgkzFXku5g 0YgNNd54S7/d/klvC4kOXgc+lqPPKRuCy5nD5cxA3xUEkzYqnVIr+hZlF84V5Wnv gnrac/iNUhYIOr5C18b9otWLYL6DIttqZYzaXG+JASQ5wd4zT/oEFg== =DwyR -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390108: With the actual version only uncomplete fortunes are printed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Package: fortunes-de Version: 0.21-1 Severity: important Since the last upgrade I get only uncomplete fortunes like: nde einer Schnapsidee. -- Hans-Horst Skupy If I look to /usr/share/games/fortunes-de I do not see the fortunes anymore just only the .dat-Index-Files. Maybe that is the problem? By the way, the debconfig-selection is making reportbug crash if I include it in the bugreport. - -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (700, 'testing'), (600, 'unstable'), (500, 'stable'), (60, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.4.32 Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE) Versions of packages fortunes-de depends on: ii debconf [debconf-2.0] 1.5.4 Debian configuration management sy ii fortune-mod 1:1.99.1-3 provides fortune cookies on demand fortunes-de recommends no packages. - -- debconf information excluded - -- Klaus Ethgenhttp://www.ethgen.de/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen [EMAIL PROTECTED] Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iQEVAwUBRRzcY5+OKpjRpO3lAQL7ugf/YBmbW94fcqbfuAutNc7n3UlRD9/Auarc tFrWl5PY1FXfp5DJuvsA2eQ5sLfxwAuvXdAf1EFuhbauZr8gisRHh3MEBbfl1E/i SJx+IWLGp+PS8UYDYHDGDw5RRh0RK6eDi94cwfz3ZgfiharmhVuSzZAt36xT5ZxC sO0f0+W0RsBLsC9Zi2v9ydBHu4BLARKUSTBOGPDsnqyYB6/L5iJw5Ej9m1v8MoTz 9OXp5+2pNoZdAgFpImL9Xp222Ljh7oMUWD1fPKV1QoO0AvMEmmN/0HwxrmeglFKd v38NECNFjHNZ5aoSz0vpxKBhm6bYxzR6VfDsT+5dCr8v66knHfHGxA== =FXc1 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390108: With the actual version only uncomplete fortunes are printed
On Fri, 29 Sep 2006, Klaus Ethgen wrote: Package: fortunes-de Version: 0.21-1 Severity: important Since the last upgrade I get only uncomplete fortunes like: nde einer Schnapsidee. -- Hans-Horst Skupy I have the strange feeling that this is the very same problem as you reported as #316953 but it shows up differently. You reported that the French fortunes would print nicely (fortunes-fr) and thus my idea was to do the same things as the French people did (and took over the nice debconf selection which is a nice add in functionality). I would like you to try some more fortunes until you find one without any Umlaut. If I seek for you example $ fortune -m nde einer Schnapsidee. (zitate) % Entwöhnungskur: Ende einer Schnapsidee. -- Hans-Horst Skupy % I see that there is an Umlaut in this cookie. I tried some time (using the regeln script which potentially prints short cookies) and found $ fortune -m Liegt der Bauer in dem Miste, hat er einen in der Kiste. (regeln) % Liegt der Bauer in dem Miste, hat er einen in der Kiste. % Please try a little bit more if we could sort out whether it is connected to an encoding problem. If I look to /usr/share/games/fortunes-de I do not see the fortunes anymore just only the .dat-Index-Files. Maybe that is the problem? Definitely not. The files that are seeked by fortune are in /usr/share/games/fortunes/de that contains symlinks to the place you mentioned. The symlinks are set according to the debconf selection. By the way, the debconfig-selection is making reportbug crash if I include it in the bugreport. I tried this myself and got: Traceback (most recent call last): File /usr/bin/reportbug, line 1745, in ? main() File /usr/bin/reportbug, line 778, in main return iface.user_interface() File /usr/bin/reportbug, line 1643, in user_interface klass, subject, tags, body, mode, pseudos) File /usr/share/reportbug/reportbug.py, line 724, in generate_blank_report return %s%s%s UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 202: ordinal not in range(128) It is the same for you? My guess is that this is a bug in reportbug and I will verify this by replacing any Umlaut in the DebConf template if you commit that you observed the same. Shell: /bin/sh linked to /bin/dash Is this shell known to show encoding problems? (Can you verify the problem with bash?) Kernel: Linux 2.4.32 Could you test fortunes-de on a different box? This machine does not seem to be a machine set up with Etch installer. Is it possible that over several updates something in the encoding settings became brocken. I observed similar things when I used a box that was updated from Woody to Sarge and now to Etch. It would be great if you could test this on a freshly installed machine. My suspection is that not fortunes-de is brocken itself but some encoding settings. Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE) I have Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) and it works perfectly. Versions of packages fortunes-de depends on: ii debconf [debconf-2.0] 1.5.4 Debian configuration management sy ii fortune-mod 1:1.99.1-3 provides fortune cookies on demand Same for me. Thanks for your bug report. It would be nice if you could provide more info. Kind regards Andreas. -- http://fam-tille.de