Yaourt: pacman frontend

Homepage:   http://archlinux.fr/yaourt-en/
yaourt is a pacman frontend whith a lot of features like:
- AUR support (search, easy install, vote etc..)
- interactiv search + install (with AUR Unsupported results integrated)
- building packages directly from ABS cvs sources
- search output colorised (skinable) + always show the repository where a package came from
- handling config files .pacnew/.pacsave
- managing alpm database backup (save, restore, query database directly on backup file)
- alert user when new orphans  are  detected  and  check  the  database integrity with testdb after each operation
- downloading PKGBUILD directly from ABS cvs or AUR Unsupported
- statistics on installed packages
Yaourt can be run as a non-privileged user (safest for AUR unsupported packages).
Root password will be required only when it is necessary.
USAGE: yaourt [OPTION...] <parameter>
example:
  $ yaourt [regexp]        : search for matching strings (with *) and allows to install it
  $ yaourt -S [packagename]: download package from repository, and fallback on AUR
  $ yaourt -S [list file]  : download all packages stored in the first column of the given file
  $ yaourt -Ss [regexp]    : search remote repositories and AUR for matching strings
  $ yaourt -Syu --aur      : upgrade system + packages from aur
  $ yaourt -Sybu --aur     : upgrade by building PKGBUILD + packages from aur
  $ yaourt -Syu --devel    : upgrade all cvs/svn/mercurial packages (from aur)
OPTIONS:
yaourt's options are the same as pacman, so check the pacman man page for more info
yaourt adds/enhances options marked with '*'
General:
(-h, --help)                      give this help list
(-V, --version)                   give program version
--noconfirm                       do not ask for any confirmation
--tmp /where/you/want             use given directory for temporary files
--lightbg                         change colors for terminal with light background
--nocolor                         don't use any color
--textonly                        good for scripting yaourt's output
--stats                           display various statistics of installed pacakges
Install:
(-S, --sync)     <package>      * download package from repository, and fallback on aur
(-S, --sync)     <file>         * download all packages listed on the first column of the file
(-S, --sync) -b                 * builds the targets from source
(-S, --sync) -c, --clean          remove old packages from cache directory (use -cc for all)
(-S, --sync) -d, --nodeps         skip dependency checks
(-S, --sync) -f, --force          force install, overwrite conflicting files
(-S, --sync) -g, --groups         view all members of a package group
(-S, --sync) -i, --info         * view package (or PKGBUILD from AUR) information
(-S, --sync) -l, --list         * list all packages belonging to the specified repository
(-S, --sync) -p, --print-uris     print out download URIs for each package to be installed
(-S, --sync) --export <destdir> * export packages for local repository
(-S, --sync) --ignore <pkg>       skip some package
(-U, --upgrade) <file.pkg.tar.gz> upgrade a package from <file.pkg.tar.gz>
(<no option>) <file.pkg.tar.gz> * upgrade a package from <file.pkg.tar.gz>
(-G, --getpkgbuild) <pkg>       * Retrieve PKGBUILD and local sources for package name
  --asdeps                         Install packages non-explicitly to be installed as a dependency
Upgrade:
-Su,  --sysupgrade                upgrade all packages that are out of date
-Su --aur                       * upgrade all aur packages
-Su --devel                     * upgrade all cvs/svn/mercurial/git/bazar packages
-Sud, --nodeps                    skip dependency checks
-Suf, --force                     force install, overwrite conflicting files
-Su --ignore <pkg>                skip some package
-Sy,  --refresh                   download fresh package databases from the server
Note: yaourt always shows new orphans after package update
Downgrade:
-Su --downgrade                *  reinstall all packages which are marked as "newer than extra or core" in -Su output
           (this is specially for users who experience problems with [testing] and want to revert back to current)
Local search:
(-Q, --query) -e,            * list all packages explicitly installed
(-Q, --query) -d,            * list all packages installed as a dependency for another package
(-Q, --query) -t             * list all packages unrequired by any other package
               -Qdt           * list missed packages installed as dependecies but not required
               -Qet           * list top level packages explicitly installed
(-Q, --query) -g, --groups     view all members of a package group
(-Q, --query) -i, --info       view package information (use -ii for more)
(-Q, --query) -l, --list       list the contents of the queried package
(-Q, --query) -o  <string>   * search for package that owns <file> or <command>
(-Q, --query) -p, --file       will query the package file [package] instead of db
(-Q, --query) -s, --search   * search locally-installed packages for matching strings
(-Q) --backupfile  <file>    * query a database previously saved in a tar.bz2 file (with yaourt --backup)
Example: you want to reinstall archlinux with the same packages as your backup pacman-2008-02-22_10h12.tar.bz2
  just run yaourt -Qet --backupfile pacman-2008-02-22_10h12.tar.bz2 > TopLevelPackages.txt
  To reinstall later, just run yaourt -S TopLevelPackages.txt
