Package Details: pkgbrowser 0.20-1

Git Clone URL: https://aur.archlinux.org/pkgbrowser.git (read-only)
Package Base: pkgbrowser
Description: A utility for browsing pacman databases and the AUR
Upstream URL: https://bitbucket.org/kachelaqa/pkgbrowser
Licenses: GPL2
Submitter: kachelaqa
Maintainer: kachelaqa
Last Packager: kachelaqa
Votes: 195
Popularity: 4.522983
First Submitted: 2011-04-20 18:18
Last Updated: 2016-03-22 20:27

Latest Comments

kachelaqa commented on 2016-03-23 17:44

@Thah. See my comment on 2015-02-07 17:57.

Thah commented on 2016-03-23 08:25

The build error below is probably due to /bin/sh being linked to a not-Bash
shell, e.g. Dash; see my comment on 2015-02-07 09:36: Make uses /bin/sh as a
shell which only guaranties POSIX compliance. The makefile uses bash
extension(s). See my previous comment for a workaround/fix.

Version 0.20-1 compiles fine under Dash but 'make install' still needs Bash.

checkbashisms reports possible problems with brace expansions.

kachelaqa commented on 2016-02-16 18:45

@jefbed. I can't reproduce this - it all works fine for me. The problem must at your end. Are you using an aur helper programme?

jefbed commented on 2016-02-16 05:24

pkgbrowser fails to build, error:
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ofast -fomit-frame-pointer -march=native -mfpmath=both -fPIC -I/usr/include/python3.5m -c src/alpm.c -o build/src/alpm.o
Error: No such file or directory: "designer/[^_]*.ui"
Makefile:35: recipe for target 'pyqt' failed
make: *** [pyqt] Error 1
make: *** Waiting for unfinished jobs....
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-O1,--sort-common,--as-needed,-z,relro -Ofast -fomit-frame-pointer -march=native -mfpmath=both build/src/alpm.o -L/usr/lib -lalpm -lpython3.5m -o /home/abs/aur/pkgbrowser/src/pkgbrowser-0.19.1/pkgbrowser/alpm.cpython-35m-x86_64-linux-gnu.so
rm -vrf build
removed 'build/src/alpm.o'
removed directory 'build/src'
removed directory 'build'
==> ERROR: A failure occurred in build().
Aborting...
:: Installing pkgbrowser package(s)...
:: pkgbrowser package(s) failed to install. Check .SRCINFO for mismatching data with PKGBUILD.
:: failed to build pkgbrowser package(s)

guzzard commented on 2016-02-01 09:53

Package is not out-of-date, but dependencies have to be fixed. 'pacman<4.3' causing issues with pacman 5.0 installed.

dokie80 commented on 2015-11-27 03:26

@kachelaqa : superb! many thanks!

kachelaqa commented on 2015-11-26 16:55

