[SOLVED] Rebuilding all installed AUR packages

Hi guys,
before starting to hack some dirty script on my own i would like to know if there's already any program/script which looks up the list of packages, which were installed from aur: pacman -Qqm, and rebuilds/exports them?
the reason why i ask: i have several machines running on arch64 and i need 50+ built packages to serve them in the intranet.
best regards
Last edited by broken pipe (2011-12-26 20:25:12)

thx karol, i'm already using pacserve to avoid downloading packages for each machine in the network.
what i want to do is: read the output of 'pacman -Qqm' and rebuild + export the pkgs
i did a little bash script to achieve this. but i have to admit i'm not good at scripting but i gave my best improvements are welcomed
#/bin/bash
pkglist=/tmp/pkglist
builddir=/dev/shm/$(date +%F)/
exportdir=~/aurpkgbuilds
# Create builddir
if [ ! -d "$builddir" ];then mkdir $builddir
fi
# Create exportdir
if [ ! -d "$exportdir" ];then mkdir $exportdir
fi
# Getting the list of pkgs which were installed from AUR
pacman -Qqm > $pkglist
# Edit the list?
read -p "Would you like to edit the list? (y/N) " edit
if test "$edit" = "y"; then
$EDITOR $pkglist
fi
for i in $(cat $pkglist); do
cd $builddir
wget http://aur.archlinux.org/packages/${i}/${i}.tar.gz
tar xvfz ${i}.tar.gz
cd ${i}
makepkg -f
mv *.pkg.tar.xz "$exportdir"
done
# Clean up
read -p "Would you like to remove the builddir? (y/N) " rmbuilddir
if test "$rmbuilddir" = "y"; then
rm -rf $builddir
fi
exit 0

