You are not logged in.
I have several AUR packages which I don't upgrade manually with every kernel upgrade. But two of those several AUR packages prevent the 'pacman -Syu' system upgrade when the kernel is upgraded: pacman gives the message that installed packages 'zfs-git' and 'spl-git' (names of those two packages) require the older version of kernel and doesn't proceed. I then do the following:
- remove those two packages and also all packages that depend on them;
- do the system upgrade with 'pacman -Syu';
- download new versions of removed packages from AUR;
- make the new AUR packages one by one (with long compilation) and install them.
The whole process takes about an hour or so (compiling AUR packages takes most of the time). And this process is done everytime when new version of kernel is released (every month?).
Is upgrading of AUR packages meant to be done in this way? Isn't there some utility with which upgrading of AUR packages can be automated?
Thanks.
Last edited by nbd (2015-01-10 15:34:47)
bing different
Offline
Not to my knowledge. In the case of zfs you may use demz's repo. https://wiki.archlinux.org/index.php/Un … -repo-core
Offline
I propose you set up a chroot where you can build those packages before you upgrade your system. Then add them in a local repository and to the upgrade. You could automate the following steps:
- upgrade chroot (where no AUR packages are installed)
- build AUR packages in chroot
- push built packages in local AUR repository
- upgarde main system (with local AUR repo)
Edit: For kernel modules you might want to try to use dkms without binding the package to a specific kernel version. If you need zfs for the boot process it might backfire, though.
Last edited by progandy (2015-01-09 20:11:08)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
graysky
thanks. Seems like a solution for my case.
progandy
if there will be other kernel-version-dependent packages, I think I'll try your solution. Thanks.
bing different
Offline
yaourt (avaible in the AUR) does that.
Offline
Since pacman 4.2, there is another solution for this with the --assume-installed option.
You could use it like this:
Perform a normal upgrade
* If you get a version conflict, look for updates for the conflicting AUR packages.
. . - If you find a new version, perform the normal upgrade with --asume-installed
. . - Then upgrade the AUR packages
* Otherwise abort the upgrade and wait for new versions for the AUR packages.
Last edited by progandy (2015-01-09 23:49:19)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
yaourt (avaible in the AUR) does that.
Seems like the tool I was asking about. Thanks!
progandy
thanks for the hint about --assume-installed option.
bing different
Offline
There are many tools which can do this, here's a list: AUR helpers.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
fsckd,
very useful link. Thanks.
bing different
Offline