Installing "dummy" packages in pacman

I have an issue, and I've searched around, but found nothing. So here goes
Say a situation where I'd like to (or have to) install a piece of software without going though pacman, but still like it to be implemented in the database of pacman, so other PKGBUILDs will be aware that my dependency actually is there. I've heard about wocka in AUR, but it didn't work/compile on my Arch64 setup. I've made some "emtpy" packages by hand to counter this problem, but that is tedious. What I could use is something like:
pacman -D (dummy package ) mplayer, that simply installs an "empty" mplayer package. If this exists already, in a script or a hidden function in pacman, I'd be happy If it doesn't I could start freshing up my bash-skills >_<
Last edited by Themaister (2008-12-15 15:50:55)

Well... I created a script now that covers it pretty much
usage:
dummypkg -S foo version    installs a dummy pkg with pkgver=version, a file that resembles the package name and version in /etc/dummy (uses sudo for pacman)
dummypkg -R foo       checks if foo has been installed by dummypkg and removes it with pacman
dummypkg -l              lists all packages and package versions of all packages installed by dummypkg
temporary building is done in ~/.dummypkg-tmp/
#!/bin/bash
## Dummypkg v0.1
## Script to install dummy packages in pacman
## Use at own risk!
function install(){
if [ -d ~/.dummybuild-tmp/$PACKAGE ]; then
rm -r ~/.dummybuild-tmp/$PACKAGE
fi
mkdir -p ~/.dummybuild-tmp/$PACKAGE
echo "pkgname=$PACKAGE" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "pkgver=$PKGVER" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "pkgrel=1" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "pkgdesc=\"Dummy package created by dummypkg\"" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "arch=('i686' 'x86_64')" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "url=""" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "license=\"GPL\"" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "depends=()" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "source=()" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "build(){" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "mkdir -p ~/.dummybuild-tmp/$PACKAGE/pkg/etc/dummy" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "echo >> \"Installed by dummypkg\" >> ~/.dummybuild-tmp/$PACKAGE/pkg/etc/dummy/$PACKAGE-$PKGVER" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "}" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
cd ~/.dummybuild-tmp/$PACKAGE/
makepkg || exit 1
sudo pacman -U *pkg.tar.gz
cd ~
rm -r .dummybuild-tmp/
exit 0
function remove(){
if [ -e /etc/dummy/$RPACKAGE* ]; then
sudo pacman -R $RPACKAGE
else
echo "This package is not installed by dummypkg ... Exiting"
exit 1
fi
exit 0
function list(){
for file in `ls /etc/dummy -1`
do
echo ">> $file"
done
exit 0
function usage(){
echo "usage: info [[--install] [--list] [--help] [--remove] [--version]]"
exit 0
INSTALL=0
REMOVE=0
LIST=0
if [ "$1" = "" ]; then
usage ; exit 1
fi
while [ "$1" != "" ]; do
case $1 in
-S | --install )
INSTALL=1
PACKAGE="$2"
PKGVER="$3"
if [ "$2" = "" ]; then
echo "--install requires a package name"
exit 1
fi
if [ "$3" = "" ]; then
echo "--install requires a package version"
exit 1
fi
shift
shift
-R | --remove )
REMOVE=1
RPACKAGE="$2"
if [ "$2" = "" ]; then
echo "--remove requires a package name"
exit 1
fi
shift
-h | --help ) usage; exit 0 ;;
-l | --list ) LIST=1 ;;
* ) usage ; exit 1
esac
shift
done
if [ $INSTALL = 1 ]; then
install
fi
if [ $REMOVE = 1 ]; then
remove
fi
if [ $LIST = 1 ]; then
list
fi
Last edited by Themaister (2008-12-15 18:26:26)