Similar Messages

  • [SOLVED] How to install aur packages using pacaur

    I'm trying to install dwb-git. It installs with no problem with aura, but pacaur gives me problems. If I run pacaur as regular user it will build but will not install and will say permission denied.
    If I run pacaur with sudo it will say building packages as root is a bad idea and will quit. The only other possibility I see is running it with --asroot flag which is a really bad idea.
    Last edited by bstaletic (2014-06-22 15:02:41)

    No, I get the errors I described above.
    Here are the outputs:
    bstaletic@arch ~ $ pacaur -y dwb-git
    :: resolving dependencies...
    :: no AUR metadata for dwb-git package
    :: looking for inter-conflicts...
    AUR Packages (1):
    Name Old Version New Version
    aur/dwb-git latest
    :: Proceed with installation? [Y/n]
    :: Retrieving package(s)...
    :: View dwb-git PKGBUILD? [Y/n] n
    :: View dwb.install script? [Y/n] n
    ==> Making package: dwb-git 2014.03.04.g5088db1-1 (Sun Jun 22 15:46:30 CEST 2014)
    ==> Retrieving sources...
    -> Cloning dwb git repo...
    Cloning into bare repository '/tmp/pacaurtmp-bstaletic/dwb-git/dwb'...
    remote: Counting objects: 15056, done.
    remote: Compressing objects: 100% (3796/3796), done.
    remote: Total 15056 (delta 11190), reused 14783 (delta 10952)
    Receiving objects: 100% (15056/15056), 2.63 MiB | 88.00 KiB/s, done.
    Resolving deltas: 100% (11190/11190), done.
    Checking connectivity... done.
    ==> Validating source files with md5sums...
    dwb ... Skipped
    ==> Extracting sources...
    -> Creating working copy of dwb git repo...
    Cloning into 'dwb'...
    done.
    ==> Starting pkgver()...
    ==> Updated version: dwb-git 2014.06.14.g9f4bdb9-1
    ==> Sources are ready.
    :: Building dwb-git package(s)...
    ==> Making package: dwb-git 2014.06.14.g9f4bdb9-1 (Sun Jun 22 15:47:05 CEST 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> WARNING: Using existing src/ tree
    ==> Starting build()...
    Build options:
    CC = cc
    CFLAGS = -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -pipe --ansi -std=c99 -D_POSIX_C_SOURCE=200112L -O2 -g -D_BSD_SOURCE -D_NETBSD_SOURCE -D__BSD_VISIBLE -pthread -I/usr/include/webkitgtk-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/webkitgtk-1.0 -I/usr/include/p11-kit-1 -I/usr/include/json-c -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DWITH_LIBSOUP_2_38=1
    LDFLAGS = -Wl,-O1,--sort-common,--as-needed,-z,relro -lwebkitgtk-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lsoup-2.4 -ljavascriptcoregtk-1.0 -lgnutls -ljson-c -lsecret-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpthread -lm -lX11
    CPPFLAGS = -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DWITH_LIBSECRET
    make[1]: Entering directory '/tmp/pacaurtmp-bstaletic/dwb-git/src/dwb/src/util'
    cc convert_transport_security.c
    convert_transport_security.c: In function ‘handle_pinsets’:
    convert_transport_security.c:256:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((name_obj = json_object_object_get(pin_list, "name")) == NULL || !json_object_is_type(name_obj, json_type_string))
    ^
    convert_transport_security.c:263:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    good_hashes = json_object_object_get(pin_list, "static_spki_hashes");
    ^
    convert_transport_security.c:264:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    bad_hashes = json_object_object_get(pin_list, "bad_static_spki_hashes");
    ^
    convert_transport_security.c: In function ‘handle_entries’:
    convert_transport_security.c:297:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((name_obj = json_object_object_get(entry, "name")) == NULL ||
    ^
    convert_transport_security.c:307:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    json_object *mode = json_object_object_get(entry, "mode");
    ^
    convert_transport_security.c:315:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    json_object *include_subdomains = json_object_object_get(entry, "include_subdomains");
    ^
    convert_transport_security.c:327:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((entry_pins = json_object_object_get(entry, "pins")) != NULL)
    ^
    convert_transport_security.c: In function ‘parse_json’:
    convert_transport_security.c:371:5: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((pinsets = json_object_object_get(json, "pinsets")) == NULL || !json_object_is_type(pinsets, json_type_array) ||
    ^
    convert_transport_security.c:380:5: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((entries = json_object_object_get(json, "entries")) == NULL || !json_object_is_type(entries, json_type_array) ||
    ^
    gen hsts_preload.h
    /bin/sh: ./convert_transport_security: Permission denied
    Makefile:41: recipe for target '../../src/hsts_preload.h' failed
    make[1]: *** [../../src/hsts_preload.h] Error 126
    make[1]: Leaving directory '/tmp/pacaurtmp-bstaletic/dwb-git/src/dwb/src/util'
    Makefile:22: recipe for target 'src/util.subdir-buildfirst' failed
    make: *** [src/util.subdir-buildfirst] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    :: dwb-git cleaned
    bstaletic@arch ~ $ sudo pacaur -y dwb-git
    :: resolving dependencies...
    :: no AUR metadata for dwb-git package
    :: looking for inter-conflicts...
    AUR Packages (1):
    Name Old Version New Version
    aur/dwb-git latest
    :: Proceed with installation? [Y/n]
    :: Retrieving package(s)...
    :: View dwb-git PKGBUILD? [Y/n] n
    :: View dwb.install script? [Y/n] n
    ==> ERROR: Running makepkg as root is a BAD idea and can cause permanent,
    catastrophic damage to your system. If you wish to run as root, please
    use the --asroot option.
    :: Building dwb-git package(s)...
    ==> ERROR: Running makepkg as root is a BAD idea and can cause permanent,
    catastrophic damage to your system. If you wish to run as root, please
    use the --asroot option.
    :: dwb-git cleaned
    I get the same errors with -Sya and -Sa flags.

  • [SOLVED] How to install AUR packages with patchname.patch

    Hi all,
    I'm trying to install lottanzb from the AUR and there's are a dependency called par2cmdline 0.4-13 that has a lot of nameofpatch.patch that are included in the AUR par2cmdline 0.4-13 package page that just open up to a url that shows code.
    I created patch files from the code displayed in the url with a text editor and added them to the extracted LOTTANZB folder in my build directory but when I go to build the package with PKGBUILD it runs through a check sum while building and the checks don't match.
    I'm obviously doing something fundamentally wrong here. Can someone direct me?
    Thanks,
    Last edited by bennylb0 (2010-05-28 13:30:16)

    Hi, thanks for reply.
    Sorry, my mistake.
    I did place patch files inside the par2cmdline-0.4 folder. The only reason I created the .patch files and placed them inside par2cmdline-0.4 folder was because the PKGBUILD as well as the other 5 .patch files didn't exist inside the extracted build folder. They only place I could find them was in AUR par2cmdline-0.4 displayed as a url.
    When I copied and created the PKGBUILD as it did not exist inside the extracted folder par2cmdline-0.4 folder I received the following error:- 
    Error autoconf.patch was not found in the build directory and is not a url. That along with 4 others do not exist in the build directory.
    You can see this bellow:-
    [ben@ben par2cmdline-0.4]$ makepkg
    ==> Making package: par2cmdline 0.4-13 i686 (Fri May 28 22:08:21 EST 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
      -> Downloading par2cmdline-0.4.tar.gz...
    --2010-05-28 22:08:23--  http://downloads.sourceforge.net/source … 0.4.tar.gz
    Resolving downloads.sourceforge.net... 216.34.181.59
    Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: http://downloads.sourceforge.net/projec … 0.4.tar.gz [following]
    --2010-05-28 22:08:23--  http://downloads.sourceforge.net/projec … 0.4.tar.gz
    Reusing existing connection to downloads.sourceforge.net:80.
    HTTP request sent, awaiting response... 302 Found
    Location: http://transact.dl.sourceforge.net/proj … 0.4.tar.gz [following]
    --2010-05-28 22:08:24--  http://transact.dl.sourceforge.net/proj … 0.4.tar.gz
    Resolving transact.dl.sourceforge.net... 202.55.147.10
    Connecting to transact.dl.sourceforge.net|202.55.147.10|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 239312 (234K) [application/x-gzip]
    Saving to: "par2cmdline-0.4.tar.gz.part"
    100%[===================================================>] 239,312      179K/s   in 1.3s   
    2010-05-28 22:08:26 (179 KB/s) - "par2cmdline-0.4.tar.gz.part" saved [239312/239312]
    ==> ERROR: par2cmdline-0.4-autoconf.patch was not found in the build directory and is not a URL.

  • [Solved] How to list installed AUR packages ?

    Hi,
    I use "packer" to install AUR packages.
    How can I get a list of installed AUR packages ?
    Thanks for your help
    - PierreR
    Last edited by PierreR (2011-12-06 11:37:40)

    You should focus your Google searches to the forum
    site:bbs.archlinux.org how to list installed AUR packages
    https://www.google.com/search?q=site%3A … 78&bih=977 (I used your title for the search)
    You can set the settings to pick only the hits from e..g the last year.

  • Trouble finding all Installed Oracle packages and versions

    How do I quickly find ALL installed oracle packages - like OWA etc. I know that I can look at DBA_OBJECTS - but I need to compare installed packages between two different databases? If anyone has any ideas - they will be very much appreciated.
    Thanks

    You can do a MINUS on dba_objects in two different databases.
    SELECT obj1.*, 'In DB1 Not in DB2' from dba_objects@db1 obj1
    MINUS
    SELECT obj2.*,  'In DB1 Not in DB2' FROM dba_objects@db2 obj2
    UNION ALL
    SELECT obj2.* , 'In DB2 Not in DB1' from dba_objects@db2
    MINUS
    SELECT obj1.* , 'In DB2 Not in DB1' FROM dba_objects@db1

  • [SOLVED] Archiso : installing AUR packages on a live image

    Hi all,
    I'm quite an arch newbie, I'm trying to setup a live USB stick, with the help of archiso. My goal is to finally get an "audio oriented" system (with jack, ardour, qsampler, and so more...).
    During the setup everything was working very well, until I tried to add some AUR packages to the install.
    On the arch website, I found this tip, which gave me a great hope about this.
    I'm not so familiar with Arch package management, but ok, I try to make a test : adding the "qsampler" AUR package. It needs "linuxsampler", "qt4", and "liblscp" as dependencies. "linuxsampler" and "qt4" are official packages, so I just have to add them to packages.both in the archiso working directory. "liblscp" is an AUR package (with no dependency); so there is 2 AUR packages to install : "liblscp", and "qsampler".
    So I create a directory tree like described in the tip, download the two build packages from AUR, and for each of them I do (something) like described there :
    # tar -xvf tarball_filename.tar.gz
    # cd tarball_filename
    # makepkg --asroot
    # mv *.xz ..
    # cd ..
    # rm -r tarball_filename{,.tar.gz}
    And then:
    # repo-add customrepo.db.tar.gz *.xz
    (I'm staying as root because it's red written to stay as root for the image creation. I think it's stupid, but people make stupid things when they are desesperate. Sorry I didn't take the time to test the code above again, it's only memory, but it was very similar)
    I did the same for both architectures (i686 and x86_64), so that my custom repo looks like this:
    ~/liveusb/customrepo # ls -R
    i686 x86_64
    ./i686:
    customrepo.db customrepo.db.tar.gz liblscp-0.5.6-1-x86_64.pkg.tar.xz qsampler-0.2.3-1-x86_64.pkg.tar.xz
    ./x86_64:
    customrepo.db customrepo.db.tar.gz liblscp-0.5.6-1-x86_64.pkg.tar.xz qsampler-0.2.3-1-x86_64.pkg.tar.xz
    Oops... I just noticed I did wrong for i686 machines, but it doesn't matter for the moment, since I'm working on an x86_64 machine.
    As explained in the tip, I add the following lines to pacman.conf (in the archiso working directory):
    [customrepo]
    SigLevel = Optional TrustAll
    Server = file:///my/path/to/customrepo/$arch
    From my point of view, at this point, the USB stick is ready to be updated:
    ~/liveusb # ./build.sh -v
    and then (with /dev/sdf as my usb stick device):
    ~/liveusb # dd if=out/archlinux-2014.10.01-dual.iso of=/dev/sdf
    But when I boot on the USB stick, there's no trace of qsampler (linuxsampler, however, is present).
    Since it happened, I'm feeling like a lost, lonely man, on a desert island... Thinking about the "why", the "how"..., the meaning of life..., of package management... all this stuff
    I'm sure I did something wrong about the "custom repository", and the main reason is I don't deeply understand all the steps about this; that's why I'm looking for help
    Any idea?
    Many thanks
    Last edited by yolenoyer (2014-10-02 09:16:57)

    Thank you for the reply,
    I think I did a more trivial mistake :
    With archiso, the packages are automatically installed, from a package list file called "packages.both", and "packages.x86_64", "packages.i686" for architecture dependent packages. But they only use common repos by default. The "'qsampler" is not in official repos (that's why I choosed this one for my question).
    So, ok, I setup a common repo (with some mistakes but it was working), BUT...
    I just forgot to put the package name in the packages.both file...
    So, now that I did it, I just have an error about the package architecture, which I think possible to fix, just by rebuilding the common repo in a correct manner:
    ~/liveusb # ./build -v
    warning: vlc-2.1.5-3 is up to date -- reinstalling
    warning: mplayer-37224-2 is up to date -- reinstalling
    error: failed to prepare transaction (package architecture is not valid)
    :: package qsampler-0.2.3-1-x86_64 does not have a valid architecture
    ==> ERROR: Failed to install packages to new root
    Trilby wrote:Also, does this need to be a static iso image - is there a reason not to just do a persistent usb install?
    About the static iso image : the idea of building an iso image with all my personnal tools and config already installed on it is very pleasant to me, including the fact that you can burn it on a CD as well. The persistent acpect would be pleasant too, but in a secondary way.
    While I'm writing this message I really understand a bit more about all of this, since yesterday... Sometimes, simply posting a message in forums helps you to understand your own problem, because you have to be clear and concise!
    Thanks

  • Can't install AUR packages(makepkg: invalid option '--asroot')[SOLVED]

    I've been unable to install any AUR packages with either packer or yaourt since a couple days ago possibly after a system update.
    For example if I try to install kodi-standalone-service:
    sudo packer -S kodi-standalone-service
    (Type - y, n, n)
    makepkg: invalid option '--asroot'
    The build failed.
    This happens to all packages I tried including ones that I installed  before with the same command. I installed yaourt after I started to get this error but fails just like packer. I tried running as root or normal user with same results.
    In case it matters, these are the steps I used to install packer.
    I am at a loss as to why it suddenly stopped working, any ideas?
    Last edited by dominicm (2015-01-04 01:41:15)

    slithery wrote:
    dominicm wrote:
    slithery wrote:
    The --asroot option has been removed from makepkg, which you would know if you searched the forum before posting...
    https://bbs.archlinux.org/viewtopic.php?id=191635
    I googled the error with no relevant results, then I searched the forum to make sure it wasn't solved with no relevant results returned for the search term "makepkg: invalid option '--asroot')". It's ironic that you accused me of not searching when you haven't bothered to search the error message yourself. If you had you would know the search does not return useful results until this post.
    Sorry, I only searched for --asroot which brought up several relevant threads.
    No big deal, but in general you shouldn't post things like "search the forum" as it's rarely helpful, and when it is the thread should probably be closed it those cases anyways...

  • Script to rebuild all installed packages from ABS

    I realize pacbuilder is for that, but it doesn't seem to work properly for me. Skipping a lot of packages etc.
    Anyway, I've made this very simple script to just rebuild every installed package from core/extra/community. Sorry for the localized echo output, but I think it's all very simple and straightforward to understand.
    Edit:
    I've improved it a bit, now it should work flawlessly and remember what stuff it has to finish no matter when you ^C out of it. Also it installs all compiled packages, if you want to avoid that, remove -i switch from makepkg.
    #!/bin/sh
    # user configuration
    absdir="/home/mateusz/abs/autobuild"
    pkgdir="/home/mateusz/abs/packages"
    pkgfile="/home/mateusz/abs/autobuild.list"
    # end of user configuration
    topabs="/var/abs"
    if [ ! -d $absdir ]; then
    mkdir -pv $absdir
    fi
    if [ ! -d $pkgdir ]; then
    mkdir -pv $pkgdir
    fi
    echo "(autobuild) Uaktualnianie bazy abs..."
    sudo abs
    if [ ! -f $pkgfile ]; then
    echo "(autobuild) Tworzę listę pakietów do zbudowania..."
    pacman -Qq > $pkgfile
    else
    echo "(autobuild) Znaleziono poprzedni build."
    echo "(autobuild) Jeżeli nie chcesz go wykorzystać, skasuj $pkgfile"
    fi
    for pkgname in $(cat $pkgfile); do
    echo "(autobuild) Szukanie pakietu $pkgname..."
    find $topabs -type d -name "$pkgname" -exec cp -R {} $absdir \; 2> /dev/null
    if [ -d "$absdir/$pkgname" ]; then
    echo "(autobuild) Budowanie pakietu $pkgname..."
    cd "$absdir/$pkgname"
    makepkg -csir --noconfirm > /dev/null
    if [ $? -eq 0 ]; then
    echo "(autobuild) Pakiet zbudowany."
    cat $pkgfile | grep -vx $pkgname > "$pkgfile.tmp"
    mv $pkgfile.tmp $pkgfile
    else
    echo "(autobuild) Błąd budowania pakietu!"
    fi
    else
    echo "(autobuild) Pakiet nieodnaleziony!"
    cat $pkgfile | grep -vx $pkgname > "$pkgfile.tmp"
    mv $pkgfile.tmp $pkgfile
    fi
    done
    echo "(autobuild) Linkowanie pakietów do $pkgdir..."
    find $absdir -name "*`uname -m`.pkg.tar.gz" -exec ln -v {} $pkgdir \; >/dev/null
    echo "(autobuild) Zakończono."
    exit 0
    Last edited by xaff (2009-05-03 13:47:17)

    Here is the script translated into English (with a bit of help from Google Translate, as well as grammar cleanup).
    #!/bin/sh
    # user configuration
    absdir="/home/aabbott/abs/autobuild"
    pkgdir="/home/aabbott/abs/packages"
    pkgfile="/home/aabbott/abs/autobuild.list"
    # end of user configuration
    topabs="/var/abs"
    if [ ! -d $absdir ]; then
    mkdir -pv $absdir
    fi
    if [ ! -d $pkgdir ]; then
    mkdir -pv $pkgdir
    fi
    echo "(autobuild) Updating the ABS database..."
    sudo abs
    if [ ! -f $pkgfile ]; then
    echo "(autobuild) Creating a list of packages to build..."
    pacman -Qq > $pkgfile
    else
    echo "(autobuild) Found a previous build."
    echo "(autobuild) If you don't want to use this build, delete ${pkgfile}."
    fi
    for pkgname in $(cat $pkgfile); do
    echo "(autobuild) Searching for $pkgname..."
    find $topabs -type d -name "$pkgname" -exec cp -R {} $absdir \; 2> /dev/null
    if [ -d "$absdir/$pkgname" ]; then
    echo "(autobuild) Building $pkgname..."
    cd "$absdir/$pkgname"
    makepkg -csir --noconfirm > /dev/null
    if [ $? -eq 0 ]; then
    echo "(autobuild) $pkgname built."
    cat $pkgfile | grep -vx $pkgname > "$pkgfile.tmp"
    mv $pkgfile.tmp $pkgfile
    else
    echo "(autobuild) There was an error when building ${pkgname}!"
    fi
    else
    echo "(autobuild) $pkgname not found!"
    cat $pkgfile | grep -vx $pkgname > "$pkgfile.tmp"
    mv $pkgfile.tmp $pkgfile
    fi
    done
    echo "(autobuild) Linking to $pkgdir..."
    find $absdir -name "*`uname -m`.pkg.tar.gz" -exec ln -v {} $pkgdir \; >/dev/null
    echo "(autobuild) Finished."
    exit 0

  • [SOLVED] Issue when installing many packages

    I recently installed arch linux and I remember being a bit worried about something: you know that packages that are being installed might remind you about things that you manually have to do in order to archeive this or that, like for example wireshark will tell you that you should put yourself into the wireshark group to be able to dump as a standard user.
    Now, I've seen a lot of those messages for my initial setup that I could not read. For example, when I did pacman -S gnome on the base system, it pulled in a lot of deps and at the same time gave me many of those hints - which basically just flew by (I wasn't smart enough to log a copy of the output of that command).
    Does someone have a script that takes my local pacman database, and throws only the hints for all installed packages back to me? Thx
    Last edited by vvd (2013-03-27 19:54:13)

    vvd wrote:(I wasn't smart enough to log a copy of the output of that command).
    You should be able to find the same output in /var/log/pacman.log
    vvd wrote:Does someone have a script that takes my local pacman database, and throws only the hints for all installed packages back to me? Thx
    I think that's not possible, since those messages aren't stored in any package metadata directly. Those messages come from scripts that are run pre/post install/upgrade/remove of a package.

  • [SOLVED] Remove / Uninstall 'supersonic' AUR package

    Hi guys, I am setting up a home server which will have OwnCloud and some music streaming with Subsonic.
    I read that Supersonic was a fork of Subsonic and was available on AUR so I installed that - though I cannot seem to get it to work, it starts OK but I cannot browse to MYHOMEURL:4040.
    Anyways, I am now gonna install the actual subsonic from AUR but I cannot seem to uninstall supersonic using pacman.
    Pacman -Rsnc supersonic
    ...returns 'error: target not found: supersonic'
    This is my first time using Arch and of course AUR so I cannot see how to remove this package.
    Last edited by kaipee (2012-07-11 19:32:59)

    kaipee wrote:
    Aah, right thanks Inxsible.
    Turns out it was 'supersonic-git'
    this forum needs a thanks button
    Don't forget to mark thread as [SOLVED]

  • [solved] how to add aur packages

    I can't seem to figure out how to install packages from aur ive looked at the official page but clearly I am doing something wrong. I am trying to set up rutorrent.
    I added the yaourt but now i'm getting "yaourt" command not found.
    Any help would be great.
    Last edited by Arch-Hoochie (2014-10-07 14:51:04)

    I frequently voice a very negative bias against yaourt - so much so that I almost feel guilty about it now that I'm a moderator (almost).
    But all biases aside, if yaourt is a good tool for anyone, it is only for those who know how the aur works.  It seems you are not yet familiar with the basics, so a tool like yaourt will be a great hinderance preventing any future learning.
    Start out by just downloading the aur-tarballs and use makepkg to build (and even install if you'd like with makepkg -i or makepkg -si).  Once you get the idea of how all the moving parts work, then you can look into a helper tool - but there are *many* beside yaourt.
    The fact that many here have ranted about it over and over, yet the archlinux.fr page still advises new users to run the `pacman -Sy` command (which could very easily cause substantial problems) takes the 'almost' out of my first sentence: I am very comfortable publicly expressing my distaste for yaourt.

  • [Solved] Maitreya's dream AUR Package

    Hi all - first off, I didn't know where else to ask for help about unsupported software, which is why I am posting in this subforum. I know that I might need to ask the author of the program about this, but just in case someone here could help out on this....
    I am trying to install a software called Maitreya's Dream. The program requires wxwidgets for successful compilation. For that I installed wxgtk from extra. It also needs a special font, for which I have copied the needed font into the /usr/share/fonts/TTF and done a fc-cache -f -v. The installation instructions were...
    ./configure
    make
    and to start the program by going to src/gui and typing
    ./maitreya
    Though ./configure and make seemed to go without problems, i could not start the program after cding to src/gui and trying ./maitreya - instead I got this error.
    Fatal Error: stat failed, errno is 2.
    I googled and found this in the Ubuntu forums. according to this page i got that error because wxwidgets(wxgtk) does not have unicode.
    But how can I find out whether the extra wxgtk package has unicode support or not...?
    I would really like to get this software working because it would remove the last need for me to have wine installed on my Arch64 system.
    thanks for any replies.
    Last edited by jaydoc (2009-05-03 20:39:48)

    ok seems like i fixed it. this pkgbuild works for me on x86_64:
    PKGBUILD
    pkgname=maitreya
    pkgver=5.0.1
    pkgrel=1
    pkgdesc="A free software for Vedic and western astrology"
    arch=(i686 x86_64)
    license=('Artistic')
    url="http://www.saravali.de/maitreya/index.html"
    depends=('wxgtk')
    source=(http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
    install=maitreya.install
    build() {
    cd $startdir/src/$pkgname-$pkgver
    #fix symbolic link creation
    sed -i "s#\${prefix}/maitreya/maitreya#${pkgdir}/usr/maitreya/maitreya#g" Makefile.am || return 1
    sed -i "s#/usr/local/bin#${pkgdir}/usr/bin#g" Makefile.am || return 1
    #create directory for symbolic link
    mkdir -p $pkgdir/usr/bin/
    #configure && make
    ./configure --prefix=/usr
    make || return 1
    make DESTDIR=$startdir/pkg install || return 1
    #move font
    mkdir -p $pkgdir/usr/share/fonts/truetype
    mv $pkgdir/usr/maitreya/fonts/MaitreyaSymbols.ttf $pkgdir/usr/share/fonts/truetype/
    maitreya.install
    # arg 1: the new package version
    post_install() {
    /usr/bin/fc-cache -f -v
    # arg 1: the new package version
    # arg 2: the old package version
    post_upgrade() {
    post_install $1
    op=$1
    shift
    $op $*
    to install, save the code fragments in a directory as PKGBUILD and maitreya.install and run "makepkg -cis".
    if i'm doing something stupid in the PKGBUILD please tell me
    edit: added to AUR http://aur.archlinux.org/packages.php?ID=26194
    if somebody that actually uses this would like to maintain the package just tell me and i'll orphan it
    Last edited by schuay (2009-05-03 13:01:18)

  • Download all your AUR packages with a script

    Here's a little quickie that will download all your scripts to the current working directory.  Uses ruby and requires the hpricot gem.  Also requires cower, install it from the AUR.  This is still pretty early, so it isn't very robust, but as long as you provide it with a valid username and the current directory is empty, you're good
    #!/usr/bin/env ruby
    require 'open-uri'
    require 'hpricot'
    abort "Usage: " + File.basename(__FILE__) + " username\n" if $*.count != 1
    sourceHtml = Hpricot(open("http://aur.archlinux.org/packages.php?O=0&K=#{$*[0]}&do_Search=Go&detail=0&C=0&SeB=m&SB=v&SO=d&PP=10000"))
    packages = sourceHtml.search("//a[@href^='packages.php?ID=']/span/text()").map { |package| package.to_s.sub(/ .*/, '') }
    packages.sort.each { |package| puts `cower -d #{package}` }
    Three lines of code for the grunt work.  Amazing, isn't it?

    It is much shorter when you use the rpc interface.
    username=xduugu; curl -Ss 'https://aur.archlinux.org/rpc.php?type=msearch&arg='"$username" | sed 's/},{/\n/g' | sed -r 's#.*"URLPath":"([^"]+)".*#\1#g;s#\\/#/#g' | wget -B https://aur.archlinux.org/ -i -

  • [SOLVED] How to update AUR packages?

    Hi,
    I am new to archlinux. a few days ago i installed my first application from the AUR and now I am wondering: How can i update? I believe that I have to use an AUR helper to do that. Is that correct? And which helper should i use? Any recommendations?
    thanx
    Last edited by turtlefox (2015-05-12 14:36:27)

    ok I understand, fetch the tarball again and building it will work. (that already came to my mind actually)
    However, for long-term use I kind of want a more convenient solution, so I think I will try cower.
    Can anyone tell me how to install cower? At https://github.com/falconindy/cower there is only a zip-file that I can download. The zip file contains the files 'bash_completion', 'config', 'cower.c', 'Makefile', 'README.pod' and 'zsh_completion'. (sorry, but I see no option for including the files in this post) In the README however, there is no information about installation.

  • [Solved] Can't upgrade AUR Packages

    It's been like this for awhile and I was hoping that it would resolve itself but it hasn't. Can someone tell me what's going on here?
    [bran@ra ../couchpotato-git]$ sudo yaourt -Syud
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    multilib is up to date
    The URL http://aur.archlinux.org/rpc.php?type=multiinfo&arg[]=adb&arg[]=appset-qt&arg[]=aurvote&arg[]=autodl-irssi-svn&arg[]=automatic&arg[]=cacheclean&arg[]=chromium-pepper-flash&arg[]=consolekit&arg[]=couchpotato-git&arg[]=createtorrent&arg[]=fastboot&arg[]=filezilla-oxygen&arg[]=google-talkplugin&arg[]=headphones-git&arg[]=irssi-daemon-git&arg[]=jmtpfs&arg[]=kio-mtp&arg[]=libdrm-nouveau1&arg[]=maraschinoproject-git&arg[]=package-query returned error : 301
    The URL http://aur.archlinux.org/rpc.php?type=multiinfo&arg[]=packer&arg[]=pacman-color&arg[]=python2-cheetah&arg[]=python2-yenc&arg[]=rutorrent&arg[]=rutorrent-autodl-irssi-svn&arg[]=rutorrent-plugins&arg[]=sabnzbd&arg[]=sickbeard-git&arg[]=systemd-ui-git&arg[]=transmission-remote-cli-git&arg[]=transmission-remote-gui&arg[]=xflux&arg[]=yaourt returned error : 301
    Foreign packages: - 34 / 34
    Edit: I didn't realize yaourt was out of date so I upgraded it and I no longer get that.
    Last edited by brando56894 (2012-12-20 22:53:34)

    http://www.google.com/search?hl=en&sour … ourt%20301

Maybe you are looking for

  • Free items in automatically created POs

    Hello gurus, we would like to create POs automatically using MRP. The problem is that some of the materials are always free goods. So if I created the PO manually, i would tick the free item checkbox. Can this be done automatically? Thanks Alicia

  • Error (1074724867:3) for Adobe Acrobat/Reader

    Any advice/help on this is truly appreciated.  This is becoming my private Hell because I am unable to fix this error and print important documents.  I have Adobe Acrobat Standard 8 installed on my computer as well.

  • Anyone knows how to use toFixed(int) in jsp??

    Currently, i want to make a string variable to have a fixed decimal point. I intend to use toFixed(int) this method but it gave me errors.. (method toFixed(int)not found in class java.lang.String) What should I do?? Anyone can give me some ideas?

  • Changing Audio to Spanish

    How do you change audio output to Spanish from English?

  • Why are my symbols are switched in Fireworks CS5?

    Hi there, I'm wondering what might be causing odd behavior with Fireworks. I'm on Windows 7 using FW CS5 and have created a 12,471KB document with 6 pages. My symbols are all out of whack - for instance a symbol created as a horiztonal rule might sho