[SOLVED] pacman show dependency list

How can I make pacman show all dependencies of some package?
Last edited by silenc3r (2010-05-21 20:00:12)

Here is a little command I wrote a while back while I was learning sed. It gives a bulk output of all your programs, their dependencies and optional dependencies. I ran into the "fails for when depends extend to multiple lines" issue and this should fix that. I haven't tested it very much so you be the judge.
pacman -Qi | sed '/^Depends On/,/^Required By/{ s/^Required By.*$//; H; d }; /^Name/!d; /^Name/{ n;x;}'| sed '/^$/s//==================================================================================/'
Small Example Output: (looks much cleaner in the Terminal)
==================================================================================
Name           : xorg-server-utils
Version        : 1.7.6-3
Depends On     : hal>=0.5.14  libgl  libxfont>=1.4.1  openssl>=1.0.0 
                 libpciaccess>=0.10.9  libxv>=1.0.5  pixman>=0.16.6 
                 xcursor-themes>=1.0.2  xkeyboard-config>=1.8 
                 xorg-server-utils  xorg-fonts-misc  xbitmaps  diffutils 
                 xf86-input-evdev>=2.2.5  inputproto>=2.0 
Optional Deps  : None
==================================================================================
Name           : xorg-util-macros
Version        : 7.5-3
Depends On     : libxfontcache>=1.0.5  libxi>=1.3  libxaw>=1.0.6 
                 libxxf86misc>=1.0.2  libxrandr>=1.3.0  libxxf86vm>=1.1.0 
                 mcpp>=2.7.2 
Optional Deps  : None
==================================================================================
Name           : xorg-utils
Version        : 1.7.0-1
Depends On     : None
Optional Deps  : None
==================================================================================
I added the equal signs for looks and to fit my default Terminal window. Just add or subtract them in the command to fit yours or to get rid of them just drop off the last section of the pipe.
Good Luck!:D

