biddie
10 February 2022 10:30
1
I did pamac update and am stuck:
Synchronizing package databases...
Refreshing AUR...
Checking libmagick6 dependencies...
Resolving dependencies...
Checking inter-conflicts...
Error: Failed to prepare transaction:
could not satisfy dependencies:
- removing linux510-rt breaks dependency 'linux510-rt' required by linux-rt-lts-manjaro
- removing linux510-rt-headers breaks dependency 'linux510-rt-headers' required by linux-rt-lts-manjaro-headers
Edit build files : [e]
Apply transaction ? [e/y/N] e
Cloning libmagick6 build files...
warning: You appear to have cloned an empty repository.
Generating libmagick6 information...
==> ERROR: PKGBUILD does not exist.
Error: Failed to prepare transaction: Failed to clone libmagick6 build files
Synchronizing package databases...
Refreshing AUR...
Checking libmagick6 dependencies...
Resolving dependencies...
Checking inter-conflicts...
Error: Failed to prepare transaction:
could not satisfy dependencies:
- removing linux510-rt breaks dependency 'linux510-rt' required by linux-rt-lts-manjaro
- removing linux510-rt-headers breaks dependency 'linux510-rt-headers' required by linux-rt-lts-manjaro-headers
Edit build files : [e]
Apply transaction ? [e/y/N] e
Cloning libmagick6 build files...
warning: You appear to have cloned an empty repository.
Generating libmagick6 information...
==> ERROR: PKGBUILD does not exist.
Error: Failed to prepare transaction: Failed to clone libmagick6 build files ]
What do I do? please help, if possible step by step. Thank you
biddie:
removing linux510-rt breaks dependency ‘linux510-rt’ required by linux-rt-lts-manjaro
removing linux510-rt-headers breaks dependency ‘linux510-rt-headers’ required by linux-rt-lts-manjaro-headers
Remove linux-rt-lts-manjaro
and linux-rt-lts-manjaro-headers
.
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.
NGr
10 February 2022 10:38
3
Hmm… It does not show up in Octopi .
NGr
10 February 2022 10:44
5
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
biddie
10 February 2022 15:51
7
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 ~]$
NGr
10 February 2022 16:05
8
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…
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…
sudo pacman -U name-of-the-package
biddie
10 February 2022 16:17
10
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]$
biddie
10 February 2022 16:18
11
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 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
biddie
10 February 2022 17:09
16
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?
Summary
If you get
llvm-5.0.1.src.tar.xz … FAILED (unknown public key 8F0871F202119294)
then
gpg --recv-key 8F0871F202119294
and try again. Enter the key ID as appropriate.
Detail
Many AUR packages contain lines to enable validating downloaded packages though the use of a PGP key. This establishes a level of trust between the software author and anyone who downloads the software - if you trust the key, and the download validates against the key, then you can trust the download.
Pacman ha…
Changed title “Update- problem” ->“Libmagick6 AUR Update- problem”
biddie
10 February 2022 17:18
18
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.
biddie
10 February 2022 18:01
20
Thank you all for your help. It all seems to work