Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #219956 > unrolled thread
| Started by | Emanuel Berg <moasenwood@zoho.eu> |
|---|---|
| First post | 2020-03-07 23:10 +0100 |
| Last post | 2020-03-09 05:10 +0100 |
| Articles | 9 — 6 participants |
Back to article view | Back to linux.debian.user
downgrade ghostscript to get convert etc working Emanuel Berg <moasenwood@zoho.eu> - 2020-03-07 23:10 +0100
Re: downgrade ghostscript to get convert etc working Jonas Smedegaard <jonas@jones.dk> - 2020-03-08 01:20 +0100
Re: downgrade ghostscript to get convert etc working Emanuel Berg <moasenwood@zoho.eu> - 2020-03-08 02:40 +0100
Re: downgrade ghostscript to get convert etc working didier gaumet <didier.gaumet@gmail.com> - 2020-03-08 09:30 +0100
Re: downgrade ghostscript to get convert etc working Curt <curty@free.fr> - 2020-03-08 10:10 +0100
Re: downgrade ghostscript to get convert etc working Marco Möller <talby@debianlists.mobilxpress.net> - 2020-03-08 13:30 +0100
Re: downgrade ghostscript to get convert etc working Jonas Smedegaard <jonas@jones.dk> - 2020-03-08 13:40 +0100
Re: downgrade ghostscript to get convert etc working Emanuel Berg <moasenwood@zoho.eu> - 2020-03-08 22:50 +0100
Re: downgrade ghostscript to get convert etc working David Wright <deblis@lionunicorn.co.uk> - 2020-03-09 05:10 +0100
| From | Emanuel Berg <moasenwood@zoho.eu> |
|---|---|
| Date | 2020-03-07 23:10 +0100 |
| Subject | downgrade ghostscript to get convert etc working |
| Message-ID | <zHPNU-1VI-3@gated-at.bofh.it> |
It seems convert doesn't work on Debian Buster, I get an error for this command convert -composite $bg $fg -gravity center comp.png namely this message: "convert-im6.q16: no images defined `comp.png' @ error/convert.c/ConvertImageCommand/3258." I heard the solution is downgrade ghostscript but 'aptitude versions' only shows one version, 9.27 (or 9.27~dfsg-2+deb10u3). Do I need to add additional sources or how do I downgrade to a version that doesn't have the bug? TIA -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal
[toc] | [next] | [standalone]
| From | Jonas Smedegaard <jonas@jones.dk> |
|---|---|
| Date | 2020-03-08 01:20 +0100 |
| Message-ID | <zHRPI-37u-11@gated-at.bofh.it> |
| In reply to | #219956 |
[Multipart message — attachments visible in raw view] — view raw
Quoting Emanuel Berg (2020-03-07 23:07:16) > It seems convert doesn't work on Debian Buster, I get an error for > this command > > convert -composite $bg $fg -gravity center comp.png > > namely this message: "convert-im6.q16: no images defined `comp.png' > @ error/convert.c/ConvertImageCommand/3258." > > I heard the solution is downgrade ghostscript but > 'aptitude versions' only shows one version, 9.27 (or > 9.27~dfsg-2+deb10u3). > > Do I need to add additional sources or how do > I downgrade to a version that doesn't have the bug? The solution is *not* to downgrade: It is a security-related change. The solution is therefore to fix the Postscript code. That said, if you insist on doing a potentially dangerous _workaround_ then there's https://snapshot.debian.org/ - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
[toc] | [prev] | [next] | [standalone]
| From | Emanuel Berg <moasenwood@zoho.eu> |
|---|---|
| Date | 2020-03-08 02:40 +0100 |
| Message-ID | <zHT57-3LT-1@gated-at.bofh.it> |
| In reply to | #219959 |
Jonas Smedegaard wrote:
> The solution is *not* to downgrade: It is
> a security-related change.
OK, but here they say:
Debian Buster (10) just came into Soft Freeze stage, after Full
freeze it will be too late and this newly introduced bug will
not be fixed for Debian Buster ...
Have you tried downgrading from GS 9.26 to 9.23 or 9.24. I have
heard of issues with 9.26 ...
http://www.imagemagick.org/discourse-server/viewtopic.php?t=35121
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
[toc] | [prev] | [next] | [standalone]
| From | didier gaumet <didier.gaumet@gmail.com> |
|---|---|
| Date | 2020-03-08 09:30 +0100 |
| Message-ID | <zHZtU-7Pf-9@gated-at.bofh.it> |
| In reply to | #219960 |
Hello, I have not tried this and do not use imagemagick directly (it is installed as a dependance on my system): perhaps you can deinstall imagemagick and install graphicsmagick-imagemagick-compat instead? (Sorry, Emmanuel, my mistake, I dit click on "answer" and sent tp you a private mail)
[toc] | [prev] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2020-03-08 10:10 +0100 |
| Message-ID | <zI06C-8hS-7@gated-at.bofh.it> |
| In reply to | #219959 |
On 2020-03-08, Jonas Smedegaard <jonas@jones.dk> wrote: > > The solution is *not* to downgrade: It is a security-related change. > > The solution is therefore to fix the Postscript code. > > That said, if you insist on doing a potentially dangerous _workaround_=20 > then there's https://snapshot.debian.org/ > Couldn't he just edit the policy.xml file? Or is this unrelated to the "not authorized" error I've seen elsewhere. -- Nous fîmes l'amour longtemps, à la façon des craquements qui se produisent dans les meubles. Nous fîmes l'amour comme le soleil bat, comme les cercueils ferment, comme le silence appelle, comme la nuit brille. Et dans nos yeux qui n'étaient jamais ouverts en même temps ne se débattaient rien que nos sorts les plus purs. --André Breton
[toc] | [prev] | [next] | [standalone]
| From | Marco Möller <talby@debianlists.mobilxpress.net> |
|---|---|
| Date | 2020-03-08 13:30 +0100 |
| Message-ID | <zI3e9-1Gc-11@gated-at.bofh.it> |
| In reply to | #219956 |
If the newer version (currently v9.50 in bullseye (testing)) would solve the problem, then you may want to ask if someone could place this newer version from bullseye into the buster-backports repository. Afterwards you could install the backported version 9.50 from there without hassle. This would be the Debian way to follow first. Only if not succeeding this way, then think about tinkering. More information on this concept can be found here: https://backports.debian.org/ The corresponding mailing list is this one: https://lists.debian.org/debian-backports/ Good luck! Marco.
[toc] | [prev] | [next] | [standalone]
| From | Jonas Smedegaard <jonas@jones.dk> |
|---|---|
| Date | 2020-03-08 13:40 +0100 |
| Message-ID | <zI3nQ-1Jv-17@gated-at.bofh.it> |
| In reply to | #219971 |
[Multipart message — attachments visible in raw view] — view raw
Quoting Marco Möller (2020-03-08 13:26:25) > If the newer version (currently v9.50 in bullseye (testing)) would > solve the problem, then you may want to ask if someone could place > this newer version from bullseye into the buster-backports repository. > Afterwards you could install the backported version 9.50 from there > without hassle. This would be the Debian way to follow first. Only if > not succeeding this way, then think about tinkering. > > More information on this concept can be found here: > https://backports.debian.org/ > The corresponding mailing list is this one: > https://lists.debian.org/debian-backports/ Above advice is sensible in general. For this particular issue, look into upgrading _other_ parts of the command chain than Ghostscript, however (as per my previous post). - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
[toc] | [prev] | [next] | [standalone]
| From | Emanuel Berg <moasenwood@zoho.eu> |
|---|---|
| Date | 2020-03-08 22:50 +0100 |
| Message-ID | <zIbY5-74w-1@gated-at.bofh.it> |
| In reply to | #219972 |
Has this problem been mentioned in the BTS, you think? I found this [1] but no one seems to match this situation exactly what I can see (?) Can any of you guys reproduce it? I'm on buster [2] with imagemagick 6.9 [3] command: convert -composite bg.png fg.png -gravity center out.png error message: convert-im6.q16: no images defined `comp.png' @ error/convert.c/ConvertImageCommand/3258. [1] https://bugs.debian.org/cgi-bin/pkgreport.cgi?dist=unstable;package=imagemagick [2] Linux ebih 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" [3] Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org Copyright: © 1999-2019 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC Modules OpenMP Delegates (built-in): bzlib djvu fftw fontconfig freetype heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2020-03-09 05:10 +0100 |
| Message-ID | <zIhTP-2Fj-1@gated-at.bofh.it> |
| In reply to | #219983 |
On Sun 08 Mar 2020 at 22:45:12 (+0100), Emanuel Berg wrote: > Has this problem been mentioned in the BTS, you think? I found > this [1] but no one seems to match this situation exactly what > I can see (?) > > Can any of you guys reproduce it? I'm on buster [2] with > imagemagick 6.9 [3] No. > command: > > convert -composite bg.png fg.png -gravity center out.png For gravity to work, I had to place it first, otherwise I get northwest. I just used a couple of screenshots and a couple of PDFs, placing the smaller on the larger each time. > error message: > > convert-im6.q16: no images defined `comp.png' @ error/convert.c/ConvertImageCommand/3258. $ convert -gravity center -composite /tmp/bg.png /tmp/fg.png /tmp/out.png $ convert -gravity center -composite /tmp/bg.png /tmp/fg.pdf /tmp/out.png $ convert -gravity center -composite /tmp/bg.pdf /tmp/fg.png /tmp/out.png $ convert -gravity center -composite /tmp/bg.pdf /tmp/fg.pdf /tmp/out.png $ uname -a Linux wren 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" $ convert -version Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org Copyright: © 1999-2019 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC Modules OpenMP Delegates (built-in): bzlib djvu fftw fontconfig freetype heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib $ PS your kernel is out-of-date. Cheers, David.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web