You are not logged in.
Pages: 1
Topic closed
Hi all,
I've been trying to install an AUR package and when I run 'makepkg -s' it said it couldn't resolve dependencies. I checked the dependencies, installed them via pacman, and still got the same message. I've been searching around everywhere and couldn't figure it out.
Then, disregarding the dire warning, I ran 'makepkg --asroot.' I got an error message saying it didn't have a required dependency that wasn't listed on the AUR site. I installed it with pacman, then ran 'makepkg -s' and it worked fine.
What gives? Why wasn't the dependency listed on the AUR page? It was the ttf-ms-fonts and has been updated on Jan 13, 2011 so it is up to date. Any ideas?
Thanks!
*quick update*
I tried installing flashplugin-prerelease and it wouldn't install the dependencies that were listed on the AUR page. No hidden dependencies this time though.
Last edited by mycorunner (2011-03-07 00:56:32)
Offline
If I understand you correctly, you are trying to resolve dependencies that are only found in the AUR. Pacman can not resolve dependencies only found in the AUR for you.
If I don't understand correctly, post some actual pacman output.
Offline
The dependencies were all in the repositories and I installed them with pacman. The makepkg wouldn't install them for me with the "-s" added like it should. I then installed the dependencies listed on the AUR package's page via pacman, but when I tried makepkg again it complained about missing dependencies. I ran "makepkg --asroot" and it said that there was another dependency (again, in the regular repositories) that wasn't listed on the AUR page.
I was under the impression that running "makepkg -s" would compile (is that the right term?) the PKGBUILD and install any needed dependencies that are available in the repos.
better? is there a makepkg log i can post? I can't find one.
Offline
Just copy/paste the output from makepkg. There is not really a log for that part of the build.
Offline
Well because I already installed the package successfully, I'll have to write it from memory. The output from makepkg was something along the lines of "error: cannot resolve dependencies" then underneath it said "could not find or read package". Then I ran makepkg --asroot and it had the same error message but TOLD me what the missing dependency was, so I just installed it from pacman. After that the makepkg command worked.
Offline
I'm going to need actual cut and paste output to try and track this down further as it is not something I have ever seen before. Remember to keep a copy of the output next time you build a package.
Offline
[myco-runner@Arch yaourt]$ makepkg -s
==> Making package: yaourt 0.9.5.1-1 (Tue Feb 15 20:15:37 EST 2011)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
error: 'error:': could not find or read package
==> ERROR: 'pacman' failed to install missing dependencies.
Offline
Weird... try running:
pacman -T fakepkgname
and see what output you get.
Offline
[myco-runner@Arch yaourt]$ sudo pacman -T fakepkgname
fakepkgname
Offline
and without sudo?
Offline
[myco-runner@Arch yaourt]$ pacman -T fakepkname
error: config file /etc/pacman.d/mirrorlist could not be read.
error: config file /etc/pacman.d/mirrorlist could not be read.
error: config file /etc/pacman.d/mirrorlist could not be read.
fakepkname
Offline
Ah... there comes the failure. Try:
chmod 644 /etc/pacman.d/mirrorlist
to get the permissions back to standard.
Offline
I forgot about the permissions when I changed the mirrorlist, thanks!
The makepkg is still giving me an error, this time its:
[myco-runner@Arch yaourt]$ makepkg -s
==> Making package: yaourt 0.9.5.1-1 (Tue Feb 15 20:50:09 EST 2011)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
error: 'package-query>=0.4': could not find or read package
==> ERROR: 'pacman' failed to install missing dependencies.
At least this time it tells me what package is missing, but it won't install it because it's an AUR package. I suspect it will work for other non-AUR packages though.
Just confirmed it, it works! Thanks!
Last edited by mycorunner (2011-02-16 02:05:31)
Offline
Correct. pacman knows nothing about packages in the AUR.
Offline
when i'm installing yaourt in command line the follow message appear:
[thedude@myhost yaourt]$ makepkg PKGBUILD
==> Making package: yaourt 0.9.5.1-1 (Thu Mar 3 14:17:35 CET 2011)
==> Checking Runtime Dependencies...
==> Missing Dependencies:
-> package-query>=0.4
==> Checking Buildtime Dependencies...
==> ERROR: Could not resolve all dependencies.
i install package-query and the problem persist...
Grid
Offline
Done
Grid
Offline
I just update the
sudo pacman -Syy
then, it works. I hope it will be helpful.
Offline
It won't. That is awful advice. Never update package lists (-Sy or -Syy) unless you immediately follow it up with a system upgrade (-Su or -Syu).
https://bbs.archlinux.org/viewtopic.php?id=89328
Regardless, I don't see what this has to do with a four year old [SOLVED] thread. Please don't necrobump.
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed