You are not logged in.
qpkg is Arch Linux' "query package" tool, using it, you can search for packages in all known repositories (official, TUR and PUR) and in AUR, find packages owning files on your filesystem, check the integrity of installed packages, manage the PURs in your pacman configuration and do other queries against installed or uninstalled packages. You can install packages through the PKGBUILDs directly from AUR. And you can automatically update all packages which were installed directly from AUR. It takes care of the dependencies and install/update them if needed.
NEW: The voting function for AUR is now also included too!
You'll find it on AUR:
http://aur.archlinux.org/packages.php?K=qpkg
Or directly on its homepage:
http://qpkg.berlios.de
And don't forget to vote for this script on AUR!
have fun.
Offline
Version 0.1.3 is out now with the features announced above.
Offline
Well, ...any suggestions and or feedback would be really fine...
Offline
looks really cool, but i get an error
03:14:09~$ qpkg gstreamer
Searching for the packages...
Search matches from the package names:
extra/gstreamer-0.8.10-1
GNOME2 Multimedia Framework
ftp://ftp.archlinux.de/pub/archlinux/extra/os/i686
Search matches from AUR:
Traceback (most recent call last):
File "/usr/bin/qpkg", line 1158, in ?
PLIST = [spanTag.contents[0].string for spanTag in matchingSpanTags]
IndexError: list index out of range
out of curiosity, where are the know PUR list stored/ how is it recieved
qpkg-update grabs the list from linu-stats.org?
Offline
Hi _will...
thanks for your feedback...
This is a known bug... I'm working on this... this comes from the html-code which AUR responds on some packagenames.
The "database"-files are generated every four hours and then uploaded to linux-stats.org. My home-computer generates them. I'm searching for repos and adding them to the list from which the files were generated.
Offline
I've just release 1.0.0
Take a look at the url below and at the last comment on this page for a complete list of features.
Offline
Good job with qpkg. It is very simple and easy to use. A nice feature would be a verbose option that would allow you to see what is going on when it is downloading/compiling.
Offline
Thanks for your feedback.
I'll think about an 1.0.1 with this feature.
Offline
Very nice work. I use it all the time now.
Offline
Thank you agin -- It really helped in installing e-cvs
Abhay
Offline
I will give it a try soon.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
really nice tool
just 1 remark if i may - on testing qpkg on itself (for example), why the use of /tmp/qpkg, /root/qpkg.packages, /var/cache/qpkg ? instead, why not do as aurbuild and create subfolder (from existing dir) of the package-name? i dont like having those dirs in various places, i prefer having everything in my /var/abs/local where i manually build my packages...
thanks for your contribution
Offline
+1 really *nice* tool
Thank you for having implemented an easy-way to clean /var/cache/pacman/src & ~/pkg :
# qpkg -s
Calculating directory sizes and space which can be freed...
Directory-Listing:
=============================================================
Directory Files Size (b) Size (mb)
-------------------------------------------------------------
/var/cache/pacman/src 31 83348786 79.488
/var/cache/pacman/pkg 140 227816375 217.263
-------------------------------------------------------------
Total used space: 311165161 296.75
Do you want me to start the deletion of the unused files now?
[Y/n]
Deletion done.
~300MB recovered first time I used it, which is much more (precise as well) than I could achieve with pacman -Sc
Some repositories from qpkg -r list could not be found yet :
]# pacman -Sy
:: Synchronizing package databases...
testing [################] 100% 3K 2.9K/s 00:00:01
current [/media/mirrors/archlinux/current/] 100% LOCAL
extra [/media/mirrors/archlinux/extra/os] 100% LOCAL
community [################] 100% 30K 94.9K/s 00:00:00
redirection not supported
failed downloading /berkus.db.tar.gz from arch.madfire.net: HTTP/1.1 302 Found
failed to synchronize berkus
connect: Connection timed out
error: cannot connect to celti.a.la
failed to synchronize celti
failed downloading /pacman/effigies.db.tar.gz from effigies.freelinuxhost.com: HTTP/1.1 404 Not Found
failed to synchronize effigies
connect: Connection refused
error: cannot connect to phrakture.homelinux.net
failed to synchronize phrakture
error: could not open sync database: berkus
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery ) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
+1 really *nice* tool
Thank you for having implemented an easy-way to clean /var/cache/pacman/src & ~/pkg :
# qpkg -s Calculating directory sizes and space which can be freed... Directory-Listing: ============================================================= Directory Files Size (b) Size (mb) ------------------------------------------------------------- /var/cache/pacman/src 31 83348786 79.488 /var/cache/pacman/pkg 140 227816375 217.263 ------------------------------------------------------------- Total used space: 311165161 296.75 Do you want me to start the deletion of the unused files now? [Y/n] Deletion done.
~300MB recovered first time I used it, which is much more (precise as well) than I could achieve with pacman -Sc
Hehe, great that you like it.
Some repositories from qpkg -r list could not be found yet :
]# pacman -Sy :: Synchronizing package databases... testing [################] 100% 3K 2.9K/s 00:00:01 current [/media/mirrors/archlinux/current/] 100% LOCAL extra [/media/mirrors/archlinux/extra/os] 100% LOCAL community [################] 100% 30K 94.9K/s 00:00:00 redirection not supported failed downloading /berkus.db.tar.gz from arch.madfire.net: HTTP/1.1 302 Found failed to synchronize berkus connect: Connection timed out error: cannot connect to celti.a.la failed to synchronize celti failed downloading /pacman/effigies.db.tar.gz from effigies.freelinuxhost.com: HTTP/1.1 404 Not Found failed to synchronize effigies connect: Connection refused error: cannot connect to phrakture.homelinux.net failed to synchronize phrakture error: could not open sync database: berkus
yeah... unfortunatly these user-repositories changes very often and some of them also are located on an homeserver under a dynamic ip.
So you have to remove the not working repositories from your qpkg-r list.
I will update these repositories soon.
Offline
i love it
Offline
yeah... unfortunatly these user-repositories changes very often and some of them also are located on an homeserver under a dynamic ip.
So you have to remove the not working repositories from your qpkg-r list.I will update these repositories soon.
The list on xentac.net, and all the old TURs were removed recently - the PKGBUILDs will be uploaded to the AUR when some of the TUs get time.
We discussed that in a TU meeting ages ago, and it took Xentac 3 months to do it (lazy bastard!).
As for personal repos, I am not sure if a list is maintained anymore.
Offline
@mambro: yes. Maybe I'll implement the automatic installation of dependencies for a next version soon...
Offline
Does this allow searching owner of files for packages not yet installed? Like
pacman -Qo <file>
but searching for not-yet installed packages.
Offline
couldn't you make it check if the packages are already installed or not, like pajman does? That's something really simple and helpfull.
Offline
sure I can...
But first I have to reinstall my arch box again...
Offline
Found it once again very usefull when mplayer-cvs started to complain about missing libs.
$ qpkg -f liblzo.so
Searching for package that contains "liblzo.so"...
/usr/lib/liblzo.so.1.0.0 is owned by lzo 1.08-4$ qpkg -f mpcdec
Searching for package that contains "mpcdec"...
/usr/include/mpcdec/config_types.h is owned by libmpcdec 1.2.1-1
/usr/include/mpcdec/decoder.h is owned by libmpcdec 1.2.1-1$ qpkg -f libjack.so
Searching for package that contains "libjack.so"...
/usr/lib/libjack.so is owned by jack-audio-connection-kit 0.100.0-3
/usr/lib/libjack.so.0 is owned by jack-audio-connection-kit 0.100.0-3
All i have to do was installing the packages qpkg printed
qpkg -f [some_file] is a great tool
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery ) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
recently qpkg started erroring on AUR search part
i tried reinstalling, but no joy
-------------------------------------------------------------------
# qpkg backup
Searching for the packages...
Search matches from the package names:
vapor/dvdbackup-0.1.1-1
dvd backup software
http://atum.lab.ic.unicamp.br/~lfelipe/arch/vapor
Search matches from AUR:
Traceback (most recent call last):
File "/usr/bin/qpkg", line 1582, in ?
matchingSpanTags = soup.fetch('span', desiredAttributes)
File "/usr/lib/python2.4/site-packages/qpkg/BeautifulSoup.py", line 491, in fetch
return self._fetch(name, attrs, text, limit, generator)
File "/usr/lib/python2.4/site-packages/qpkg/BeautifulSoup.py", line 187, in _fetch
if not self._matches(check, matchAgainst):
File "/usr/lib/python2.4/site-packages/qpkg/BeautifulSoup.py", line 244, in _matches
return howToMatch(chunk)
File "/usr/bin/qpkg", line 1579, in blueOrBlackMatcher
return value.lower() in ('blue', 'black', 'green')
AttributeError: 'NoneType' object has no attribute 'lower'
------------------------------------------------------------------------------------
Offline
recently qpkg started erroring on AUR search part
i tried reinstalling, but no joy
-------------------------------------------------------------------
# qpkg backup
Searching for the packages...Search matches from the package names:
vapor/dvdbackup-0.1.1-1
dvd backup software
http://atum.lab.ic.unicamp.br/~lfelipe/arch/vaporSearch matches from AUR:
Traceback (most recent call last):
File "/usr/bin/qpkg", line 1582, in ?
matchingSpanTags = soup.fetch('span', desiredAttributes)
File "/usr/lib/python2.4/site-packages/qpkg/BeautifulSoup.py", line 491, in fetch
return self._fetch(name, attrs, text, limit, generator)
File "/usr/lib/python2.4/site-packages/qpkg/BeautifulSoup.py", line 187, in _fetch
if not self._matches(check, matchAgainst):
File "/usr/lib/python2.4/site-packages/qpkg/BeautifulSoup.py", line 244, in _matches
return howToMatch(chunk)
File "/usr/bin/qpkg", line 1579, in blueOrBlackMatcher
return value.lower() in ('blue', 'black', 'green')
AttributeError: 'NoneType' object has no attribute 'lower'
------------------------------------------------------------------------------------
This can happen when the interface of AUR which will be searched by qpkg has changed.
Unfortunatly I've no working Arch atm, but I'll try to fix this asap.
Offline
qpkg is a really nice script! Thank you for building it ( - oder danke, unter Deutschsprachigen )
I also get the error pkmorrison posted. Would be nice to see a fixed qpkg sooner or later...
Cheers Sigi
Haven't been here in a while. Still rocking Arch.
Offline
Unfortunatly this error-msg doesn't appear with all packages you're searching for... so it's hard to debug and fix...
Offline