@dokie80
You need to install libxkbcommon-x11 (due to bug FS#40468, which has still not been properly fixed).

dokie80 commented on 2015-11-26 07:43

fail to launch app
error msg when launched via terminal:

This application failed to start because it could not find or load the Qt platform plugin "xcb".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.

Reinstalling the application may fix this problem.
Aborted (core dumped)

wchouser3 commented on 2015-10-02 10:13

Fixed!

martynjy commented on 2015-10-02 09:30

@kirek
Thanks. That did the trick.

martynjy commented on 2015-10-01 23:30

Thanks kirek. That did the trick.

kirek commented on 2015-10-01 23:09

Change the build(){...} function to this:

build() {
cd "$srcdir/$pkgname-$pkgver"
sed -i 's/{c,o}/c/g' Makefile
sed -i 's/, HTMLParseError//g' pkgbrowser/backend.py
sed -i 's/HTMLParseError, //g' pkgbrowser/backend.py
make PREFIX='/usr'
}

wchouser3 commented on 2015-10-01 22:56

won't build:
install -m 755 -d /home/wchouser3/Downloads/pkgbrowser/pkg/pkgbrowser/usr/bin /home/wchouser3/Downloads/pkgbrowser/pkg/pkgbrowser/usr/lib/pkgbrowser/pkgbrowser/{,ui/}__pycache__
install -m 755 -d /home/wchouser3/Downloads/pkgbrowser/pkg/pkgbrowser/usr/share/applications /home/wchouser3/Downloads/pkgbrowser/pkg/pkgbrowser/usr/share/icons/hicolor/48x48/apps
install -m 644 main.py /home/wchouser3/Downloads/pkgbrowser/pkg/pkgbrowser/usr/lib/pkgbrowser
install -m 644 pkgbrowser/*.{py,so} /home/wchouser3/Downloads/pkgbrowser/pkg/pkgbrowser/usr/lib/pkgbrowser/pkgbrowser
install -m 644 pkgbrowser/__pycache__/*.py{c,o} /home/wchouser3/Downloads/pkgbrowser/pkg/pkgbrowser/usr/lib/pkgbrowser/pkgbrowser/__pycache__
install: cannot stat ‘pkgbrowser/__pycache__/*.pyo’: No such file or directory
Makefile:50: recipe for target 'install' failed
make: *** [install] Error 1

martynjy commented on 2015-10-01 22:56

Won't start after major python upgrade today:

Traceback (most recent call last):
File "/usr/lib/pkgbrowser/main.py", line 9, in <module>
sys.exit(app.run())
File "/usr/lib/pkgbrowser/pkgbrowser/app.py", line 112, in run
app.window().setup()
File "/usr/lib/pkgbrowser/pkgbrowser/app.py", line 56, in window
from pkgbrowser.window import Window
File "/usr/lib/pkgbrowser/pkgbrowser/window.py", line 18, in <module>
from pkgbrowser.backend import (
File "/usr/lib/pkgbrowser/pkgbrowser/backend.py", line 6, in <module>
from html.parser import HTMLParser, HTMLParseError
ImportError: cannot import name 'HTMLParseError'

and won't build either:

install: cannot stat ‘pkgbrowser/__pycache__/*.pyo’: No such file or directory
Makefile:50: recipe for target 'install' failed
make: *** [install] Error 1
==> ERROR: A failure occurred in package().

python (3.4.3-3 -> 3.5.0-2)
python-pyqt5 (5.5-1 -> 5.5-2)
pyqt5-common (5.5-1 -> 5.5-2)

majo commented on 2015-07-26 10:33

@kachelaqa
OK. You are right. Rebuilding pkgbrowser solved this problem.
yaourt -G pkgbrowser && cd pkgbrowser && makepkg -sirc

kachelaqa commented on 2015-07-19 16:56

@majo. Looks like the "bug" is at your end. Everything works fine for me.

majo commented on 2015-07-19 09:35

I see this bug:

$ pkgbrowser
Traceback (most recent call last):
File "/usr/lib/pkgbrowser/main.py", line 9, in <module>
sys.exit(app.run())
File "/usr/lib/pkgbrowser/pkgbrowser/app.py", line 114, in run
app.window().setup()
File "/usr/lib/pkgbrowser/pkgbrowser/app.py", line 58, in window
from pkgbrowser.window import Window
File "/usr/lib/pkgbrowser/pkgbrowser/window.py", line 16, in <module>
from pkgbrowser.backend import (
File "/usr/lib/pkgbrowser/pkgbrowser/backend.py", line 13, in <module>
from pkgbrowser import alpm, conf, utils
ImportError: /usr/lib/pkgbrowser/pkgbrowser/alpm.cpython-34m.so: undefined symbol: AnnotateIgnoreReadsEnd

kachelaqa commented on 2015-04-19 21:30

@rcrath. what update are you talking about? everything still works perfectly fine for me...

rcrath commented on 2015-04-19 20:57

update breaks, need to download & extract tarball and run makepkg -i in the pkgbrowser folder and then it works fine

JKAbrams commented on 2015-03-29 15:48

I got this after the update of python:

ImportError: /usr/lib/pkgbrowser/pkgbrowser/alpm.cpython-34m.so: undefined symbol: AnnotateIgnoreReadsEnd

Solution: rebuild pkgbrowser

kachelaqa commented on 2015-02-07 17:57

@Thah
Please make a proper bug report (either on the upstream issue tracker, or on the arch forum thread). It would also be a good idea to delete your comment here, as most of it is not relevant to the AUR.

Thah commented on 2015-02-07 09:36

Build fails on systems with non-Bash /bin/sh

Background:

In the aftermath of the Shellshock vulnerability it was pointed out that Bash
is not the most reasonable choice for a system shell. I changed it to point to /usr/bin/dash.

Build failure:

Running makepkg ends with
> removed directory: ‘build/src’
> removed directory: ‘build’
> for f in designer/[^_]*.ui; do \
> /usr/bin/pyuic4 --from-imports -w -o "pkgbrowser/ui/$(basename $f .ui).py" > "$f";
> \
> done
> Error: No such file or directory: "designer/[^_]*.ui"
> Makefile:35: recipe for target 'pyqt' failed
> make: *** [pyqt] Error 1
> ==> ERROR: A failure occurred in build().
> Aborting...
> $

Explanation:

make does not use the user's $SHELL environment variable as a shell (see (p)info make, 5.3.2 Choosing the Shell) on recipe lines but /bin/sh. Patching the Makefile with

*** 20,25 ****
--- 20,27 ----
distname := $(APPNAME)-$(VERSION)
source := $(distdir)/$(distname)

+ export SHELL := /bin/bash
+
all: alpm pyqt scripts compile

cython:

and rebuilding with makepkg -e succeeds. Running checkbashisms -f on the Makefile reports among other things

> possible bashism in Makefile line 37 ([^] should be [!]):
> for f in designer/[^_]*.ui; do \
> $(PYUIC) --from-imports -w -o "$(APPNAME)/ui/$$(basename $$f .ui).py" > "$$f"; \
> done

The above and comparing the man pages for bash/dash show that checkbashisms's output is correct.

Fix:

A quick fix is explicitly telling make to use Bash as above
(or maybe /usr/bin/bash ? ). In this case there should be a build dependency on Bash although Bash would be installed on almost all systems anyway. A more elegant solution would be to avoid bashisms at all but I haven't checked the makefile for other bashisms. OTOH sticking to POSIX compliant recipe lines would avoid any problems with possible shell changes in the future.

In any case, as /bin/sh is supposed to be POSIX compliant and nothing more it should not be used for cases, that use more that POSIX. In this case the use of /bin/sh is disguised quite well...

cda commented on 2015-01-04 11:40

After the last update pkgbrowser does not work.

└─[$]> pkgbrowser
Traceback (most recent call last):
File "/usr/lib/pkgbrowser/main.py", line 9, in <module>
sys.exit(app.run())
File "/usr/lib/pkgbrowser/pkgbrowser/app.py", line 114, in run
app.window().setup()
File "/usr/lib/pkgbrowser/pkgbrowser/app.py", line 58, in window
from pkgbrowser.window import Window
File "/usr/lib/pkgbrowser/pkgbrowser/window.py", line 16, in <module>
from pkgbrowser.backend import (
File "/usr/lib/pkgbrowser/pkgbrowser/backend.py", line 13, in <module>
from pkgbrowser import alpm, conf, utils
ImportError: libalpm.so.8: cannot open shared object file: No such file or directory

└─[$]> ls /usr/lib |grep libalpm
libalpm.so
libalpm.so.9
libalpm.so.9.0.0

OldNuc commented on 2014-12-31 00:50

Removed and rebuilt from tarball, fixed problem. Thanks!

I think I may have just done a reinstall following the update.

OldNuc commented on 2014-12-31 00:21

@ GSF1200S
I will give that a shot as I did rebuild pkgbrowser right after the update but It may have missed something.

GSF1200S commented on 2014-12-30 23:07

@ OldNuc

Have you rebuilt PkgBrowser SINCE you updated pacman? I updated pacman first, then built PkgBrowser the following day when kachelaqa released the update- no problems here.

I think you simply need to rebuild PkgBrowser so its built against the correct libalpm...

OldNuc commented on 2014-12-30 22:22

pkgbrowser 0.18-2 failing with following error. Package-query rebuilt to 1.5-2 12/30/15 and same eror no longer failing yaourt.

Traceback (most recent call last): [trimmed to initial error]
ImportError: libalpm.so.8: cannot open shared object file: No such file or directory

GSF1200S commented on 2014-12-29 09:18

Just to clarify caseyjp1's comment to avoid confusion:

Cannot upgrade as PkgBrowser requires pacman version < 4.2, and pacman is now 4.2.0-5. Remove PkgBrowser and update system- kachelaqa usually updates quickly, so keep an eye out. Itll be fixed shortly...

caseyjp1 commented on 2014-12-29 06:42

Cannot upgrade as pkgbuild requires pacman 4.1 or lower

kachelaqa commented on 2014-05-31 14:26

@jean_no
icu is not required by pkgbrowser, so it is not a dependency (it's just an optional dependency of qt4)

jean_no commented on 2014-05-31 09:49

icu should be included in the dependencies, otherwise this information is displayed when compiling in a clean chroot :
Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)"

blackhole commented on 2014-05-30 07:45

With this workaround all is fine. Thanks.

kachelaqa commented on 2014-05-29 22:14

@blackhole
It's possible that this might be caused by a bug in qt/pyqt. As a temporary workaround, try opening pkgbrowser.conf in an editor, and set the following:

[search]
strings=python qt linux

[bookmarks]
names=python qt linux

The actual values don't matter too much - just make sure each one has a space-separated list of at least two or more words.

blackhole commented on 2014-05-29 21:55

OK, First I launch pkgbrowser without doing nothing more. Result:
[audiolinux@archaudio ~]$ pkgbrowser
LxQtGuiPlatformPlugin constructed
WARNING: config key has an invalid type: search/strings
WARNING: config key has an invalid type: bookmarks/names

But if I launch and seek for some package inside pkgbrowser and close, the following time the result is this:
[audiolinux@archaudio ~]$ pkgbrowser
LxQtGuiPlatformPlugin constructed
Traceback (most recent call last):
File "/usr/lib/pkgbrowser/main.py", line 9, in <module>
sys.exit(app.run())
File "/usr/lib/pkgbrowser/pkgbrowser/app.py", line 114, in run
app.window().setup()
File "/usr/lib/pkgbrowser/pkgbrowser/app.py", line 59, in window
self._window = Window()
File "/usr/lib/pkgbrowser/pkgbrowser/window.py", line 229, in __init__
strings[:self.searchBox.maxCount()])
TypeError: QStringListModel.setStringList(list-of-str): argument 1 has unexpected type 'list'

and the app will not start

kachelaqa commented on 2014-05-29 15:29

@blackhole
What exactly do you have to do in lxqt to produce the problem? What happens if you just try starting pkgbrowser in a console?

blackhole commented on 2014-05-29 15:18

I have 2 pure archlinux systems.
The problem is only on the one with lxqt-desktop from aur.

Both are up to date (today!)

kachelaqa commented on 2014-05-29 15:13

@blackhole
I can't reproduce this. Are you using older versions of Qt/PyQt? Or maybe one of the derivative arch-linux distros?

blackhole commented on 2014-05-29 14:19

The bug is always there.

I have to start like this:
bash -c "rm -r /home/user/.config/pkgbrowser; pkgbrowser"

kachelaqa commented on 2014-05-23 00:53

@Dasonk
Please read the existing comments - the workaround for this has already been provided.

Dasonk commented on 2014-05-23 00:40

When trying to run pkgbrowser I get the following:

Traceback (most recent call last):
File "/usr/lib/pkgbrowser/main.py", line 9, in <module>
sys.exit(app.run())
File "/usr/lib/pkgbrowser/pkgbrowser/app.py", line 114, in run
app.window().setup()
File "/usr/lib/pkgbrowser/pkgbrowser/app.py", line 59, in window
self._window = Window()
File "/usr/lib/pkgbrowser/pkgbrowser/window.py", line 229, in __init__
strings[:self.searchBox.maxCount()])
TypeError: QStringListModel.setStringList(list-of-str): argument 1 has unexpected type 'list'

moething commented on 2014-03-28 06:46

The packet needs to be rebuilt against the latest alpm bindings from updated Python packages.
The package maintainer should increase the build number.

If you get the error message "alpm not found" simply reinstall (rebuild) the package.

tazee commented on 2013-10-30 00:17

@kachelaqa
Thanks. That was it.

kachelaqa commented on 2013-10-29 16:48

@tazee
This is probably caused by an old/incompatible config file.
Remove $HOME/.config/pkgbrowser/pkgbrowser.conf, and try again.

tazee commented on 2013-10-29 05:02

Something seems to have caused this package to break. When I run it now from the CLI, I get

Traceback (most recent call last):
File "/usr/lib/pkgbrowser/main.py", line 9, in <module>
sys.exit(app.run())
File "/usr/lib/pkgbrowser/pkgbrowser/app.py", line 114, in run
app.window().setup()
File "/usr/lib/pkgbrowser/pkgbrowser/app.py", line 59, in window
self._window = Window()
File "/usr/lib/pkgbrowser/pkgbrowser/window.py", line 229, in __init__
strings[:self.searchBox.maxCount()])
TypeError: QStringListModel.setStringList(list-of-str): argument 1 has unexpected type 'list'

kachelaqa commented on 2013-09-03 16:22

@Anima_hellsing
Thanks. This is the third time I've had to redo this, so hopefully it's permanently fixed now. (NB: the View PKGBUILD link on AUR still shows the wrong md5sum at the moment, but the tarball is correct).

Anonymous comment on 2013-09-03 07:41

pkgbrowser-0.16.tar.gz seems having wrong md5 in current pkgbuild, replacing with "c0e69dce6de4cc8910842bf5d720f376" works fine.

kachelaqa commented on 2013-08-24 21:38

@DaveCode
Thanks for the feedback. I have answered your questions on the pkgbrowser arch forum thread:

https://bbs.archlinux.org/viewtopic.php?pid=1316471#p1316471

DaveCode commented on 2013-08-24 04:54

PkgBrowser shows the mystery 4 under Foreign/Non-Installed.

PkgBrowser lists the binary Xyne-I686 repo we use, but not pkgs installed from it, under Xyne heading anyway. They're shown under AUR.

Xyne.ArchLinux.ca keeps a binary repo and maintains the same pkgs in AUR. So you can install his goods either way. We use his binary repo for simplicity. PkgBrowser is showing Xyne stuff coming from AUR, incorrectly. - thanks -

DaveCode commented on 2013-08-24 04:42

Voted. Totally belongs in extra. Beautiful. I love that it's a browser only, not installer - safe for users and lets me not worry over some GUI app. I just use pacaur -Syu every night.

I am confused on something. With an up-to-date system, PkgBrowser Updates shows 4 pkgs with Status "downgrade" - all from AUR - and only those 4. These 4 AUR pkgs do not replace any mainline ones. They only exist in AUR. There's nothing to downgrade to...?

kregexpeditor-git 491.f618b59-1
prezto-git 20130503-1
python3-aur 2013.6-1
ttf-sil-fonts 6-1

kachelaqa commented on 2013-06-21 17:59

@jean_no
Thanks - pkgbuild is now up to date

jean_no commented on 2013-06-21 16:59

Can you change the dependancie : python2-pyqt to python2-pyqt4 after update 06/17/2013

kachelaqa commented on 2013-06-02 22:28

@teateawhy
That error message is not from PkgBrowser. Not sure what would produce it: the display manager, maybe?

teateawhy commented on 2013-06-02 16:57

A very unspecific error popped up in the end of the installation: (translated)
Error: Command could not be executed.
Anyway the application is working fine.

kachelaqa commented on 2013-04-05 18:24

Sorry - I should have updated the PKGBUILD to reflect the fact that pkgbrowser won't work with pacman-4.1. I haven't looked at pacman-4.1 at all yet, so it may be a while before I can make a compatible release.

fank1 commented on 2013-04-05 14:49

I reported the issue here, and assume it has to do with the pacman upgrade somehow. http://code.google.com/p/pkgbrowser/issues/detail?id=22

Anonymous comment on 2013-04-05 14:46

Yes. And still doesn't work. If only I have problem with pkgbrowser I will solve it. But if it's bug I will wait on newer version.

SanskritFritz commented on 2013-04-05 14:44

did you recompile?

Anonymous comment on 2013-04-05 14:42

Suddenly doesn't work. Only I have this problem?? I don't know what broke it. Downgrade pacman or linux doesn't work.

kachelaqa commented on 2012-07-06 16:46

@cip91
the problem is caused by an incompatibility introduced by version 4.9.4 of the python2-pyqt package.
this changed the name of the 'pyuic4' command to 'python2-pyuic4', which can break pkgbrowser's build process.
the simplest temporary fix for this issue is to create a 'pyuic4' symlink for 'python2-pyuic4'.
a bugfix release of pkgbrowser should be available within the next few days which provides a more permanent solution.

cip91 commented on 2012-07-06 12:31

I think you have to add dependence also on pyqt; without it I got an error such as "pyuic4: command not found" during the build, but as soon as I installed pyqt everything went fine.

student975 commented on 2012-01-16 20:06

pacman 4.x is official now:

error: failed to prepare transaction (could not satisfy dependencies)
:: Starting full system upgrade... ...
:: pkgbrowser: requires pacman<4

kachelaqa commented on 2012-01-13 21:00

@scjet: Thanks for your comments.
The short answer is: no - pkgbrowser is a purely informational search utility.
For a longer answer (and a possible solution), see: http://code.google.com/p/pkgbrowser/issues/detail?id=3.

scjet commented on 2012-01-13 18:13

This is a great pkg, -Thanks :)
Any chance, in the near future, a means to Install/Remove/Upgrade/... packages, using this GUI would be implemented ???
(even if that meant, a seperate terminal popped-up, to query the "user", just like pacman already does).
Again, thx, keep up the good work.

kachelaqa commented on 2011-08-30 17:22

@estevao: thanks. should be fixed now

Anonymous comment on 2011-08-30 16:56

Hi, this pkgbuild has a checksum problem. Thanks.

kachelaqa commented on 2011-06-24 16:32

@maxcool
check your versions again: python2-sip version 4.12.4 hasn't been released yet.
you need to downgrade to version *4.12.2* or earlier.

macxcool commented on 2011-06-24 16:30

'downgrade' is awesome and I hope it never goes away.
Nice. I'll keep an eye out for 4.12.4

macxcool commented on 2011-06-24 16:24

I'm getting the 'unhandled exception' error as well.
More specifically:
"TypeError: expected 1 arguments, got 0"
I have python2-sip 4.12.4

kachelaqa commented on 2011-06-24 15:27

@mykey
pkgbrowser is affected by a bug in sip/python2-sip version 4.12.3.
downgrade those packages to 4.12.2 or earlier, and the errors should go away.
(nb: the bug in sip/python2-sip will be fixed in version 4.12.4).

mykey commented on 2011-06-24 14:42

builds fine - only - I get an 'unhandeled exeption' error when running it:

TypeError: expected 1 arguments, got 0

kachelaqa commented on 2011-05-21 11:02

maxcool wrote: "'Include AUR' is greyed out for me. Am I missing something?"

this could happen if you switched on 'work offline' in the file menu.

(nb: 'work offline' is saved between sessions)

macxcool commented on 2011-05-21 04:09

'Include AUR' is greyed out for me. Am I missing something?

jean_no commented on 2011-05-09 15:44

Can you change the dependancie : python2-qt to python2-pyqt

jeff_story commented on 2011-04-29 01:38

jeff_story commented on 2011-04-29 01:37


Installed a few days ago, great app, stable with no issues.
Super convenient way to search, browse or get info on Arch packages including the AUR repo.

arriagga commented on 2011-04-21 12:03

Wao, Thank you for this package, I really like it. :-)