Yaourt not finding AUR dependencies?
Trying to install the Iron build of Chromium:
==> Making package: iron 4.0.227-2 x86_64 (Wed Dec 9 14:26:24 EST 2009)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
lib32-dbus-glib package not found, searching for group...
[b]error: 'lib32-dbus-glib': not found in sync db[/b]
==> ERROR: Pacman failed to install missing dependencies.
Error: Makepkg was unable to build iron package.
Note lib32-dbus-glib really is on AUR. Also,
$ yaourt -S lib32-dbus-glib --asdeps
works fine (but then I need to install lib32-gconf by hand also). On the other hand,
$ yaourt -S lib32-gconf #another dependency for Iron
==> lib32-gconf dependencies:
- lib32-orbit2 (building from AUR)
- lib32-gtk2 (package found)
- lib32-libxml2 (package found)
This seems pretty inconsistent. Why is yaourt pulling in dependencies from AUR to install lib32-gconf but not to install Iron?
Edit: notice the build order seems to be different, because one somehow (?) gets identified as a _runtime_ dependency.
Last edited by Fixnum (2009-12-09 19:59:05)
I changed the PKGBUILD from
if [[ $CARCH = x86_64 ]]; then
depends=('lib32-alsa-lib' 'lib32-dbus-glib' 'lib32-gconf' 'lib32-nss' 'lib32-libxdamage' 'ttf-dejavu')
optdepends=('nspluginwrapper-flash: flash support')
else
depends=('alsa-lib' 'gconf' 'nss' 'ttf-dejavu')
fi
to
depends=('lib32-alsa-lib' 'lib32-dbus-glib' 'lib32-gconf' 'lib32-nss' 'lib32-libxdamage' 'ttf-dejavu')
optdepends=('nspluginwrapper-flash: flash support')
and suddenly it works. So, I noticed this (installing from original PKGBUILD):
==> iron dependencies:
- alsa-lib (already installed)
- gconf (already installed)
- nss (already installed)
- ttf-dejavu (already installed)
So, it seems like pacman/yaourt is initially getting dependencies for the wrong architecture and only later coming back and only later getting the correct dependencies from testing against $CARCH, but at this point it screws up for some reason, and the added dependencies like lib32-<stuff> are "not found in sync db" ...
Edit: this issue persists in yaourt-git.
Last edited by Fixnum (2009-12-10 20:46:58)
Similar Messages
-
Yaourt dont find aur packets.. [solved]
I am running arch in a vmware environment currently.. I installed latest yaourt from the archlinuxfr repo, but yaourt cant find any aur packages..
trying with yaourt awesome3, i get nothing. I know its there from the website. Finding any packets from the core,extra or testing does work without problem.. only aur packets dont work.
Anyone else with this experience?
-- edit
downloaded and built from aur myself , then it worked. Guess something wrong with the prebuilt one in archlinuxfr repo..
Last edited by jinn (2008-09-29 15:33:52)The only issue I have with yaourt from archlinux.fr is that "yaourt -S {groupname}" fails.
"pacman -S {groupname}" works fine, though.
If you fail to spot packages from AUR, then check your network connection. Mine is very unstable, and when it's down, or very slow, no AUR packages show in a yaourt query. -
When i try to execute:
yaourt -Syu --aur
I get msg (it's fragment of it):
==> Searching for new version on AUR
bin32-acroread: up to date
gtk-aurora-engine: not found on AUR
gtk-engine-murrine: not found on AUR
gtk-rezlooks-engine: not found on AUR
gtkpacman: up to date
kadu: not found on AUR
lib32-atk: not found on AUR
lib32-cairo: not found on AUR
lib32-curl: not found on AUR
lib32-db: not found on AUR
lib32-e2fsprogs: not found on AUR
lib32-expat: not found on AUR
lib32-fontconfig: not found on AUR
lib32-freetype2: not found on AUR
lib32-gcc-libs: not found on AUR
and so on...
Even forcing pacman to update doesn't help... Any ideas?wonder wrote:all lib32 , gtk-engine-murrine: and kadu are in community.
But it doesn't find them there either... Any ideas? -
[Solved] Yaourt not searching AUR
My recent upgrade seems to have broken Yaourt. It does not search for packages in AUR anymore. I have tried searching the forum, but cannot figure out what's wrong. This is what my /etc/yaourtrc looks like:
# a
# a
# ~/yaourtrc - Configuration for yaourt
# See yaourt(8) for more information
# AlwaysUpgradeDevel no
# AlwaysUpgradeAur no
# AlwaysForce no
AurVoteSupport yes
# ColorMod Normal
# ColorMod LightBackGround
# ColorMod NoColor
# ColorMod TextOnly
# DontNeedToPressEnter yes
# EditPkgbuild yes
# ExportToLocalRepository /where/you/want
# LastCommentsNumber 5
# LastCommentsOrder asc
# NoConfirm no
# PacmanBin /usr/bin/pacman-color
PkgbuildEditor gvim
SearchInAurUnsupported yes
ShowAurComment yes
# TmpDirectory /where/you/want
# UpdateTerminalTitle yes
# Define here your prefered Sourceforge mirror: (none surfnet ufpr heanet easynews umn switch belnet kent mesh optusnet jaist puzzle superb-east nchc superb-west)
# SourceforgeMirror heanet
Any ideas?
Last edited by paramthegreat (2009-05-16 21:46:08)ok, so i seem to have solved the issue. i found a changelog for yaourt 0.9.2 that mentioned "fixing aur search". that prompted me to check the yaourt version on my machine and it was still at 0.9.0
upgrading to the latest version seems to have fixed the problem. -
[SOLVED] Yaourt: not found on AUR
When I try to run
yaourt -Syu --aur
I am told that
yaourt: not found on AUR
This is given for all packages I've installed from the AUR.
I am behind a http proxy, but have exported this variable in my shell. And I know that at least some of these packages are updated from when I last did an upgrade.
I can't find an answer on the wiki or searching these forums; am I just being stupid, or can someone help me? Thanks.
Last edited by chrispoole (2009-03-27 12:20:38)Try changing your http proxy in /etc/wgetrc instead.
-
Configure not finding dependencies but they are installed!
Hi, I was just trying to install pychosynth from AUR via yaourt, but configure just keeps complaining about SoundTouch and Liblo not being installed, however they are.
I tried to fix it by downloading Debian's Lenny libSoundTouch .deb file and then extracting the libs and links to /usr/lib but there was no luck anyways.
Here is my configure output:
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBLO... no
checking for LIBXML... yes
checking for SNDFILE... yes
checking for SOUNDTOUCH... no
checking for VORBIS... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for ALSA... yes
checking for JACK... yes
checking for OGRE... yes
checking for CEGUI... yes
checking for CEGUIOGRE... yes
checking for OIS... yes
configure: error:
*** You need libSoundTouch to compile the program.
*** Install it and run this script again.
make: *** No se especificó ningún objetivo y no se encontró ningún makefile. Alto.
And here's the AUR package I'm using:
http://aur.archlinux.org/packages.php?ID=16898
Thanks for your continued helpOk, good and bad news.
It seems that it was missing some development libreries to compile, and because I couldn't find them elsewhere I decided to grab them from Debian's site, so I took lenny's libsoundtouch1-dev package and manually installed it, so now I get this while building:
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBLO... no
checking for LIBXML... yes
checking for SNDFILE... yes
checking for SOUNDTOUCH... yes
checking for VORBIS... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for ALSA... yes
checking for JACK... yes
checking for OGRE... yes
checking for CEGUI... yes
checking for CEGUIOGRE... yes
checking for OIS... yes
configure: creating ./config.status
config.status: creating libpsynth.pc
config.status: creating Makefile
config.status: creating doc/Doxyfile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating libpsynth/Makefile
config.status: creating libpsynth/version.h
config.status: creating config.h
config.status: executing depfiles commands
* Psychosynth 0.1.1: Automatic configuration OK.
* Configuration summary:
* 3D client (psynth3d) ..... yes
* CLI client (psynth) ...... no
* OSC support: ............. no
* XML config support: ...... yes
* SoundTouch support: ...... yes
* PCM support: ............. yes
* OGG support: ............. yes
* OSS support: ............. yes
* ALSA support: ............ yes
* Jack support: ............ yes
* Translations: ............ Not suported.
* Installation directories:
* Program: ................. NONE/bin
* Data: .................... /usr/share/psychosynth
* Library: ................. NONE/lib
* Includes: ................ /usr/include/libpsynth
* Type 'make' to compile.
* Then type 'make install' to install.
* Have fun!
make all-recursive
make[1]: se ingresa al directorio `/tmp/yaourt-tmp-ltsmash/aur-psychosynth/psychosynth/src/psychosynth-0.1.1'
Making all in libpsynth
make[2]: se ingresa al directorio `/tmp/yaourt-tmp-ltsmash/aur-psychosynth/psychosynth/src/psychosynth-0.1.1/libpsynth'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/alsa -march=i686 -mtune=generic -O2 -pipe -MT libpsynth_la-Director.lo -MD -MP -MF .deps/libpsynth_la-Director.Tpo -c -o libpsynth_la-Director.lo `test -f 'psynth/Director.cpp' || echo './'`psynth/Director.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/alsa -march=i686 -mtune=generic -O2 -pipe -MT libpsynth_la-Director.lo -MD -MP -MF .deps/libpsynth_la-Director.Tpo -c psynth/Director.cpp -fPIC -DPIC -o .libs/libpsynth_la-Director.o
In file included from ../libpsynth/common/ControlBuffer.h:27,
from ../libpsynth/object/Object.h:33,
from ../libpsynth/table/Patcher.h:30,
from ../libpsynth/table/Table.h:32,
from ./psynth/Director.h:29,
from psynth/Director.cpp:24:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:80: error: '::memchr' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:81: error: '::memcmp' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:82: error: '::memcpy' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:83: error: '::memmove' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:84: error: '::memset' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:85: error: '::strcat' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:86: error: '::strcmp' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:87: error: '::strcoll' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:88: error: '::strcpy' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:89: error: '::strcspn' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:90: error: '::strerror' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:91: error: '::strlen' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:92: error: '::strncat' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:93: error: '::strncmp' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:94: error: '::strncpy' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:95: error: '::strspn' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:96: error: '::strtok' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:97: error: '::strxfrm' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring: In function 'void* std::memchr(void*, int, size_t)':
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:101: error: invalid conversion from 'const void*' to 'void*'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:101: error: initializing argument 1 of 'void* std::memchr(void*, int, size_t)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring: At global scope:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:103: error: '::strchr' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:109: error: '::strpbrk' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:115: error: '::strrchr' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:121: error: '::strstr' has not been declared
In file included from ../libpsynth/table/Patcher.h:30,
from ../libpsynth/table/Table.h:32,
from ./psynth/Director.h:29,
from psynth/Director.cpp:24:
../libpsynth/object/Object.h: In destructor 'virtual psynth::Object::InSocket::~InSocket()':
../libpsynth/object/Object.h:141: error: 'for_each' was not declared in this scope
make[2]: *** [libpsynth_la-Director.lo] Error 1
make[2]: se sale del directorio `/tmp/yaourt-tmp-ltsmash/aur-psychosynth/psychosynth/src/psychosynth-0.1.1/libpsynth'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/tmp/yaourt-tmp-ltsmash/aur-psychosynth/psychosynth/src/psychosynth-0.1.1'
make: *** [all] Error 2
Have you got any ideas of what went wrong?
Thanks. -
Pbfetch - Please not another AUR frontend
pbfetch is an AUR frontend and optionally a Pacman wrapper.
Background and Motivation
I originally intended to keep pbfetch private, as there are already so many AUR frontends but, after using it for a bit I've decided to let others use, change, belittle, mock, praise and/or look at it.
pbfetch(PKGBUILD fetch) started as merely a script to download a PKGBUILD from the AUR. I usually like to edit and run makepkg myself for AUR packages, however, there are times where I like a simple
automated approach. With all due respect to the developers, I found yaourt to be slow(especially on my old laptop). After seeing how complicated yaourt has become I decided to extend pbfetch to encompass most if not all
my Arch package managment needs.
Features
[Current]
- Can optionally wrap pacman functionality so one can use pbfetch for most pacman commands(eg. pbfetch -Sy, pbfetch -Qs, pbfetch -Rd)
- Search AUR
- Download and extract AUR tar.gz to build directory
- Option to edit PKGBUILD after download
- Option to make the package with or without installing
- Dependecy checking(mostly complete, though removes versioning for dependencies not found in official repos)
- Check for and install AUR updates
- Option to choose which AUR updates to install
- Optional color output
- By default uses sudo where needed
[Todo]
- Refactoring for readabilty and speed(already much faster than yaourt)
- Further ABS support(currently only copies local abs pkg directory to build directory)
- Better commandline option parsing(possibly getopts)
- Add edit PKGBUILD option to pacman fallback commands(currently auto-edit only with AUR specific commands)
- Prettier text output
- Willing to consider any requests
Overview
I had two types of users in mind as I made/make pbfetch.
1.) Those who prefer to have 1 tool to manage AUR and official repositories
2.) Those who prefer to keep their AUR frontend separate from Pacman
As such there are two sets of command line options: those that are AUR specific, and optionally, commands that call the pacman binary and extend for AUR functions.
I have chosen to call pacman directly where ever possible rather than reimpliment pacman's functions.
The following is a copy of pbfetch's usage prompt:
Usage: pbfetch [opiton] [package1] [package2] ....
options:
-d Download from aur and extract to build directory
-de Download from aur, extract and edit PKGBUILD
-m Download from aur, extract, and make the package(s)
-me Download from aur, extract, edit PKGBUILD and
make the package(s)
-i Download from aur, extract, make and install package(s)
-ie Download from aur, extract, edit PKGBUILD, make and
install package(s)
-s Search aur for any package given
(Searches name and description)
-sa Search repo and aur for any package given
-u Check aur for package updates
-ue Check aur for package updates and
edit PKGBUILD before install
-ua Check aur and official repos for updates
-abs Copy from local abs folder to build directory
-v Display version information
Pacman Fallback(On by default)
options:
-S Attempt install with Pacman if package not found
in repo then install from AUR
-Ss Search Pacman repos and AUR
-Sy Refresh database then install from repo or
AUR if not found in repository
-Syu --aur Refresh database and upgrade from repo and
AUR
Example: pbfetch -S xorg
pbfetch -d nvidia-beta nvidia-utils-beta
pbfetch will also pass any pacman related options to the
pacman binary specifed in the script, eg. pbfetch -Qs
[Configuration]
The config file is stored in /etc/pbfetch.conf
There you can set whether to enable color output, pacman fallback, various working directories etc.
The pacman binary can be specified as well.(Tested with pacman and pacman-color)
Default build directory is ~/build/
[Notes]
- pbfetch can be called just like pacman and it will pass the command line options untouch if you prefer. Or it can extend pacman's sync to include AUR processing. This is set in the configuration.
- When checking for AUR updates (eg. pbfetch -u, or pbfetch -Syu --aur) you will be prompted to either accept the updates or you may opt to only choose certain updates. To choose, type the number as seen next
to the corresponding update. Separate each respective package number by a space.
[Known or potential caveats]
- All verbose options such as "--needed" are passed to pacman untouched. However some of the short hand versions have not been implemented when using sync (eg. pbfetch -Sg xorg) in combination with the fallback option set.
- I've written the script with sudo in mind. The script inserts sudo where needed.
- Color output assumes dark terminal background. Color can either be turned off or individual colors and be changed in the config file
- pbfetch was made in my limited free time over the last month so testing of features has been limited to say the least.
[Development]
- I have put pbfetch up on github @ http://github.com/dalingrin/pbfetch
- Please feel free contribute or make requests
Make no mistake, I have no dreams of pbfetch becoming the next popular AUR frontend like yaourt. I have had fun writing it so far (first bash script) and thought a few like minded individual(s) may enjoy using it as well.
Package can be found @ http://aur.archlinux.org/packages.php?ID=33256
Last edited by dalingrin (2010-09-13 21:58:27)I have disabled sudo, still I get the following error:
pbfetch -me qhandbrake-git
==> qhandbrake-git [Downloaded]
==> qhandbrake-git [Extracted]
-> qhandbrake-git [Edit complete]
Checking package for AUR dependencies...
==> ERROR: Cannot find the sudo binary! Is sudo installed?
Missing dependencies cannot be installed or removed as a normal user
without sudo; install and configure sudo to auto-resolve dependencies.
cat /etc/pbfetch.conf
#!/bin/bash
################## !WARNING! ####################
# This file must contain only valid bash syntax #
#### Pacman sync fallback to AUR ####
fallback=true
#fallback=false
#### Clean up after package building ####
# if false then package along with source
# will be left in the build directory
clean=true
#clean=false
#### Colorize output ####
color=true
#color=false
# default colors
color1="\e[1;37m" # white
color2="\e[1;34m" # blue
color3="\e[1;31m" # red
color4="\e[1;32m" # green
color5="\e[1;33m" # yellow
color6="\e[1;35m" # magenta
#### Pacman binary ####
pacmanBin="pacman"
#pacmanBin="pacman-color" # Recommend if using color output
#### Automatically use sudo when needed ####
#useSudo=true
useSudo=false
#### PKGBUILD editor ####
editor="nano"
#editor="gvim"
#### BUILD DIRECTORY ####
buildDir=~/build
#### PACMAN PACKAGE CACHE ####
pkgCache=/var/cache/pacman/pkg/
#### LOCAL abs DIRECTORY ####
abs="/var/abs"
#### aur URL ####
aur="http://aur.archlinux.org/packages" -
I keep getting "pkg-config: could not find or read package"
trying to install firefox-branded using yaourt
[anthony@arch yaourt]$ yaourt -S firefox-branded
==> Downloading firefox-branded PKGBUILD from AUR...
bsdtar: Removing leading '/' from member names
x firefox-safe.desktop
x browser-defaulturls.patch
x PKGBUILD
x firefox.install
x mozilla-firefox-1.0-lang.patch
x firefox.desktop
x firefox-version.patch
x firefox-agent.patch
x mozconfig
Comment by: wantilles on Wed, 21 Jul 2010 12:34:35 +0000
Upstrem update to 3.6.7.
Comment by: geo on Wed, 21 Jul 2010 12:46:53 +0000
As reliable as ever, thanks wantilles :)
Comment by: wantilles on Wed, 21 Jul 2010 16:27:56 +0000
@ ropez fzerorubigd tschertel
I won't answer the same questions twice.
See my comment on Mon, 28 Jun 2010 15:51:20 +0000.
Comment by: fzerorubigd on Wed, 21 Jul 2010 18:18:22 +0000
:) I just want to report this is out of date and why I flag this as out of date. nothing else.
Comment by: wantilles on Sat, 24 Jul 2010 11:36:22 +0000
Upstream update to 3.6.8.
Comment by: fzerorubigd on Wed, 11 Aug 2010 17:56:44 +0000
Its a good work, but can you add default dictionary to this too? I mean just add a dictionaries folder inside installation folder and copy to en-US.dic and en-US.aff from mozilla-1.9.2/extensions/spellcheck/locales/en-US/hunspell folder?
Thanks for your great work.
First Submitted: Wed, 25 Jun 2008 06:41:54 +0000
firefox-branded 3.6.8-1 : Standalone web browser from mozilla.org
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> firefox-branded dependencies:
- desktop-file-utils (already installed)
- zip (already installed)
- diffutils (already installed)
- libgnomeui>=2.24.1 (already installed)
- python (already installed)
- wireless_tools (already installed)
- xulrunner=1.9.2.8 (building from AUR)
- pkg-config (building from AUR)
==> Edit firefox.install ? [Y/n] ("A" to abort)
==> -------------------------------------------
==> n
==> Continue building firefox-branded ? [Y/n]
==> -----------------------------------------
==>
==> Building and installing package
==> Install or build missing dependencies for firefox-branded:
Password:
error: 'pkg-config': could not find or read package
==> WARNING: Dependencies have been installed before the failure
==> Restart building firefox-branded ? [y/N]
==> ----------------------------------------
==>
==> WARNING: Following packages have not been installed:
firefox-branded
I have pkg-config installed (pacman -S base-devel) and ran pacman -Syyu after.==> Making package: firefox-branded 3.6.8-1 (Tue Aug 24 03:59:02 PDT 2010)
==> Checking Runtime Dependencies...
==> Missing Dependencies:
-> xulrunner=1.9.2.8
==> Checking Buildtime Dependencies...
==> Missing Dependencies:
-> pkg-config
==> ERROR: Could not resolve all dependencies.
thats what I get with makepkg -i -
Get Yaourt to install missing dependencies?
Hi, everytime I wanna install something from AUR with Yaourt and the app has dependcies that isnt installed I allways have to install the dependencies manually.
It just breaks out.
Here it complains about kernel.
Why can't it not just download automaticly the missing dependencies?
==> omnibook-svn dependencies:
- kernel26 (already installed)
- kernel26 (already installed)
- subversion (already installed)
==> WARNING: This PKGBUILD contains install file that can be dangerous.
omnibook.install
==> Edit omnibook.install (recommended) ? [Y/n] ("A" to abort)
==> ----------------------------------------------
==>n
==> Continue the building of omnibook-svn ? [Y/n]
==> ----------------------------------------------
==>y
==> Building and installing package
mkdir: cannot create directory `/var/abs': Permission denied
==> WARNING: Unable to write in /var/abs/local/yaourtbuild/omnibook-svn directory. Using /tmp directory
==> Determining latest svn revision...
-> Version found: 274
==> Making package: omnibook-svn 274-1 i686 (Sun Jan 11 07:32:12 CET 2009)
==> Checking Runtime Dependencies...
==> Missing Dependencies:
-> kernel26<2.6.27
==> Checking Buildtime Dependencies...
==> ERROR: Could not resolve all dependencies.
Error: Makepkg was unable to build omnibook-svn package.your output wrote:Missing Dependencies:
-> kernel26<2.6.27
If you go to the AUR page, you'll see that there's a solution there. yaourt is a great tool, but I would get in the habit of knowing what you are downloading before you use it. -
Xmonad-darcs issue with pacman, yaourt and manually aur/abs [SOLVED]
Hello,
I'm having the craziest hard time trying to install xmonad-darcs. I can pacman -S xmonad xmonad-contrib fine, but when I copy some nice configs that I see a lot of modules cannot be found after starting x.
This is the error I am getting when trying to install from aur via abs:
$ makepkg -s
==> Determining latest darcs revision...
-> Version found: 20100418
==> Making package: xmonad-darcs 20100418-1 i686 (Sun Apr 18 23:09:26 EDT 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
==> Retrieving complete sources
darcs failed: Not a repository: http://code.haskell.org/xmonad (Failed to download URL http://code.haskell.org/xmonad/_darcs/inventory: Couldn't connect to server)
/home/woonasty/abs/xmonad-darcs/PKGBUILD: line 32: cd: /home/woonasty/abs/xmonad-darcs/src/xmonad: No such file or directory
<command line>:
Could not find module `Setup':
Use -v to see a list of the files searched for.
==> ERROR: Build Failed.
Aborting...
Is this package out of date because the repo dir is wrong?
vim PKGBUILD yields this:
1 # Contributor: adam vogt <vogt.adam<<at>>gmail.com>
2 # Package generated by cabal2arch 0.6
3 pkgname=xmonad-darcs
4 pkgrel=1
5 pkgver=20100418
6 pkgdesc="A tiling window manager"
7 url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/xmonad"
8 license=('custom:BSD3')
9 arch=('i686' 'x86_64')
10 conflicts=('xmonad')
11 depends=('gmp' 'libxinerama' 'ghc' 'haskell-x11>=1.5.0.0' 'haskell-mtl')
12 makedepends=('darcs')
13 options=('strip')
14 source=()
15 install=xmonad.install
16 md5sums=()
17 _darcstrunk="http://code.haskell.org"
18 _darcsmod="xmonad"
If someone can point me in the right direction I'd love to contribute and fix this package and re-upload, I am a new Arch user and would like to get more involved........right after I get xmonad working lol.
thank you in advance,
sleeepysleepy wrote:nvm , mod please close thread i guess the site was temp down.
Sure thing. -
[SOLVED] yaourt doesnt search aur - new mirrror list
Hi
last night I discovered that yaourt doesnt search aur packages. I am guessing that it has something to do with last pacman upgrade and new mirror list.
Does anybody have the same problem with yaourt and could anybody explaine, step by step , what soud I do with new mirror list? I did not understand completely all steps that should be done with new mirror list. Thanks.
Last edited by liticovjesac (2009-01-03 17:23:33)Thanks.
It works after I update yaourt to new version.
Here is a trade you mentioned about same problem. http://bbs.archlinux.org/viewtopic.php?id=61664 -
[SOLVED] How to make "yaourt" run with "AUR" command?
I want to change the yaourt command so i can use something like aur or AUR.
for example, instead of
yaourt -S package-name-here
I want to use
AUR -S package-name-here
so that it's easier to type. "yaourt" is such an odd string to type! hehe
I think i might use something like this:
function AUR {
**something like: exec /.../yaourt**
**and some other code to pass on -S or -U conditions...etc**
Can someone tell me what to put in this function and where to save it to?
Also, What's better: using the yaourt call above or the following custom function (instead of yaourt):
function AUR {
cd $aurdir
wget http://aur.archlinux.org/packages/$1/$1.tar.gz && tar -xzf $1.tar.gz && rm $1.tar.gz && cd $1 && makepkg -s
pacman -U **some code goes here to output the correct filename**
I have to think to myself "yeah our t" to type yaourt (haha) so to think "AUR" is much simpler, since that's what we're getting packages from anyways.
Last edited by trusktr (2010-02-21 22:14:20)When and if one uninstalls yaourt, still gonna leave the aliases in the .bashrc... that's untidy too... Wich is more simple, "ln -s /usr/bin/yaourt /usr/bin/AUR <enter>" or "nano ~/.bashrc <enter> alias AUR='yaourt' <ctrl+x> <y> <enter>" ... It's better to use aliases in .bashrc because you can do so much more and get to learn alil bit more for future reference, but the reasons for not symlinking it's really not that bad. If you've ever used windows for example, symlink works almost the same as creating a shortcut to an application on the desktop, once unistalled the application, you manually have to delete the shortcut. Aliases is the proper way to go, i didn't know this at all.. I just symlinked to yaort but after reading this i switched to alias Btw mark topic as solved ^^
-
Error: Could not find compiled resource bundle 'SharedResources' for locale 'en_US'
I'm trying to launch my flex app then i got this error:
Error: Could not find compiled resource bundle 'SharedResources' for locale 'en_US'.
Does anyone know what the problem could be?
Ps: I'm using flex4 under FlashBuilder 4.5
Thanks
DavidThere isn't new doc, because the workflow didn't change. It works pretty
much the same as Flex3. There is no s:Module or s:ModuleLoader so you
continue to use the mx versions as you did before.
The styles mechanism did change so that each module has its own styles and
now is sensitive to a common mistake in setting up modules projects. Folks
accidentally reference the module class directly from within the main
application instead of using a shared interface. Doing so actually links in
the module and its dependencies into the main app, defeating the main point
of modules, but in Flex 4, that configuration also throws errors.
Another change in Flex 4 is that the main app must load singletons shared by
modules. That is the result of optimizing startup a bit by not linking in
every manager you might possibly need. This means that if your app doesn't
use popups and your modules do, you must link the PopUpManager into the mai
app by doing:
Import mx.managers.PopUpManager; PopUpManager;
It is also possible that there is a bug. Simplify your scenario and file a
bug or post the test case if the simple case also fails. Maybe you've got
some other configuration we didn't anticipate. -
[SOLVED] Java could not find or load main class
I just tried to run a Java program using Swing components from the terminal, but I always get this error message:
$ java VisualTest
Error: Could not find or load main class VisualTest
The strange thing is that it runs flawlessly from within Eclipse.
I created VisualTest.java using the (old) Visual Editor, it's contents are:
package visual1;
import javax.swing.SwingUtilities;
//import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JFrame;
public class VisualTest extends JFrame {
private static final long serialVersionUID = 1L;
private JPanel jContentPane = null;
* @param args
public static void main(String[] args) {
// TODO Auto-generated method stub
SwingUtilities.invokeLater(new Runnable() {
public void run() {
VisualTest thisClass = new VisualTest();
thisClass.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
thisClass.setVisible(true);
* This is the default constructor
public VisualTest() {
super();
initialize();
* This method initializes this
* @return void
private void initialize() {
this.setSize(300, 200);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setContentPane(getJContentPane());
this.setTitle("JFrame");
* This method initializes jContentPane
* @return javax.swing.JPanel
private JPanel getJContentPane() {
if (jContentPane == null) {
jContentPane = new JPanel();
jContentPane.setLayout(null);
return jContentPane;
As you can see, there is a class named VisualTest and it contains a main function.
My CLASSPATH variable contains a dot, like
.:/home/mk/.java/deployment/ext/*
I just updated my Java from JDK 7u67 to JDK 8u20 (the Oracle one, in AUR), but I can't imagine this is related (however, I haven't run Java programs from the terminal for a long time).
Strangely enough, a simple HelloWorld.java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
runs flawlessly from within the terminal.
Last edited by Marcel- (2014-09-26 12:44:35)As intended by my institution, I said to Eclipse that it should store sources and class files in the same directory. Let's do ls and test:
[~/workspace]$ ls
total 12K
drwxr-xr-x 4 mk mk 4.0K Sep 23 18:23 visualtest/
-rw-r--r-- 1 mk mk 426 Sep 24 15:45 HelloWorld.class
-rw-rw-r-- 1 mk mk 111 Sep 24 15:44 HelloWorld.java
[~/workspace]$ java HelloWorld
Hello World!
vs.
[~/workspace/visualtest/visual1]$ ls
total 12K
-rw-r--r-- 1 mk mk 528 Sep 24 15:38 VisualTest$1.class
-rw-r--r-- 1 mk mk 1.1K Sep 24 15:38 VisualTest.class
-rw-r--r-- 1 mk mk 1.2K Sep 24 00:32 VisualTest.java
[~/workspace/visualtest/visual1]$ java VisualTest
Error: Could not find or load main class VisualTest
I also tested this with another project that runs fine in Eclipse, but it gives the same error message when trying to issue `java StemOpPartijFrame`.
EDIT:
One difference between the two OSs though is that Linux progresses. The other decays..
Two? I count many! And I don't think something like OpenBSD decays. ;-)
Last edited by Marcel- (2014-09-24 16:54:12) -
Aurbuild error ..could not find build package??
My first try at using AUR..Im trying to build Tvtime ..It does fine and makes the package but when it goes to install it i get this error.
==> Finished making: tvtime 1.0.2-2 i686 (Thu May 13 22:25:55 EDT 2010)
Error: could not find the built package in /var/tmp/aurbuild/build/tvtime/tvtime/tvtime-1.0.2-2-i686.pkg.tar.gz
In some cases this might mean the PKGDEST location does not have write and execute permissions
for the aurbuild user or group.
[strat@Thor ~]$
I used user guide to install and used recommended groups in guide. do I need to be added toanother group or something..??AFAIK aurbuild does not support *.tar.xz packages yet. There are alternative aur helpers you can use.
If it's your first time using the AUR, I would strongly recommend you learn to do it without any helper first, so that you understand the process.
Maybe you are looking for
-
I have an iPad 2 that I want to use with video mirroring to give lectures with. I bought a VGA Adapter for the iPad, iPhone, and iPod as I want to be able to connect with any TV, monitor or projector for lectures, not just an HD device.. After pluggi
-
Can i install windows 7 via bootcamp (on my MB Air) while using remote disc? I put the windows 7 disk in my macbook pro drive, and connect to my brand new macbook air via remote disk. In bootcamp (on my air) i allocate the partition, then i click ins
-
Error when install NI-DAQ 7.4
When I install NI-DAQ 7.4 I got this message : ''Developer Erorr :The following errors where found in your ini file : 1. Specified file not found: [MsiEngine] Win9xPath = suppfiles\instmsia.exe 2. Specified file not found: [MsiEngine] WinNTPath = sup
-
Finder-Sidebar-Items disappear (spontaneously)
High! Of course me searched a lot but apparently this seems rather unusual. Good for you. Thing is: the items in my sidebar (finder-window-sidebar) disappear at almost every startup - plus, sometimes spontaneously.* Wicked. All those vanishing folder
-
I have a table with a repeatable row and there is a Add and Delete button at the end of each row. I issue I'm having is once the user inputs information in the first row and tabs pass the Add and Delete buttton instead of the cursor going to the nex