Similar Messages

  • [SOLVED] Cannot install any package thru pacman

    I cannot install any package thru pacman
    when i try to install the package with pacman -S,
    I started getting error when my sytem crashed and i have to forcefully switch off my laptop through power button
    after that when i install anything from pacman i got following error:
    [tan@ARCH ~]$ sudo pacman -S shotwell
    Password:
    warning: shotwell-0.9.3-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): shotwell-0.9.3-1
    Total Download Size: 0.00 MB
    Total Installed Size: 9.12 MB
    Proceed with installation? [Y/n] y
    (1/1) checking package integrity [##########] 100%
    (1/1) checking for file conflicts [##########] 100%
    (1/1) upgrading shotwell [##########] 100%
    ldconfig: File /usr/lib/libgexiv2.so.0.0.0 is empty, not checked.
    ldconfig: File /usr/lib/libgexiv2.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libgexiv2.so is empty, not checked.
    ldconfig: File /usr/lib/libraw.so is empty, not checked.
    ldconfig: File /usr/lib/libraw.so.2 is empty, not checked.
    ldconfig: File /usr/lib/libraw_r.so.2 is empty, not checked.
    ldconfig: File /usr/lib/libraw.so.2.0.1 is empty, not checked.
    ldconfig: File /usr/lib/libraw_r.so is empty, not checked.
    ldconfig: File /usr/lib/libraw_r.so.2.0.1 is empty, not checked.
    Thanks in advance
    Last edited by tan (2011-05-29 05:45:28)

    Thank God, everything is fixed now:
    First, I deleted all these files, then i follows the following procedure
    1. For libgexiv2 file i upgraded 'xorg-server, xorg-xinit, xorg-utils, xorg-server-utils' from pacman
    # pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils
    2. For libraw file i upgraded 'libraw' from pacman
    # pacman -S libraw
    There will be some conflicting files
    After deleting some conflicting files it solves the problem and restore all the 'lib' file.

  • How to install multiple packages with pacman?

    Hi ,
    I guess it's a pretty noobish question but I wonder how to install multiple packages
    that have the same prefix with Pacman.
    To make myself more clear, I like to install all gstreamer packages and for that I would
    like something similar to
    pacman -S gstreamer10*
    Is there a command that does something like this available? Found nothing in the man pages.
    Maybe some tricky stuff with pipes?

    sH wrote:Hi ibendiben,
    thanks for your help, but I'm afraid, it does not work
    I'm so sorry, my fault, I couln't test it, and made some big mistakes.
    This time it's working:
    pacman -S $(pacman -Ss gstreamer0.10 | sed -n 's#^\([^/]*/gstreamer0.10[^ ]*\) .*$#\1#p')

  • Better to install PyPI packages using pacman or pip?

    In Haskell, I ran into dependency issues when I had xmonad installed using pacman
    and other packages installed using cabal.
    Might a similar thing happen if I installed some PyPI packages (virtualenv, pymongo)
    using pacman instead of pip?
    My reason for wanting to install with pacman is that I'd be more likely to keep the
    packages up to date - they'd be tied to the rest of my system, and there's no simple
    command to upgrade all packages in pip.

    IMO, you should choose which method works best for you and stick with it.
    If you use a 3rd party package manager, you should stick with it.
    Or if you use pacman, you should stick with it.
    http://sherlock.heroku.com/blog/2012/04 … -managers/
    Towards the end I mention I don't really know much about pip and would investigate on how it works.
    But as a general rule, I would say to try out the 3rd party package manager first and see if it works.
    I would also recommend doing per user installs (install to $HOME) to keep files managed by pacman separated from files installed with the 3rd party package manager.
    Cabal and Gem imo are both superior to using packages provided in the supported repositories for the reasons outlined in my blog post.
    Hope this helps.
    Cheers!

  • [Solved]Cannot install any package with pacman

    Hi,
    today i tried a system update via pacman -Syu and i get these error messages
    Konnte Datei 'curl-7.19.6-1-i686.pkg.tar.gz' nicht von ftp.archlinux.org übertragen : File unavailable (e.g., file not found, no access)
    so it seems that these files are not on the servers
    i have already tried different mirrors even the archlinux.org one
    Last edited by kanim (2009-08-18 09:08:19)

    It is fixed. You just need to be patient and wait for the mirrors to resync. As many mirrors need to resync all the repo packages, there are not enough bandwidth for all the mirrors. So it will take some time.  ftp.archlinux.org is a mirror just like the other ones. The only difference is that we are the ones in charge of it.
    For details on what happened, see:
    http://archlinux.me/brain0/2009/08/16/s … l-scripts/

  • [SOLVED]I get errors when I try to install any package.

    when I try to install any package using pacman. I get this exact same error.
    ldconfig: File /usr/lib/libefreet.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_input_evas.so is empty, not checked.
    ldconfig: File /usr/lib/libeet.so is empty, not checked.
    ldconfig: File /usr/lib/libgstdataprotocol-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libecore_imf.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libGIMPACTUtils.so.2.82 is empty, not checked.
    ldconfig: File /usr/lib/libembryo.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_evas.so is empty, not checked.
    ldconfig: File /usr/lib/libgstpbutils-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libecore_file.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libMiniCL.so is empty, not checked.
    ldconfig: File /usr/lib/libgstriff-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libecore_input.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libluajit-5.1.so.2.0.3 is empty, not checked.
    ldconfig: File /usr/lib/libBulletCollision.so.2.82 is empty, not checked.
    ldconfig: File /usr/lib/libecore_imf.so is empty, not checked.
    ldconfig: File /usr/lib/libethumb.so is empty, not checked.
    ldconfig: File /usr/lib/libgstcontroller-0.10.so.0.30.0 is empty, not checked.
    ldconfig: File /usr/lib/libecore_file.so is empty, not checked.
    ldconfig: File /usr/lib/libgstinterfaces-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libluajit-5.1.so.2 is empty, not checked.
    ldconfig: File /usr/lib/libefreet_mime.so is empty, not checked.
    ldconfig: File /usr/lib/libeet.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_avahi.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libgstdataprotocol-0.10.so.0.30.0 is empty, not checked.
    ldconfig: File /usr/lib/libgstaudio-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libecore_file.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libembryo.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libBulletSoftBody.so.2.82 is empty, not checked.
    ldconfig: File /usr/lib/libMiniCL.so.2.82 is empty, not checked.
    ldconfig: File /usr/lib/libBulletDynamics.so is empty, not checked.
    ldconfig: File /usr/lib/libecore_wayland.so is empty, not checked.
    ldconfig: File /usr/lib/libeina.so is empty, not checked.
    ldconfig: File /usr/lib/libgsttag-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libraw_r.so is empty, not checked.
    ldconfig: File /usr/lib/libgstnetbuffer-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libgstfft-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libraw.so is empty, not checked.
    ldconfig: File /usr/lib/libbluetooth.so.3.17.7 is empty, not checked.
    ldconfig: File /usr/lib/libgstrtp-0.10.so.0.25.0 is empty, not checked.
    ldconfig: File /usr/lib/libefreet.so is empty, not checked.
    ldconfig: File /usr/lib/libLinearMath.so is empty, not checked.
    ldconfig: File /usr/lib/libeeze.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libethumb.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libethumb_client.so is empty, not checked.
    ldconfig: File /usr/lib/libecore_imf_evas.so is empty, not checked.
    ldconfig: File /usr/lib/libgstrtsp-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libgstinterfaces-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libecore_ipc.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libgstdataprotocol-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libgstpbutils-0.10.so.0.25.0 is empty, not checked.
    ldconfig: File /usr/lib/libedje.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libeina.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_wayland.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_fb.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libelementary.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libgstcheck-0.10.so.0.30.0 is empty, not checked.
    ldconfig: File /usr/lib/libecore_input_evas.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_imf_evas.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libeldbus.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libBulletFileLoader.so.2.82 is empty, not checked.
    ldconfig: File /usr/lib/libgsttag-0.10.so.0.25.0 is empty, not checked.
    ldconfig: File /usr/lib/libecore_evas.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_audio.so is empty, not checked.
    ldconfig: File /usr/lib/libecore_input.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_x.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libgstcontroller-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libgstrtp-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libevas.so is empty, not checked.
    ldconfig: File /usr/lib/libecore_avahi.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libBulletXmlWorldImporter.so.2.82 is empty, not checked.
    ldconfig: File /usr/lib/libgstnet-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libgstaudio-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libecore_fb.so is empty, not checked.
    ldconfig: File /usr/lib/libBulletSoftBodySolvers_OpenCL_Mini.so is empty, not checked.
    ldconfig: File /usr/lib/libeio.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libHACD.so is empty, not checked.
    ldconfig: File /usr/lib/libecore_x.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libevas.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_con.so is empty, not checked.
    ldconfig: File /usr/lib/libgstnet-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libecore_wayland.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libelementary.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libemotion.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libgstvideo-0.10.so.0.25.0 is empty, not checked.
    ldconfig: File /usr/lib/libelementary.so is empty, not checked.
    ldconfig: File /usr/lib/libefreet_trash.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libgstfft-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libecore_con.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_ipc.so is empty, not checked.
    ldconfig: File /usr/lib/libeo.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libXp.so is empty, not checked.
    ldconfig: File /usr/lib/libecore_avahi.so is empty, not checked.
    ldconfig: File /usr/lib/libgstbase-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libgstrtsp-0.10.so.0.25.0 is empty, not checked.
    ldconfig: File /usr/lib/libedje.so is empty, not checked.
    ldconfig: File /usr/lib/libBulletMultiThreaded.so is empty, not checked.
    ldconfig: File /usr/lib/libethumb.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore.so is empty, not checked.
    ldconfig: File /usr/lib/libeeze.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libgstnetbuffer-0.10.so.0.25.0 is empty, not checked.
    ldconfig: File /usr/lib/libefreet_trash.so is empty, not checked.
    ldconfig: File /usr/lib/libeio.so is empty, not checked.
    ldconfig: File /usr/lib/libgstrtsp-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libXp.so.6.2.0 is empty, not checked.
    ldconfig: File /usr/lib/libefreet_mime.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libgstaudio-0.10.so.0.25.0 is empty, not checked.
    ldconfig: File /usr/lib/libembryo.so is empty, not checked.
    ldconfig: File /usr/lib/libBulletDynamics.so.2.82 is empty, not checked.
    ldconfig: File /usr/lib/libgstvideo-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libefreet_mime.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_input.so is empty, not checked.
    ldconfig: File /usr/lib/libBulletWorldImporter.so.2.82 is empty, not checked.
    ldconfig: File /usr/lib/libConvexDecomposition.so is empty, not checked.
    ldconfig: File /usr/lib/libecore.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libgstpbutils-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libecore_input_evas.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libgstapp-0.10.so.0.25.0 is empty, not checked.
    ldconfig: File /usr/lib/libedje.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libeet.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libevas.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libraw_r.so.10 is empty, not checked.
    ldconfig: File /usr/lib/libeldbus.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libBulletWorldImporter.so is empty, not checked.
    ldconfig: File /usr/lib/libgstvideo-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libConvexDecomposition.so.2.82 is empty, not checked.
    ldconfig: File /usr/lib/libeo.so is empty, not checked.
    ldconfig: File /usr/lib/libbluetooth.so.3 is empty, not checked.
    ldconfig: File /usr/lib/libgstnetbuffer-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libBulletSoftBodySolvers_OpenCL_Mini.so.2.82 is empty, not checked.
    ldconfig: File /usr/lib/libephysics.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libLinearMath.so.2.82 is empty, not checked.
    ldconfig: File /usr/lib/libgstriff-0.10.so.0.25.0 is empty, not checked.
    ldconfig: File /usr/lib/libraw.so.10 is empty, not checked.
    ldconfig: File /usr/lib/libgstcdda-0.10.so.0.25.0 is empty, not checked.
    ldconfig: File /usr/lib/libefreet_trash.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libefreet.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libBulletSoftBody.so is empty, not checked.
    ldconfig: File /usr/lib/libecore_ipc.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libgstbase-0.10.so.0.30.0 is empty, not checked.
    ldconfig: File /usr/lib/libgstcontroller-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libeeze.so is empty, not checked.
    ldconfig: File /usr/lib/libHACD.so.2.82 is empty, not checked.
    ldconfig: File /usr/lib/libgstreamer-0.10.so.0.30.0 is empty, not checked.
    ldconfig: File /usr/lib/libgstsdp-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libluajit-5.1.so is empty, not checked.
    ldconfig: File /usr/lib/libgstriff-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libecore_evas.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_imf.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_audio.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_fb.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libgstrtp-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libemotion.so is empty, not checked.
    ldconfig: File /usr/lib/libgstcdda-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libeldbus.so is empty, not checked.
    ldconfig: File /usr/lib/libeo.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libgsttag-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libeina.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libXp.so.6 is empty, not checked.
    ldconfig: File /usr/lib/libgstcheck-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libgstinterfaces-0.10.so.0.25.0 is empty, not checked.
    ldconfig: File /usr/lib/libgstsdp-0.10.so.0.25.0 is empty, not checked.
    ldconfig: File /usr/lib/libgstcdda-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libephysics.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libemotion.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libbluetooth.so is empty, not checked.
    ldconfig: File /usr/lib/libecore_con.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_audio.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libgstnet-0.10.so.0.30.0 is empty, not checked.
    ldconfig: File /usr/lib/libecore_imf_evas.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libraw_r.so.10.0.0 is empty, not checked.
    ldconfig: File /usr/lib/libraw.so.10.0.0 is empty, not checked.
    ldconfig: File /usr/lib/libgstapp-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libBulletMultiThreaded.so.2.82 is empty, not checked.
    ldconfig: File /usr/lib/libGIMPACTUtils.so is empty, not checked.
    ldconfig: File /usr/lib/libethumb_client.so.1 is empty, not checked.
    ldconfig: File /usr/lib/libephysics.so is empty, not checked.
    ldconfig: File /usr/lib/libBulletXmlWorldImporter.so is empty, not checked.
    ldconfig: File /usr/lib/libgstreamer-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libgstapp-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libeio.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libecore_x.so is empty, not checked.
    ldconfig: File /usr/lib/libethumb_client.so.1.9.1 is empty, not checked.
    ldconfig: File /usr/lib/libgstsdp-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libgstbase-0.10.so is empty, not checked.
    ldconfig: File /usr/lib/libBulletCollision.so is empty, not checked.
    ldconfig: File /usr/lib/libgstfft-0.10.so.0.25.0 is empty, not checked.
    ldconfig: File /usr/lib/libgstreamer-0.10.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libBulletFileLoader.so is empty, not checked.
    ldconfig: File /usr/lib/libgstcheck-0.10.so is empty, not checked.
    what I have tried so far:
    pacman -Syyf <packagename> which tells me invalid option
    I tried -Ssy
    I am running arch linux 64bit on an HP pavillion g6?
    Last edited by RaptorAnon (2014-03-30 07:02:05)

    Kartious wrote:
    It is good to see your system working now, though I tend to frown against reinstalling the entire system. Fixing the issue though sometimes tedious and frustrating can be one of the best ways for you to learn about your system and a fresh install doesn't teach you anything (apart from learning the tools to install Arch better I guess..). Which in your case, some knowledge is much needed seeming that you were executing commands without even knowing what they even do...
    Gummiboot is just a bootloader and shouldn't effect any of the libraries listed in your first post so it is still unknown why this issue has happened. You didn't even mention anything you did previous to your error nor posted any logs so no one could help you properly.
    Anyhow if you feel your problem Is fixed, It would be great if you marked the thread as solved.
    It's alright I wanted to change the partition order anyway.
    nevertheless next time I will be sure to look into the problem further.

  • Why pacman do not prompt I have installed that package???

    I found that pacman do not prompt installed packages. It leads to reinstalling packages.
    It's a bad situation...

    The times I miss "--needed" as default option, is when I install groups where I already have installed some packages of this group. Every time I see myself starting pacman twice. First without and then with "--needed".
    I mean whenever I explicit say "pacman install foo" and I already have foo, I expect pacman to just install foo, as I know what I'm doing. Or maybe it should say "You already have foo, do you really want (Y/N)?". But when I install a group and there are single packages already installed, then I want pacman to just install the rest of the group, not the packages that I already have.
    I see that this is a break in consistency, but maybe its more that what the user wants. At least its more what I want
    Maybe it could just be solved with the silly question "foo, bar and something other are already installed, do you want do install them again (Y/N)?"

  • Can't update/search/install packages via pacman or yaourt

    Everything was fine until I manually installed package-query and yaourt and now I am unable to update/search/install packages via pacman or yaourt.
    Earlier I was having trouble installing the package-query and yaourt packges using pacman so had to install them manually and now it wont connect to the repos.
    My eth0 is up, the proxies are set, all browsers work so no problem from the network side.
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db' from mirror.us.leaseweb.net : Connection timed out after 10001 milliseconds
    error: failed retrieving file 'core.db' from mirror.nl.leaseweb.net : Connection timed out after 10001 milliseconds
    error: failed retrieving file 'core.db' from mirror.de.leaseweb.net : Connection timed out after 10001 milliseconds
    error: failed retrieving file 'core.db' from archlinux.polymorf.fr : Connection

    clfarron4 wrote:I usually advise against this (mainly because it's out-dated) but there is the [archlinuxfr] repository for installing yaourt, if you really insist on sticking with it. Once you're done, disable the repository though because everything except for yaourt is out-of-date by at least a month.
    Don't ever suggest that. The repo is 100% useless since it is trivial to install yaourt from aur. Also yaourt/package-query in that repo is often broken/outdated.
    Also it is not relevant to op's problem anyway. There were some routing issue to leseweb the other day, I also noticed it. Just switching mirror works fine.
    Last edited by Mr.Elendig (2013-09-04 13:37:49)

  • [SOLVED] pacman keeps trying to install 32bit packages on my 64bit OS

    Hi,
    I have just installed Arch linux first time (ISO as of 01 Nov). My OS should be 64bit (my hw is 64bit) but pacman fails on any package I try to install.
    Example
    $ pacman -S grub
    error: failed to prepare transaction (package architecture is not valid)
    :: package grub-1:2.02.beta2-5-i686 does not have a valid architecture
    So it tries to install 32bit package (and fails), but why?
    My system:
    $ uname -a
    Linux archiso 3.17.1-1-ARCH #1 SMP PREEMPT Wed Oct 15 15:04:35 CEST 2014 x86_64 GNU/Linux
    I checked /etc/pacman.conf:
    Architecture = auto
    and /etc/pacman.d/mirrorlist (the first three entries are shown; all of the mirrors have the same format):
    ## Score: 0.3, Germany
    Server = http://mirror.gnomus.de/$repo/os/$arch
    ## Score: 0.3, France
    Server = http://archlinux.polymorf.fr/$repo/os/$arch
    ## Score: 0.5, Netherlands
    Server = http://ftp.nluug.nl/os/Linux/distr/archlinux/$repo/os/$arch
    And it is not only grub, it is any package (e.g. gamin, lxde)
    Last edited by arthurdent84 (2014-12-03 14:59:34)

    Spider.007 wrote:What does pacman --debug tell you about 'arch:' (which is de detected architecture)?
    debug: config: arch: x86_64
    and of course the mirrors added look like this:
    debug: adding new server URL to database 'core': http://mirror.gnomus.de/core/os/x86_64

  • Can you auto install deps when using pacman -U package.tar.gz

    I have built a few packages from AUR on one of my systems. I would like to install those packages on other systems. pacman -U package.tar.gz will fail if there are unsatisfied dependencies. I have been using pacman -S --asdep dep1 dep2 ...  to install the dependencies. Then pacman -U completes successfully. 
    Is there some way to do this with a single command that I am looking over?

    Okay great. That will be a nice addition.
    I'm 2 days into Arch moving from Gentoo.  Not missing portage at all
    Thanks for the quick reply Allan!

  • "install recommended packages" equivalent in pacman?

    In ubuntu, apt-get has an option (enabled by default, much to my frustration) to install "recommended" or "suggested" packages when installing something from the repos, and I'm wondering if pacman does this as well? I'd like for a package manager to install only the required dependencies. Do I need to worry about this with pacman, and if so, how can I disable this feature? Thanks!

    As you said , Installing "recommended" packages by default goes against the minimalist design (e.g "aptitude install lxde" will install tons of packages including iceweasel) .
    pacman  supports "optional dependencies" . Luckily , those dependencies are only added for informational purposes and only installable explicitly* .
    * It's preferabl though to "pacman --asdeps <optional dependency>" . That way , the pseudo-dependency wouldn't show up in "pacman -Qe" .
    Edit : I should refresh bbs pages more often .
    Last edited by Nezmer (2009-10-02 18:42:29)

  • Pacman - install specific package versions

    I'm coming off Gentoo and would like to know how pacman enables me to install a specific version of a package.  With gentoo, if I wanted to stick with a certain version I could mask versions I did not want to install.  Can I do the same thing with Arch?

    @Jason: thanks for the tip, I hadn't thought of that tho I have used the pacman -U command to get yaourt.
    SamC wrote:It may also be rolling release, but it seems less focused on having the latest versions. It's goal, not having used it, seems to be a base for building what you need and then leaving it as-is until you want to upgrade.
    That's pretty accurate of the state of things if your on the stable branch of the portage tree (x86) (portage is similar to pacman, tho much more complex).  If your on unstable (~x86), the experience in regards to package updates is almost identical to Arch.
    If you want the latest packages on Gentoo, and still want your system to be highly reliable, the best way of doing that is to use the unstable branch and masking the core packages you don't want to be automatically upgraded, so you can upgrade them when your ready.  Examples are parts of the build toolchain, X, kernel, etc.
    Once you do that, just like with arch you can upgrade the entire system with one simple command "emerge -av world".  This looks very similar to using yaourt to install a package from AUR.
    Last edited by I.M.O.G. (2009-10-17 00:12:34)

  • Reinstalling all installed packages using pacman

    I feel my installation is corrupted .volcontrol muted on every boot,nautilus crashing,etc and more.
    So,I though of reinstalling whole Gnome-2.22
    I got below script somewhere in this forum or wiki maybe:but the script is erring out :?
    please help !
    pacman -S $(pacman -Qq | grep -v "$(pacman -Qmq)")
    and got the below error message
    error: no targets specified (use -h for help)
    Last edited by praka123 (2008-04-24 14:47:47)

    Run the command pacman -Qq and pacman -Qmq separately and try to find out why it breaks.
    pacman -Q displays all packages, pacman -Qm displays the packages that are not in any repos, that is the packages you installed manually == foreign packages. You can't reinstall these foreign packages with pacman -S by definition.
    So you have to filter them out of pacman -Q output.
    pacman -S $(pacman -Qq) fails here, because I have 3 foreign packages, but  pacman -S $(pacman -Qq | grep -v "$(pacman -Qmq)") works.

  • [SOLVED] Install multiple packages at once?

    Arch linux has by far the best documentation I've seen at this point and while I've read through the ABS section and the PACBUILDER section, I've not seen what I'm looking for.  Because of this, if its right in front of me, by all means, please point it out.
    Here's what I'm looking to accomplish:
    I'm running this on a simple notebook and I'm the only user so I don't really have any configurations that need be made on the fly later on, its pretty much just set it up the way I like it and that's that.  When I run a clean install, afterwards, I perform most of the steps outlined in the wiki's beginner's installation guide such as:
    install sudo, modify sudoers (using wheel group method)
    install x
    install nouveau and mesa
    install synaptic
    install dbus
    etc, etc, you get the point.
    Anyhow, instead of spending 2 hours (yes it takes me that long) typing pacman -S <package> to get everything installed and then spending the time to modify things like daemon array in rc.conf, etc...  is there some way I can compile a set of packages to be installed together?  for example, if I could package the above mentioned packages inside one package then just execute with pacman -U custompackage1.tar.gz that would be a good time saver especially if I reformat the hard disk and want to get everything back to my "base clean install" with all my base settings, programs, etc etc.
    I really hope this makes sense and that I didn't botch up my description of what I want to achieve.
    Thanks in advance!
    Last edited by shushu (2012-01-24 18:51:19)

    The easiest would probably be to keep a list of packages you want to install, update the fresh system first and then pipe your packages into pacman like this
    pacman -S $(<list)
    You can back up your config files (just tar them with full path) but I wouldn't recommend overwriting them blindly, as depending on the config file things may be slightly different on other hardware or you could miss some change in upstream config (pacnew etc).
    Last edited by hokasch (2012-01-24 14:27:43)

  • Can't install any media player - pacman can't find all the files

    I'm quite new to Linux. At the moment I can't view any videos or listen to music.
    I tried installing mplayer using pacman - several files downloaded successfully, I watched the progress bars... but others couldn't be found. When I try again using a different mirror, from the output you can see that pacman requests 36 installation files for mplayer but it can't locate 14 of them.
    I've tried three mirrors in the UK and one in Belgium. I get a similar problem trying to install VLC. Pacman has never failed me before, although admittedly last time I used him was to download firefox in December 2009.
    This is what I get if I try again to install mplayer now:
    pacman -S mplayer
    resolving dependencies...
    looking for inter-conflicts...
    Targets (36): libmad-0.15.1b-4 cdparanoia-10.2-2 sdl-1.2.14-1 lame-3.98.2-2
    libogg-1.1.4-1 libtheora-1.1.1-1 xvidcore-1.2.2-1
    libmng-1.0.10-2 scrnsaverproto-1.2.0-1 libxss-1.2.0-1
    libsasl-2.1.23-2 libldap-2.4.21-1 tdb-1.2.0-1 talloc-2.0.1-1
    smbclient-3.4.4-1 aalib-1.4rc5-6 flac-1.2.1-2
    libvorbis-1.2.3-1 libsndfile-1.0.21-1
    jack-audio-connection-kit-0.116.2-2 libid3tag-0.15.1b-3
    imlib2-1.4.2-3 libcaca-0.99.beta16-1 x264-20100107-1
    libmp4v2-1.6-1 faac-1.28-1 libftdi-0.16-1 lirc-utils-0.8.6-3
    libxvmc-1.0.5-1 recode-3.6-3 enca-1.12-1 libvdpau-0.3-2
    opencore-amr-0.1.2-1 a52dec-0.7.4-4 libdca-0.0.5-2
    mplayer-30325-1
    Total Download Size: 34.58 MB
    Total Installed Size: 126.33 MB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from extra...
    error: failed retrieving file 'lame-3.98.2-2-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
    error: failed retrieving file 'libmng-1.0.10-2-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
    error: failed retrieving file 'tdb-1.2.0-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
    error: failed retrieving file 'smbclient-3.4.4-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
    error: failed retrieving file 'jack-audio-connection-kit-0.116.2-2-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
    error: failed retrieving file 'libid3tag-0.15.1b-3-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
    error: failed retrieving file 'imlib2-1.4.2-3-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
    error: failed retrieving file 'libcaca-0.99.beta16-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
    error: failed retrieving file 'x264-20100107-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
    error: failed retrieving file 'libmp4v2-1.6-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
    error: failed retrieving file 'faac-1.28-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
    error: failed retrieving file 'enca-1.12-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
    error: failed retrieving file 'libvdpau-0.3-2-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
    error: failed retrieving file 'mplayer-30325-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
    warning: failed to retrieve some files from extra
    error: failed to commit transaction (Not Found)
    Errors occurred, no packages were upgraded.
    Confusingly, if I now try to clean up the mess and remove the mplayer files that I did download, I get:
    pacman -R mplayer
    mplayer not found, searching for group...
    error: 'mplayer': not found in local db
    Thanks for reading

    I am having the same or similar problem. I am unable to install vlc, ffmpeg, and several of their respective dependencies, with the same error
    [joshua@desktop ~]$ sudo pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    archlinuxfr is up to date
    :: Starting full system upgrade...
    there is nothing to do
    [joshua@desktop ~]$ sudo pacman -S ffmpeg
    resolving dependencies...
    looking for inter-conflicts...
    Targets (10): faad2-2.7-1 libmp4v2-1.9.1-1 faac-1.28-2 xvidcore-1.2.2-1 opencore-amr-0.1.2-1 libvdpau-0.4-1 orc-0.4.4-1
    schroedinger-1.0.9-1 libvpx-0.9.1-1 ffmpeg-23619-1
    Total Download Size: 3.35 MB
    Total Installed Size: 31.32 MB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from extra...
    error: failed retrieving file 'ffmpeg-23619-1-x86_64.pkg.tar.xz' from mirrors.easynews.com : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'ffmpeg-23619-1-x86_64.pkg.tar.xz' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'ffmpeg-23619-1-x86_64.pkg.tar.xz' from ftp.gtlib.gatech.edu : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'ffmpeg-23619-1-x86_64.pkg.tar.xz' from mirrors.hosef.org : Service not available, closing control connection
    error: failed retrieving file 'ffmpeg-23619-1-x86_64.pkg.tar.xz' from ibiblio.org : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'ffmpeg-23619-1-x86_64.pkg.tar.xz' from mirrors.xmission.com : File unavailable (e.g., file not found, no access)
    warning: failed to retrieve some files from extra
    error: failed to commit transaction (File unavailable (e.g., file not found, no access))
    Errors occurred, no packages were upgraded.
    Checking on the mirrors manually, I see that the package versions are incorrect. For example, http://www.archlinux.org/packages/extra/x86_64/ffmpeg/ has ffmpeg at version 23792-1 but pacman is looking for 23619-1.
    Any ideas?
    EDIT: this is an install from this morning, from the 2010.05 core disk. Post install, I ran pacman -Syu and then installed some packages without issue.
    Last edited by joshdmiller (2010-06-28 00:05:21)

Maybe you are looking for