Making Pacman find installed packages

Hi, I have recently built a LinuxFromScratch system.
When I finished, I looked at installing package managers, and eventually settled on pacman.
Everything built OK, updated with -Syu fine.
However when I go to install a package with pacman -S package, it tries to download all the necessary packages like linux-api-headers, glibc, bash, etc.
All the basic system packages I have already installed...
The install then fails because these packages already exist.
linux-api-headers: /usr/include/asm-generic/auxvec.h exists in filesystem
there is around 6000 lines of that.
Is there any way I can make pacman recognise these packages as installed?
Last edited by Wigguno (2010-11-29 02:51:11)

I think you are doing it wrong.... 
If you want to run LFS using pacman, you need to create the relevant packages yourself and then install them using pacman.  The first time will require you to "force" the installation of your packages over the LFS ones unless you prepare the package management back when you first enter your LFS chroot.  It can be done but is not entirely simple.
What you appear to be doing is grabbing packages from the Arch repos to install on your LFS system.  That is a really, really bad idea.  You either create your own (LFS) packages or install Arch,  Mixing is bad...
I highly recommend the "symlink" style package management system for LFS.  There are also scripts floating around that help you manage the symlinks so you can have the feeling of a package manager without really having one.   But I think you will soon find that maintaining a LFS system is not all it is cracked up to be and LFS is really just a learning tool.   
As an aside, Arch started as a LFS system and we tend to follow the fairly simple base setup that is used there.

