You are not logged in.
I have an issue with upgrading AUR packages with pacaur. When I try to upgrade with one of the following commands:
pacaur -u [package_name]
pacaur -Su -a
pacaur -Syu
I keep getting the error 'no results found for dependencies)'
Here an example output:
[ ~ ]$ pacaur -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: spl-git: requires linux=3.17.6-1
:: zfs-git: requires linux=3.17.6-1
:: Starting AUR upgrade...
:: resolving dependencies...
:: no results found for dependencies)
As seen in this example, the system upgrade is failed due to two kernel packages which require the previous kernel version.
I wonder, does the AUR upgrade fails after the failed system upgrade because of new spl-git and zfs-git packages require the new kernel version? And the message ":: no results found for dependencies)" is caused by this?
It seems there is a kind of a circular dependency in this case - kernel doesn't upgrade because of zfs requires the older kernel, and zfs doesn't upgrade because the new version of zfs requires the new kernel.
Previously I upgraded AUR packages manually, by first removing them, then upgrading the kernel and after that installing new versions of packages.
Is it possible to automatically upgrade kernel packages? If so can this be done with pacaur?
Last edited by nbd (2015-01-19 23:39:49)
bing different
Offline
Those AUR packages depend on linux-3.17.6-1, which is no longer available - that's what those error messages mean. The maintainer of those packages (or you) needs to update them.
Offline
Those AUR packages depend on linux-3.17.6-1, which is no longer available - that's what those error messages mean. The maintainer of those packages (or you) needs to update them.
The new versions of those two packages already exist in the AUR repository. Is it possible to install them automatically with pacaur?
bing different
Offline
Is it possible to automatically upgrade kernel packages? If so can this be done with pacaur?
Those aren't "kernel packages" they are just aur packages with a specific kernel dependency.
If by "automatically" you mean magically, then no. You need to manage your AUR packages yourself. The correct 'official' method would be as you described: remove the aur packages, upgrade your system, rebuild and install the new aur packages.
Can this be automated with <insert-favorite-tool>? Well, you should ask the manual page or author of <insert-favorite-tool>.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
You can remove the offending packages, update the packages from the official repos and rebuild AUR packages.
Offline
Hi, so I'm not the only newbie doing such things.
here:
https://bbs.archlinux.org/viewtopic.php?id=181717
Afterwards I also suggest using “pacman -Syyu” to update (note the double “y”, this forces a refresh of all packages)
meaning first add the repository and the key for demz-repo-core https://wiki.archlinux.org/index.php/Un … -repo-core.
I did that today but the output was just:
[root@machine1 ~]# pacman -Syyu
:: Synchronizing package databases...
core 121.6 KiB 599K/s 00:00 [########################################################] 100%
extra 1806.6 KiB 671K/s 00:03 [########################################################] 100%
community 2.5 MiB 672K/s 00:04 [########################################################] 100%
multilib 121.2 KiB 932K/s 00:00 [########################################################] 100%
demz-repo-archiso 5.5 KiB 37.9K/s 00:00 [########################################################] 100%
demz-repo-archiso.sig 287.0 B 0.00B/s 00:00 [########################################################] 100%
demz-repo-core 7.8 KiB 48.6K/s 00:00 [########################################################] 100%
demz-repo-core.sig 287.0 B 0.00B/s 00:00 [########################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: spl-git: requires linux=3.17.6-1
:: zfs-git: requires linux=3.17.6-1
even though I read
https://www.archlinux.org/packages/?sor … =&flagged=
x86_64 Core linux 3.18.2-2 The Linux kernel and modules 2015-01-15 2015-01-16
and
https://github.com/demizer/archzfs
spl-git Update git packages for kernel 3.18.2-2 4 days ago
zfs-git Update git packages for kernel 3.18.2-2 4 days ago
I don't really know if I want to remove the package first, while running the machine from a zfs filesystem.
If it runs automatically the chance of me making an error is a little smaller, don't really want to have a not bootable system.
Offline
If it runs automatically the chance of me making an error is a little smaller, don't really want to have a not bootable system.
There is no way an AUR helper could handle such a situation with a hard dependency by itself - if it did, you'd likely already have an unbootable system.
Don't use pacaur to fix tricky situation better than you could - it's a helper, not a magical toolbox.
Last edited by Spyhawk (2015-01-19 23:35:28)
Offline
OK, I see that my guess that such circular dependency cannot be resolved by a tool without manually removing kernel-version-dependent packages - was right.
It seems that the easiest way to upgrade kernel-version-dependent packages is:
1. Remove version-dependent packages with 'pacman -R spl-git zfs-git';
2. Do the system upgrade with 'pacman -Syu'
3. Do the AUR upgrade (of other AUR packages) with 'pacaur -Su -a'
4. Install new versions of removed packages with 'pacaur -y spl-git zfs-git'
Is this way correct?
bing different
Offline
Remove the demz-repo-archiso repository.
Offline
Nearly the same question has been answered here:
https://bbs.archlinux.org/viewtopic.php?pid=1491827
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Nearly the same question has been answered here:
https://bbs.archlinux.org/viewtopic.php?pid=1491827
That was where I was advised to use AUR helpers for automatically upgrading the two aforementioned kernel-versio-dependent packages. Today I installed an AUR helper and tried to do upgrade automatically, but AUR helpers seem not handle the cases with hard dependencies on kernel version.
bing different
Offline
but AUR helpers seem not handle the cases with hard dependencies on kernel version.
That seems to be the case. Maybe yaourt is different, I don't know I never use it. Still, the demz-repo-core should work if you use it without demz-repo-archiso.
As ukhippo said, remove demz-repo-archiso and keep demz-repo-core, then try it again.
If it doesn't work, try to force pacman to reinstall zfs and spl. "pacman -Syu zfs-git spl-git"
Last edited by progandy (2015-01-20 00:10:17)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Thank's a lot, ukhippo.
To take the demz-repo-archiso away did it.
Building the package did not succeed before, it could not download with makepkg. So whatever the solution there is/was, I don't know. Rolling back the kernel and doing makepkg, stopped with something about wrong kernel version.
But this way without demz-repo-archiso it just worked easy.
Apart from nbd, with the original question, I did not use packaur, just pacman -Syyu
Offline
Thanks for the solution for updating while having the zfs-git package!
Last edited by Markismus (2015-10-01 13:48:32)
Offline