You are not logged in.
If it's Vim, there are three commands useful to remember.
:q - just quit/close
:q! - quit ignoring changes
:wq - write changes and quit
Also remembering to hit insert to be able to directly edit the file, and then hit escape to get to where your above commands can work.
I keep telling myself I need to learn and setup vim, but I never do
Offline
escape to get to where your above commands can work.
Faster: Ctrl+c
I keep telling myself I need to learn and setup vim, but I never do
I've used emacs for over 2 years, and learned the vim basics via vimtutor(1) in an hour. Just do it.
</editor discussion in the AUR helper thread>
Last edited by Alad (2016-07-04 12:13:41)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Since the update it seems the --devel function has broken. It keeps wanting to update a package that isn't there. Here is the output
┌─╼[/etc/xdg/pacaur]
└────╼ pacaur -Syyu --rebuild --devel
:: Synchronizing package databases...
core 119.0 KiB 1384K/s 00:00 [################################################] 100%
extra 1742.5 KiB 8.64M/s 00:00 [################################################] 100%
community 3.5 MiB 7.88M/s 00:00 [################################################] 100%
multilib 160.9 KiB 11.2M/s 00:00 [################################################] 100%
infinality-bundle 4.3 KiB 1439K/s 00:00 [################################################] 100%
infinality-bundle.sig 287.0 B 0.00B/s 00:00 [################################################] 100%
infinality-bundle-multilib 2.0 KiB 0.00B/s 00:00 [################################################] 100%
infinality-bundle-multilib.sig 287.0 B 0.00B/s 00:00 [################################################] 100%
infinality-bundle-fonts 96.5 KiB 74.2K/s 00:01 [################################################] 100%
infinality-bundle-fonts.sig 287.0 B 0.00B/s 00:00 [################################################] 100%
alucryd 16.0 KiB 47.1K/s 00:00 [################################################] 100%
alucryd-multilib 6.7 KiB 0.00B/s 00:00 [################################################] 100%
openrc-eudev 33.5 KiB 64.9K/s 00:01 [################################################] 100%
:: Starting full system upgrade...
there is nothing to do
:: Starting AUR upgrade...
:: resolving dependencies...
:: no results found for aseman-qt-tools
Offline
One of your package requires aseman-qt-tools as dependency, instead of aseman-qt-tools-git which exists in the AUR.
Offline
`pacuar -Sc` doesn't clear the packages in ~/.cache/pacaur.
Is this the expected behavior?
Offline
Yes, -Sc/-Scc will only clear packages if PKGDEST is defined.
On a side note, the whole clean package feature is a bit messy and I wish to improve it soon - I am just not sure how to do so properly yet.
Offline
Couple of questions , i) how to clean ~/.config/pacaur/ directory with pacaur command (like pacaur -Scc) , if not possible , is it safe to remove manually.
ii) How to disable ZSH completion for AUR packages only since this lags for me , or even better is there a way to cache package names of AUR to be used by completion
Offline
i) this is implemented in -Sc in pacaur-git, but not yet in the stable package.
ii) No idea since I didn't write the ZSH completion file. I recently did some test with caching the whole AUR package list (with the bash completion file), but noticed some lag too (although still usable). It looks like it's due to the sheer number of packages to parse rather than the online cower request.
Offline
While we're talking about zsh completion for pacaur, it does display all the available options, but pressing tab repeatedly doesn't select anything. If no one provides a patch I will try to provide one, but I'm busy for the next two weeks.
Offline
While we're talking about zsh completion for pacaur, it does display all the available options, but pressing tab repeatedly doesn't select anything. If no one provides a patch I will try to provide one, but I'm busy for the next two weeks.
Zsh completion is working fine for me. It has the same behaviour as the pacman zsh-completion. Which is the command that does not work for you?
“That’s the second biggest linux kernel I’ve ever seen!”
Offline
A bit more testing sowed me that pacaur's zsh completion is mostly working properly, but the scenario I was talking about still exists in some cases. namely:
pacaur -Sau --<Tab>
does display possible completions, but doesn't complete even after multiple tab key strokes.
Offline
I can confirm that the option that is breaking the ZSH completion is:
pacaur -Su --<TAB>
I'll take a closer look at this issue.
“That’s the second biggest linux kernel I’ve ever seen!”
Offline
The ZSH completion issue with -Su is fixed in the last commit. Nevertheless, there is a lot of work to do in the ZSH completion file. I've also noticed that -Ss completion is broken in both pacman and pacaur.
“That’s the second biggest linux kernel I’ve ever seen!”
Offline
I am not sure search is supposed to have completion. You are passing search patterns, not package names.
Offline
I am not sure search is supposed to have completion. You are passing search patterns, not package names.
You are right, I suppose it is proper approach to search completion.
“That’s the second biggest linux kernel I’ve ever seen!”
Offline
Is there an option that pacaur doesn't overwrite a custom PKGBUILD file? If not I would love to have one ideally with something like pacdiff
Offline
No, pacaur isn't designed to work with user-modified packages, or stuff like customizepkg. If you're modifying a package, you might want to use a different package name or try using pacman hook. This has been written for modified repository packages, but might work with AUR packages too.
Last edited by Spyhawk (2016-11-02 19:15:27)
Offline
No, pacaur isn't designed to work with user-modified packages, or stuff like customizepkg. If you're modifying a package, you might want to use a different package name or try using pacman hook. This has been written for modified repository packages, but might work with AUR packages too.
I was hoping that - since we are already reviewing changed aur PKGBUILD files - it wouldn't be too difficult to add this functionality too. But thank you for the answer and the links
Offline
Not all changes in the PKGBUILD are problematic, but the dependencies changes surely are (as people add or remove needed dependencies depending on their compilation option changes). This would break the RPC dependency solver, and working around that issue is completely silly. I don't really see the point of implementing support for half baked features that will result in way too much unneeded bug reports, so better tell the user to change the pkgname if he wants to tinker with the upstream PKGBUILDs.
Offline
I'm getting some error messages:
$ pacaur -i esetroot
mktemp: failed to create file via template ‘/run/user/1000/pacaur.infoaur.XXXX’: No such file or directory
$ pacaur -y hsetroot
touch: cannot touch '/run/user/1000/pacaur.sudov.lck': No such file or directory
I think it's because I use OpenRC, not systemd, so the "/run/user" directory doesn't exist.
Offline
I'm getting some error messages:
I think it's because I use OpenRC, not systemd, so the "/run/user" directory doesn't exist.
Yep, exactly that.
Offline
Is pacaur supposed to be able to avoid rebuilding (cannot say upgrading) devel packages for which nothing new has been committed upstream? Imagine I do
pacaur -S pass-git
All good and installed.
pacaur -a -Syu
pass-git was not listed, rebuild or reinstalled, because pacaur somehow detected that I wouldn't make a difference.
Offline
Yes.
Offline
Okay. I think it might not be working correctly. I had a bit of a hard time to find a perfect test case, since I recently started using pacaur, and I'm not sure if the "devel package outdated" detected would need the package to have been built by pacaur in the first place (and be cached in ~/.cache/pacaur, which may or may not be necessary). But, now I found a case.
I previously had 162-1 of sxhkd-git. `pacaur -a -Syu` did not find sxhkd-git outdated. Adding `--devel` to that did display quite a few packages, including sxhkd-git but also others that I had just updated with `pacaur -S` (among them dmenu-frecency-git). (it is not clear to me if `--devel` is needed or not, thus I tried it).
So, I run `pacaur -S sxhkd-git` and lo and behold, I get version 163-1. And still, the previous paragraph is remains valid.
Offline
And why is that a problem? No AUR helper will try to reinstall every *-git package on a `$helper -Syua` because that would be silly... all they do is check the reported version on the AUR.
--devel flags exist for the sake of checking *-git packages for updates by cloning each and every one and checking the pkgver()-updated version against what you have cached/installed.
Last edited by eschwartz (2017-01-06 16:00:22)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline