Libmagick6 update problem

Remove linux-rt-lts-manjaro and linux-rt-lts-manjaro-headers. :arrow_down:

sudo pacman -R linux-rt-lts-manjaro linux-rt-lts-manjaro-headers

That package was removed from the AUR and can therefore not be updated.

Is still in the AUR (AUR (en) - imagemagick6), maybe try building it manually?

https://wiki.archlinux.org/title/Arch_User_Repository#Installing_and_upgrading_packages

Hmm… It does not show up in Octopi. :thinking:

Strange, pamac can see it.

There is this comment pinned to the top on the AUR page:

DO NOT report issues if you’re using an AUR helper (including Pamac aka Add/Remove Software). If you have a problem, build it manually and see if you can reproduce the issue.

Maybe there are known issues with helpers, can’t see why though.

1 Like

It does with Pamac:

$ pamac search libmagick6
libmagick6                                                                                                                                                                                                                                 6.9.12.37-1  AUR
An image viewing/manipulation program (legacy 6.9.12-* series; library)
1 Like

I tried to remove as you said but, still lost

sudo pacman -R linux-rt-lts-manjaro linux-rt-lts-manjaro-headers
[sudo] password for ms: 
checking dependencies...

Packages (2) linux-rt-lts-manjaro-5.10-1  linux-rt-lts-manjaro-headers-5.10-1


:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
(1/2) removing linux-rt-lts-manjaro-headers        [######################] 100%
(2/2) removing linux-rt-lts-manjaro                [######################] 100%
ldconfig: File /usr/lib/libpamac-flatpak.so.old is empty, not checked.
ldconfig: File /usr/lib/libpamac-snap.so.old is empty, not checked.
[ms@ms-nl4050cu ~]$ pamac update
Preparing...
Synchronizing package databases...
Refreshing AUR...                                                               
Cloning imagemagick6 build files...                                             
Generating libmagick6 information...
==> ERROR: PKGBUILD does not exist.
Error: Failed to prepare transaction: Failed to generate libmagick6 information
[ms@ms-nl4050cu ~]$ 

Try building it manually as suggested above:

git clone https://aur.archlinux.org/imagemagick6.git
cd imagemagick6
makepkg -is

Well, there is a PKGBUILD. The PKGBUILD is essential for building an Arch-compatible binary package, because it’s a script that pulls in all of the sources and dependencies.

So what you’re going to have to do is go to this page, and then on the right, in the rectangular box, you’ll see a link labelled “View PKGBUILD”.

Right-click that link and choose “Save link as…”. Save the file in ~/Downloads. Then open up a terminal window and type the following commands… :arrow_down:

cd ~/Downloads
makepkg -s

The system will the fetch the source code, compile it and create an installable package. When the process is finished, you can install the package with… :arrow_down:

sudo pacman -U name-of-the-package

Sorry, I am not very knowledgeable. I did it but:

[ms@ms-nl4050cu ~]$ cd ~/Downloads
makepkg -s
/home/ms/Downloads/PKGBUILD: line 1: syntax error near unexpected token `newline'
/home/ms/Downloads/PKGBUILD: line 1: `<!DOCTYPE html>'
==> ERROR: Failed to source /home/ms/Downloads/PKGBUILD
[ms@ms-nl4050cu Downloads]$ 




looks like I downloaded into the wrong place…I think

There must be something wrong with the file then, which may explain why Octopi doesn’t see the package on the AUR.

I’ve notified the maintainer now.

1 Like

Thank you very much

Thank you so much for this thread and replies. I stumbled upon it and found a solution for the problem I was having.

You right clicked and save as’ed the html page which is totally wrong. There’s nothing wrong with the PKGBUILD. Try @NGr 's method suggested above and build it manually.

1 Like

OK, I get:

t[ms@ms-nl4050cu ~]$ git clone https://aur.archlinux.org/imagemagick6.git
cd imagemagick6
makepkg -is
Cloning into 'imagemagick6'...
remote: Enumerating objects: 163, done.
remote: Counting objects: 100% (163/163), done.
remote: Compressing objects: 100% (102/102), done.
remote: Total 163 (delta 61), reused 162 (delta 61), pack-reused 0
Receiving objects: 100% (163/163), 47.22 KiB | 3.00 KiB/s, done.
Resolving deltas: 100% (61/61), done.
==> Making package: imagemagick6 6.9.12.38-1 (Thu 10 Feb 2022 18:13:12 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading ImageMagick-6.9.12-38.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12.8M  100 12.8M    0     0   938k      0  0:00:14  0:00:14 --:--:--  834k
  -> Downloading ImageMagick-6.9.12-38.tar.gz.asc...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   833  100   833    0     0   2002      0 --:--:-- --:--:-- --:--:--  2002
  -> Found arch-fonts.diff
==> Validating source files with sha256sums...
    ImageMagick-6.9.12-38.tar.gz ... Passed
    ImageMagick-6.9.12-38.tar.gz.asc ... Skipped
    arch-fonts.diff ... Passed
==> Verifying source file signatures with gpg...
    ImageMagick-6.9.12-38.tar.gz ... FAILED (unknown public key 89AB63D48277377A)
==> ERROR: One or more PGP signatures could not be verified!
[ms@ms-nl4050cu imagemagick6]$ 


Is that ok? can I update?

Changed title “Update- problem” ->“Libmagick6 AUR Update- problem”

Not sure I get it, sorry. Step by step, what do I do?

sudo pacman-mirrors -f5 && sudo pacman -Syyu
gpg --recv-key 89AB63D48277377A
cd ~/imagemagick6
makepkg -is

If validation still fails then the file is invalid. Report on the package’s AUR page.

Thank you all for your help. It all seems to work

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