Keeping a personal list of AUR packages

Hi,
I am not sure this is the correct section.
I am aware it is possible to vote and get notified for AUR package changes. However, that would be handy if it was possible to have a list of flagged AUR packages. That would make it easy to check at a glance which packages have been updated or their discussion have received new posts.
Would that be difficult to implement ?
Thanks a lot.

Yes, my idea which most likely will never be true on Arch, solves both of you what you say, so i dont see how you are on the other end of the spectrum.
I dont nessesarily mean yaourt to be official, but a similar function implemented in pacman would take care of it also.
This way more users submit semi-official scripts, which are first reviewed by TUs, and then uploaded to AUR, thus more people than now take part in actual development, but also the AUR is suplementary to the packages developers build. Also there are less package rebuilds as there are less binaries.
I find a great advantage to that the fact that people who would maintain scripts, would actually use the package, which is very important and would probably increase the quality of the provided application, cause that is not the case for a large number of binary packages ATM.
This of course has downsides too, most major of which probably being that the AUR will not be the same as it is now.
Last edited by dolby (2009-02-25 07:20:40)

Similar Messages

  • [solved] list all aur packages installed

    Hi,
    I'm looking a comman which list all AUR packages installed on my system. Man yaourt or man pacman don't help me (but maybe I missed something).
    Is it possible to list these AUR packages ?
    Last edited by ppr (2011-11-13 23:40:49)

    yaourt -Q | grep local/
    Works for me. I'm sure someone will have a better solution though.
    Last edited by WorMzy (2011-11-13 23:24:45)

  • [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.

  • Cannot retrieve aur packages installed with yaourt

    I accidently deleted /var/lib/pacman folder while attempting to solve my update issues (updating system after a long time) . I restored my local pacman database with the excellent guide in the wiki using /var/log/pacman.log  http://wiki.archlinux.org/index.php/Pac … l_database. I was able to update and restore my system. However, yaourt is not listing my installed aur packages. I re-installed yaourt and tried packer as well but it is not able to find the aur packages I installed using yaourt earlier to my update ( It is able to install and list new aur packages) . I can run the old aur packages  but I am not able to remove or list them. How can I list these lost aur packages or remove them completely? Is there a way to retrieve the database for aur packages installed with yaourt?
    Thanks.

    Hi karol,
    Thanks for your response.
    Executing pacman -Qm only lists aur packages which were installed after I accidently deleted /var/lib/pacman. I am not able to list those aur packages that I installed with yaourt prior to my /var/lib/pacman deletion. I am not sure how the accidental deletion and this issue is related, but I would like to delete these old aur packages. One example of such an aur package installed through yaourt (prior to blunder of /var/lib/pacman deletion ) was chromium-browser. I am able to run chromium-browser, but since this package is very old I would like to remove it. However, neither pacman nor yaourt is able to remove it.
    # pacman -R chromium-browser
    chromium-browser not found, searching for group...
    error: 'chromium-browser': not found in local db
    $ yaourt -R chromium-browser
    You are not allowed to launch /usr/bin/pacman with sudo
    Please enter root password
    Password:
    chromium-browser not found, searching for group...
    error: 'chromium-browser': not found in local db
    However chromium-browser is present on my system and runs very well.
    $ locate chromium-browser
    /etc/chromium-browser
    /etc/chromium-browser/default
    /opt/chromium-browser
    /opt/chromium-browser/chrome
    /opt/chromium-browser/chrome-wrapper
    /opt/chromium-browser/chrome.pak
    /opt/chromium-browser/chrome_sandbox
    /opt/chromium-browser/libffmpegsumo.so
    /opt/chromium-browser/locales
    /opt/chromium-browser/product_logo_48.png
    /opt/chromium-browser/resources
    /opt/chromium-browser/xdg-settings
    /opt/chromium-browser/locales/am.pak
    /opt/chromium-browser/locales/ar.pak
    /opt/chromium-browser/locales/bg.pak
    /opt/chromium-browser/locales/bn.pak
    /opt/chromium-browser/locales/ca.pak
    /opt/chromium-browser/locales/cs.pak
    /opt/chromium-browser/locales/da.pak
    /opt/chromium-browser/locales/de.pak
    /opt/chromium-browser/locales/el.pak
    /opt/chromium-browser/locales/en-GB.pak
    /opt/chromium-browser/locales/en-US.pak
    /opt/chromium-browser/locales/es-419.pak
    /opt/chromium-browser/locales/es.pak
    /opt/chromium-browser/locales/et.pak
    /opt/chromium-browser/locales/fi.pak
    /opt/chromium-browser/locales/fil.pak
    /opt/chromium-browser/locales/fr.pak
    /opt/chromium-browser/locales/gu.pak
    /opt/chromium-browser/locales/he.pak
    /opt/chromium-browser/locales/hi.pak
    /opt/chromium-browser/locales/hr.pak
    /opt/chromium-browser/locales/hu.pak
    /opt/chromium-browser/locales/id.pak
    /opt/chromium-browser/locales/it.pak
    /opt/chromium-browser/locales/ja.pak
    /opt/chromium-browser/locales/kn.pak
    /opt/chromium-browser/locales/ko.pak
    /opt/chromium-browser/locales/lt.pak
    /opt/chromium-browser/locales/lv.pak
    /opt/chromium-browser/locales/ml.pak
    /opt/chromium-browser/locales/mr.pak
    /opt/chromium-browser/locales/nb.pak
    /opt/chromium-browser/locales/nl.pak
    /opt/chromium-browser/locales/or.pak
    /opt/chromium-browser/locales/pl.pak
    /opt/chromium-browser/locales/pt-BR.pak
    /opt/chromium-browser/locales/pt-PT.pak
    /opt/chromium-browser/locales/ro.pak
    /opt/chromium-browser/locales/ru.pak
    /opt/chromium-browser/locales/sk.pak
    /opt/chromium-browser/locales/sl.pak
    /opt/chromium-browser/locales/sr.pak
    /opt/chromium-browser/locales/sv.pak
    /opt/chromium-browser/locales/sw.pak
    /opt/chromium-browser/locales/ta.pak
    /opt/chromium-browser/locales/te.pak
    /opt/chromium-browser/locales/th.pak
    /opt/chromium-browser/locales/tr.pak
    /opt/chromium-browser/locales/uk.pak
    /opt/chromium-browser/locales/vi.pak
    /opt/chromium-browser/locales/zh-CN.pak
    /opt/chromium-browser/locales/zh-TW.pak
    /opt/chromium-browser/resources/inspector
    /opt/chromium-browser/resources/inspector/Images
    /opt/chromium-browser/resources/inspector/devtools.css
    /opt/chromium-browser/resources/inspector/devtools.html
    /opt/chromium-browser/resources/inspector/devtools.js
    /opt/chromium-browser/resources/inspector/inspector.css
    /opt/chromium-browser/resources/inspector/inspector.html
    /opt/chromium-browser/resources/inspector/inspectorSyntaxHighlight.css
    /opt/chromium-browser/resources/inspector/Images/back.png
    /opt/chromium-browser/resources/inspector/Images/checker.png
    /opt/chromium-browser/resources/inspector/Images/clearConsoleButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/closeButtons.png
    /opt/chromium-browser/resources/inspector/Images/consoleButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/consoleIcon.png
    /opt/chromium-browser/resources/inspector/Images/cookie.png
    /opt/chromium-browser/resources/inspector/Images/database.png
    /opt/chromium-browser/resources/inspector/Images/databaseTable.png
    /opt/chromium-browser/resources/inspector/Images/debuggerContinue.png
    /opt/chromium-browser/resources/inspector/Images/debuggerPause.png
    /opt/chromium-browser/resources/inspector/Images/debuggerStepInto.png
    /opt/chromium-browser/resources/inspector/Images/debuggerStepOut.png
    /opt/chromium-browser/resources/inspector/Images/debuggerStepOver.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallDown.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallDownBlack.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallDownWhite.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallRight.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallRightBlack.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallRightDown.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallRightDownBlack.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallRightDownWhite.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallRightWhite.png
    /opt/chromium-browser/resources/inspector/Images/dockButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/elementsIcon.png
    /opt/chromium-browser/resources/inspector/Images/enableOutlineButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/enableSolidButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/errorIcon.png
    /opt/chromium-browser/resources/inspector/Images/errorMediumIcon.png
    /opt/chromium-browser/resources/inspector/Images/errorRedDot.png
    /opt/chromium-browser/resources/inspector/Images/excludeButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/focusButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/forward.png
    /opt/chromium-browser/resources/inspector/Images/glossyHeader.png
    /opt/chromium-browser/resources/inspector/Images/glossyHeaderPressed.png
    /opt/chromium-browser/resources/inspector/Images/glossyHeaderSelected.png
    /opt/chromium-browser/resources/inspector/Images/glossyHeaderSelectedPressed.png
    /opt/chromium-browser/resources/inspector/Images/goArrow.png
    /opt/chromium-browser/resources/inspector/Images/graphLabelCalloutLeft.png
    /opt/chromium-browser/resources/inspector/Images/graphLabelCalloutRight.png
    /opt/chromium-browser/resources/inspector/Images/grayConnectorPoint.png
    /opt/chromium-browser/resources/inspector/Images/largerResourcesButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/localStorage.png
    /opt/chromium-browser/resources/inspector/Images/nodeSearchButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/paneBottomGrow.png
    /opt/chromium-browser/resources/inspector/Images/paneBottomGrowActive.png
    /opt/chromium-browser/resources/inspector/Images/paneGrowHandleLine.png
    /opt/chromium-browser/resources/inspector/Images/paneSettingsButtons.png
    /opt/chromium-browser/resources/inspector/Images/pauseOnExceptionButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/percentButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/profileGroupIcon.png
    /opt/chromium-browser/resources/inspector/Images/profileIcon.png
    /opt/chromium-browser/resources/inspector/Images/profileSmallIcon.png
    /opt/chromium-browser/resources/inspector/Images/profilesIcon.png
    /opt/chromium-browser/resources/inspector/Images/profilesSilhouette.png
    /opt/chromium-browser/resources/inspector/Images/radioDot.png
    /opt/chromium-browser/resources/inspector/Images/recordButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/recordToggledButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/reloadButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/resourceCSSIcon.png
    /opt/chromium-browser/resources/inspector/Images/resourceDocumentIcon.png
    /opt/chromium-browser/resources/inspector/Images/resourceDocumentIconSmall.png
    /opt/chromium-browser/resources/inspector/Images/resourceJSIcon.png
    /opt/chromium-browser/resources/inspector/Images/resourcePlainIcon.png
    /opt/chromium-browser/resources/inspector/Images/resourcePlainIconSmall.png
    /opt/chromium-browser/resources/inspector/Images/resourcesIcon.png
    /opt/chromium-browser/resources/inspector/Images/resourcesSilhouette.png
    /opt/chromium-browser/resources/inspector/Images/resourcesSizeGraphIcon.png
    /opt/chromium-browser/resources/inspector/Images/resourcesTimeGraphIcon.png
    /opt/chromium-browser/resources/inspector/Images/scriptsIcon.png
    /opt/chromium-browser/resources/inspector/Images/scriptsSilhouette.png
    /opt/chromium-browser/resources/inspector/Images/searchSmallBlue.png
    /opt/chromium-browser/resources/inspector/Images/searchSmallBrightBlue.png
    /opt/chromium-browser/resources/inspector/Images/searchSmallGray.png
    /opt/chromium-browser/resources/inspector/Images/searchSmallWhite.png
    /opt/chromium-browser/resources/inspector/Images/segment.png
    /opt/chromium-browser/resources/inspector/Images/segmentChromium.png
    /opt/chromium-browser/resources/inspector/Images/segmentEnd.png
    /opt/chromium-browser/resources/inspector/Images/segmentHover.png
    /opt/chromium-browser/resources/inspector/Images/segmentHoverChromium.png
    /opt/chromium-browser/resources/inspector/Images/segmentHoverEnd.png
    /opt/chromium-browser/resources/inspector/Images/segmentHoverEndChromium.png
    /opt/chromium-browser/resources/inspector/Images/segmentSelected.png
    /opt/chromium-browser/resources/inspector/Images/segmentSelectedChromium.png
    /opt/chromium-browser/resources/inspector/Images/segmentSelectedEnd.png
    /opt/chromium-browser/resources/inspector/Images/segmentSelectedEndChromium.png
    /opt/chromium-browser/resources/inspector/Images/sessionStorage.png
    /opt/chromium-browser/resources/inspector/Images/splitviewDimple.png
    /opt/chromium-browser/resources/inspector/Images/splitviewDividerBackground.png
    /opt/chromium-browser/resources/inspector/Images/statusbarBackground.png
    /opt/chromium-browser/resources/inspector/Images/statusbarBackgroundChromium.png
    /opt/chromium-browser/resources/inspector/Images/statusbarBottomBackground.png
    /opt/chromium-browser/resources/inspector/Images/statusbarBottomBackgroundChromium.png
    /opt/chromium-browser/resources/inspector/Images/statusbarButtons.png
    /opt/chromium-browser/resources/inspector/Images/statusbarButtonsChromium.png
    /opt/chromium-browser/resources/inspector/Images/statusbarMenuButton.png
    /opt/chromium-browser/resources/inspector/Images/statusbarMenuButtonChromium.png
    /opt/chromium-browser/resources/inspector/Images/statusbarMenuButtonSelected.png
    /opt/chromium-browser/resources/inspector/Images/statusbarMenuButtonSelectedChromium.png
    /opt/chromium-browser/resources/inspector/Images/statusbarResizerHorizontal.png
    /opt/chromium-browser/resources/inspector/Images/statusbarResizerVertical.png
    /opt/chromium-browser/resources/inspector/Images/storageIcon.png
    /opt/chromium-browser/resources/inspector/Images/successGreenDot.png
    /opt/chromium-browser/resources/inspector/Images/timelineBarBlue.png
    /opt/chromium-browser/resources/inspector/Images/timelineBarGray.png
    /opt/chromium-browser/resources/inspector/Images/timelineBarGreen.png
    /opt/chromium-browser/resources/inspector/Images/timelineBarOrange.png
    /opt/chromium-browser/resources/inspector/Images/timelineBarPurple.png
    /opt/chromium-browser/resources/inspector/Images/timelineBarRed.png
    /opt/chromium-browser/resources/inspector/Images/timelineBarYellow.png
    /opt/chromium-browser/resources/inspector/Images/timelineCheckmarks.png
    /opt/chromium-browser/resources/inspector/Images/timelineDots.png
    /opt/chromium-browser/resources/inspector/Images/timelineHollowPillBlue.png
    /opt/chromium-browser/resources/inspector/Images/timelineHollowPillGray.png
    /opt/chromium-browser/resources/inspector/Images/timelineHollowPillGreen.png
    /opt/chromium-browser/resources/inspector/Images/timelineHollowPillOrange.png
    /opt/chromium-browser/resources/inspector/Images/timelineHollowPillPurple.png
    /opt/chromium-browser/resources/inspector/Images/timelineHollowPillRed.png
    /opt/chromium-browser/resources/inspector/Images/timelineHollowPillYellow.png
    /opt/chromium-browser/resources/inspector/Images/timelineIcon.png
    /opt/chromium-browser/resources/inspector/Images/timelinePillBlue.png
    /opt/chromium-browser/resources/inspector/Images/timelinePillGray.png
    /opt/chromium-browser/resources/inspector/Images/timelinePillGreen.png
    /opt/chromium-browser/resources/inspector/Images/timelinePillOrange.png
    /opt/chromium-browser/resources/inspector/Images/timelinePillPurple.png
    /opt/chromium-browser/resources/inspector/Images/timelinePillRed.png
    /opt/chromium-browser/resources/inspector/Images/timelinePillYellow.png
    /opt/chromium-browser/resources/inspector/Images/tipBalloon.png
    /opt/chromium-browser/resources/inspector/Images/tipBalloonBottom.png
    /opt/chromium-browser/resources/inspector/Images/tipIcon.png
    /opt/chromium-browser/resources/inspector/Images/tipIconPressed.png
    /opt/chromium-browser/resources/inspector/Images/toolbarItemSelected.png
    /opt/chromium-browser/resources/inspector/Images/treeDownTriangleBlack.png
    /opt/chromium-browser/resources/inspector/Images/treeDownTriangleWhite.png
    /opt/chromium-browser/resources/inspector/Images/treeRightTriangleBlack.png
    /opt/chromium-browser/resources/inspector/Images/treeRightTriangleWhite.png
    /opt/chromium-browser/resources/inspector/Images/treeUpTriangleBlack.png
    /opt/chromium-browser/resources/inspector/Images/treeUpTriangleWhite.png
    /opt/chromium-browser/resources/inspector/Images/undockButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/userInputIcon.png
    /opt/chromium-browser/resources/inspector/Images/userInputPreviousIcon.png
    /opt/chromium-browser/resources/inspector/Images/userInputResultIcon.png
    /opt/chromium-browser/resources/inspector/Images/warningIcon.png
    /opt/chromium-browser/resources/inspector/Images/warningMediumIcon.png
    /opt/chromium-browser/resources/inspector/Images/warningOrangeDot.png
    /opt/chromium-browser/resources/inspector/Images/warningsErrors.png
    /opt/chromium-browser/resources/inspector/Images/whiteConnectorPoint.png
    /usr/bin/chromium-browser
    /usr/share/applications/chromium-browser.desktop
    /usr/share/licenses/chromium-browser-bin
    /usr/share/licenses/chromium-browser-bin/LICENSE.txt
    /usr/share/man/man1/chromium-browser.1.gz
    /usr/share/pixmaps/chromium-browser.png
    Chromium-browser is just one of the packages I remember having installed using yaourt prior to the /var/lib/pacman deletion. I would like to know if there is a way to find all such aur packages installed through yaourt prior to /var/lib/pacman deletion and if possible, delete them.
    Thanks.
    Last edited by billy123 (2010-04-05 16:35:35)

  • How to list AUR packages in terminal with yaourt or other helper?

    I can list packages I have installed from AUR, for example to find all the developer components of Xfce that I have installed, I can run the following command:
        pacman -Qim | grep -E "Name           : xf".+devel
    Which outputs:
        Name           : xfce4-appfinder-devel
        Name           : xfce4-dev-tools-devel
        Name           : xfce4-panel-devel
        Name           : xfce4-session-devel
        Name           : xfce4-settings-devel
        Name           : xfdesktop-devel
        Name           : xfwm4-devel
    But, how do I find out if there are other packages that match the same regex pattern available in the AUR, maybe using yaourt? When I try:
        yaourt -Si | grep -E "Name           : xf".+devel
    I get no output. When I don't include .+devel, I find out that none of the AUR packages are included. If I try to force it to search the AUR by including -a, it says that's not a valid option.
    So, how do I search the AUR from the terminal?

    falconindy wrote:
    cower transparently supports regex -- but not thanks to the AUR. In reality, the query "xf.*-devel" is actually asking the AUR to search for "xf". The returned results are filtered against the regex "xf.*-devel" and out pops magic.
    Yaourt doesn't do this.
    I saw that, but Yaourt should be able to simply query the AUR without it trying to install stuff, but how? Does anyone know? I knew yaourt didn't support regex, that's why I was piping the output to grep. It worked for pacman, and works for yaourt when it uses pacman, but I can't figure out how to get it to return the contents of the AUR so I can pipe those contents through grep.

  • [yaourt] Keep sources/build files only for specific AUR packages

    Hi,
    By default, packages are build in BUILDDIR=/tmp/makepkg, which itself usually is a virtual dir in RAM. I generally like this behaviour, so I don't wanna change the BUILDDIR variable to point to a dir on the harddisk, but for a few packages I'd welcome the sources/build dir to be kept, e.g. for *-git packages to reduce build time on consecutive updates. Is there a neat Arch-way to tell the makepkg system to use a different dir (i.e., one on the harddisk) for specific packages? It'd be even greater to be able to use wildcards as well, so I could just enable this option for all *-git packages.
    And as I said, I generally like the idea of building in RAM so the trick to just let BUILDDIR point to a dir on my hdd and put a command in some shutdown-script to delete all but the directories ending in -git wouldn't be perfect
    Cheers
    Last edited by epinephrine (2013-01-27 16:25:17)

    Oh you're right in that BUILDDIR isn't set by default. I use yaourt for building AUR packages, so this is a yaourt related question, oops. I'll ask in the appropriate forum...
    Some packages are only available as git packages, and that for a good reason. Some git repository maintainers follow the good working principle to always have their master branch stable and deployable and do development and testing in respective branches to keep master clean. E.g. I maintain 2 git packages on the AUR, and there are no other "stable" options, also as git makes sense for these packages.
    And sometimes you just need a more up2date version

  • [Solved] List AUR packages installed and only AUR packages.

    Here's a good one.  Thought this would be easy but thought it over and then looked around a bit and haven't found anything.  There's might just be an easy way to do this that will make me *bonk* my head in the morning but I haven't found it yet.  I'm looking to be able to just list the packages I have installed from AUR and not any that I have gotten from the official repos.  I've checked out some utilities in AUR (like AURcheck) but as far as I can tell they just look for AUR updates.  Anyone know of a way to do this?
    Last edited by Gen2ly (2009-10-30 14:32:22)

    I just got to reinstalling and this was a lifesaver - it worked great.  Thank for the help, brisbin, ghost, Allan...
    @Ghost, I would have used packup but I had a couple downgraded packages and I wanted to be able to troubleshoot it.
    The tip about the grep -v doing 'shortnameplus' was a good tip, Profjim.  I hadn't read this last post before and during the reinstall I was a bit surprised nvidia wasn't installed so... all is good now.
    I created a script to be able to create the backup list and restores from it simliar to ghosts and am able to run it in cron job.  Probably not a big deal, but... phhht.  Here it is for anyone that can use it:
    #!/bin/bash
    # pacbac - Create and restore from list all installed packages
    # Package list locations (official and local)
    pkglsoff=/opt/backup/pc-emach/arch-pkglist-official
    pkglsloc=/opt/backup/pc-emach/arch-pkglist-local
    # Exclude packages
    excldoff=()
    excldloc=()
    # Use filename as program name
    prog=${0##*/}
    # Text color variables
    bldblu='\e[1;34m' # blue
    bldred='\e[1;31m' # red
    bldwht='\e[1;37m' # white
    txtcyn='\e[0;36m' # cyan
    txtund=$(tput sgr 0 1) # underline
    txtrst='\e[0m' # text reset
    info=${bldwht}*${txtrst}
    pass=${bldblu}*${txtrst}
    warn=${bldred}!${txtrst}
    # If restoring, be sure yaourt is installed
    if [[ "$1" == 'r' ]] && [[ -z $(pacman -Qs yaourt) ]]; then
    echo ""
    echo -e "$warn $prog requires ${txtund}}Yaourt${txtrst} to be installed."
    echo -e " ${txtcyn}http://wiki.archlinux.org/index.php/Yaourt${txtrst}"
    echo ""
    exit
    fi
    case $1 in
    b ) # Create list of official repository packages (core, extra, community)
    echo -e "$info Creating list of official (core/extra/community packages) packages installed."
    # Create list, remove local, base
    pacman -Qqe | grep -vx "$(pacman -Qqg base)" | grep -vx "$(pacman -Qqm)" > "$pkglsoff"
    # Create list of local packages (includes the AUR)
    echo -e "$info Creating list of local (includes AUR) packages installed."
    pacman -Qqm > "$pkglsloc"
    echo -e "$pass Official package list saved to ${txtund}"$pkglsoff"${txtrst}"
    echo -e "$pass Local package list saved to ${txtund}"$pkglsloc"${txtrst}" ;;
    r ) # Update repository database, then restore packages from list
    echo -e "$info Installing packages from lists"
    sudo pacman -Sy
    # use -f to overwrite conflicting files
    sudo pacman -S --needed $(cat "$pkglsoff")
    # Yaourt doesn't have --needed check
    yaourt -S $(cat "$pkglsloc" | grep -vx "$(pacman -Qqm)") ;;
    * ) echo -e " pacbac b - build installed packages list. (dir:${txtund}"${pkglsoff%/*}"${txtrst})"
    echo -e " pacbac r - restore installed packages from package list." ;;
    esac
    Last edited by Gen2ly (2009-10-31 14:16:55)

  • What are the rules for AUR packages that rely on Alien bins [solved]

    Hi,
    I use ArchLinuxArm and want to create an AUR package that gets binaries from, lets say Fedora ARM, extracts them and modifies the config files in order to make it compatible with the Arch way of Linux. Of course, the PKGBUILD I am going to write will limit installation on the appropriate arcitecture, e.g. armv7h, then.
    Is this generally allowed or will my package be deleted after submission to AUR?
    Best,
    RaumZeit
    Last edited by RaumZeit (2013-10-27 01:38:31)

    AUR queries should be posted to the aur-general mailing list.
    As indicated in the thread linked by Karol above, it is permitted to append unsupported architectures to the arch array of a PKGBUILD that builds on officially supported architectures. That does not necessarily mean that we will allow packages that only build on unsupported architectures. This should be discussed on the mailing list. I have a vague memory of this coming up before and I think the consensus was that such packages would not be supported, but that consensus may have changed. Personally, I do not see a problem with such packages right now and I expect official supported to be extended in the future,  so I am in favor of allowing them.
    Packages that install pre-compiled binaries should be distinguished from normal packages with a "-bin" suffix. Such packages are permitted as long as they do not violate applicable licenses.

  • How to inspect AUR package PKBUILD and .install files

    Hi,
    Linux and arch newbie here. I was reading the wiki article about the AUR and noticed this bit:
    Warning: Carefully check all files. cd to the newly created directory and carefully check the PKGBUILD and any .install file for malicious commands. PKGBUILDs are bash scripts containing functions to be executed by makepkg: these functions can contain any valid commands or Bash syntax, so it is totally possible for a PKGBUILD to contain dangerous commands through malice or ignorance on the part of the author. Since makepkg uses fakeroot (and should never be run as root), there is some level of protection but you should never count on it. If in doubt, do not build the package and seek advice on the forums or mailing list.
    This is something that have not been doing at all in the past, but I am trying to improve my practices managing my system.
    The problem is, I do not know what exactly I am looking at or for in these files. If I give these files a look over before installing the package, can I honestly expect to spot something malicious? What would I need to learn to notice if something was fishy?
    Anyway, I am not to worried about this practically, because I only use a handful of AUR packages and I usually install ones based on recommendations, not just at random. But it still seemed interesting for the wiki to stress this so strongly. How important is this guidline anyway?
    Thanks!
    [EDIT: spelling]
    Last edited by supernerd (2014-06-25 10:41:13)

    I scan the whole PKGBUILD. I start by ensuring that the source link to the original source looks accurate. For example, take the source line for gmusicbrowser-git:
    source=("${pkgname}::git+http://github.com/squentin/gmusicbrowser.git")
    I know this is the correct link to the source, and so it passes my check. But suppose it had said:
    source=("${pkgname}::git+http://youvebeenhackedhub.com/1337haxorz/gmusicbrowser.git")
    I would become suspicious. Of course this is an exaggeration, but common sense goes a long ways here. At least check the first time..
    With the source verified, I ensure that the md5sum or sha256sum block has a sum. This way, if a download is compromised at the source, the sha256 or md5sum can catch it before you installed (this assumes that the PKGBUILD is not "bad" and has the sum number of a package that wasnt compromised). Note that with git this isnt necessary (the git process protects against such problems). Anytime a tarball is downloaded and extracted however, the sums should be present in the PKGBUILD. If I go to install an AUR package that has 'SKIP' for the md5sum/sha256sum block, I will double or triple check the source of the tarball (or of the patch files enclosed in the build directory, etc..)
    I also look for any "dangerous" commands in the build and install sections. For example, if I see "rm -rf" I had better see something like $pkgdir to start the directory path or be VERY sure the path is "safe". Since makepkg is not run as root this should theoretically not be a problem, but imagine if someone put "rm -rf /home/*" (warning: do not run that command on your system!) in there! This is mostly common sense; in time as you get more comfortable with bash and various linux commands it will make more and more sense and you will be able to spot mistakes.
    Also, consider the user posting the pkgbuild. "Trusted Users" are selected as trustworthy members of the community, so obviously you can feel much more comfortable with PKGBUILDS they have made (Xyne comes to mind..). For people you may not know, check what other PKGBUILDs they have available. After awhile, you develop a trust for certain people whos PKGBUILDs or software you have used. For example, I wouldnt hesitate to build/install using a PKGBUILD put up by BurntSushi since I use some of his software, have personally corresponded with him, and find him to be responsible. You might "develop" such rapport with other AUR users I dont even know about.
    Consider the vote count of a package as an approximate metric. Dont discount a package because it has 0 votes- it may just be that not many people have use for that particular software. Ive considered hosting a PKGBUILD for "xfce4-terminal-nowindowhints"; consider that tilers generally ignore them anyway, and that my package would only be useful for someone literally using xfce4-terminal with pytyle. How high do you think the vote count would be (even if the PKGBUILD had 0 errors)? On the other hand, you at least have a good chance the PKGBUILD is solid if the package has 354 people voting for it.. That said, the package could have been well-maintained before (when it received a ton of votes), and the quality has dropped since- just be mindful of these trends.
    Finally, adding all of these things together will leave the odds of a malicious PKGBUILD affecting your system pretty slim, though its certainly not impossible. I have never (to my knowledge to be fair) encountered a malicious PKGBUILD, though I have found a few that had errors or outdated sources, etc.
    Last edited by GSF1200S (2014-06-29 10:13:50)

  • AUR package interface - sort criteria out of action

    The "search by" field on the main AUR package list (http://aur.archlinux.org/packages.php) now only contains name and maintainer.  There used to be at least 5 options, one of which was the ability to search by age.  Searches in reverse order are also no longer possible.
    Problem exists regardless of logged in status.
    Can this be corrected please.

    Snowman wrote:
    tomk wrote:
    Probably something to do with this.
    Post it on Flyspray.
    No. It's due to an AUR update: http://www.archlinux.org/blog/2005/10/21/aur-127/
    You need to click on the column headers to sort.
    So how are we supposed to sort by age? It seems like that's the only really important sorting need, to see the latest packages in aur (aside from the 10 listed on the front page).

  • Customized license for an AUR package

    Hello community,
    yesterday I stumbled upon a very cool LaTeX package for creating commutative diagrams. I found it very useful and thus wanted to create an AUR package for it, but unfortunately it has a somewhat unusual license. Here it is:
    %% COPYRIGHT NOTICE: %
    %% This package may be copied and used freely for any academic %
    %% (not commercial or military) purpose, on condition that it %
    %% is not altered in any way, and that an acknowledgement is %
    %% included in any published work making substantial use of it. %
    %% IT IS SUPPLIED "AS IS", WITHOUT WARRANTY, EXPRESS OR IMPLIED. %
    %% If you are doing something where mistakes cost money (or where %
    %% success brings financial profit) then you must use commercial %
    %% software, not this package. In any case, please remember to %
    %% keep several backup copies of all files, and check everything %
    %% visually before sending final copy to the publishers. %
    %% You may use this package as a (substantial) aid to writing an %
    %% academic research or text book on condition that %
    %% (i) you contact me at a suitable time to ensure that you have %
    %% an up-to-date version (and any infelicities can be fixed), %
    %% (ii) you send me a copy of the book when it's published. %
    Also the source code is mostly kind of closed (you might take a look at http://www.paultaylor.eu/diagrams/diagrams.sty ). I contacted the author and asked whether it would be possible to change the license to some similar but more common license. Unfortunately it seems that the code needs much clean up before it can be published and the author doesn't have the time and resources to take care of it. Thus a closed license similar to the current license would be needed.
    So I'd like to ask whether there is a common license similar to the above and if not, whether I can still create an AUR package for it (and what license I should use in this case).
    Thanks,
    PhotonX
    Last edited by PhotonX (2012-07-06 08:42:42)

    I don't know if it is commonly used for software/code, but I don't think a creative commons license requires source distribution while an "Attribution + Noncommercial + NoDerivatives (by-nc-nd)" creative commons license seems to provide the restrictions the author is aiming for.  This would allow for the use of a clear and established license.
    Note: I just found a CC FAQ that advises against using it for software.  Though the reason seems to be that the license does not make any specific mention of source/object code thus it is not an open source license.  However, if one want's a closed license, that may do it ... it's at least worth considering.
    It also may be worth considering whether the code in this project uses previously GPL'ed code/tools which I'm pretty sure it would.  If that's the case then I believe it must also be GPL.  ("I beleive" = don't take my word on this ... but this should be looked into).
    EDIT: come to think of it, no actual "software" is being distributed as there is no compiled version of this.  What is being distributed is a document.  It is a style document with instructions that are interpreted by other software.  That other software could be, but need not be, a GPL'ed latex compiler.  It could be any sort of markup compiler that can work with latex-like instructions.  Anyhow, the point is what is to be protected is not a resulting program, but the text contents of the sty document itself.  Thefore a simpler document copyright would be more fitting than a software license, wouldn't it?  So, I would recommend a creative commons variant.  This allows others to use his sty document while (optionally) requiring attribution, disallowing modification of the sty document, and disallowing commercial use.
    EDIT2: following from the above, with a comparison - this is like distrubuting campaigns or other plugins for the GPL'ed game Battle for Wesnoth.  The artwork can be, and often is, under a more restrictive copyright of the author/creator.  A sty document seems more like the artwork and added levels of Wesnoth than additional software.
    EDIT3: another comparison would be distributed CSS styles.  These are (if anything) under document copyright not software license.
    Last edited by Trilby (2012-07-06 14:29:51)

  • Upgrading certain AUR packages when specific official packages change

    I'm having some trouble with updating. As many Archers, I use some packages from AUR. In my case, I'm using bauerbill specifically to update packages from AUR just like I would with pacman. Quite convenient (thx, xyne!)
    But I have some packages that need to be rebuild from AUR when certain official packages are updated, e.g. compiling thinkhdaps against the new kernel version, or updating Lightning and Enigmail from AUR when I update my Thunderbird. However, so far I have not yet found a way to do this: calling specific commands when certain packages are changed.
    Is there any way to do this in pacman or one of the other arch package managers? Or do you have a clue about how to write a script that could do this? Any help would be greatly appreciated.
    Last edited by Natanji (2010-07-22 06:49:54)

    dmz wrote:You could watch (with inotify) the pacman log for specific applications and events. Turn this into a daemon, and execute relevant commands when application X is updated.
    But I think that seems to be a problem as you wouldn't know which applications to keep watching since some might need to be re-built, and others might not.
    I guess watching every package installed outside of pacman (pacman -Qm) would be the only way to see which AUR package needs to be re-built. Depending on how many packages you have installed from AUR or external sources, this could be very fast to extremely slow.

  • Pan Newsreader AUR Packages Confusion...

    Hi,
    not sure of this is the right group for this, but i just built a new Arch box and was installing my standard newsreader, Pan (v.0135) from files in the AUR, a process I've completed successfully a couple of times on other machines.  Odd thing was, the version I installed kept segfaulting when I tried to delete article headers, a basic app function.   I tried recompiling, checked the dependencies individually, etc., but nothing worked. 
    Then, I carefully scanned the AUR package list again and noticed that the package I had compiled, "pan-git," was not the only AUR package listed for Pan.  I uninstalled pan-git then built and installed the correct pan-gtk3, which also gave me a functioning Pan v. 0.135, but this one doesn't constantly segfault--yay! 
    Maybe I missed something in the documentation that explains why package pan-git exists, but for now, it's confusing to anyone wanting to build a functioning instance of Pan on their system.
    The package that actually compiled to a properly functioning application is this one, pan-gtk3:
    https://aur.archlinux.org/packages.php?ID=50009
    thanks

    -git packages may be providing a more up to date software as it uses git instead of formal releases as the source.
    I can't access AUR atm, I'll have a look later. Fixed itself.
    Edit: You can just check the PKGBUILDS and see the differences
    https://aur.archlinux.org/packages.php?ID=43523
    https://aur.archlinux.org/packages.php?ID=31228 includes "Temporary bugfix version by K. Haley. With nzb gui patch by Heinrich Mueller." - as mentioned in the description
    https://aur.archlinux.org/packages.php?ID=43523 - uses gtk2
    Last edited by karol (2011-10-11 17:32:51)

  • AUR package not showing up with pacman -Qm

    So, according with this topic, the OP couldn't find the chromium-pepper-flash package with pacman -Qm, but for me it shows up on the search (I have installed it from the AUR, with makepkg). Currently this package is located in the AUR.
    I wonder why the OP couldn't find it? I mean, if this is an external package, not in the official repos, shouldn't it *always* shows up with pacman -Qm? Please notice that the OP didn't know at the time how he has installed this package, but I can't see other way if not with makepkg or with an AUR helper.
    Last edited by thiagowfx (2014-01-10 21:37:25)

    thiagowfx wrote:I wonder why the OP couldn't find it? I mean, if this is an external package, not in the official repos, shouldn't it *always* shows up with pacman -Qm?
    The only thing that I can think of is that it was installed from a repository, because pacman -Qm lists all the packages which uou have installed which are not from any local databases stored on your computer.

  • Sticky bit in unsupported AUR packages

    Hello,
    In my ventures to provide a PKGBUILD for an app called gnump3d, I've come across something with the unsupported (only?) build script packages in AUR that can cause some problems.
    Here is an (one) example of such a package:
    $ wget --quiet aur.archlinux.org/packages/tomcat/tomcat.tar.gz
    $ tar tvzf tomcat.tar.gz
    drwxr-sr-x nobody/aur 0 2006-06-27 02:50:53 tomcat/
    -rw-r--r-- nobody/aur 938 2006-06-27 02:49:10 tomcat/PKGBUILD
    -rw-r--r-- nobody/aur 415 2005-06-16 20:11:45 tomcat/tomcat.conf.d
    -rwxr-xr-x nobody/aur 706 2005-06-16 20:11:12 tomcat/tomcat
    Notice the owner, group and the sticky bit on the directory. These permissions seem to be standard for the AUR build script packages.
    Now, if use aurbuild to build this package, I get this content in the package:
    drwxr-sr-x root/root 0 2006-08-08 01:48:05 etc/
    drwxr-sr-x root/root 0 2006-08-08 01:48:05 etc/rc.d/
    -rwxr-xr-x root/root 706 2006-08-08 01:48:05 etc/rc.d/tomcat
    drwxr-sr-x root/root 0 2006-08-08 01:48:05 etc/conf.d/
    -rw-r--r-- root/root 415 2006-08-08 01:48:05 etc/conf.d/tomcat
    <SNIP>
    I'm pretty sure that these sticky bits weren't intended. If I build the package with yaourt, which uses srcpac as a backend, things get more troublesome:
    drwxr-sr-x root/549 0 2006-08-08 02:03:00 etc/
    drwxr-sr-x root/549 0 2006-08-08 02:03:00 etc/rc.d/
    -rwxr-xr-x root/549 706 2006-08-08 02:03:00 etc/rc.d/tomcat
    drwxr-sr-x root/549 0 2006-08-08 02:03:00 etc/conf.d/
    -rw-r--r-- root/549 415 2006-08-08 02:03:00 etc/conf.d/tomcat
    <SNIP>
    549 ought to be the group id of aur in the AUR repository.
    Careless usage of makepkg can also make this happen. Not building as root, but in a fakeroot environment, seems to prevent it from happen.
    From what I can see, the erroneous permissions are created when the install command is used in the PKGBUILD script, within the newly unpacked build script package.
    This is certainly not meant to bash the authors of aurbuild or yaourt (or tomcat; many PKGBUILDs use install, mine included), I just wanted to raise the issue. Can something be done about this? Don't know where, though. Removing the sticky bit on the directory in the build script package would be one solution. Or maybe makepkg could warn about erroneous permissions. Or... Or something? Is it a bug or a feature?
    Cheers

    Ok fixed aurbuild. Now it extracts the tarball from AUR into /tmp then copies it into the build dir which inherets the modes and owenership of the parent directory there (being $HOME), I'm pretty sure this is how tar does it.
    As pointed out above this setgid issue only occurred during root user builds.
    More info:
    -v1.5.1 (August 8, 2006)
    *Fixed inhereted setgid bit in the built the package resulting from AUR's set mode of the parent directory in the tarball.
    The unwanted inhereted bit occured only under the following circumstances:
    - user was root.
    - a 'install -m' line was excuted in the PKGBUILD without explicitly setting the first pair of octets, ie 644 instead of 0644
    - Any other type of 'chmod' command without the first octet set.
    If you have built any packages meeting the criteria list above, rebuild and install offending packages now. Run the update command to get the list of all
    packages built from AUR. String them together in a space separated line to aurbuild and use the menu to see if any install/chmod lines were used. You can
    use (s) from the menu to skip the current package and move on to the next.

Maybe you are looking for

  • How do I save an email as document/file?

    I need to save an email as a document/file for business.  When I right click the email, I am not given the option to do so.  I also tried to drag it into the finder, but didn't work.  I'm a recent convert to the Apple world.  Any suggestions are grea

  • Turn off Mirroring sends Keynote to the Video Display

    This has never happened before . . . I turn on mirroring for my presentation. The last part of the presentation, I turn off mirroring. When I do, the keynote screen is thrown over to the video display as opposed to the computer display. Why is this n

  • IDOC type for goods issue on purchase order.

    Hi, I  need to know which Basic type can be used to trigger outbound IDOC when goods issue is posted on STO. In our process, we will be creating STO to move stock to third party and post goods movement (goods issue) with movement type 351 with BAPI.

  • Update Groups Not Providing Deployment Status

    Software Updates Groups for Windows 7 were created on a monthly basis from November 2013 to June 2014. Each of these deployments are having issues reporting any data in the "Deployments" Section of SCCM. Patch groups created prior to November 2013, a

  • Issue in PDDocInsertPages

    Hi, We are adding PDF pages from one docment to aother document by using below acrobat plugin API: First PDF(pdDocFirst): No of pages: 1 Second PDF(pdDocSecond) No of pages: 10 PDDocInsertPages(pdDocFirst ,0 ,pdDocSecond ,5 ,1 ,PDInsertAll ,NULL,NULL