Similar Messages

  • Using pacman to install packages into a seperate root

    After working with an Arch Linux machine for 1-2 years I switched jobs and was given a Mac, which I've enjoyed so far.
    I would, however, like to switch back to Arch Linux but there's something that I've been able to do on Mac OS X using its unofficial package manager Homebrew (http://mxcl.github.com/homebrew/) which I was wondering if it were possible with pacman.
    Typically you have one installation of Homebrew, at /usr/local, and by running 'brew' (/usr/local/brew) it knows that its root is at /usr/local & looks there for all dependencies & installs packages there. If, however, you install homebrew elsewhere (could be the first or a second installation), for instance ~/sw, then running brew from there will install packages in that root.
    I've found this very useful to install package specific to a project I'm working on (specific vendor & version of DB, specific web server etc) without having to install them globally on my system and at the same time without having to resort to installing everything by hand (including dipendencies).
    Is this possible with Pacman?
    Thanks in advance,
    Dale

    this wiki isn't entirely related, but can be helpful.
    https://wiki.archlinux.org/index.php/Ar … bit_System
    4. Sync pacman:
    pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/pacman.conf -Sy
    5. Install the base and optionally base-devel groups:
    pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/pacman.conf -S base base-devel

  • Pacman forgot installed packages

    When there was the bug with the libxfixes file, I uninstalled the whole Xorg package. But now i recognized, that pacman forgot all installed packages, what means i cant really upgrade my system. Is there a way to recover the database of installed packages? Or any other possible solution?
    greetz
    issue

    well, I cleared the local dir.
    I dunno exactly how i remoeved Xorg, but I think with -Rs.
    Then I reinstalled Xorg but found the problem again.  So i cleared all local pacman files, means I deleted the local folder  . I am now thinking about installing all the packages on the base CD.
    pacman -Syu updates the new installed files, which i installed since this mistake

  • Installed package

    Hi,
    How to find installed package in linux and its path.where the apache is located in linux.
    [root@server2 /]# httpd -v
    Server version: Apache/2.0.52 > where this information stored in linux
    Server built: Aug 31 2005 10:47:52
    how to find the location of Apache/2.0.52 i tried
    [root@server2 /]# which Apache/2.0.52
    /usr/bin/which: no 2.0.52 in (./Apache)
    [root@server2 /]# which Apache
    /usr/bin/which: no Apache in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
    [root@server2 /]#
    Edited by: user3266490 on Jul 8, 2009 6:40 AM
    Edited by: user3266490 on Jul 8, 2009 7:42 AM
    Edited by: user3266490 on Jul 8, 2009 7:43 AM

    I do not understand your question.
    the version of the apache server can be listed with httpd -vthe location of the apache server can be listed with which httpdthe rpm package which contains the httpd executable can be listed with rpm -qf `which httpd`

  • Pacman query - find a package containing a file [SOLVED 4 years ago]

    I spent 10 min in google trying to find out which arch package has the oggdec program.  I finally found it (vorbis-tools), but I was unable to do it with pacman.  I happened across this page for another distro and luckily, the arch package was named the same as the Debian package.
    How can I use pacman to find the vorbis-tool package knowing that I want to search for oggdec?  I read the pacman wiki article but didn't find what I'm looking for.
    Last edited by graysky (2013-11-22 10:49:51)

    graysky wrote:Same solution today as 4 years ago.
    Not exactly.
    Allan wrote:There is no feature in pacman to do that.  Install "pkgtools" and use the pkgfile script.
    dagelf wrote:
    # pacman -Ss pkg   
    ... Find the package. It's not called pkgfile.
    I think dagelf meant it's not called pkgtools.
    $ sudo pacman -S pkgtools
    error: target not found: pkgtools
    They are in the AUR now https://aur.archlinux.org/packages/pkgtools/ and pkgfile is a separate package.

  • Pacman -Ss dont find a package that actually exists -gstreamer0.10-mad

    Hi everyone. I'm new to Archlinux but not to Linux. I had problems to play mp3s on rhythmbox cause the appropiate gstreamer plugin to decode mp3 was not installed, so i search with pacman:
    pacman -Ss gstreamer
    . And it find some packages related to gstreamer but not gstreamer0.10-mad and some others like *-vorbis for instance. So i tried installing one by one gstreamer packages appearing in pacman results and openning rhythmbox to see if it works, but it didnt with some tries, so searching google realized that the package gstreamer0.10-mad was neccesary to play mp3s by gstreamer and installed it by pacman -S ... The thing is that when i need a new package or app but didnt know package's name, i obviously search it by pacman -Ss, but problems like this would make my mind to say that searched app or package doesnt exists in archlinux repositories.
    So, there's another pacman option to correctly do that?, or its just a bug with some packages?. Thanks a lot

    Nope.
    "Provides" here just means that the "gstreamer0.10-ugly-plugins" provides the same functionality as "gstreamer0.10-mad". When an application says "I need gstreamer0.10-mad", "gstreamer0.10-ugly-plugins" steps in and says "I can do everything that "...-mad" can do and more, use me instead.
    In your case you need certain libraries. Those libraries are in the "...-ugly-plugins" package. There is no way to search each package for every single library it contains without downloading it, but in this case because there's a "provides" line, pacman is able to figure out what will do what you need when you search for "...-mad" directly, even though there is no such package (nor group).
    I agree that you should be able to search for "provides" equivalents though.

  • Pacman finds repo and kdemod-* packages, but not kdemod itself?!

    Hi everyone! I couldn't find anyone with the same weird problem I have..
    I've done what was advised in http://www.archlinux.org/news/411/
    Due to a limitation in pacman's conflict checking and symbolic link resolution, the upgrade to klibc-1.5.14-1 requires manual removal of a symbolic link befole updating. Please run the command "rm /usr/lib/klibc/include/asm" as root to remove the symbolic link that will otherwise cause a few hundred false file conflicts.
    then, as root:
    Pacman -Suy,
    Pacman -Syy
    everything updated nicely, all repositories found and synced.
    then..
    # pacman -S kdemod
    kdemod package not found, searching for group...
    (huge list of kdemod* programs)
    install whole content? [Y/n]
    ..the whole content being over 1gb of mostly unnecessary kde-related programs so that couldn't be it.
    This is a fresh arch64 install, I haven't made any weird custom configurations. I've followed the kdemod site instructions and arch wiki faithfully, adding the x86_64 core repository to pacman.conf. Triple checked for typos.
    Pacman finds and installs nvidia, xorg and openbox without problems
    With kdemod3, kde, gnome and xfce4 it's the exact same behaviour as with kdemod.
    I don't understand why since "pacman -Sy" finds all necessary repos perfectly and even the individual bits for kdemod..
    ..halp!

    Ok I just retried that, xorg was actually not a package but a group just like you said - it was the first thing I installed so I didn't pay attention (d'oh).
    I'm writing this from another pc next to my laptop so I won't type in my whole pacman.conf.
    It's unchanged apart from adding:
    [kdemod-core]
    Server = http://mirror.rit.edu/kdemod/core/x86_64
    I've tried the other kdemod repositories as well so that can't be the problem, the [community] which kdemod needs is working too
    this is the output from pacman -S kdemod:
    kdemod package not found, searching for group...
    :: group kdemod (including ignored packages):
         kdemod-arxin  kdemod-kde-common  kdemod-kdeartwork-desktopthemes  kdemod-kdeartwork-emoticons
         ...etc etc etc... a full screen of kdemod-something..
         kdemod-kdeutils-kgrubeditor  kdemod-powerdevil   kdemod-shaman   qtmod
    :: install whole content? [Y/n]
    hmm.. this is weird, I just handpicked
    kdemod-kdebase
    kdemod-kdebase-runtime
    kdemod-kdebase-runtime-icons
    kdemod-kdebase-workspace
    to be installed and it says the installed size would be 750mb - even more than a complete kdemod install?!

  • [solved] Can pacman find out the dependence tree of a package ?

    like xfce4-session:
    ➜  Android  pacman -Qi xfce4-session
    Name           : xfce4-session
    Version        : 4.8.2-2
    URL            : http://www.xfce.org/
    Licenses       : GPL2
    Groups         : xfce4
    Provides       : None
    Depends On     : xfce4-panel  gconf  libgnome-keyring  libwnck  libsm  xorg-iceauth  upower  consolekit  hicolor-icon-theme
    Optional Deps  : fortune-mod: for xfce4-tips
    Required By    : None
    Conflicts With : None
    Replaces       : xfce4-toys
    Installed Size : 2556.00 K
    Packager       : Evangelos Foutras <[email protected]>
    Architecture   : i686
    Build Date     : Wed 02 Nov 2011 10:32:54 PM HKT
    Install Date   : Wed 07 Dec 2011 02:10:28 PM HKT
    Install Reason : Explicitly installed
    Install Script : Yes
    Description    : A session manager for Xfce
    I also want to know xfce4-panel depends on,. ... etc.
    only Use one cmd??
    Last edited by jinleileiking (2011-12-12 02:34:11)

    Hmm. Wouldn't be hard to script. Just recursively call "pacman -Qi <sub-packages>" based on the output of "pacman -Qi <package> | grep Depends" ...

  • My itunes wont update keeps saying find a alternate path to install package, my itunes wont update keeps saying find a alternate path to install package

    My itunes wont update it says i need to find a alternate path to install package but the package is not there

    Which particular .msi file does the message say cannot be found? (Several different .msi files might be mentioned in this context: itunes.msi, bonjour.msi, AppleSoftwareUpdate.msi, etc.)

  • Pacman isn't showing all the installed packages

    Hey guys!
    Since last week pacman isn't showing all the installed packages in my system. If I issue the command pacman -Q it just returns the following packages:
    a52dec 0.7.4-4
    acl 2.2.49-2
    alsa-lib 1.0.23-2
    atk 1.32.0-1
    attr 2.4.44-2
    avahi 0.6.28-1
    bash 4.1.009-3
    bzip2 1.0.6-1
    cairo 1.10.2-1
    cairo-perl 1.061-3
    compositeproto 0.4.2-1
    coreutils 8.10-1
    cracklib 2.8.18-1
    damageproto 1.2.1-1
    db 5.1.19-3
    dbus 1.4.1-1
    dbus-core 1.4.1-1
    desktop-file-utils 0.18-1
    e2fsprogs 1.41.14-1
    expat 2.0.1-6
    faac 1.28-2
    ffmpeg 20110121-2
    filesystem 2010.12-1
    findutils 4.4.2-3
    fixesproto 4.1.2-1
    fontconfig 2.8.0-1
    freetype2 2.4.4-2
    gcc-libs 4.5.2-6
    gdbm 1.8.3-8
    gdk-pixbuf2 2.22.1-1
    gettext 0.18.1.1-1
    glib-perl 1.223-2
    glib2 2.26.1-1
    glibc 2.13-1
    gmp 5.0.1-2
    gnutls 2.10.4-1
    gtk2 2.22.1-1
    gtk2-perl 1.222-2
    gzip 1.4-2
    heimdal 1.3.3-4
    iana-etc 2.30-1
    imagemagick 6.6.7.3-1
    inputproto 2.0.1-1
    kbproto 1.0.5-1
    lame 3.98.4-1
    lcms 1.19-1
    libarchive 2.8.4-2
    libcap 2.20-1
    libcups 1.4.6-1
    libdaemon 0.14-1
    libdatrie 0.2.4-1
    libdrm 2.4.23-1
    libdv 1.0.0-3
    libdvdread 4.1.3-2
    libfetch 2.33-1
    libgcrypt 1.4.6-1
    libgl 7.10-1
    libgpg-error 1.9-2
    libice 1.0.7-1
    libjpeg 8.3.0-1
    libldap 2.4.23-1
    libmp4v2 1.9.1-1
    libmpeg2 0.5.1-1
    libogg 1.2.2-1.1
    libpng 1.4.5-1
    libsasl 2.1.23-5
    libsm 1.2.0-1
    libtasn1 2.8-1
    libthai 0.1.14-1
    libtheora 1.1.1-1
    libtiff 3.9.4-1
    libtool 2.4-2
    libva 1.0.8-1
    libvdpau 0.4.1-1
    libvorbis 1.3.2-1
    libvpx 0.9.5-2
    libx11 1.4.1-1
    libxau 1.0.6-1
    libxaw 1.0.9-1
    libxcb 1.7-1
    libxcomposite 0.4.3-1
    libxcursor 1.1.11-1
    libxdamage 1.1.3-1
    libxdmcp 1.1.0-1
    libxext 1.2.0-1
    libxfixes 4.0.5-1
    libxft 2.2.0-1
    libxi 1.4.1-1
    libxinerama 1.1.1-1
    libxml2 2.7.8-1
    libxmu 1.1.0-1
    libxpm 3.5.9-1
    libxrandr 1.3.1-1
    libxrender 0.9.6-1
    libxt 1.0.9-1
    libxv 1.0.6-1
    libxxf86vm 1.1.1-1
    linux-api-headers 2.6.37-1
    lzo2 2.04-1
    mjpegtools 1.9.0-4
    ncurses 5.7-4
    opencore-amr 0.1.2-1
    openjpeg 1.3-3
    openssl 1.0.0.d-1
    orc 0.4.11-1
    pacman 3.4.3-1
    pacman-cage 2.9.8.2-4
    pacman-mirrorlist 20101223-1
    pam 1.1.3-1
    pango 1.28.3-1
    pango-perl 1.221-3
    pcre 8.12-1
    perl 5.12.3-1
    perl-anyevent 5.24-1
    perl-event 1.13-3
    perl-event-execflow 0.64-2
    perl-gtk2-ex-formfactory 0.66-2
    perl-libintl-perl 1.20-2
    pixman 0.20.2-1
    popt 1.16-3
    randrproto 1.3.2-1
    readline 6.1.002-2
    renderproto 0.11.1-1
    schroedinger 1.0.10-1
    sdl 1.2.14-6
    shadow 4.1.4.2-4
    shared-mime-info 0.90-1
    sqlite3 3.7.5-1
    tar 1.25-1
    texinfo 4.13a-5
    transcode 1.1.5-5
    tzdata 2010o-1
    util-linux-ng 2.18-4
    videoproto 2.3.1-1
    x264 20110115-1
    xcb-proto 1.6-2
    xextproto 7.1.2-1
    xf86vidmodeproto 2.3.1-1
    xineramaproto 1.2.1-1
    xproto 7.0.20-1
    xvidcore 1.2.2-1
    xz 5.0.1-1
    zlib 1.2.5-3
    Here you can see a shot of my /var/lib/pacman/local directory, containing just a few directories related to the packages above.
    I have a lot more installed in my system, eg. the holl KDE system.
    Is there a command/workaround to make these missing packages appear again in pacman?!
    Thanks in advance.
    Last edited by estevao (2011-02-11 17:29:52)

    Spider.007 wrote:
    Leonid.I wrote:
    mcmillan wrote:You probably can do some searching to track it down (or rewrite something similar if you know how) prior to going through with a complete reinstall.
    ... which (complete reinstall) will be required with high probability, since all the solutions proposed above will most likely break the system
    Arch Linux is more than just GNU/Linux -- it's an adventure
    I think your signature is either too sarcastic, or too much in contrast with what you are posting here. A damaged database is really no big deal, and the only things that the proposed solutions attempt to do is that pacman re-installs a package (which changes close to nothing in your actual installation) and then write that update to its database.
    I do not agree with your statement that the probability of a required reinstall are high. Actually, I would say they are pretty low
    There is nothing sarcastic about my sig. Indeed, what would be the fun of using a system, which never breaks?
    Regarding the probability of a reinstall either my opinion, or yours is irrelevant for the topic of this discussion.
    Finally, I would like to draw your attention to the little thingie in the end of my post: ":)" . It's called smiley and was  put there for a reason, you know...

  • 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 unable to install packages due to invalid or corrup...

    Hullo,
    I know this is a common error judging by the results google lists for that subject. But all sollutions I found don't work for my specific case.
    My battery died on my laptop and when I rebooted and tried to install a package pacman complained the database was locked (can't remember if I was installing something or else while my battery died, happend while I was away).
    So since I've just rebooted I deleted the lock-file by hand. Now when ever I tried to install something it would complain:
    error: xyz: signature from "xyz @ zyx" is unknown trust
    :: File /var/cache/pacman/pkg/packagexyz.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n] y
    error: failed to commit transaction (invalid or corrupted package (PGP signature))
    So I removed /etc/pacman.d/gnupg, cleared the package-cache and ran pacman-key --init:
    gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
    gpg: no ultimately trusted keys found
    gpg: Generating pacman keyring master key...
    gpg: key B99666F8 marked as ultimately trusted
    gpg: Done
    ==> Updating trust database...
    gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
    gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
    followed by pacman-key --populate archlinux:
    ==> Appending keys from archlinux.gpg...
    gpg: no valid OpenPGP data found.
    ==> Updating trust database...
    gpg: no need for a trustdb check
    and pacman-key --refresh-keys:
    gpg: refreshing 1 key from hkp://pool.sks-keyservers.net
    gpg: requesting key B99666F8 from hkp server pool.sks-keyservers.net
    gpgkeys: key AA3E1E751B31AB9C2E6CDA64F2A911E7B99666F8 can't be retrieved
    gpg: no valid OpenPGP data found.
    gpg: Total number processed: 0
    ==> ERROR: A specified local key could not be updated from a keyserver.
    It looks like it's not doing much. Anyway, trying to install packages or upgrading the system results in me having to import a bunch of keys and then failing with the before mentioned error.
    Anything I can do?
    Thanks
    Last edited by hachel (2014-02-24 11:50:56)

    Rexilion wrote:Reinstall archlinux-keyring maybe? And then perform the commands you listed earlier.
    Worked, thank you!

  • Find all packages that are in cache but not installed? [solved]

    Is this possible?  Basically, I copied over my /var/cache/pacman/pkg from another machine to a fresh install to save re-downloading 1+ gigs of packages.  Can pacman compare the installed packages to those in cache so I can see what I forget to install on the new machine (I got most of them)!
    Last edited by graysky (2009-08-23 09:43:41)

    The answer to your question is probably something along the lines of:
    for pkg in /var/cache/pacman/pkg/*$(uname -m).pkg.tar.gz; do [[ -e /var/lib/pacman/local/$(basename ${pkg%-*}) ]] || echo $(basename $pkg); done
    However, I'd suggest another approach. Create a list of explicitly installed packages on both systems and compare them.
    To generate a list of explicitly installed packages you can use (on each machine):
    pacman -Qeq >packages
    And then you can easily compare the two lists with:
    diff -up packages1 packages2

  • Are others finding AAMEE 3.0 install packages failing on Macs

    I'm able to create install packages with AAMEE 3.0 without issue.  However, when I go to install the packages on machines (so far, through no automated process), I get an "The installation failed" screen.

    To continue on w/ the original question/problem, I've been having issues, too.  After making my package, I see 2 types of failures.  One has the installer pausing at about 1/8 or so in the progress and the time remaining increases.  This never clears out and you have to force quit the installer.  I've let it sit there and have it climb it to over an hour w/o the progress bar moving.  The other problem involves the failed install which will happen within about 7-10 seconds.  It will go through the progress bar quickly and finish w/ a failed install message.  My packages do have the  "Ignore conflicting process" box checked. 
    One thing I noticed that helped me get around this 7-10 second failed install this morning did not make sense to me.  I did 3 machines w/ the Photoshop CS6 package I created by copying the package over ARD to the desktop of the machine and running it.  The 4th machine I copied the same package off of a local server and it would repeatedly fail during the installation (7-10 second failure).  Finally when I copied it via ARD and running it, it did work.  Anybody ever see this?  I'm not doing the ARD Install package feature.  Just a copy.
    Also, any clue on my first type of failure w/ stuck installer?
    Thanks!

  • Where can I find the quick install package for EBS extensions for Endeca?

    I want to install EBS extension for Oracle Endeca 12.1.3.4.
    Where can I find the quick install package in the edelivery.oracle.com site? Which Product Pack should I select in the site?

    If you're getting a "This update requires Mac OS X version 10.7" message, than you have the updater and not the full installer. Go to your Purchases section of the Mac App Store and you should see the full version there. But it may be 10.7.5, though in my system is shows as being from 2011 which would appear to be the original version.
    As to Mountain Lion, that's supported only on the Early 2008 Mac Pro or newer.
    Regards.

Maybe you are looking for

  • Number of rows displayed per page in an interactive report

    Hi, I'd like to know if it's possible to change the values of the select list called 'Rows' in an interactive report (which is displayed in the search bar). Indeed, I want to display 16 rows per page and I can only choose among the values 1, 5, 10, 1

  • Want to change share everything plan, but have a conundrum.

    I went into a Verizon store a couple of months ago to buy a smartphone. First time dealing with Verizon so they ask me what I am looking for and what kind of data I want to be allowed. After telling them what I wanted (unlimited talk and text, 1GB of

  • Jheadstart will be integrated into Jdev 9.0.5

    In JHeadstart new feature direction, it will be integrated into Jdeveloper 9.0.5, that is when Jdeveloper released all body needn't to buy standalone JHeadstart like now. Is this thinking right or wrong ?

  • CS3 bugs fixed for intel macs?????????

    CS2 when it came out was not designed for the Intel processor so there was problems until adobe managed to iron out the problems. The only issue is CS2 the performance is not as great as it should be due to this. Is CS3 fully compatible with Intel ma

  • Safari: Pictures appear too dark

    In Safari 8.0 on OS X 10.10.1 often the pics on a page are shown darker as in other browsers. These pics compare Safari and Firefox 33.1. Why is that?