You are not logged in.
Hi,
I have packages installed that I build from the abs tree.
I did not keep track of packages I built this way.
"pacman -Qm" don't show them since they are in the sync db even if they are not from it.
I'm afraid that "pacman -Su" will overwrite my careful builds.
Do you know how to :
- find package locally build from the abs tree?
- filter installed package by Packager ? (since the one I build are package by me@local)
- filter installed package that aren't signed ? (since the one I build aren't)
Please forgive the telegraphic style, I just took about 1h to compose my post and I lost it because apparently I wasn't logged-in anymore ![]()
Last edited by feeddageek (2014-01-31 17:01:54)
Offline
If you don't want pacman to update your packages with repository versions, then you should rename the package built from abs and add a provides-statement with the original name and version.
_pkg=some-package
pkgname=$_pkg-abs
provides= ( "$_pkg=$pkgver" )- filter installed package by Packager ? (since the one I build are package by me@local)
- filter installed package that aren't signed ? (since the one I build aren't)
Maybe filter output from "pacman -Qi". Filtering is easier with package-query from AUR, though: expac.
expac "\e[1;33m%r\\e[01;37m/%n\e[0;94m (%v)\\e[00m\n %d\n %p" | grep -B2 "^ Unknown Packager$" | grep -v "^\(--\| Unknown Packager\)$"
expac "\e[1;33m%r\\e[01;37m/%n\e[0;94m (%v)\\e[00m\n %d\n %V" | grep -B2 "^ None" | grep -v "^\(--\| None\)$"Last edited by progandy (2014-01-30 09:09:06)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Another option for the future is to add any packages you build locally to a separate package group, then add that group to IgnoreGroup in pacman.conf. This way you'll get notified when a package in the official repos is updated and you need to rebuild yours.
Offline
- filter installed package by Packager ? (since the one I build are package by me@local)
Try expac.
Offline
Thanks you, I think I'll use Scimmia solution, the fact that I'll be notify by pacman when I need to rebuild my packages is quite attractive.
Offline
Please forgive the telegraphic style, I just took about 1h to compose my post and I lost it because apparently I wasn't logged-in anymore
I tend to compose longer posts in an external editor and paste them here when I'm done. This solves the problem of sudden logging out or internet connectivity loss and since the forum suffers from some glitches from time to time, I recommend this way of posting to everyone.
Offline