Libmagick6 update issues

have tried for a while to update Libmagic6 and ended up in uninstalling it after all else I could find on forums failed.

Now on Package Manager I get “Failed to generate libmagick6 information”.

In terminal I get:

sudo pamac install libmagick6
Warning: libmagick6 is only available from AUR
Preparing...
Checking libmagick6 dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  libmagick6  6.9.12.67-1    AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] y


Building imagemagick6...
Running as unit: run-u171.service
Press ^] three times within 1s to disconnect TTY.
==> Making package: imagemagick6 6.9.12.67-1 (sön 13 nov 2022 11:37:41)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found ImageMagick-6.9.12-67.tar.gz
  -> Found ImageMagick-6.9.12-67.tar.gz.asc
  -> Found arch-fonts.diff
==> Validating source files with sha256sums...
    ImageMagick-6.9.12-67.tar.gz ... Passed
    ImageMagick-6.9.12-67.tar.gz.asc ... Skipped
    arch-fonts.diff ... Passed
==> Verifying source file signatures with gpg...
    ImageMagick-6.9.12-67.tar.gz ... cat: write error: Broken pipe
FAILED
==> ERROR: One or more PGP signatures could not be verified!
Finished with result: exit-code
Main processes terminated with: code=exited/status=1
Service runtime: 1.077s
CPU time consumed: 1.225s
Error: Failed to build imagemagick6

I cannot find any info on how to fix the issue with the “Broken pipe”. Please help.

First

sudo pacman -Rns imagemagick6

Then

sudo pacman -Syu

Then

sudo pacman -S imagemagick
1 Like
sudo pacman -Rns imagemagick6
error: target not found: imagemagick6

check whether you even need it

if you do

there is a gpg key missing

I didn’t check for existance of the imagemagick6 package as I assumed you had it installed.

Nonetheless - the rest of my comment stands

Theanks! This seems to do the trick, at least in the sense that it made me ralize that I tried to have imagemagick6 installed while the system all the time had the next version: 7.

sudo pacman -S imagemagick
warning: imagemagick-7.1.0.51-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) imagemagick-7.1.0.51-1

Total Installed Size:  10,92 MiB
Net Upgrade Size:       0,00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                                                   [##############################################] 100%
(1/1) checking package integrity                                                 [##############################################] 100%
(1/1) loading package files                                                      [##############################################] 100%
(1/1) checking for file conflicts                                                [##############################################] 100%
(1/1) checking available disk space                                              [##############################################] 100%
:: Processing package changes...
(1/1) reinstalling imagemagick                                                   [##############################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Warn about old perl modules

The issue is that I have an update to do on python2 that needs imagemagick6… :frowning:

How to I get the correct GPG key? There is no hint to WHICH key is missing…

You don’t need a key - you just solved your issue be reinstalling imagemagick

Python 2 is dead - gone - unsupported - sunsetting - did I mention dead and gone?

You are the 102. user to raise the issue of python2.

sudo pacman -Rcns python2
2 Likes

You are the 102. user to raise the issue of python2.

Woh! Always figured that that there are still some legacy system dependencies that use python2 although I have personally moved on to Python 3.+ since many years back.

Anyway, removed python2 now as you instructed. So far so good. :slight_smile: Thanks a bunch! :slight_smile:

I’m sure there are still at least another 102 that you’ll have to be more specific with.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.