Remote search:
(-S, --sync)  -s [string]    * search remote repositories and AUR for matching strings
<no option>      [string]    * search for matching strings + allows to install (interactiv)
-Sq --depends    <pkg>       * list all packages which depends on <pkg>
-Sq --conflicts  <pkg>       * list all packages which conflicts with <pkg>
-Sq --provides   <pkg>       * list all packages which provides <pkg>
Clean:
(-C, --clean)                * manage, show diff .pacsave/.pacnew files
(-C, --clean) -c             * delete all .pacsave/.pacnew files
(-C, --clean) -d, --database * clean database (show obsolete repositories)
(-S, --sync)  -c               remove old packages from cache
(-S, --sync)  -c -c            remove all packages from cache
(-R, --remove)  <package>      remove packages
(-R, --remove) -c, --cascade   remove packages and all packages that depend on them
(-R, --remove) -d, --nodeps    skip dependency checks
(-R, --remove) -k, --dbonly    only remove database entry, do not remove files
(-R, --remove) -n, --nosave    remove configuration files as well
(-R, --remove) -s, --recursive remove dependencies also (that won't break packages)
Note: yaourt always shows new orphans after package removal
Backup:
(-B, --backup) [directory]     * backup pacman database in given directory
(-B, --backup) <file.tar.bz2>  * restore a previous backup of the pacman database
Runing yaourt as a non-privileged user requiers some entries in sudoers file:
  - pacman (remove package + refresh database + install AUR's package)
  - pacdiffviewer (manage pacsave/pacnew files)
Download yaourt:
AUR: http://aur.archlinux.org/packages.php?d … =1&ID=5863
or
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
Last edited by wain (2008-03-18 21:09:39)

cromo wrote:
Indeed, I was always running it with sudo, I thought it's the way it's meant to be. I just realized I can run yaourt without sudo and yaourt will ask for password when there's a need. Nice!
BTW. I found another bug. When I run yaourt -Syu I get:
cromo@kromka:~$ yaourt -Syu
Yaourt 0.4.8: Archlinux package manager
:: Synchronizing package databases...
testing [################] 100% 0K 0.1K/s 00:00:04
:: current is up to date
:: extra is up to date
:: unstable is up to date
:: community is up to date
:: bluez-libs: local (3.7-3) appears to be newer than repo (current/3.7-1)
:: bluez-utils: local (3.7-4) appears to be newer than repo (current/3.7-2)
:: kmobiletools: local (0.5_beta1-1) appears to be newer than repo (extra/0.4.3.3-1)
:: Above packages will be skipped. To manually upgrade use 'pacman -S <pkg>'
error: no targets specified
usage: pacman {-S --sync} [options] [package]
options:
-c, --clean remove old packages from cache directory (use -cc for all)
-d, --nodeps skip dependency checks
// cut //
-r, --root <path> set an alternate installation root
-b, --dbpath <path> set an alternate database location
Thing is about what happens after the "To manually upgrade use 'pacman -S <pkg>'"part.
This is a bug in srcpac:
http://bugs.archlinux.org/task/5696

Similar Messages

  • Pacman frontend in Java - Howto interact with alpm

    I plan to write a(nother :-) ) GUI frontend to Pacman using Java + Swing.  However I need some advice regarding how should I interact with Pacman.
    Basically my requirements are:
    1.  Reading/Searching package database
    2.  Showing a download progress bar
    3.  Showing a progress bar when Pacman is installing/removing package(s)
    As 'alpm' is a C library it's not easily accessible from Java.  The only and perhaps dummest solution that I can think of is to write my own pseudo-alpm library to handle the requirements but I'd seriously rather avoid the re-work and bugs of such a process.  Is there any other way?
    I'd appreciate any idea/hint.  TIA,
    Bahman

    If you have some success creating jni bindings to libalpm you might consider creating an AUR package to join the lua, perl and python packages that are there now.

  • Need usablility expert advice for an ncurses based pacman frontend

    Hi,
    I am working on a frontend for pacman using  ncurses/python/pyalpmm. It is in really early stage of development. So i need advice about usability aspects of the program .
    Screenshot  http://omploader.org/vMXVhaQ
    The program will mostly be useful for searching and browsing  ( nothing can beat pacman for installation and updating )
    Ideas(some implemented, some not yet )
    1) It has a 3 pane layout like most of the other package managers.(Suggestions for any better layout ? )
    2) Uses vim based keybindings ( j/k = up/down, / = search, tab = switch between panes  i=install, d=remove ?=help )
    3) few more options to show orphans etc
    4) planning to implement a tree based layout showing deps
    5) Also a sort by real size option for installed packages (like Allans script )
    6) pick and choose updates is also something which i have been missing for long time.
    The idea is to keep the interface as clean/simple as possible
    All ideas and suggestions are welcome
    Dont miss your chance to get on the scrolling credits screen
    Last edited by u_no_hu (2009-06-16 07:59:14)

    u_no_hu wrote:Hi,
    I am working on a frontend for pacman using  ncurses/python/pyalpmm. It is in really early stage of development. So i need advice about usability aspects of the program .
    This looks really nice. I am looking forward to it.
    1) It has a 3 pane layout like most of the other package managers.(Suggestions for any better layout ? )
    This would be fine. The other suggestion with panes on top would work as well. I guess panes on top (i.e. a stacked layout) would save space.
    2) Uses vim based keybindings ( j/k = up/down, / = search, tab = switch between panes  i=install, d=remove ?=help )
    Vim is so confusing. Please make a Emacs keybinding as as well And of course an intuitive dummy mode (arrows, space|enter=mark etc)
    All ideas and suggestions are welcome
    Maybe a feature to sort by type of program. I.e. X programs, cli programs etc. I think Zendo/zpm for Zenwalk/Slackware is really great and something similar to your project, although not in ncurses.
    --Rasmus

  • GtkPacman - Another pacman frontend in pygtk

    Hi all,
    as subject says, i've written yet another gui. Here's screenshots: http://download.gna.org/gtkpacman/screenshot.png http://download.gna.org/gtkpacman/screenshot2.png
    Sources are avaible both from svn on gna and from http://download.gna.org/gtkpacman
    voidnull is maintaining a PKGBUILD on AUR and there's pkg on the download server. The latest release is the 1.0rc1, which can be downloaded from http://download.gna.org/gtkpacman/unstable
    Features are: displaying packages, dependencies, packages that requires selected pkg, filelist and description. Install, upgrade, remove packages, either from collections or from local files, configurability of pacman behaviuor, implemented terminal to display what pacman is doing, configuration for this terminal, search by keywords and a quick filter to display only packages from a collection or packages that are installed or not, and even packages that aren't in any collection but are installed (i.e.:self-made packages or packages from AUR). By now it has been translated only in italian and is getting translated in french and german. If anyone like to contribute, in any way, please contact me 

    ragnarok wrote:I'm having a look to libpypac right now. I think i'll implement it in the near future as it solves my problems with pacman output. The current solution is a vte on wich i run the pacman commands automatically generated by my funcs, but it's a bit rough. Thanks 
    ok, libpypac is not easy to dig into directly so you can use lazy-pac-cli as a manual, that should explain how most things should be done,
    and for having it on version control, well, i didn't know there should pop up a few people that wanted to contribute to it so i haven't thought about it before, one problem i can see with it is that there must be some form of stable version first so that you other guys that have access to it only hack on the devel version, if someone screws up it could break your system totally, package managers are pretty dangerous things really,
    i've thought of using the gtk versioning scheme,
    stable versions .2, .4, .6 ... and devel versions .1, .3, .5 ...
    i've also thought of using lgpl as a license, isn't lgpl compatible with all other licenses?

  • Pacman completers for IPython

    First off, hay all, I'm pretty much a brand-new ubuntu convert, although I have used Arch several times in the past on my VM's. Actually a Chakra user, but posting this here since I thought it might benefit a few arch users who may happen to use IPython.
    As a Debian user primarily, I grew fond of IPython's handy aptitude/apt-get tab completers for installing packages, and I found myself in withdrawal after switching to Arch since I was trying to tab-complete all my package names when installing stuff via pacman.
    So, here's a very quick and dirty completer that uses the very useful custom completer functionality in IPython. It's far from perfect, complete, or possibly useful depending on what end of the leet spectrum you're on, but I'm hoping a few poor folks like me who abuse the tab key will find this somewhat useful.
    # pacman_search.py
    """Pacman(-frontend) search generator and custom completer for IPython.
    To use, import this module from ~/.ipython/ipy_user_conf.py, and somewhere in
    main(), after `ip` is defined, add the following:
    ip.set_hook('complete_command', pacman_search.completer, str_key='smth')
    Where you would replace 'smth' with pacman, any pacman frontend you use, or an
    IPython alias. If you are using something other than pacman, make sure to set
    the constant APP before you hook the completer.
    __author__ = 'mini-man <mini.mcmidget AT gmail.com>'
    __license__ = 'GPLv3'
    __version__ = 0, 0, 1
    import os
    import re
    # Set this to a pacman frontend.
    APP = 'pacman'
    # Matches output from `<app> -Ss <search-term>`:
    REGEXES = {
    'pacman': '^(.+?)/(.+?)\s',
    'yaourt': '^.+?\[1;\d+m(.+?)/.+?\[1m(.+?)\s'
    def memoize(func):
    """Memoizes a generator."""
    def inner(arg):
    if isinstance(arg, list):
    arg = tuple(arg)
    for key, val in inner.cache.iteritems():
    if arg.startswith(key):
    for i in val:
    yield i
    return
    tmp = []
    for i in func(arg):
    tmp.append(i)
    yield i
    inner.cache[arg] = tmp
    inner.cache = {}
    return inner
    @memoize
    def search(term):
    """Does a search with the specified term and returns parsed results."""
    out = os.popen('%s -Ss %s' % (APP, term))
    for ln in out:
    m = re.match(REGEXES[APP], ln)
    # Throwing away .group(1) because atm there's no need for it...
    if m and m.group(2).startswith(term):
    yield m.group(2)
    def completer(self, event):
    """IPython custom completer for pacman package searching."""
    cmd_param = event.line.split()
    if event.line.endswith(' '):
    cmd_param.append('')
    if cmd_param[0] == 'sudo':
    cmd_param = cmd_param[1:]
    if cmd_param[1].startswith('-S'):
    return list(search(cmd_param[2]))
    Last edited by mini-man (2009-02-10 16:34:27)

    Do you actually use IPython as your main shell? I use it extensively for development, but when I started trying to use it as a shell I found it a bit clunky, especially (ironically) for development -- my python namespace got clogged and if I was testing a project and needed to change a module it was hard to pick up the changes.
    Just curious about your experiences using IPython as a shell.
    Dusty

  • System is up to date, but pacman still ask for downloading some pkgs

    [root@arch pkg]# pacman -Su
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    Targets (4): glibc-2.10.1-3  zlib-1.2.3.3-3  binutils-2.19.1-5  db-4.7.25.4-1 
    Total Download Size:    18.93 MB
    Total Installed Size:   51.56 MB
    Proceed with installation? [Y/n] ^C
    Interrupt signal received
    [root@arch pkg]# pacman -Q zlib
    zlib 1.2.3.3-3
    [root@arch pkg]# pacman -Q binutils
    binutils 2.19.1-5
    [root@arch pkg]# pacman -Q db
    db 4.7.25.4-1
    [root@arch pkg]#
    You can see every pkg it asked to download are not in newer version.
    Why?

    I can vouch for Pacman doing weird things to lately...I try to grab webkitkde from AUR and look at this:
    Note the KDE depends--which I already have installed as a result of running a normal KDE install...that Yaourt/pacman wants me top install/upgrade.
    It says package KDEBase not found...which is funny since I have it installed on my box.
    ==> webkitkde-svn dependencies:
    - kdebase (package found)
    - cmake (already installed)
    - automoc4 (already installed)
    - subversion (already installed)
    ==> Continue the building of webkitkde-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/webkitkde-svn directory. Using /tmp directory
    ==> Determining latest svn revision...
    -> Version found: 1010646
    ==> Making package: webkitkde-svn 1010646-1 x86_64 (Fri Aug 14 21:08:29 CDT 2009)
    ==> Checking Runtime Dependencies...
    ==> Installing missing dependencies...
    Password:
    kdebase package not found, searching for group...
    :: group kdebase (including ignored packages):
    kdebase-dolphin kdebase-kappfinder kdebase-kdepasswd kdebase-kdialog
    kdebase-keditbookmarks kdebase-kfind kdebase-kinfocenter kdebase-konqueror
    kdebase-konsole kdebase-kwrite kdebase-nsplugins kdebase-plasma
    :: Install whole content? [Y/n] y
    warning: kdebase-dolphin-4.3.0-1 is up to date -- reinstalling
    warning: kdebase-kappfinder-4.3.0-1 is up to date -- reinstalling
    warning: kdebase-kdepasswd-4.3.0-1 is up to date -- reinstalling
    warning: kdebase-kdialog-4.3.0-1 is up to date -- reinstalling
    warning: kdebase-keditbookmarks-4.3.0-1 is up to date -- reinstalling
    warning: kdebase-kfind-4.3.0-1 is up to date -- reinstalling
    warning: kdebase-kinfocenter-4.3.0-1 is up to date -- reinstalling
    warning: kdebase-konqueror-4.3.0-1 is up to date -- reinstalling
    warning: kdebase-konsole-4.3.0-1 is up to date -- reinstalling
    warning: kdebase-kwrite-4.3.0-1 is up to date -- reinstalling
    warning: kdebase-nsplugins-4.3.0-1 is up to date -- reinstalling
    warning: kdebase-plasma-4.3.0-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (12): kdebase-dolphin-4.3.0-1 kdebase-kappfinder-4.3.0-1 kdebase-kdepasswd-4.3.0-1
    kdebase-kdialog-4.3.0-1 kdebase-keditbookmarks-4.3.0-1 kdebase-kfind-4.3.0-1
    kdebase-kinfocenter-4.3.0-1 kdebase-nsplugins-4.3.0-1 kdebase-konqueror-4.3.0-1
    kdebase-konsole-4.3.0-1 kdebase-kwrite-4.3.0-1 kdebase-plasma-4.3.0-1
    Total Download Size: 0.00 MB
    Total Installed Size: 17.59 MB
    Proceed with installation? [Y/n] y
    checking package integrity...
    (12/12) checking for file conflicts [#######################################] 100%
    ( 1/12) upgrading kdebase-dolphin [#######################################] 100%
    ( 2/12) upgrading kdebase-kappfinder [#######################################] 100%
    ( 3/12) upgrading kdebase-kdepasswd [#######################################] 100%
    ( 4/12) upgrading kdebase-kdialog [#######################################] 100%
    ( 5/12) upgrading kdebase-keditbookmarks [#######################################] 100%
    ( 6/12) upgrading kdebase-kfind [#######################################] 100%
    ( 7/12) upgrading kdebase-kinfocenter [#######################################] 100%
    ( 8/12) upgrading kdebase-nsplugins [#######################################] 100%
    ( 9/12) upgrading kdebase-konqueror [#######################################] 100%
    (10/12) upgrading kdebase-konsole [#######################################] 100%
    (11/12) upgrading kdebase-kwrite [#######################################] 100%
    (12/12) upgrading kdebase-plasma [#######################################] 100%
    ==> Missing Dependencies:
    -> kdebase
    ==> Checking Buildtime Dependencies...
    ==> ERROR: Could not resolve all dependencies.
    Last edited by Skripka (2009-08-15 02:11:03)

  • [SOLVED] yaourt. packages taken from aur that are from core or extra

    Hi! i have a couple of days ago strange yaourt-pacman behaviour, i mean, when i do -Syu --aur, i get strange
    [aleyscha@aleyscha ~]$ yaourt -S screen
    warning: screen-4.0.3-5 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets: screen-4.0.3-5
    Total Download Size: 0.45 MB
    Proceed with installation? [Y/n]
    :: Retrieving packages from extra...
    error: failed retrieving file 'screen-4.0.3-5-i686.pkg.tar.gz' from ftp.archlinux.org : Connection timed out
    warning: failed to retrieve some files from extra
    error: failed to commit transaction (unexpected error)
    and in yaourt -Syu --aur for example, i get a lot of packages newer in local than in aur, and some packages i know not even are in aur... for example unshield alsa-plugins and tuxcmd
    ==> Searching for new version on AUR
    alsa-plugins: (local=1.0.15-1 aur=1.0.11-1)
    amidi-plug: (local=0.7-3 aur=0.5-1)
    amule-cvs: up to date
    any2dvd: (local=0.34-3 aur=0.30-2)
    archlinux-xdg-menu: not found on AUR
    archmage: up to date
    aria: (local=1.0.0-4 aur=1.0.0_1.fc8-1)
    astromenace: up to date
    audio-convert: (local=0.3.1.1-2 aur=0.3.1.1-1)
    aumix-gtk: (local=2.8-2 aur=2.8-1)
    aurvote: up to date
    avifile: not found on AUR
    bashburn: (local=2.1.2-3 aur=2.1.2-1)
    bfcommander: up to date
    bin2iso: up to date
    bitefusion: up to date
    bkhive2: up to date
    briquolo: up to date
    tuxcmd: not found on AUR
    tuxcube: up to date
    uif2iso: up to date
    unace: (local=2.5-5 aur=2.5-4)
    units: (local=1.87-1 aur=1.85-1)
    unshield: not found on AUR
    uqm: (local=0.6.2-2 aur=0.5.0-1)
    my /etc/pacman.d/core for example:
    # core: Arch Linux core repository
    # United States
    Server = ftp://ftp.archlinux.org/core/os/i686
    Server = ftp://ftp.nethat.com/pub/linux/archlinux/core/os/i686
    Server = ftp://locke.suu.edu/linux/dist/archlinux/core/os/i686
    Server = ftp://mirrors.unixheads.org/archlinux/core/os/i686
    Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/core/o$
    Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/core/os/i686
    Server = http://mirrors.easynews.com/linux/archlinux/core/os/i686
    Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/core/os/i686
    # South America
    # - Brazil
    Server = http://archlinux.c3sl.ufpr.br/core/os/i686
    Last edited by leo2501 (2008-03-09 11:16:17)

    What are the versions of your pacman and yaourt?
    There are some updates to all the pacman, yaourt and AUR web pages,
    so can you try this:
    1. upgrade pacman itself first
    2. upgrade yaourt itself, then
    3. and last, try full system upgrade.
    These errors seem familiar, but I have no idea how it disappeared.

  • [SOLVED] Trying to install yaourt and cairo-lcd but says Error

    I was trying to install cairo-lcd manually as I usually do from aur when after building and trying to install I get
    error: package "cairo-lcd-1.8.8-1-i686.pkg.tar.gz" not found
    Thought there may be a problem with it so tried going down the yaourt route but trying to install that gives the same thing.
    I cd into the folder as normal build it then pacman -Q as root.
    I admit it's been a while since I installed anything from aur but done it plenty of times to know what to do....am I missing something blindingly obvious?
    Last edited by Andy Mack (2010-02-02 21:54:32)

    I did that so cairo-lcd would install, the problem I am having is pacman -Q* doesn't find the tar.gz to install
    [root@Arch andy]# cd /home/andy/yaourt
    [root@Arch yaourt]# pacman -Q yaourt-0.9.2.6-1-i686.pkg.tar.gz
    error: package "yaourt-0.9.2.6-1-i686.pkg.tar.gz" not found
    [root@Arch yaourt]#
    its the same with cairo-lcd

  • How do i choose alternatives in pacman?

    hi,
    I'm a user of the rxvt-unicode-256color package from the AUR, as well as a yaourt user. This means I have the archlinux.fr repository enabled in pacman.conf. A few days ago archlinuxfr seemed to have released a package in their repository called "rxvt-unicode-afterimage" which seems to provide "rxvt-unicode-256color" too. yaourt/pacman asked the usual "replace x by y?" question on a system update. So I installed the -afterimage package but now I want to go back to the -256color AUR package but I don't know how I can revert my choice about which package to install as both provide "rxvt-unicode-256color" and now always the -afterimage package gets chosen for me. pacman docs/wiki don't seem to have an answer for this.
    I am aware however that there may be the possibility to install the AUR package again if it's still in my local cache and that i could set an IgnorePkg in pacman.conf for the -afterimage package but this feels very workaround-ish.
    Last edited by itti (2010-11-19 21:56:19)

    Sometimes (at least in the past) the .fr repo had stuff available as package that would require me doing a lenghty build from AUR otherwise. This was the case with bin32-wine for some time. Yeah but you're right I could disable the .fr repo for now.
    Thanks for clarifying that pacman does not somehow record any choices between alternatives. Seems like I have to build rxvt-unicode-256color manually to trick yaourt into installing this instead of the -afterimage package.

  • Pacman + DB & External scriptability

    Howdy.
    I've been thinking about this one for quite some time - how to have Pacman work with a database (e.g. sqlite), whilst allowing the current functionality (namely, ease of interfacing with Pacman info via external scripts).
    I know the idea of using a DB with Pacman has been debated before, but I never saw any good answers to the age old external script issue. I'm going to briefly explain two approaches one could take, and criticise them (before others do!)
    Description
    The way I see it, there are two ways this can be approached.
    · Store all package information in a sqlite (or comparable) database, and have Pacman interface with this directly. Create a FUSE-based pseudo filesystem to generate this information in the same hierchical filesystem format as Pacman deals with now.
    · Duplicate all data. One lot goes in the database, to be used by Pacman. The other lot in the hierarchical filesystem (standard filesystem, not a FUSE pseudo FS).
    Criticism
    The first problem with the first approach is dependencies. It would require a database, and it would require FUSE. FUSE is now in the 2.6.14 kernel, but libfuse is still required.
    The second problem (this covers both approaches) is complexity. Both add a fair bit of complexy. Especially in the first case, as a FS would need to be written (albeit a relatively simple one).
    With the second approach, you might think it sounds brittle and susceptible to synchronisation issues (by which I mean the two data sets becoming out of synch). This could be rectified by having some sort of daemon using Inotify to keep an eye on one dataset, and update the other accordingly. Again, more complexity.
    I think the first approach would be pretty neat to go with, but again, probably too much complexity for too little gain. Any comments?

    test1000 wrote:well, if it needed fuse I couldn't have chroot'ed my arch linux installation with my INSERT rescue-cd and downloaded packages which fixed my install after i unintentionally b0rked the install It's not KISS, and therefore i don't like it..
    In the worst case, yes. However, having a FUSE interface to the db doesn't preclude the use of some other, more primitive interface. I mean, just because there's a FUSE interface (which was mainly aimed at custom scripts), doesn't mean the Pacman frontend would have to use it to install new (or replace "b0rked") packages. In fact, it would likely be preferable not to...
    But, as you, and I have said, the complexity has certainly been increased beyond "KISS".
    iphitus wrote:Leaving sqlite.. oh lord this has been argued to death. Why oh why do we not just leave the current system and leave it up to judd. He isnt going to change it any sooner because we start another thread about it, he'll change it when he can and want to.
    Yes, I'm aware there's been great debate (see first post), but I never saw any decent solutions. I've always felt the issue was never really concluded (http://bugs.archlinux.org/task/1151), so this was an attempt to spur some action (which I would be happy to be a part of), or bury it.

  • Solved Can't watch You-Tube Videos

    I've checked the Wiki and the search function, and can't find anything relating to setting up my box to view You-Tube (and others) videos. I tried installing flash, and it caused a browser crash, so that was no help. If someone can steer me to the right place, I'd appreciate it.
    Last edited by jackrat (2008-11-26 04:20:56)

    Statix wrote:
    Gnash is actually currently in the repos (as gnash-common, and with gnash-gtk for gtk support).
    The browser plugin doesn't currently work for youtube though. (At least not for me)
    By the way as a little tip - avoid installing anything on arch by methods other than pacman. Pacman just makes it so much easier for version control, tracking, and removal. For anything that is not in the repos it is sure to be in the AUR, and if not you can even make your own PKGBUILD for it to make it into a packman package.
    Check out this pacman frontend that gives you aur support if you don't already have it:
    http://wiki.archlinux.org/index.php/Yaourt
    Thanks Statix; I didn't know it was in the repos, I'm still working on reading the Wiki, etc. (I'm old, slow and half deaf, but I'm steady .
    The browser plugin for Gnash?
    I tried using AUR, and wasn't successful ..... I'll take a look at it
    Well, I looked -- I don't know if I'll be able to install Yaourt, since you have to use AUR to install it, and as I said before, I wasn't successful getting AUR to work for me, I've tried it several times and flubbed it every time. I'll try it again, and if I'm not successful this time, I'll start a new thread on that. Thanks for the link!

  • My post installation script

    #I hope its the right forum to post that in, if not im very sorry!
    This here is a script i wrote to automate all the stuff i do after installing arch, i have several computers and it has options for a additional one
    Some important points:
    1) this script is very specific, its made for my computer and my needs, this means that its useful right now only to people who know bash
    and will find use in altering it to their own needs, also if someone wants he can make it more general for a wider use
    2) this is one of the first scripts i wrote, it may be that it doesn't implent some of its features in the best way possible
    3) use it at your own risk, if it breaks your system don't blame me please, you should check it before you use it, anyway its meant to be used
    on a FRESH arch install, not on a working system.
    What the correct script actually does:
    The script as stated in the comments does the next things:
    1) First of all it consists of several files, one the "install" file is the actual script, the others are just meant to run the script and split its output to
    show both on the terminal and in a file named: /var/log/MySysInstall.log, here is an example of main.install:
    #!/bin/bash
    ./install Main | tee /var/log/MySysInstall.log
    in the current script Main in the last row can be replaces with Laptop, Game for computer specific arguments or without argumets for a general install
    the two files should be in the same folder, i think it could have been implented with one file but im new to scripting..
    2) The script will ask some general questions to make sure everything is currect, some of the questions and checks in the script are not relevant at all
    to anybody other than myself, they usually make sure that i have a samba shared partition running (it could lose connection on wireless).
    3) Adds the archlinux.fr repo, it will be used for yaourt.
    4) The script installs lots of stuff, at first general stuff used by all computers in my house, then stuff based on the argument given in 1)
    please inspect the packages and change according to your needs
    5) The script nano's to /etc/yaourtrc
    6) Adds users to the system, change to your users.
    7) It creates my /home/samba share dir if its not created (probably irrelevant to you)
    8) Configures sudo in a nasty way that maybe can damage the sudoers file, delete this line if you dodnt know sudo well enough.
    9) Edits samba if needed, this is the first line in the script that relies on additional files i have on my comp or the samba share (main and game are the same
    comp (dual boot of arch32 and 64) and they are the hosts of /home/samba all the other computers will mount it from them, this is why a samba check is not
    present here.).
    10) Adds some commented lines to fstab and nano's it for easier configurations, this is the regular workflow in the script BTW (adding comments to the file
    before editing it)
    11) Helps edit the gpm daemon
    12) Helps to configure alsa
    13) Helps to configure xorg
    14) Does some post install copies of files AND creates a file in my main users home with further instructions, mostly for stuff that needs to be done with xorg runnig
    or stuff i was to lasy to add to the script
    15) chowns and sets my regular permissions for user folders
    16) ends the script
    The script itself, ENJOY:
    #!/bin/bash
    # Copyright 2008 Leon Vayman
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # any later version.
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    # A copy of the GNU General Public License is found in
    # <http://www.gnu.org/licenses/>.
    #Check that the user updated the kernel and restarted before proceeding
    while [ 1 ] ; do
    echo ; clear
    echo -n "Have you already used pacman -Syu and Restarted? (y/n) "
    read Keypress
    case "$Keypress" in
    [Yy])
    break
    [Nn])
    echo "Then do it now.."
    exit
    esac
    done
    #Check if samba is accesible and warn the user if its not (offering to quit)
    if [ ! -e /home/samba/Config/ ] ; then
    while [ 1 ] ; do
    echo ; clear
    echo -n "Samba is not accesible, do you want to proceed? (y/n) "
    read Keypress
    case "$Keypress" in
    [Yy])
    break
    [Nn])
    exit
    esac
    done
    fi
    #Make sure the app wasnt ran accidently with wrong arguments
    while [ 1 ] ; do
    echo ; clear
    echo -n "The comp you are on is $1 is that correct? (y/n) "
    read Keypress
    case "$Keypress" in
    [Yy])
    break
    [Nn])
    exit
    esac
    done
    #Edit /etc/pacman.conf
    echo ; clear
    echo >> /etc/pacman.conf
    echo "[archlinuxfr]" >> /etc/pacman.conf
    if [ "$1" = "Game" ] ; then
    echo "Server = http://repo.archlinux.fr/x86_64" >> /etc/pacman.conf
    else
    echo "Server = http://repo.archlinux.fr/i686" >> /etc/pacman.conf
    fi
    echo -n "Make sure the right archlinux.fr repo was added "
    read n1
    nano /etc/pacman.conf
    echo ; clear
    #Install all packages
    echo "Installing packages"
    pacman -Syu
    pacman -S yaourt
    pacman -S xorg
    pacman -S gstreamer0.10-plugins
    yaourt -S abiword alsa-lib alsa-utils alsa-oss bash-completion cabextract centerim conky exaile hal epdfview feh freetype2 gamin gconf-editor geany gksu gmrun gnome-icon-theme gpicview \
    gtk-engines zip irssi jre links-g libdvdcss tcl lxappearance lxpanel lxde-common lxrandr lxtask mesa moc mousepad mplayer-plugin numlockx openbox obconf obmenu openbox-themes \
    p7zip pcmanfm pidgin pm-utils powertop screen terminal ttf-bitstream-vera ttf-dejavu ttf-freefont ttf-ms-fonts unace unrar unzip xarchiver xchat xmahjongg
    yaourt -S stjerm
    case "$1" in
    "Laptop")
    yaourt -S vlc keytouch keytouch-editor xf86-video-i810 synaptics cpufrequtils flashplugin
    yaourt -S swiftweasel-pentium-3
    yaourt -S wpa_supplicant-beta
    yaourt -S xcompmgr-git
    "Main")
    yaourt -S flashplugin cpufrequtils epiphany catalyst deluge amule xmoto abs samba
    yaourt -S icecat
    yaourt -S xcompmgr-git
    yaourt -S ekiga3
    yaourt -S ov51x-jpeg
    yaourt -S vlc-branch
    yaourt -S brasero-no-gnome
    "Game")
    yaourt -S epiphany catalyst deluge amule xmoto abs samba ##!! add gnash or swfdec
    yaourt -S icecat
    yaourt -S ekiga3
    yaourt -S ov51x-jpeg
    yaourt -S vlc-branch
    yaourt -S brasero-no-gnome
    echo -n "No extra packages installed "
    esac
    echo -n "Press Enter to continue "
    read n1
    echo ; clear
    #Configure yaourt.rc
    echo -n "Replace the editor in yaourtrc "
    read n1
    nano /etc/yaourtrc
    echo ; clear
    #Add users
    echo "Adding User vleon"
    useradd -d /home/vleon -g users -G disk,wheel,games,video,audio,optical,storage,power,dbus,hal,avahi,log -m vleon
    echo "Set vleon's password"
    passwd vleon
    echo ; clear
    echo "Adding User masha"
    useradd -d /home/masha -g users -G disk,wheel,games,video,audio,optical,storage,power,dbus,hal,avahi,log -m masha
    echo "Set masha's password"
    passwd masha
    echo ; clear
    #If for some reason samba dir doesnt exist, create it
    if [ ! -e /home/samba ] ; then
    mkdir /home/samba
    chown vleon:users /home/samba
    chmod 770 /home/samba
    fi
    #Configure visudo
    echo -n "uncomment wheel in visudo and make sure the added lines are correct "
    read n1
    echo "#%power ALL=(ALL) NOPASSWD: /usr/sbin/pm-hibernate" >> /etc/sudoers
    echo "#%power ALL=(ALL) NOPASSWD: /sbin/shutdown" >> /etc/sudoers
    visudo
    echo ; clear
    #Edit samba if needed
    if ( [ "$1" = "Main" ] || [ "$1" = "Game" ] ) ; then
    echo -n "Edit swat "
    read n1
    cp /home/samba/Config/etc/xinetd.d/swat /etc/xinetd.d/swat
    nano /etc/xinetd.d/swat
    echo ; clear
    echo -n "Edit Hosts "
    read n1
    cp /home/samba/Config/etc/hosts.allow /etc/hosts.allow
    nano /etc/hosts.allow
    echo ; clear
    echo -n "Edit smb.conf "
    read n1
    cp /home/samba/Config/etc/samba/smb.conf /etc/samba/smb.conf
    nano /etc/samba/smb.conf
    echo ; clear
    echo "Set vleon's samba password"
    smbpasswd -a vleon
    echo ; clear
    echo -n "Add samba and xinetd daemon to rc.conf "
    read n1
    nano /etc/rc.conf
    echo ; clear
    fi
    #Edit fstab
    echo -n "Edit fstab "
    read n1
    echo >> /etc/fstab
    if [ "$1" != "Laptop" ] ; then
    echo "#UUID=92D8DA69D8DA4ADD /mnt/windows ntfs-3g defaults,noatime 0 0" >> /etc/fstab
    if ( [ "$1" != "Main" ] && [ "$1" != "Game" ] ) ; then
    echo "#UUID=0E15-1D06 /mnt/windows vfat defaults,noatime,umask=0000 0 0" >> /etc/fstab
    echo "#//192.168.1.100/samba /home/samba cifs defaults,noatime,noauto,user=vleon%pass 0 0" >> /etc/fstab
    echo "##change the above password!!" >> /etc/fstab
    fi
    nano /etc/fstab
    echo ; clear
    else
    echo "#UUID=0E15-1D06 /mnt/windows vfat defaults,noatime,umask=0000 0 0" >> /etc/fstab
    echo "#//192.168.1.100/samba /home/samba cifs defaults,noatime,noauto,user=vleon%pass 0 0" >> /etc/fstab
    echo "##change the above password!!" >> /etc/fstab
    nano /etc/fstab
    echo ; clear
    fi
    #Edit gpm
    echo -n "Edit gpm "
    read n1
    echo "#GPM_ARGS=\"-m /dev/input/mice -t imps2\"" >> /etc/conf.d/gpm
    nano /etc/conf.d/gpm
    echo ; clear
    echo -n "Add gpm daemon to rc.conf "
    read n1
    nano /etc/rc.conf
    echo ; clear
    #Configure alsa
    Alsa Config
    test=1
    echo -n "Edit alsamixer "
    read n1
    while [ "$test" = 1 ] ; do
    alsamixer -V all
    echo "Testing Sound"
    aplay /usr/share/sounds/alsa/Noise.wav
    while [ 1 ] ; do
    echo ; clear
    echo -n "Did You Hear Any Sound? (y/n) "
    read Keypress
    case "$Keypress" in
    [Yy])
    test=0
    break
    [Nn])
    break
    esac
    done
    done
    alsactl store
    echo -n "Add alsa to daemons "
    read n1
    nano /etc/rc.conf
    echo ; clear
    #Configure Xorg
    if [ -e /home/samba/Config/etc/X11/ ] ; then
    echo -n "Edit xorg.conf "
    read n1
    if ( [ "$1" = "Laptop" ] ) ; then
    cp /home/samba/Config/etc/X11/laptop.xorg.conf /etc/X11/xorg.conf
    else
    cp /home/samba/Config/etc/X11/main.xorg.conf /etc/X11/xorg.conf
    fi
    nano /etc/X11/xorg.conf
    echo ; clear
    echo -n "add \"ru\" to xorg.conf.mom "
    read n1
    cp etc/X11/xorg.conf etc/X11/xorg.conf.mom
    nano /etc/X11/xorg.conf.mom
    echo ; clear
    else
    echo -n "No samba connection found, manually editing xorg.conf "
    read n1
    X -configure
    mv /root/xorg.conf.new /etc/X11/xorg.conf
    echo >> /etc/X11/xorg.conf
    echo "# Option \"XkbLayout\" \"us,il\"" >> /etc/X11/xorg.conf
    echo "# Option \"XkbOptions\" \"grp:alt_shift_toggle,grp_led:scroll\"" >> /etc/X11/xorg.conf
    echo "# DefaultDepth 24" >> /etc/X11/xorg.conf
    echo "# Modes \"1680x1050\" \"1280x1024\" \"1024x768\" \"800x600\"" >> /etc/X11/xorg.conf
    if [ "$1" = "Laptop" ] ; then
    echo >> /etc/X11/xorg.conf
    echo "#Section \"InputDevice\"" >> /etc/X11/xorg.conf
    echo "# Identifier \"Touchpad\"" >> /etc/X11/xorg.conf
    echo "# Driver \"synaptics\"" >> /etc/X11/xorg.conf
    echo "# Option \"Device\" \"/dev/input/mouse0\"" >> /etc/X11/xorg.conf
    echo "# Option \"Protocol\" \"auto-dev\"" >> /etc/X11/xorg.conf
    echo "# Option \"LeftEdge\" \"1700\"" >> /etc/X11/xorg.conf
    echo "# Option \"RightEdge\" \"5300\"" >> /etc/X11/xorg.conf
    echo "# Option \"TopEdge\" \"1700\"" >> /etc/X11/xorg.conf
    echo "# Option \"BottomEdge\" \"4200\"" >> /etc/X11/xorg.conf
    echo "# Option \"FingerLow\" \"25\"" >> /etc/X11/xorg.conf
    echo "# Option \"FingerHigh\" \"30\"" >> /etc/X11/xorg.conf
    echo "# Option \"FingerPress\" \"100\"" >> /etc/X11/xorg.conf
    echo "# Option \"MaxTapTime\" \"180\"" >> /etc/X11/xorg.conf
    echo "# Option \"MaxTapMove\" \"220\"" >> /etc/X11/xorg.conf
    echo "# Option \"VertScrollDelta\" \"100\"" >> /etc/X11/xorg.conf
    echo "# Option \"MinSpeed\" \"0.06\"" >> /etc/X11/xorg.conf
    echo "# Option \"MaxSpeed\" \"0.12\"" >> /etc/X11/xorg.conf
    echo "# Option \"AccelFactor\" \"0.0010\"" >> /etc/X11/xorg.conf
    echo "# Option \"SHMConfig\" \"on\"" >> /etc/X11/xorg.conf
    echo "#EndSection" >> /etc/X11/xorg.conf
    fi
    echo -n "Edit xorg.conf "
    read n1
    nano /etc/X11/xorg.conf
    echo ; clear
    echo -n "add \"ru\" to xorg.conf.mom "
    read n1
    cp etc/X11/xorg.conf etc/X11/xorg.conf.mom
    nano /etc/X11/xorg.conf.mom
    echo ; clear
    fi
    #Start the post install document and copy files to homes if able and need to
    echo "Post Installation Instructions" > /home/vleon/PostInstall.txt
    echo "------------------------------" >> /home/vleon/PostInstall.txt
    echo >> /home/vleon/PostInstall.txt
    echo "Usage: Follow the instructions and delete the lines that are not relevant anymore. you can delete" >> /home/vleon/PostInstall.txt
    echo " this file after you finished." >> /home/vleon/PostInstall.txt
    echo >> /home/vleon/PostInstall.txt
    echo "-------------------------------------------------------------------------------------------------" >> /home/vleon/PostInstall.txt
    if [ ! -e /home/vleon/.config] ; then
    if [ -e /home/samba/Config/ ] ; then
    cp /home/samba/Config/.bash_profile /home/vleon/ ; cp /home/samba/Config/.bash_profile /home/masha/
    cp /home/samba/Config/.bashrc /home/vleon/ ; cp /home/samba/Config/.bashrc /home/masha/
    cp /home/samba/Config/.xinitrc /home/vleon/ ; cp /home/samba/Config/.xinitrc /home/masha/
    cp /home/samba/Config/.xserverrc /home/masha/
    mkdir -p /home/vleon/.config/openbox ; mkdir -p /home/masha/.config/openbox
    cp /home/samba/Config/.config/openbox/rc.xml /home/vleon/.config/openbox/ ; cp /home/samba/Config/.config/openbox/rc.xml /home/masha/.config/openbox/
    if [ "$1" = "Laptop" ] ; then
    cp /home/samba/Config/.conkyrc.laptop /home/vleon/.conkyrc ; cp /home/samba/Config/.conkyrc.laptop /home/masha/.conkyrc
    cp /home/samba/Config/.Xdefaults.laptop /home/vleon/.Xdefaults ; cp /home/samba/Config/.Xdefaults.laptop /home/masha/.Xdefaults
    cp /home/samba/Config/.config/openbox/menu.xml.laptop /home/vleon/.config/openbox/menu.xml
    cp /home/samba/Config/.config/openbox/menu.xml.laptop /home/masha/.config/openbox/menu.xml
    cp /home/samba/Config/.config/openbox/autostart.sh.laptop /home/vleon/.config/openbox/autostart.sh
    cp /home/samba/Config/.config/openbox/autostart.sh.laptop /home/masha/.config/openbox/autostart.sh
    else
    if ( [ "$1" != "Main" ] && [ "$1" != "Game" ] )
    cp /home/samba/Config/.conkyrc.laptop /home/vleon/.conkyrc ; cp /home/samba/Config/.conkyrc.laptop /home/masha/.conkyrc
    else
    cp /home/samba/Config/.conkyrc.main /home/vleon/.conkyrc ; cp /home/samba/Config/.conkyrc.main /home/masha/.conkyrc
    fi
    cp /home/samba/Config/.Xdefaults.main /home/vleon/.Xdefaults ; cp /home/samba/Config/.Xdefaults.main /home/masha/.Xdefaults
    cp /home/samba/Config/.config/openbox/menu.xml.main /home/vleon/.config/openbox/menu.xml
    cp /home/samba/Config/.config/openbox/menu.xml.main /home/masha/.config/openbox/menu.xml
    cp /home/samba/Config/.config/openbox/autostart.sh.main /home/vleon/.config/openbox/autostart.sh
    cp /home/samba/Config/.config/openbox/autostart.sh.main /home/masha/.config/openbox/autostart.sh
    fi
    else
    echo >> /home/vleon/PostInstall.txt
    echo "!!Samba is not availble, you will have to create the following files yourself!!" >> /home/vleon/PostInstall.txt
    fi
    echo >> /home/vleon/PostInstall.txt
    echo "The folowing files where probably created in your home folders:" >> /home/vleon/PostInstall.txt
    echo ".bash_profile" >> /home/vleon/PostInstall.txt
    echo ".bashrc" >> /home/vleon/PostInstall.txt
    echo ".conkyrc" >> /home/vleon/PostInstall.txt
    echo ".Xdefaults" >> /home/vleon/PostInstall.txt
    echo ".xinitrc" >> /home/vleon/PostInstall.txt
    echo ".xserverrc #<< only to /home/masha" >> /home/vleon/PostInstall.txt
    echo ".config/openbox/autostart.sh" >> /home/vleon/PostInstall.txt
    echo ".config/openbox/menu.xml" >> /home/vleon/PostInstall.txt
    echo ".config/openbox/rc.xml" >> /home/vleon/PostInstall.txt
    echo "!!Make sure the above files created and are configured properly!!" >> /home/vleon/PostInstall.txt
    echo >> /home/vleon/PostInstall.txt
    echo "Configuration Guidelines:" >> /home/vleon/PostInstall.txt
    echo "1) make sure width and hight are correct .Xdefaults" >> /home/vleon/PostInstall.txt
    echo "2) make sure to comment the \"xcompmgr\" line in autostart.sh, to fit the Computer and User" >> /home/vleon/PostInstall.txt
    echo "3) use obmenu and obconf later to tune up stuff" >> /home/vleon/PostInstall.txt
    echo >> /home/vleon/PostInstall.txt
    echo "-------------------------------------------------------------------------------------------------" >> /home/vleon/PostInstall.txt
    echo >> /home/vleon/PostInstall.txt
    echo "rc.conf Guidelines:" >> /home/vleon/PostInstall.txt
    echo "1) possible modules are: powernow-k8 or acpi-cpufreq, cpufreq_ondemand, ov51x-jpeg, fglrx" >> /home/vleon/PostInstall.txt
    echo "2) possible daemons are: hal, cpufreq, acpid [laptop], netfs, keytouch" >> /home/vleon/PostInstall.txt
    echo >> /home/vleon/PostInstall.txt
    echo "-------------------------------------------------------------------------------------------------" >> /home/vleon/PostInstall.txt
    echo >> /home/vleon/PostInstall.txt
    echo "General Guidelines:" >> /home/vleon/PostInstall.txt
    echo "1) copy or compare the files from /home/samba/Config/etc to /etc" >> /home/vleon/PostInstall.txt
    echo "2) on the laptop, dont forget to add the additional scripts needed from the /home/samba/Config/, dont forget to backup replaced files" >> /home/vleon/PostInstall.txt
    echo "3) add resume=/dev/sda3 to /boot/grub/menu.lst if its not there already" >> /home/vleon/PostInstall.txt
    echo "4) dont Forget to configure gksu after launching X" >> /home/vleon/PostInstall.txt
    echo "5) lauch and configure all the apps in the menu and the cmdline apps links -g, mocp, irssi, centerim" >> /home/vleon/PostInstall.txt
    echo "6) test logout, reboot, shutdown and hibernate" >> /home/vleon/PostInstall.txt
    echo "7) configure keytouch on the laptop" >> /home/vleon/PostInstall.txt
    echo "8) if it doesnt exist mkdir ~/.Theme for both users and add a jpg picture named theme.jpg to be the wallpaper" >> /home/vleon/PostInstall.txt
    echo "9) read /var/log/MySysInstall.log and make sure all was succesfull especialy AUR install's like icecat or iceweasel" >> /home/vleon/PostInstall.txt
    echo "10) run lxappearance, configure lxpanel, configure terminal" >> /home/vleon/PostInstall.txt
    echo "11) run powertop after you restart again with all the modules and daemons and other stuff configured" >> /home/vleon/PostInstall.txt
    #Return ownership to the approtiate users
    chown -R vleon:users /home/vleon ; chown -R masha:users /home/masha
    chmod /home/vleon 750 ; chmod /home/masha 750
    chmod /home/vleon/.config 750 ; chmod /home/masha/config 750
    chmod /home/vleon/.config/openbox 750 ; chmod /home/vleon/.config/openbox 750
    #End
    echo "Install Finished, please additional instructions where created in /home/vleon/PostInstall.txt"
    read n1
    exit

    luckystar09 - I'd say you're on your own there. This thread is nearly a year old, and Black Mage hasn't posted here since. Read the script, and modify it yourself as required.
    Forum rule - do not post in threads that have been inactive for six months of more. See here for full details.
    Closed.

  • AUR Helper Scripts

    This thread is intended to provide a "locator" resource for all the AUR helper scripts out there - for searching and/or building from the AUR.  This does include some of the GUI pacman frontends, and it is ok to repost those here.
    I would appretiate it if the author of each front end posted a small (2-3 line) description of their creation, along with a homepage link and an AUR link (where applicable).  Screenshots would also be nice (if applicable).
    This thread is only intended for this purpose and will be cleaned of other posts.  If this thread ends up locked and you have a front end to add, feel free to PM any of the moderator staff and we will unlock it for you.

    aur-get
    aur-get is simple AUR manager written in python. It will help you with searching, downloading, installing and updating packages from AUR.
    aur-get is no more maintained. It's ugly and buggy code. Don't use it.
    Homepage: http://husio.arch-linux.pl/aur_get/about.html
    PKGBUILD: http://aur.archlinux.org/packages/aur-g … t/PKGBUILD
    Screenshot 1: http://img100.imageshack.us/img100/6125 … 8schg5.png
    Screenshot 2: http://img152.imageshack.us/img152/4695 … 0scsu7.png
    Last edited by Husio (2008-04-01 15:09:08)

  • [Solved] Cant install\compile certain AUR packages

    This is a brand new 32-bit build on my laptop. Everything is working great, but for some reason I cant get some AUR packages. I have Yaourt, pacman-color, and slock installed from AUR and working fine, but I cant get mpd-git or mplayer-svn installed? I have gcc, python installed and tried both root and user accounts. Not sure what is missing. This is a new dual core laptop so not sure why I am getting the CPU errors below?
    This is for mplayer-svn:
    ==> SVN checkout done or server timeout, updating build dir
    ==> Applying disabled-features patch...
    /var/abs/local/yaourtbuild/mplayer-svn/./PKGBUILD: line 56: patch: command not found
    Detected operating system: Linux
    Detected host architecture: i386
    Checking for host cc ... gcc
    Checking for cross compilation ... yes
    ./configure: line 1605: gcc: command not found
    ./configure: line 1610: gcc: command not found
    Checking for CPU vendor ... GenuineIntel (6:15:11)
    Checking for CPU type ... Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
    Checking for kernel support of mmx ... failed
    It seems that your kernel does not correctly support mmx.
    To use mmx extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of mmxext ... failed
    It seems that your kernel does not correctly support mmxext.
    To use mmxext extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of sse ... failed
    It seems that your kernel does not correctly support sse.
    To use sse extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of sse2 ... failed
    It seems that your kernel does not correctly support sse2.
    To use sse2 extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of ssse3 ... failed
    It seems that your kernel does not correctly support ssse3.
    To use ssse3 extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of cmov ... failed
    It seems that your kernel does not correctly support cmov.
    To use cmov extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for mtrr support ... yes
    Checking for GCC & CPU optimization abilities ... CPU optimization disabled. CPU not recognized or your compiler is too old.
    error
    Checking for byte order ... failed to autodetect byte order, defaulting to little-endian
    Checking for extern symbol prefix ...
    Error: Symbol mangling check failed.
    Check "configure.log" if you do not understand why it failed.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build mplayer-svn package.
    This is for mpd-git:
    Looks like I need to set the path for gcc in here, but not sure how?
    configure: error: in `/tmp/yaourt-tmp-banshee/aur-mpd-git/mpd-git/src/mpd-build':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    make: *** No targets specified and no makefile found. Stop.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build mpd-git package.
    Last edited by banshee28 (2009-09-03 04:15:43)

    Allan wrote:
    You need to install the base-devel group (pacman -S base-devel).
    This is a bit weird though....
    Checking for cross compilation ... yes
    hopefully it goes away!
    Ah, I see all the apps in this group now! Not sure how I missed this? Was this in the wiki somwhere??
    Anyways,its getting further along now ....

  • Anacron: bash script not working

    hi together,
    i don't know why my script isn't started by anacron - so i hope someone can help me.
    bash script "update" (shortened):
    #!/bin/bash
    function update_notifier
    yaourt -Sy > /dev/null 2>&1 && sudo -u "user" notify-send -u critical "notebook" "updates: $(yaourt -Qua | wc -l)"
    case $1 in
    "notifier") update_notifier;;
    esac
    /etc/anacrontab:
    SHELL=/bin/bash
    PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:
    MAILTO=""
    RANDOM_DELAY=30
    START_HOURS_RANGE=5-22
    @daily 15 cron.daily nice run-parts /etc/cron.daily
    @weekly 15 cron.weekly nice run-parts /etc/cron.weekly
    @monthly 15 cron.monthly nice run-parts /etc/cron.monthly
    @daily 15 update.notifier /full/path/to/script/update notifier > /dev/null 2>&1
    If i start my script with
    update notifier
    everything is working.
    If i force anacron to run with
    sudo anacron -f -n
    everything is working.
    journalctl:
    anacron[2093]: Job `update.notifier' started
    anacron[2093]: Job `update.notifier' terminated
    PATH in anacrontab and bash are identically.
    sudo -u "user" notify-send ...
    gives notify-send permission to display.
    So what am I missing? Thanks for any hint!

    i've read it and understand that yaourt -Sy <package> is indeed a bad idea, but i just want to sync my database and then check for packages to upgrade. Could you give a good example with yaourt/pacman please?
    so my function update_notifier should better be
    sudo -u "user" notify-send -u critical "notebook" "updates: $(checkupdates | wc -l)"
    right?
    what is the better solution in /etc/anacrontab
    @daily 15 update.notifier DISPLAY=:0 /full/path/update notifier
    or something like this
    @daily 15 update.notifier source /path/to/.bash_profile /full/path/update notifier
    or this
    @daily 15 update.notifier /bin/bash /full/path/update notifier
    Last edited by s0l!d (2015-03-16 21:57:06)

Maybe you are looking for

  • How to access fragment in controller in ui5?

    Hello Folks,                   i am using fiori design guidelines, so that i have used xmlview .now i want to access xmlview reference in controller.I have tried via sap.ui.getCore().byId(),but it is not working. Will you please guide on same to rels

  • Payment Run Not Printing Check. No Spool Created.

    Hi Gurus, We did a payment run and it generated a spool at 1st and it was at "waiting status" which is strange because when we do this, it prints immediately. So, then the spool disappeared and no checks was printed. We tried to reprint it and no spo

  • Boot camp or Parallel?

    With only 28 GB left on my HD, and my main interest in using windows is for video chatting on MSN Messenger and using Microsoft Office, which is more recommended way to go? Also, can this be reversed, meaning uninstall either one to go the other way

  • Purchase Order Conversion

    Is there any standard program available to convert PO's directly in SRM. We are implementing extended classic scenario EBP 5.0

  • Table heading row does not repeat

    I'm using InDesign CS5, and have a table that splits over two pages. There is one heading row, and I've set it to repeat on each page. But it doesn't repeat. The only thing a little unusual about this table is that some of the heading row cells are r