Similar Messages

  • [SOLVED] Pacman's "Depends On" field

    When I query how much space firefox is going to take and what its dependencies are I get a list and a value which are very different from what I get when I actually try to install it. Can somebody please explain why is it like that?
    [lex@gaia ~]$ pacman -Si firefox
    Depends On : xulrunner=1.9.2.8 desktop-file-utils
    Optional Deps : None
    Conflicts With : None
    Replaces : None
    Download Size : 771.98 K
    Installed Size : 3628.00 K
    [lex@gaia ~]$ sudo pacman -S firefox
    Password:
    resolving dependencies...
    looking for inter-conflicts...
    Targets (4): mozilla-common-1.4-1 mime-types-1.0-3 xulrunner-1.9.2.8-1 firefox-3.6.8-1
    Total Download Size: 16.09 MB
    Total Installed Size: 83.33 MB
    Last edited by archguest (2010-08-09 14:28:55)

    karol wrote:
    archguest wrote:
    Thanks guys, I understood that. What I wonder about is what use is "depends on" line if it does not show recursive dependencies? Is there a reason to why it doesn't?
    The way it is now I can't tell how much is going to be installed and what until I try to install the package.
    There are some tools that attempt to do that, but if you're so smart, tell me, would you count xulrunner as a firefox dependency if you already have it installed as a dependency for another package? There were similar discussions on the forums and there may be some similar feature requests in the bug tracker.
    Nowadays people may have sh*tty cpus, so they prefer binary-based distro to a source-based one. They may have not that mush RAM, so they like lightweight apps, but most people have enough of harddrive space to simply install the thing, try it out and keep it if they like it - not because it's small, but because it works for them.
    With due respect but I find your language offensive. I didn't say that I am smart and I did not even challenge the way things are. I asked *why* they are the way they are.
    In answer to your question, xulrunner is a dependency because without it firefox won't run. Maybe what I am looking for is not a list of first-order dependencies for a package but a list of packages to be downloaded and installed with the package. In the context of your question, xulrunner would not be on that list as it already is installed.
    I agree with you about the disk space. The disk space is not my concern. I just wanted to know why pacman does not display what packages will be downloaded and installed before I actually run install (as a root).
    Despite I have not received an answer to my question, I now begin to think it was a design decision. I wonder if having this information displayed in addition to what pacman -Si already displays would be useful. The rationale would be that it is not reasonable to su or sudo just to find out how many packages need to be downloaded and installed to get some package working.
    Last edited by archguest (2010-08-08 14:08:05)

  • [useless, SOLVED] Pacman shows package corrupted while upgrading

    I pacman -Syu'ed my system after a week & there was these error of cyclic dependancy while installing gcc package. So, I issued this command:
    sudo pacman -S gcc gcc-libs gcc-ada gcc-fortran gcc-objc libtool
    While instaling, it showed that gcc's package is corrupted.
    But, later I tried installing it using
    sudo pacman -U gcc-4.6.2-1-x86_64.pkg.tar.xz gcc-libs-4.6.2-1-x86_64.pkg.tar.xz gcc-ada-4.6.2-1-x86_64.pkg.tar.xz gcc-fortran-4.6.2-1-x86_64.pkg.tar.xz gcc-objc-4.6.2-1-x86_64.pkg.tar.xz libtool-2.4
    and it installed correctly.
    It seems like local repo had the wrong md5 of the gcc package. How come?
    Last edited by shadyabhi (2011-11-04 13:44:01)

    karol wrote:Can you post the exact output, the 'corrupted' message?
    shadyabhi@archlinux ~ $ sudo pacman -S gcc
    warning: gcc-4.6.2-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): gcc-4.6.2-1 [17.03 MB]
    Total Download Size: 0.00 MB
    Total Installed Size: 67.22 MB
    Proceed with installation? [Y/n] Y
    :: File gcc-4.6.2-1-x86_64.pkg.tar.xz is corrupted. Do you want to delete it? [Y/n] ^C [----------------------------------------------------------------] 0%
    Interrupt signal received
    shadyabhi@archlinux ~ $ sudo pacman -U /var/cache/pacman/pkg/gcc-4.6.2-1-x86_64.pkg.tar.xz
    warning: gcc-4.6.2-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): gcc-4.6.2-1 [17.06 MB]
    Total Download Size: 0.00 MB
    Total Installed Size: 66.82 MB
    Proceed with installation? [Y/n] Y
    (1/1) checking package integrity [################################################################] 100%
    (1/1) checking for file conflicts [################################################################] 100%
    (1/1) upgrading gcc [################################################################] 100%
    shadyabhi@archlinux ~ $
    I was successful in installing that same package if I used -U option. Thats some serious bug in pacman which should be looked into.
    Please tell me as to what more info should I provide to be of more help.
    Last edited by shadyabhi (2011-11-04 13:19:15)

  • [solved] Pacman shows Idconfig errors

    Whenever I am upgrading or installing a package with pacman, I get the following printout after the operation is finished.
    [2012-05-21 22:51] Running 'pacman -S flashplugin'
    [2012-05-21 22:52] upgraded flashplugin (11.2.202.235-1 -> 11.2.202.235-1)
    [2012-05-21 22:52] ldconfig: File /usr/lib/libfltk.so is empty, not checked.
    [2012-05-21 22:52] ldconfig: File /usr/lib/libfltk_gl.so.1.3 is empty, not checked.
    [2012-05-21 22:52] ldconfig: File /usr/lib/libfltk_gl.so is empty, not checked.
    [2012-05-21 22:52] ldconfig: File /usr/lib/libfltk_forms.so.1.3 is empty, not checked.
    [2012-05-21 22:52] ldconfig: File /usr/lib/libfltk_images.so is empty, not checked.
    [2012-05-21 22:52] ldconfig: File /usr/lib/libfltk_images.so.1.3 is empty, not checked.
    [2012-05-21 22:52] ldconfig: File /usr/lib/libfltk.so.1.3 is empty, not checked.
    [2012-05-21 22:52] ldconfig: File /usr/lib/libfltk_forms.so is empty, not checked.
    Why is this? What must I do to fix it?
    I reinstalled the fltk package, then re-uninstalled it. Seems fixed.
    Last edited by rogue (2012-05-22 03:10:58)

    Reinstall the packages that own these libraries. I think it's the FLTK package, but I'm not 100% sure. Use pacman -Qo to find out.
    Then first try to reinstall it normally.
    pacman -S fltk
    If that doesn't work, force it.
    pacman -S fltk --force

  • Show different lists depending on subtype

    Hi,
    In transaction PA30 it is possible to show a list. Normally you define the list screen number in the customizing for infotypes, so just 1 different screen is possible. Now I want to know if it is possible to use  2 different screens for the list display. I need to redefine the screen number within the program flow depending on the subtype. I can't find an user-exit for this. Has anyone a solution??
    kind regards Maarten

    Hi Maarten,
            I think U can do this by definig a new feature based on the subtype and call the alternate screen  for the respective variable key.
    How to do:
    step 1 : Create a feature with the variable keys defined based on the subtype.
    step 2:U can use the table T588M to call different alternate screens for the respective variable key(Output from feature). 
    U can ask ur functional consultant to do this kind of work.The data in the table T588M is maintained by the functional people.

  • [Solved] pacman -Qtdq is returning strange results - Please Help!

    Hi guys,
    I'm having an issue with the pacman command -
    #pacman -Qtdq
    It has been spitting out some VERY odd results. Here
    [anders@Freki ~]$ pacman -Qtdq
    abs
    agave
    alsa-utils
    archlinux-artwork
    arj
    aspell-en
    audacity
    autoconf
    automake
    bacula
    banshee
    beanshell
    bleachbit
    bluefish
    calibre
    cryptsetup
    dash
    dosfstools
    ekiga
    expect
    fakeroot
    feh
    file-roller
    firefox
    flex
    gcalctool
    gconf-editor
    gedit
    git
    gksu
    gnome-color-manager
    gnome-disk-utility
    gnome-media
    gnome-nettool
    gnome-power-manager
    gnome-utils
    gpart
    gparted
    grub2-bios
    gstreamer0.10-bad-plugins
    gtk-doc
    handbrake
    hardinfo
    heirloom-mailx
    hsqldb-java
    hunspell-en
    hyphen-en
    icedtea-web
    initscripts
    inkscape
    iputils
    jfsutils
    less
    libdvdcss
    libmspack
    libmythes
    libreoffice-base
    libreoffice-calc
    libreoffice-draw
    libreoffice-extension-ct2n
    libreoffice-extension-diagram
    libreoffice-extension-google-docs
    libreoffice-extension-hunart
    libreoffice-extension-nlpsolver
    libreoffice-extension-numbertext
    libreoffice-extension-oooblogger
    libreoffice-extension-pdfimport
    libreoffice-extension-presentation-minimizer
    libreoffice-extension-presenter-screen
    libreoffice-extension-report-builder
    libreoffice-extension-scripting-beanshell
    libreoffice-extension-scripting-javascript
    libreoffice-extension-scripting-python
    libreoffice-extension-typo
    libreoffice-extension-validator
    libreoffice-extension-watch-window
    libreoffice-extension-wiki-publisher
    libreoffice-gnome
    libreoffice-impress
    libreoffice-math
    libreoffice-sdk-doc
    libreoffice-writer
    libwpg
    licenses
    lm_sensors
    logrotate
    lucene
    lvm2
    man-db
    man-pages
    mdadm
    mesa-demos
    mousetweaks
    mythes-en
    nano
    ntfsprogs
    openshot
    os-prober
    pacman
    parcellite
    patch
    pcmciautils
    perl-passwd-md5
    pkg-config
    pstoedit
    python2-gtkspell
    python2-numpy
    rdesktop
    reiserfsprogs
    samba
    skype
    skype-call-recorder
    sound-juicer
    soundconverter
    subversion
    sudo
    syslog-ng
    telepathy-butterfly
    telepathy-gabble
    telepathy-haze
    telepathy-idle
    telepathy-salut
    telepathy-sofiasip
    texlive-core
    thunderbird
    tomboy
    tomoyo-tools
    truecrypt
    ufw
    unace
    unetbootin
    uniconvertor
    unrar
    vala
    vi
    vigra
    vino
    virtualbox
    virtualbox-additions
    wgetpaste
    which
    wicd-gtk
    xchat
    xdotool
    xf86-video-ati
    xfsprogs
    xorg-twm
    xorg-utils
    xorg-xclock
    xorg-xinit
    xsane-gimp
    xscreensaver
    xterm
    I first noticed this when I removed lxde and awesome after I was done playing with them and pacman took out pkgs necessary to run gnome. As you can see some x pkgs are listed as orphans, along with things that were not orphans before, like abs and firefox. My orphan list used to be only a few items long because gwibber apparenly has some build items that are no longer needed after install like dee and vala.
    I've tried reinstalling the listed pkgs, ALL of my installed pkgs, and nothing. It keeps reporting this same string of pkgs and it is making me afraid to remove xscreensaver (the one thing on the list I don't want to keep) because I am afriad of pacman taking out too many pkgs. Installs seem to be working just fine, and I only use pacman to install pkgs on this system, I always use
    sudo pacman -S pkgname
    or
    sudo pacman -U /path/to/aur/pkg
    and I only update via
    sudo pacman -Syu
    So is there any way to "rebuild" the dependancy tree that I don't know about? I looked thourgh the Wiki and did not see anything.
    Could I have removed a pkg(s) that has broken Pacman's dependancy tree?
    Is there any more info that you guys might need to help me out with this?
    - Thanks for any help,
    Anders H
    Last edited by Anders H (2012-02-14 09:34:13)

    For some reason theses packages are installed as a dependency for another package, but they're not required by any package.
    Can you post the output of e.g. 'pacman -Qi less'?
    -D, --database
    Modify the package database. This operation allows you to modify
    certain attributes of the installed packages in pacman’s database.
    At the moment, you can only change the install reason using
    --asdeps and --asexplicit options.
    [karol@black ~]$ pacman -Qi less
    Name : less
    Version : 444-3
    URL : http://www.greenwoodsoftware.com/less
    Licenses : GPL3
    Groups : base
    Provides : None
    Depends On : ncurses pcre
    Optional Deps : None
    Required By : None
    Conflicts With : None
    Replaces : None
    Installed Size : 220,00 KiB
    Packager : Allan McRae <[email protected]>
    Architecture : i686
    Build Date : pon, 6 lut 2012, 03:25:08
    Install Date : czw, 9 lut 2012, 21:09:29
    Install Reason : Explicitly installed
    Install Script : No
    Description : A terminal based program for viewing text files
    [karol@black ~]$ pacman -Qi less | grep -e "Required By" -e "Install Reason"
    Required By : None
    Install Reason : Explicitly installed
    [karol@black ~]$ pacman -Qdt
    [karol@black ~]$ pacman -D --asdeps less
    less: install reason has been set to 'installed as dependency'
    [karol@black ~]$ pacman -Qi less | grep -e "Required By" -e "Install Reason"
    Required By : None
    Install Reason : Installed as a dependency for another package
    [karol@black ~]$ pacman -Qdt
    less 444-3
    I've changed the install reason and now 'less' shows up as an orphan.

  • [Solved]Pacman fails on sync

    Hello there Archlinux folks!
    Today, my beloved little home server, running Arch, was a real pain in the ... and I had to realize, the fact: I need the help of ppl who understand this better than I do.
    As a related matter, I just bought a Network Media Player today, so I needed to modify my server a bit, like setup XBMC for upnp sharing, and Pacman showed me a "funny error message". With all due respect, I cannot reproduce the original anymore, - but it looked kinda same - since I tried to sync pacman with the repositories, and that somehow altered the current setup. Also tried to enable another repositories, but it did not helped.
    Now if I try to install something, like # pacman -S xbmc the following error message is triggered:
    [root@hoth estol]# pacman -S xbmc
    függőségek feloldása...
    belső ütközések keresése...
    Célok (79): recode-3.6-6 enca-1.13-1 libmp4v2-1.9.1-1 faac-1.28-2
    faad2-2.7-1 freetype2-2.4.4-2 fontconfig-2.8.0-1
    fribidi-0.19.2-1 xextproto-7.1.2-1 libxext-1.2.0-1
    libice-1.0.7-1 libsm-1.2.0-1 libxt-1.0.9-1 libxmu-1.1.0-1
    inputproto-2.0.1-1 libxi-1.4.1-1 libdrm-2.4.23-2
    xf86vidmodeproto-2.3.1-1 libxxf86vm-1.1.1-1 fixesproto-4.1.2-1
    libxfixes-4.0.5-1 damageproto-1.2.1-1 libxdamage-1.1.3-1
    libgl-7.10.0.git20110215-1 dri2proto-2.3-1 glproto-1.4.12-1
    mesa-7.10.0.git20110215-1 glew-1.5.8-1 freeglut-2.6.0-1
    jasper-1.900.1-6 libcddb-1.3.2-2 libcdio-0.82-1 libmad-0.15.1b-4
    libmms-0.6-1 libmpeg2-0.5.1-1 libvorbis-1.3.2-1
    alsa-lib-1.0.23-2 libsndfile-1.0.23-1 libsamplerate-0.1.7-1
    xineramaproto-1.2.1-1 libxinerama-1.1.1-1 renderproto-0.11.1-1
    libxrender-0.9.6-1 randrproto-1.3.2-1 libxrandr-1.3.1-1
    recordproto-1.14.1-1 libxtst-1.2.0-1 sdl-1.2.14-6
    sdl_image-1.2.10-2 libmikmod-3.1.12-3 smpeg-0.4.4-5
    sdl_mixer-1.2.11-2 wavpack-4.60.1-1 mesa-demos-8.0.1-1
    xf86dgaproto-2.1-1 libxxf86dga-1.1.2-1 compositeproto-0.4.2-1
    libxcomposite-0.4.3-1 dmxproto-2.3.1-1 libdmx-1.1.1-1
    xorg-xdpyinfo-1.2.0-1 xorg-xdriinfo-1.0.4-1 xorg-xev-1.1.0-1
    xorg-xlsatoms-1.1.0-1 xcb-util-0.3.6-1 xorg-xlsclients-1.1.1-1
    xorg-xprop-1.2.0-1 videoproto-2.3.1-1 libxv-1.0.6-1
    xorg-xvinfo-1.1.1-1 xorg-xwininfo-1.1.1-1 xorg-utils-7.6-6
    libmicrohttpd-0.9.7-1 libssh-0.4.8-1 libva-1.0.8-1
    libmodplug-0.8.8.1-1 rtmpdump-2.3-3 lsb-release-1.4-10
    xbmc-10.0-4
    Teljes letöltendő méret: 39,00 MB
    Teljes telepített méret: 133,01 MB
    Kezdődhet a telepítés? [I/n] I
    :: Csomagok letöltése a(z) extra repóból...
    hiba: nem sikerült a(z) 'recode-3.6-6-i686.pkg.tar.xz' fájlt letölteni a ftp.mfa.kfki.hu helyről : No address record
    hiba: nem sikerült a(z) 'enca-1.13-1-i686.pkg.tar.gz' fájlt letölteni a ftp.mfa.kfki.hu helyről : No address record
    ^Chiba: nem sikerült a(z) 'faad2-2.7-1-i686.pkg.tar.gz' fájlt letölteni a ftp.mfa.kfki.hu helyről : No address record
    Interrupt signal received
    Sorry about the language, it is localized for Hungarian.
    hint:
    hiba is for error
    letölteni is for download
    Teljes is for total
    Telepít(telepítés, telepített) is for install(installing, installed)
    Then I interrupt it, since it takes a long time.
    The most confusing part is, that even a simple management command - like # pacman -Syu - is also triggering an error:
    [root@hoth estol]# pacman -Syu
    :: A csomagadatbázisok szinkronizálása...
    hiba: nem sikerült a(z) 'core.db.tar.gz' fájlt letölteni a ftp.mfa.kfki.hu helyről : No address record
    hiba: nem sikerült a(z) core frissítése (No address record)
    ^Chiba: nem sikerült a(z) 'extra.db.tar.gz' fájlt letölteni a ftp.mfa.kfki.hu helyről : No address record
    Interrupt signal received
    Some technical details about the machine:
    [estol@hoth ~]$ uname -a
    Linux hoth 2.6.37-ARCH #1 SMP PREEMPT Fri Feb 18 16:58:42 UTC 2011 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
    [estol@hoth ~]$ cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 8
    model name : Pentium III (Coppermine)
    stepping : 3
    cpu MHz : 747.685
    cache size : 256 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 2
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pse36 mmx fxsr sse up
    bogomips : 1495.67
    clflush size : 32
    cache_alignment : 32
    address sizes : 36 bits physical, 32 bits virtual
    power management:
    Also the recent Pacman log,
    [2011-02-21 00:51] Running 'pacman -Syu'
    [2011-02-21 00:51] synchronizing package lists
    [2011-02-21 00:51] starting full system upgrade
    [2011-02-21 00:52] upgraded tzdata (2010o-1 -> 2011b-1)
    [2011-02-21 00:52] Generating locales...
    [2011-02-21 00:52] en_US.UTF-8... done
    [2011-02-21 00:52] en_US.ISO-8859-1... done
    [2011-02-21 00:52] hu_HU.UTF-8... done
    [2011-02-21 00:52] hu_HU.ISO-8859-2... done
    [2011-02-21 00:52] Generation complete.
    [2011-02-21 00:53] upgraded glibc (2.13-1 -> 2.13-4)
    [2011-02-21 00:53] warning: /etc/bash.bashrc installed as /etc/bash.bashrc.pacnew
    [2011-02-21 00:53] upgraded bash (4.1.009-3 -> 4.1.009-4)
    [2011-02-21 00:53] upgraded binutils (2.21-3 -> 2.21-4)
    [2011-02-21 00:53] upgraded curl (7.21.3-1 -> 7.21.4-2)
    [2011-02-21 00:53] upgraded db (5.1.19-3 -> 5.1.25-1)
    [2011-02-21 00:53] upgraded udev (165-1 -> 166-2)
    [2011-02-21 00:53] upgraded device-mapper (2.02.82-2 -> 2.02.84-1)
    [2011-02-21 00:53] >>> Updating module dependencies. Please wait ...
    [2011-02-21 00:53] >>> MKINITCPIO SETUP
    [2011-02-21 00:53] >>> ----------------
    [2011-02-21 00:53] >>> If you use LVM2, Encrypted root or software RAID,
    [2011-02-21 00:53] >>> Ensure you enable support in /etc/mkinitcpio.conf .
    [2011-02-21 00:53] >>> More information about mkinitcpio setup can be found here:
    [2011-02-21 00:53] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
    [2011-02-21 00:53]
    [2011-02-21 00:53] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2011-02-21 00:53] ==> Building image "default"
    [2011-02-21 00:53] ==> Running command: /sbin/mkinitcpio -k 2.6.37-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
    [2011-02-21 00:53] :: Begin build
    [2011-02-21 00:53] :: Parsing hook [base]
    [2011-02-21 00:53] :: Parsing hook [udev]
    [2011-02-21 00:53] :: Parsing hook [autodetect]
    [2011-02-21 00:53] :: Parsing hook [pata]
    [2011-02-21 00:54] :: Parsing hook [scsi]
    [2011-02-21 00:54] :: Parsing hook [sata]
    [2011-02-21 00:54] :: Parsing hook [filesystems]
    [2011-02-21 00:54] :: Generating module dependencies
    [2011-02-21 00:54] :: Generating image '/boot/kernel26.img'...SUCCESS
    [2011-02-21 00:54] ==> SUCCESS
    [2011-02-21 00:54] ==> Building image "fallback"
    [2011-02-21 00:54] ==> Running command: /sbin/mkinitcpio -k 2.6.37-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
    [2011-02-21 00:54] :: Begin build
    [2011-02-21 00:54] :: Parsing hook [base]
    [2011-02-21 00:54] :: Parsing hook [udev]
    [2011-02-21 00:54] :: Parsing hook [pata]
    [2011-02-21 00:54] :: Parsing hook [scsi]
    [2011-02-21 00:56] :: Parsing hook [sata]
    [2011-02-21 00:56] :: Parsing hook [filesystems]
    [2011-02-21 00:57] :: Generating module dependencies
    [2011-02-21 00:57] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
    [2011-02-21 00:57] ==> SUCCESS
    [2011-02-21 00:57] upgraded kernel26 (2.6.37-5 -> 2.6.37.1-1)
    [2011-02-21 00:57] upgraded libldap (2.4.23-1 -> 2.4.24-1)
    [2011-02-21 00:57] upgraded lvm2 (2.02.82-2 -> 2.02.84-1)
    [2011-02-21 00:57] upgraded mc (4.7.4-1 -> 4.7.5.1-1)
    [2011-02-21 00:57] warning: /etc/ntp.conf installed as /etc/ntp.conf.pacnew
    [2011-02-21 00:57] warning: /etc/conf.d/ntp-client.conf installed as /etc/conf.d/ntp-client.conf.pacnew
    [2011-02-21 00:57] upgraded ntp (4.2.6.p2-1 -> 4.2.6.p3-1)
    [2011-02-21 00:57] upgraded ppp (2.4.5-1 -> 2.4.5-2)
    [2011-02-21 00:57] upgraded syslog-ng (3.2.1-1 -> 3.2.2-1)
    [2011-02-21 00:57] upgraded vi (050325-3 -> 050325-4)
    [2011-02-21 00:57] upgraded wget (1.12-3 -> 1.12-4)
    [2011-02-21 19:57] Running 'pacman -U'
    [2011-03-04 19:42] Running 'pacman -S ushare'
    [2011-03-04 19:44] Running 'pacman -S ushare'
    [2011-03-04 19:44] Running 'pacman -S ushare'
    [2011-03-04 19:46] Running 'pacman -S ushare'
    [2011-03-04 19:46] Running 'pacman -S mediatomb'
    [2011-03-04 19:47] Running 'pacman -S mediatomb'
    [2011-03-04 19:49] Running 'pacman -S ushare'
    [2011-03-04 19:57] Running 'pacman -S ushare'
    [2011-03-04 20:00] Running 'pacman -S ushare'
    [2011-03-04 20:01] Running 'pacman -S ushare'
    [2011-03-04 20:08] Running 'pacman -S ushare'
    [2011-03-04 20:14] Running 'pacman -S ushare'
    [2011-03-04 20:16] Running 'pacman -S ushare'
    [2011-03-04 20:21] Running 'pacman -S ushare'
    [2011-03-04 21:05] Running 'pacman -S ushare'
    [2011-03-04 21:12] Running 'pacman -S ushare'
    [2011-03-04 21:13] Running 'pacman -S mediatomb'
    [2011-03-04 21:17] Running 'pacman -S ushare'
    [2011-03-04 22:51] Running 'pacman -S ushare'
    [2011-03-05 01:42] Running 'pacman -Sy xbmc'
    [2011-03-05 01:42] synchronizing package lists
    [2011-03-05 01:43] Running 'pacman -Syu'
    [2011-03-05 01:43] synchronizing package lists
    [2011-03-05 01:49] Running 'pacman -Syu'
    [2011-03-05 01:49] synchronizing package lists
    [2011-03-05 01:53] Running 'pacman -U'
    [2011-03-05 01:53] Running 'pacman -U'
    [2011-03-05 02:02] Running 'pacman -Syu'
    [2011-03-05 02:02] synchronizing package lists
    [2011-03-05 02:09] Running 'pacman -S xmbc'
    [2011-03-05 02:11] Running 'pacman -S xmbc'
    [2011-03-05 02:11] Running 'pacman -S xmbc'
    [2011-03-05 02:12] Running 'pacman -Syu'
    [2011-03-05 02:12] synchronizing package lists
    [2011-03-05 02:17] Running 'pacman -S xbmc'
    The first entry is the last known use of Pacman, that was successful.
    All help would be highly appreciated.
    estol
    Last edited by estol (2011-03-05 03:51:48)

    @skunktrader: yes, I tried, no it did not helped.
    @karol: mea culpa, mea maxima culpa, a friend of mine hooked me up with this distro, and set it to be hungarian as default, now I know how to change it - to be honest, this language annoys the crap out of me.
    @TigTex: yes, the host is alive, I can even browse the contents.
    Thanks for all the help, as it turned out, the problem was hardware related. Time to put her down.
    Last edited by estol (2011-03-05 03:52:39)

  • ADF Faces Dependent list boxes in an editable table

    Hi,
    I'm working with JDeveloper 10.1.3.1.0.
    I saw the topic "How to build dependent list boxes with ADF II" on F. Nimphius' Blogbuster.
    There it is shown how to handle dependent list boxes in an ADF Faces form. I tried this for an editable table but it doesn't work correctly: If there is more than one row in the resultset of the table, both dependent list boxes have the same content in all the rows though the content in the database is different.
    Can anyone help me?
    Thanks.

    Ok - I will try.
    I built the listboxes like it is described in "ADF Faces: How to built dependent lists boxes with ADF and ADF Faces Part II", Frank Nimphius' Blogbuster July, 2006.
    This is the full code of my ManagedBean:
    package asdb.view.backing;
    import javax.faces.context.FacesContext;
    import javax.faces.el.ValueBinding;
    import javax.faces.event.ValueChangeEvent;
    import javax.faces.model.SelectItem;
    import oracle.adf.model.OperationBinding;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.adf.view.faces.component.core.input.CoreInputText;
    import oracle.binding.BindingContainer;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.uicli.binding.JUCtrlValueBindingRef;
    public class AktMitFktEdit {
    private BindingContainer bindings;
    public AktMitFktEdit() {
    public void kategorieWechsel(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    BindingContainer bc = this.getBindings();
    DCIteratorBinding kategorienIter = (DCIteratorBinding)
    bc.get("OrganKategIterator1");
    Row rw =
    kategorienIter.getRowAtRangeIndex(((Integer)valueChangeEvent.getNewValue()).intValue());
    String kategorie = (String)rw.getAttribute("Kategorie");
    OperationBinding opBindingOrganeLovIter = (OperationBinding)bc.get("ExecuteWithParams");
    opBindingOrganeLovIter.getParamsMap().put("kategorieParam",kategorie);
    opBindingOrganeLovIter.execute();
    public void setBindings(BindingContainer bindings)
    this.bindings = bindings;
    public BindingContainer getBindings() {
    return bindings;
    It works fine, when the user only want to update existing rows. But if he had inserted a new row and afterwards want to update existing rows, the listboxes don't show the correct contents. No error messages are displayed.

  • Need help with dependent lists boxes with ADF.

    Hello,
    I am doing a project that use tree dependent list boxes.
    Ex. State---->
    College---->
    List of courses of the college chosen above----->
    The way this should work is when I select the state automatically I want it to change to the correspondent list of colleges of that state and after i choose the colleges I want to be able to get all the courses that are given in that college.
    To implement the first two list boxes I create tree views on JDeveloper and and using SelectOneChoice for both State and Colleges. In the binding editor I bind the first View with the second and then the second view with the third and at this point if I execute the first SelectOneChoice would give me all the state and the second SelectOneChoice would give me the list of all the colleges that exist.
    Now on the third view that I create a binding variable and i put a Where state=:TheBindingVariable on the query.
    Also I set the first SelectOneChoice the outoSubmit property to true, id to StateId and PartialTrigger property to CollegeId.
    On pageDef.xml in the bindings I create action form where I select the third view from Date Collection and select Action as ExecuteWithParams. And I set the value under the parameters section to #{bindings.state.inputValue}.
    Under executables still in pageDef.xml I create a invokeAction and I set binds = ExecuteWithParams.
    On first SelectOneChoice on the ChangeValueListener i create a new ManageBeans which generate me a java class and I create a new method as well to use it to change the binding variable on the second SelectOneChoice.
    Here is the method:
    public void Change_StateId(ValueChangeEvent valueChangeEvent) {
    String StateId;
    valueChangeEvent.setPhaseId(PhaseId.INVOKE_APPLICATION);
    FacesContext adi = FacesContext.getCurrentInstance();
    ValueBinding vb = adi.getApplication().createValueBinding("#{bindings}");
    DCBindingContainer bc = (DCBindingContainer)vb.getValue(adi);
    if(valueChangeEvent.getNewValue().toString().equals("0")){
    StateId = "MA";
    OperationBinding opBindingCollegeLovIter = (OperationBinding) bc.get("ExecuteWithParams");
    opBindingCollegeLovIter.getParamsMap().put("TheState",StateId);
    opBindingCollegeLovIter.execute();
    }else{
    DCIteratorBinding statesLovIter = (DCIteratorBinding) bc.get("CollegeProvaView1Iterator");
    Row rw = statesLovIter.getRowAtRangeIndex(((Integer)valueChangeEvent.getNewValue()).intValue());
    StateId = (String) rw.getAttribute("State");
    OperationBinding opBindingCollegeLovIter = (OperationBinding) bc.get("ExecuteWithParams");
    opBindingCollegeLovIter.getParamsMap().put("TheState",StateId);
    opBindingCollegeLovIter.execute();
    I don't know what I have done wrong because I am new in this field and a little support would be really helpful.
    I am using JDeveloper 10.1.3.1.0 and Oracle SOA Suite 10.1.3.1.0.
    I would appreciate any help.
    Thanks a lot.

    user8116089 wrote:
    For some reason the first selectonechoice doesn't give me all the states that are in the database it gives me just the first 10.check the value of RangeSize for itarator in pageDef. in this case to show all items it must be set to -1
    Also there is a way to assign the first value of the first selectonechoice to null at the start.this is a problematic requirement since all items are bound to iterator and basically this should serve for navigation purpose so the first item is set as selected, but maybe some workaround exists...
    regards,
    Branislav

  • Dependent List Boxes

    Can't figure what is wrong with this code. Any ideas? My page
    is blank unless I remove this code. If I remove the below code the
    page shows the form and the list boxes but the last dependent list
    box is not functioning properly...
    <!-- Dynamic Dependent List box Code for *** JavaScript
    *** Server Model //-->
    <script language="JavaScript">
    <!--
    var arrDynaList2 = new Array();
    var arrDL2 = new Array();
    arrDL2[1] = "lmConsumer";
    // Name of parent list box
    arrDL2[2] = "frmAddendum";
    // Name of form containing parent list box
    arrDL2[3] = "lmICPDate";
    // Name of child list box
    arrDL2[4] = "frmAddendum";
    // Name of form containing child list box
    arrDL2[5] = arrDynaList2;
    <%
    var txtDynaListRelation2, txtDynaListLabel2,
    txtDynaListValue2, oDynaListRS2;
    txtDynaListRelation2 = "SID"
    // Name of recordset field relating to parent
    txtDynaListLabel2 = "ICPDate"
    // Name of recordset field for child Item Label
    txtDynaListValue2 = "ICPDate"
    // Name of recordset field for child Value
    oDynaListRS2 =
    rsICPDate
    // Name of child list box recordset
    var varDynaList2 = -1;
    var varMaxWidth = "1";
    var varCheckGroup =
    oDynaListRS2.Fields.Item(txtDynaListRelation2).Value;
    var varCheckLength = 0;
    var varMaxLength = 0;
    while (!oDynaListRS2.EOF){
    if (varCheckGroup !=
    oDynaListRS2.Fields.Item(txtDynaListRelation2).Value) {
    varMaxLength = Math.max(varCheckLength, varMaxLength)
    varCheckLength = 0;
    %>
    arrDynaList2[<%=(varDynaList2+1)%>] =
    "<%=(oDynaListRS2.Fields.Item(txtDynaListRelation2).Value)%>";
    arrDynaList2[<%=(varDynaList2+2)%>] =
    "<%=(oDynaListRS2.Fields.Item(txtDynaListLabel2).Value)%>";
    arrDynaList2[<%=(varDynaList2+3)%>] =
    "<%=(oDynaListRS2.Fields.Item(txtDynaListValue2).Value)%>";
    <%
    if (oDynaListRS2.Fields.Item(txtDynaListLabel2).Value.length
    > varMaxWidth.length) {
    varMaxWidth =
    oDynaListRS2.Fields.Item(txtDynaListLabel2).Value;
    varCheckLength = varCheckLength + 1;
    varDynaList2 = varDynaList2 + 3;
    oDynaListRS2.MoveNext();
    varMaxLength = Math.max(varCheckLength, varMaxLength)
    %>
    //-->
    </script>

    Try something like this:
    <span spry:region="dsStates" id="stateSelector">
    <select spry:repeatchildren="dsStates" name="stateSelect"
    onchange="document.forms[0].citySelect.disabled = true;
    dsStates.setCurrentRowNumber(this.selectedIndex);">
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    value="{name}" selected="selected">{name}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{name}">{name}</option>
    </select>
    </span>
    City:
    <span spry:region="dsCities" id="citySelector">
    <select spry:repeatchildren="dsCities" id="citySelect"
    name="citySelect" onchange="document.forms[0].schoolSelect.disabled
    = true; dsCities.setCurrentRowNumber(this.selectedIndex);">
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    value="{name}" selected="selected">{name}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{name}">{name}</option>
    </select>
    </span>
    <span spry:region="dsSchools" id="schoolSelector">
    <select spry:repeatchildren="dsSchools" id="schoolSelect"
    name="schoolSelect" onchange="window.location=this.value;">
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    value="{url}" selected="selected">{name}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{url}">{name}</option>
    </select>
    --== Kin ==--

  • Initialize dependent lists

    Hi,
    I followed Franck tip on implementing dependent lists using navigation lists.
    It works perfectly well for a new row.
    The problem arise when I want to modify an existing row that make use of these dependent lists. In that case the lists are defaulted to their first values and the last list is not set with the good value.
    How to initialize the dependent lists when loading a page starting from the last list to the first list ?
    Thanks.

    Hi Richard,
    You're right. Frank's sample doesn't work for an update screen.
    Here is what I've found to solve your problem.
    My solution assumes you're using ADF BC. I based my solution on the same HR demo sample schema as Frank did.
    Recall the hierarchy : Regions > Countries > Locations > Departments.
    There are only 3 steps :
    * In the service layer (ADF BC) :
    1. get all the ids from the tables that compose the hierarchy
    2. based on the id of the department, rebuild the hierarchy by writing a custom service method
    * In the View layer (ADF Faces - JSF) :
    3. declare and call the custom service method using ADF Model
    Here are the code snippets :
    1. I get the ids by building a dedicated read-only View Object which has the following query
    SELECT 
        DEPARTMENTS.DEPARTMENT_ID DEPARTMENT_ID, 
        LOCATIONS.LOCATION_ID LOCATION_ID, 
        COUNTRIES.COUNTRY_ID COUNTRY_ID, 
        REGIONS.REGION_ID REGION_ID 
    FROM 
        DEPARTMENTS, 
        LOCATIONS, 
        REGIONS, 
        COUNTRIES 
    WHERE 
        DEPARTMENTS.DEPARTMENT_ID = :deptId 
    AND LOCATIONS.LOCATION_ID = DEPARTMENTS.LOCATION_ID 
    AND COUNTRIES.COUNTRY_ID = LOCATIONS.COUNTRY_ID 
    AND REGIONS.REGION_ID = COUNTRIES.REGION_ID 2. In the application module java source file, i put the folowing methods :
         * Permet de reconstruire la hiérarchie de la feuille vers le sommet
         * dans la relation Region (sommet) -> Country -> Location -> Department (feuille)
         * @param deptId La valeur est transmise en String et est convertie en Number
         * @throws java.sql.SQLException
        public void testSetDeptHierarchy(String deptId) {
            // Récupération des ids de la hiérarchie de Department
            ViewObject deptHierarchy = findViewObject("DepartmentHierarchy");
            try {
                deptHierarchy.setNamedWhereClauseParam("deptId", new Number(deptId));
            catch (SQLException e) {
                System.out.println("Erreur lors de l'affection de la named variable sur" +
                " Department");
                throw new JboException(e);
            deptHierarchy.executeQuery();
            Row dh = deptHierarchy.first();
            // On positionne chaque niveau de la hiérarchie
            setViewCurrentRow("RegionView", dh.getAttribute("RegionId"));
            setViewCurrentRow("CountryView", dh.getAttribute("CountryId"));
            setViewCurrentRow("LocationView", dh.getAttribute("LocationId"));
         * Permet de se positionner sur l'enregistrement correspondant à l'id passé
         * en paramètre sur la vue dont le nom est passé en paramètre
         * @param viewName Le nom de la vue
         * @param id L'id passé comme objet
        private void setViewCurrentRow(String viewName, Object id) {
            System.out.println(viewName + " " + id);
            ViewObjectImpl vo = (ViewObjectImpl)findViewObject(viewName);
            Object[] keyValue = new Object[1];
            keyValue[0] = id;
            Row[] results = vo.findByKey(new Key(keyValue), 1);
            Row row = results[0];
            vo.setCurrentRow(row);
        } 3. Create an methodACtion binding passing the DepartmentId as the parameter :
    <methodAction id="testSetDeptHierarchy"
                      InstanceName="AppModuleDataControl.dataProvider"
                      DataControl="AppModuleDataControl"
                      MethodName="testSetDeptHierarchy" RequiresUpdateModel="true"
                      Action="999" IsViewObjectMethod="false">
          <NamedData NDName="deptId" NDValue="${bindings.DepartmentId.inputValue}"
                     NDType="java.lang.String"/>
        </methodAction> And call that method from an invokeAction executable :
    invokeAction id="intitalizeDDL" Binds="testSetDeptHierarchy"
                      Refresh="renderModel"
                      RefreshCondition="${!adfFacesContext.postback}"/> Seb.

  • How to show one list  from bean two times

    Hi All,
    I am using jdeveloper version 11.1.1.6.0.
    I have a scenario where I want to bind list attribute from the my bean to two different talbes or iterators.
    I want to show this list twice on the page.
    If I keep both the tables then it shows only one of it.
    <af:table value="#{myAccShoppingCartBean.favAccountList}"
                                        columnResizing="disabled"
                                        disableColumnReordering="true"
                                        styleClass="carttbl" var="row"
                                        rows="#{bindings.favAccountList1.rangeSize}"
                                        emptyText="#{bindings.favAccountList1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                        fetchSize="#{bindings.favAccountList1.rangeSize}"
                                        width="877" horizontalGridVisible="false"
                                        verticalGridVisible="false"
                                        rowBandingInterval="0" id="tblCart"
                                        binding="#{myAccShoppingCartBean.tblCartItems}"
                                        inlineStyle="border:1px solid #000000;overflow:hidden !important;">
                                <af:column sortProperty="productSizeId"
                                           sortable="false" visible="false"
                                           id="c239">
                                  <af:outputText value="#{row.productSizeId}"
                                                 id="ot2asdf"/>
                                </af:column>
    </af:table>
    <af:table value="#{myAccShoppingCartBean.favAccountList}"
                                        columnResizing="disabled"
                                        disableColumnReordering="true"
                                        styleClass="carttbl" var="row"
                                        rows="#{bindings.favAccountList1.rangeSize}"
                                        emptyText="#{bindings.favAccountList1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                        fetchSize="#{bindings.favAccountList1.rangeSize}"
                                        width="877" horizontalGridVisible="false"
                                        verticalGridVisible="false"
                                        rowBandingInterval="0" id="tblCart"                                 
                                        inlineStyle="border:1px solid #000000;overflow:hidden !important;">
                                <af:column sortProperty="productSizeId"
                                           sortable="false" visible="false"
                                           id="c239">
                                  <af:outputText value="#{row.productSizeId}"
                                                 id="ot2asdf"/>
                                </af:column>
    </af:table>How to show this list two times.
    any help is apprciated

    Hi ,
    Can I replace above posts table with iterator
    Can I set value attribute for different iterators same from the bean.
    like
    <af:iterator value="#{myAccShoppingCartBean.favAccountList}" id="i1">second one like
    <af:iterator value="#{myAccShoppingCartBean.favAccountList}" id="i2">How to solve this?
    Is there any way to set same value to the different Iterators on the same page

  • Hi guys , i'm purchased app on name iDownloader Pro But is now dont show my list purchased apple id!! pls help me  thank you!

    hi guys , i'm purchased app on name iDownloader+Pro But is now dont show my list purchased apple id!!
    pls help me
    thank you!

    I'm having the same problem. I emailed customer service for the app. This is the reply they sent me on 5/27:
    Dear Customer,
    It is due to the reason that Apple has removed our app from the App Store
    (all similar download manager apps have also been removed). We are trying
    our best bring our app back on the App Store which will also solve this
    problem.

  • 10g-Folder properties in Disc Admin wont show dependent Workbooks and Items

    Hi folks,
    Right click on folders and click on properties and then dependents doesnt show dependent objects. I am cleaning up my Business Area but too afraid that might delete something I am using already.
    Thanks,
    UrWhatUKnow

    I just checked in metalink and if you run a go to 'patches & updates', and search by 'product or family' and put in discoverer, then choose Disco Admin ... from the LOV, it'll show all patches, etc. for the 10g version.
    In the list (not too long), you'll see patch: 4901641 - Discoverer Administration or Desktop Edition: Patch, with a description of: IMPACT DIALOG IS NOT SHOWING ALL DEPENDENT WORKBOOKS.
    Wonder if that's the correct one - 4901641
    Russ

  • (SOLVED) Pacman error: GPGME does not exist

    Hi, I have also just been struck with the same issue - a broken pacman (and for no reason that I can fathom). Was working perfectly yesterday and all I did that wan't usual was to uninstall clamav.
    Anyway, I have read this post and done a pacman -Syy, which upgraded core and archlinuxfr only. I then ran pacman -Syu and received this:
    [grant@ARCH ~]$ sudo pacman -Syy
    [sudo] password for grant:
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db' from mirror.aarnet.edu.au : Connection time-out
    core 106.2 KiB 353K/s 00:00 [######################] 100%
    error: GPGME error: No data
    error: failed to update extra (invalid or corrupted database (PGP signature))
    error: GPGME error: No data
    error: failed to update community (invalid or corrupted database (PGP signature))
    error: GPGME error: No data
    error: failed to update multilib (invalid or corrupted database (PGP signature))
    archlinuxfr 30.3 KiB 81.9K/s 00:00 [######################] 100%
    error: database 'extra' is not valid (invalid or corrupted database (PGP signature))
    error: database 'community' is not valid (invalid or corrupted database (PGP signature))
    error: database 'multilib' is not valid (invalid or corrupted database (PGP signature))
    [grant@ARCH ~]$
    Should I do a reinstall of pacman using the CD? I know this is clumsy, but anything I have missed?
    Last edited by mcduling (2012-12-03 06:43:56)

    Here is my pacman.conf in separate screens:
    GNU nano 2.2.6 File: /etc/pacman.conf
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    #GPGDir = /etc/pacman.d/gnupg/
    HoldPkg = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    GNU nano 2.2.6 File: /etc/pacman.conf
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #CleanMethod = KeepInstalled
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options
    #UseSyslog
    #UseDelta
    #TotalDownload
    CheckSpace
    GNU nano 2.2.6 File: /etc/pacman.conf
    #TotalDownload
    CheckSpace
    #VerbosePkgLists
    # By default, pacman accepts packages signed by keys that its local keyring
    # trusts (see pacman-key and its man page), as well as unsigned packages.
    #SigLevel = Optional TrustedOnly
    # NOTE: You must run `pacman-key --init` before first using pacman; the local
    # keyring can then be populated with the keys of all official Arch Linux
    # packagers with `pacman-key --populate archlinux`.
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    GNU nano 2.2.6 File: /etc/pacman.conf
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # - URLs will have $arch replaced by the name of the architecture
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # The testing repositories are disabled by default. To enable, uncomment the
    # repo name header and Include lines. You can add preferred servers immediately
    # after the header, and they will be used before the default mirrors.
    #[testing]
    GNU nano 2.2.6 File: /etc/pacman.conf
    #[testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [core]
    SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [extra]
    SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [community]
    SigLevel = PackageRequired
    GNU nano 2.2.6 File: /etc/pacman.conf
    [community]
    SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    # If you want to run 32 bit applications on your x86_64 system,
    # enable the multilib repositories as required here.
    #[multilib-testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [multilib]
    #SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [archlinuxfr]
    Server = http://repo.archlinux.fr/$arch
    # An example of a custom package repository. See the pacman manpage for
    GNU nano 2.2.6 File: /etc/pacman.conf
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #SigLevel = Optional TrustAll
    #Server = file:///home/custompkgs

Maybe you are looking for