Thanks smudge for the handy bash script!
I now removed pkgtools because whoneeds was the only tool I was using.
Search Criteria
Package Details: pkgtools-git 20140211.510.c9519ba-1
Package Actions
| Package Base: | pkgtools-git |
|---|---|
| Description: | A collection of scripts for Arch Linux packages |
| Upstream URL: | https://github.com/Daenyth/pkgtools |
| Category: | system |
| Licenses: | |
| Submitter: | daenyth |
| Maintainer: | jstjohn |
| Last Packager: | None |
| Votes: | 15 |
| First Submitted: | 2009-03-08 14:04 |
| Last Updated: | 2014-02-12 04:56 |
Required by (0)
Sources
Latest Comments
Comment by synthetic
Comment by smudge
You're not the only one synthetic, happens here to. Have a look at:
https://github.com/Daenyth/pkgtools/issues/40
You could put a little function into your ~/.bashrc:
# whoneeds replacement via pactree
whoneeds() {
comm -12 <(pactree -lru $1|sort) <(pacman -Qqe|sort) | grep -v $1
}
Comment by synthetic
When I do
whoneeds iptables
it comes back with
error: package 'fail2ban iproute2' was not found
error: could not get information on fail2ban iproute2
and similar for other packages. The error code is 3. It works though if there is no or a single dependency. It's obviously not separating out the package line into individual package names.
What could cause this? I assume this is on my end since nobody else has complained about it.
Comment by jstjohn
I just updated the PKGBUILD for pacman 4.1 and other upstream changes.
Comment by Det
Yyyyes there is: https://www.archlinux.org/packages/community/x86_64/pkgfile/,
https://aur.archlinux.org/packages.php?ID=60915
Comment by daenyth
There is no pkgfile package to conflict with, it was just for convenience.
Comment by Det
It should say that it conflicts with pkgfile as it's providing it.
Comment by daenyth
Updated PKGBUILD for the new python version
Comment by karol_007
Sure.
I'm using the regular pkgtools for the time being.
Comment by daenyth
Yeah, the git PKGBUILD is way out of date. It probably won't work off master actually. Wait til the next full release.
Comment by karol_007
I may be wrong, but isn't pkgfile a python script? If so, you need to add python to dependencies and take care of the 2to3 python transition.
Comment by haawda
Change the rm-line to
[ -d _gitname-build ] && rm -r ${srcdir}/$_gitname-build
Comment by td123
I get the following error while building: http://aur.pastebin.com/8vfpgB4t