Check installed packages integrity? [Solved - script inside]

Hi,
is it possible to check installed packages for integrity - i.e. missing/changed files, etc. I looked at pacman man, but found nothing ...
Last edited by drakosha (2007-06-18 17:53:24)

klixon wrote:I guess it uses a directory name for empty directories that are required, so the [ ! -d ] check is still valid...
Oh no, finally it's a little bug in pacman (src/pacman/package.c)
225 if(!stat(path, &buf) && S_ISDIR(buf.st_mode)) {
226 /* if we stat it and it is a dir, don't print */
227 } else {
228 fprintf(stdout, "%s %s\n", pkgname, path);
229 }
If a directory doesn't exist, or is only readable by root, it can't stat it and detect it's a directory, so it'll print it
As root, the only directory it prints is the one which doesn't exist, ie /tmp/ttf-ms-fonts/
because of the special status of the ttf-ms-fonts package.
And as user, it also prints /var/spool/cups/tmp/ , because it doesn't have the right to stat it I guess.
I'm glad i'm doing the opposite of what you're trying to do... That looks a bit more hairy.
lol indeed, that's why I gave up

Similar Messages

  • Checking installed packages and kernals on linux

    what are the commands to check
    checking installed packages and kernals on linux?

    According to http://download-uk.oracle.com/docs/html/A96167_01/pre.htm#sthref106,
    uname -a should give you your kernel version.
    rpm -q should list all installed packaged with RPM.
    (see http://www.die.net/doc/linux/man/man8/rpm.8.html)
    Message was edited by:
    Pierre Forstmann

  • Pacman "hangs" at checking package integrity(Solved corrupt download)

    Pacman -Syu downloaded the following packages but hangs at "checking package integrity"
    [root@n6re ~]# pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    Targets (20): apr-1.3.9-1  db-4.8.24-1  apr-util-1.3.9-3  python-2.6.3-1
                  dbus-python-0.83.0-2.1  gavl-1.1.1-2  perl-5.10.1-3
                  groff-1.20.1-3  heimdal-1.2.1-7  libical-0.44-1  libmtp-0.3.7-1.1
                  libsasl-2.1.23-2  pam-1.0.4-2  qt-4.5.3-2  rdesktop-1.6.0-3
                  redland-1.0.9-4  soprano-2.3.1-1  subversion-1.6.5-5
                  system-config-printer-common-1.1.13-1  vorbis-tools-1.2.0-4
    Total Download Size:    0.00 MB
    Total Installed Size:   286.37 MB
    Proceed with installation? [Y/n] y
    checking package integrity...
    This printout resulted after canceling the download and restarting pacman -Syu.  Thus the same failure occurs after the original download failure of the same type.
    What causes this failure mode?
    Last edited by lilsirecho (2009-10-04 22:19:44)

    whoops wrote:
    Mine took a whole 10 minutes to spit out...:
    checking package integrity...
    :: File go-openoffice-3.1.1.3-1-x86_64.pkg.tar.gz is corrupted. Do you want to delete it? [Y/n]
    ... today.
    I guess, this shouldn't happen... but then again, I guess, I really really shouldn't have the machine hibernate while pacman is downloading .
    No it should not happen, this is the same bug.
    I guess either when you suspended or resumed, your network was down at some point, so libfetch returned -1 and triggered the infamous pacman bug.
    See http://bbs.archlinux.org/viewtopic.php? … 92#p633292

  • Installed Package Integrity Checker

    I finally got around to learning python...great language btw, and I decided to try a small project that took me a half a day, but probably would have taken some guru 5 minutes flat, as a test program. What this does is parse /var/lib/pacman/local/*/files and check to make sure that everything it finds listed still exists on your system, it outputs anything that it didnt manage to read, and the package that owns it.
    Please try it out and send comments/tips/criticisms/etc..
    http://neotuli.dyndns.org/arch/pkginteg.py
    Thanks

    Looks alright to me... you probably didn't have to use os.walk though.  An os.listdir would have been just as good (you already know that there will be a files file in each directory).
    Alternately, you could look at the pacman module that's included with namcap.  It can load package information from places like /var/lib/pacman/local.

  • Checking installed packages

    Is there a utility to get pacman to synchronise its database with packages that are actually installed?
    I've recently reinstalled Arch but kept the previous /var partition.  Consequentially, pacman thinks packages are installed when they're not which leads to apps sometimes failing to run.  Reinstalling the app is not necessarily successful,  as package dependancies may not be met for similar reasons.
    Is a complete Arch reinstallation the only way to solve this issue?

    Dusty wrote:[..]... Penguin will show up with bash magic..[...]
    BAM!
    #!/bin/bash
    pacman -Q | cut -d' ' -f1 | paste -s | sed 's|s| |g' >filelist
    for e in `cat filelist`; do
    search=`find /var/abs/ -type d -name $e`
    [ ! -z $search ] && echo $e >>doable
    done
    pacman -Sy --noconfirm `cat doable`
    make sure you have an abs tree on your system...

  • Retrieve source for installed package: apache [SOLVED]

    i am using CPAN shell to build the mod_perl dependency Apache::Registry and it is asking for the apache source.  i need the source for apache 2.2.11-3, obviously could be gotten from apache.org but its more robust if pacman or abs can just check the pkgbuild for the version of apache that was compiled into the package that i got via pacman. 
    yeah i tried
    $ yaourt -Sy mod_perl
    and followed the steps at http://perl.apache.org/docs/1.0/guide/g … erl_Server
    under "Configuring and starting the mod_perl server" but it broke httpd.conf according to /var/log/httpd/error_log
    Last edited by poopship21 (2009-08-02 17:15:52)

    first of all let me say that there is obviously something else going on here because the first thing i did was change "PerlSendHandler" to "PerlSendHeader" and run "sudo /etc/rc.d/httpd restart".  no matter what i still got this:
    syntax error on line 492 of /etc/httpd/conf/httpd.conf:
    Invalid command 'PerlSendHandler', perhaps misspelled or defined by a module not included in the server configuration
    [Fri Jul 31 15:24:37 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:37 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:24:40 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:40 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:24:44 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:44 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:24:45 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:45 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:24:46 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:46 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:32:35 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:32:35 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...

  • Weird Message After Updating or Installing Packages. [SOLVED]

    Whever I install or update a package, or packages, on my system, I always get the following message when everything is done being installed:
    /sbin/ldconfig: file /usr/lib64/libamdcaldd.so is truncated
    Why would this be and how can I fix it?  It just recently started (maybe 5 days ago).  I'm sorry I can't tell you what packages I upgraded or how I changed my system when it started happening.
    Last edited by hank863 (2009-02-25 22:07:26)

    Thank you for your reply.  I decided to take the risky approach a couple days ago and just go ahead and delete the file.  I've had no problems   Thanks again, everyone, for your responses.
    Last edited by hank863 (2009-02-25 22:06:49)

  • Error in installing packages during jumpstart

    The machine I am installing via jumpstart is on a terminal server and I am connected to ttya. I am seeing these errors in the log:
    ## Executing postinstall script.
    pkgadd: ERROR: freopen(/dev/tty, "a", stdout) failed, errno=6
    pkgadd: ERROR: postinstall script did not complete successfully
    and I am told the installation failed with an error code of 1 which, according to the pkgadd man page it a fatal error.
    When I do a pkginfo -l on the package it appears that the package is there. Is this something to worry about?
    If it means anything, this is the java 1.4.2_02 packages.
    Kent

    You might want to redirect stdout & stderr to /dev/null while installing packages via run-scripts (I'm assuming that 's the case).
    So, when you're doing the pkgadd, do it like this:
    echo y|pkgadd -a ${MD_PRODUCT}/admin -d `pwd` SUNWmdr > /dev/null 2>&1
    Here I'm trying to install a disksuite pkg as a post-install and it givees me the same error messages that you get if I don't redirect 2>&1 to /dev/null
    HTH     

  • [SOLVED] script to backup installed packages

    Hi guys,
    I know it should be easy, but I keep failing...
    I can generate the list of installed packages with:
    comm -23 <(pacman -Qeq|sort) <(pacman -Qmq|sort) > pkglist.txt
    and I woudl like to integrate into my backup script.
    I was testing it with a script with only two lines:
    #! /bin/bash
    comm -23 <(pacman -Qeq|sort) <(pacman -Qmq|sort) > pkglist.txt
    but I get:
    mkpklist: line 3: syntax error near unexpected token `('
    mkpklist: line 3: `comm -23 <(pacman -Qeq|sort) <(pacman -Qmq|sort) > pkglist.txt '"
    I tried different options with brackets in different places, but me being useless with these things I have no idea of what I am doing...
    could anyone point me in the right direction?
    Thanks a lot
    M
    Last edited by mcarni (2013-01-09 22:26:34)

    @mcarni, you know that when you use "sh <script>" you are specifying sh as the shell the script will be run with.  In otherwords, you are overriding the shebang (#!/bin/bash) with /bin/sh.  On our systems, we actually don't have an actual /bin/sh, as it is a symlink to bash.  But when it is called via that symlink, it actually does its best to act like the old bourne shell.

  • Checking package integrity... corrupted [ SOLVED ]

    I got this error,
    checking package integrity...
    error: archive flac-1.1.4-1.pkg.tar.gz is corrupted
    archive flac-1.1.4-1.pkg.tar.gz is corrupted
    prompt#
    What can I do ?
    I got this while running pacman -Syu  Can I do pacman -Syu  "minus flac" ?
    Last edited by go4it (2007-03-28 20:09:00)

    lucke wrote:rm /var/cache/pacman/pkg/flac-1.1.4-1.pkg.tar.gz and run pacman again.
    Good to remember should I have this problem again
    Many thanks !

  • [SOLVED] Unable to install packages in lxc container

    tl;dr: lxc-console should be used for logging in, not lxc-attach. Also, I had to do some additional work to get the tty to work in systemd, and I plan to update the wiki soon.
    I created a container using the following command:
    # lxc-create -n test -t archlinux
    Once created and configured, I started the container daemonized, and attached:
    # lxc-start -n test -d
    # lxc-attach --clear-env -n test -- su - root
    However, I am unable to install any software packages because GPG isn't working properly
    [root@test ~]# pacman -Syu openssh
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    multilib is up to date
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    Packages (3): ldns-1.6.17-1 libedit-20130601_3.1-1 openssh-6.5p1-2
    Total Installed Size: 6.08 MiB
    :: Proceed with installation? [Y/n]
    (3/3) checking keys in keyring [###########################] 100%
    (3/3) checking package integrity [###########################] 100%
    error: GPGME error: Inappropriate ioctl for device
    error: GPGME error: Inappropriate ioctl for device
    error: GPGME error: Inappropriate ioctl for device
    error: libedit: missing required signature
    :: File /var/cache/pacman/pkg/libedit-20130601_3.1-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    error: ldns: missing required signature
    :: File /var/cache/pacman/pkg/ldns-1.6.17-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    error: openssh: missing required signature
    :: File /var/cache/pacman/pkg/openssh-6.5p1-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    error: failed to commit transaction (invalid or corrupted package (PGP signature))
    Errors occurred, no packages were upgraded.
    error: segmentation fault
    Please submit a full bug report with --debug if appropriate.
    The container config is as follows:
    lxc.utsname=test
    lxc.autodev=1
    lxc.tty=1
    lxc.pts=1024
    lxc.rootfs=/var/lib/lxc/test/rootfs
    lxc.mount=/var/lib/lxc/test/fstab
    lxc.cap.drop=mknod sys_module mac_admin mac_override
    lxc.kmsg=0
    lxc.stopsignal=SIGRTMIN+4
    #networking
    lxc.network.type=veth
    lxc.network.link=br0
    lxc.network.flags=up
    lxc.network.name=eth0
    lxc.network.ipv4=10.10.209.2/24
    lxc.network.ipv4.gateway=10.10.209.1
    lxc.network.mtu=1500
    #cgroups
    lxc.cgroup.devices.deny = a
    lxc.cgroup.devices.allow = c *:* m
    lxc.cgroup.devices.allow = b *:* m
    lxc.cgroup.devices.allow = c 1:3 rwm
    lxc.cgroup.devices.allow = c 1:5 rwm
    lxc.cgroup.devices.allow = c 1:7 rwm
    lxc.cgroup.devices.allow = c 1:8 rwm
    lxc.cgroup.devices.allow = c 1:9 rwm
    lxc.cgroup.devices.allow = c 1:9 rwm
    lxc.cgroup.devices.allow = c 4:1 rwm
    lxc.cgroup.devices.allow = c 5:0 rwm
    lxc.cgroup.devices.allow = c 5:1 rwm
    lxc.cgroup.devices.allow = c 5:2 rwm
    lxc.cgroup.devices.allow = c 136:* rwm
    Has anyone else experienced this? I've searched the web for solutions to the GPG error, and most of them relate to GPG not working in a chroot because the right things don't exist in /dev. However, I was under the impression that lxc.autodev=1 would take care of this, and indeed /dev/pts, etc. all exist in the container.
    Last edited by archtaku (2014-02-07 23:19:12)

    x33a wrote:
    Try
    # pacman-key --refresh-keys
    from within the container. Though, I do notice a segmentation fault, so I am not sure if it'll work.
    I just did this, and the command succeeded:
    gpg: refreshing 75 keys from hkp://pool.sks-keyservers.net
    gpg: requesting key 5263801D from hkp server pool.sks-keyservers.net
    gpg: requesting key FFF979E7 from hkp server pool.sks-keyservers.net
    gpg: requesting key CDFD6BB0 from hkp server pool.sks-keyservers.net
    gpg: requesting key 4C7EA887 from hkp server pool.sks-keyservers.net
    ... snip ...
    gpg: Total number processed: 74
    gpg: unchanged: 74
    However, the installation still failed.
    I was able to get pacman to install openssh by turning off signature verification. I then ssh'ed into the container, turned signature verification back on, and was able to install other packages just fine.
    So the issue seems to be with how lxc-attach connects to the container. A temporary solution would be:
    Add openssh to the list of packages installed when running lxc-create.
    # lxc-create -n test -t archlinux -- -P vim,openssh
    Attach to the container and run systemctl enable sshd.service, and set a root password
    Detach, then ssh into container and go about your business.
    However, I'd rather have the option of not using sshd on the container, and still be able to install packages, so I don't necessarily consider this problem solved yet.
    Can anyone shed some light on what I might be doing wrong when I attach to the container?
    Last edited by archtaku (2014-02-07 16:46:52)

  • [SOLVED] gotmail. cant install package

    Hi i want to download my hotmail mails to close that account, but find myself unable to install gotmail, any ideas?
    Thanks!
    [aleyscha@aleyscha ~]$ yaourt -S gotmail
    ==> Continue the building of 'gotmail'? [Y/n]
    ==> ----------------------------------------------
    ==>
    ==> Building and installing package
    ==> Making package: gotmail 0.9.0-2 (Fri Jan 25 08:38:31 PST 2008)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Found gotmail-0.9.0.tar.bz2 in build dir
    ==> Validating source files with md5sums...
    gotmail-0.9.0.tar.bz2 ... Passed
    ==> Extracting Sources...
    -> bsdtar -x -f gotmail-0.9.0.tar.bz2
    gotmail-0.9.0/COPYING: Can't create 'gotmail-0.9.0/COPYING': Permission denied
    gotmail-0.9.0/Makefile: Can't create 'gotmail-0.9.0/Makefile': Permission denied
    gotmail-0.9.0/VERSION: Can't create 'gotmail-0.9.0/VERSION': Permission denied
    gotmail-0.9.0/gotmail.spec: Can't create 'gotmail-0.9.0/gotmail.spec': Permission denied
    gotmail-0.9.0/gotmail.1.gz: Can't create 'gotmail-0.9.0/gotmail.1.gz': Permission denied
    gotmail-0.9.0/gotmail.man: Can't create 'gotmail-0.9.0/gotmail.man': Permission denied
    gotmail-0.9.0/gotmail: Can't create 'gotmail-0.9.0/gotmail': Permission denied
    gotmail-0.9.0/ChangeLog: Can't create 'gotmail-0.9.0/ChangeLog': Permission denied
    gotmail-0.9.0/README: Can't create 'gotmail-0.9.0/README': Permission denied
    gotmail-0.9.0/sample.gotmailrc: Can't create 'gotmail-0.9.0/sample.gotmailrc': Permission denied
    gotmail-0.9.0/gotmail4evolution: Can't create 'gotmail-0.9.0/gotmail4evolution': Permission denied
    bsdtar: Error exit delayed from previous errors.
    ==> ERROR: Failed to extract gotmail-0.9.0.tar.bz2
    Aborting...
    Error: Makepkg was unable to build gotmail package.
    Last edited by leo2501 (2008-01-25 22:59:44)

    solved!! i download GetLive and is retrieving all my messages! what a wonderful script here it is:
    http://sourceforge.net/projects/getlive/
    Now i can close that damn account

  • Uhh please Help me install packages =[ [SOLVED]

    ok im running arch 2007, the newest, and im basically an arch n00b. I've been using linux for years, but never came across this error ....(while trying to install banshee, amarok,totem....)
    [anthony@Barton ~]$ sudo pacman -S totem
    warning: current locale is invalid; using default "C" locale
    resolving dependencies... done.
    looking for inter-conflicts... done.
    Targets: pcre-7.3-2 glib2-2.14.1-1 gstreamer0.10-0.10.14-1 liboil-0.3.12-1
    gstreamer0.10-base-0.10.14-1 gstreamer0.10-good-0.10.6-1
    libidl2-0.8.9-1 orbit2-2.14.9-1 gconf-2.18.0.1-4
    gstreamer0.10-gconf-0.10.6-1 gcc-libs-4.2.1-2 libdaemon-0.12-1
    nss-mdns-0.10-1 avahi-0.6.20-1 gnome-mime-data-2.18.0-3
    gnome-vfs-2.18.1-2 totem-plparser-2.18.3-1 libgnomecanvas-2.14.0-2
    libbonobo-2.18.0-2 libgnome-2.18.0-2 libbonoboui-2.18.0-2
    gnome-keyring-0.8.1-2 libgnomeui-2.18.1-2 gnome-desktop-2.18.3-1
    totem-2.18.3-1
    Total Package Size: 16.23 MB
    Proceed with installation? [Y/n] y
    checking package integrity... done.
    cleaning up... done.
    (25/25) checking for file conflicts [#######################] 100%
    error: could not prepare transaction
    error: failed to commit transaction (conflicting files)
    gcc-libs: /usr/lib/libgcc_s.so exists in filesystem
    gcc-libs: /usr/lib/libgcc_s.so.1 exists in filesystem
    gcc-libs: /usr/lib/libgomp.a exists in filesystem
    gcc-libs: /usr/lib/libgomp.so exists in filesystem
    gcc-libs: /usr/lib/libgomp.so.1 exists in filesystem
    gcc-libs: /usr/lib/libgomp.so.1.0.0 exists in filesystem
    gcc-libs: /usr/lib/libgomp.spec exists in filesystem
    gcc-libs: /usr/lib/libmudflap.a exists in filesystem
    gcc-libs: /usr/lib/libmudflap.so exists in filesystem
    gcc-libs: /usr/lib/libmudflap.so.0 exists in filesystem
    gcc-libs: /usr/lib/libmudflap.so.0.0.0 exists in filesystem
    gcc-libs: /usr/lib/libmudflapth.a exists in filesystem
    gcc-libs: /usr/lib/libmudflapth.so exists in filesystem
    gcc-libs: /usr/lib/libmudflapth.so.0 exists in filesystem
    gcc-libs: /usr/lib/libmudflapth.so.0.0.0 exists in filesystem
    gcc-libs: /usr/lib/libssp.a exists in filesystem
    gcc-libs: /usr/lib/libssp.so exists in filesystem
    gcc-libs: /usr/lib/libssp.so.0 exists in filesystem
    gcc-libs: /usr/lib/libssp.so.0.0.0 exists in filesystem
    gcc-libs: /usr/lib/libssp_nonshared.a exists in filesystem
    gcc-libs: /usr/lib/libstdc++.a exists in filesystem
    gcc-libs: /usr/lib/libstdc++.so exists in filesystem
    gcc-libs: /usr/lib/libstdc++.so.6 exists in filesystem
    gcc-libs: /usr/lib/libstdc++.so.6.0.9 exists in filesystem
    gcc-libs: /usr/lib/libsupc++.a exists in filesystem
    gcc-libs: /usr/share/locale/de/LC_MESSAGES/libstdc++.mo exists in filesystem
    gcc-libs: /usr/share/locale/fr/LC_MESSAGES/libstdc++.mo exists in filesystem
    errors occurred, no packages were upgraded.
    any ideas.... this is semi-urgent.. thanks
    -AnthonyClark
    Last edited by anthonyclark (2007-10-08 19:20:43)

    first off set locale
    /etc/locale.gen
    uncomment your choice save changes run
    locale-gen
    try
    pacman -Sy totem
    as last resort
    pacman -Sf totem

  • [SOLVED] install package from aur via yaourt

    Hi,
    i installed yaourt and tried to install from the aur.
    it keeps asking me to continue bulding and then restart building. it just wont install any packages.
    for none-aur packages it works fine btw.
    any help?
    alex
    Last edited by alext (2011-10-11 23:13:53)

    me too and it didnt.
    [xxx@xxx pcmanfm-mod]$ yaourt ntfs-config
    1 aur/ntfs-config 1.0.1-7 (200)
    Enable/disable NTFS write support with a simple click
    ==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
    ==> -------------------------------------------------------
    ==> 1
    ==> Downloading ntfs-config PKGBUILD from AUR...
    x PKGBUILD
    x python-2.7.patch
    Comment by: loleg on Sat, 25 Jun 2011 10:07:14 +0000
    Compiles installs OK using yaourt, however does not work on my up-to-date system with the issue discussed here: http://ubuntuforums.org/archive/index.php/t-1497399.html
    Comment by: jlcordeiro on Mon, 27 Jun 2011 08:56:12 +0000
    Can you check if:
    sudo mkdir /etc/hal/fdi
    sudo touch /etc/hal/fdi/policy
    solves the problem?
    Comment by: mr430 on Tue, 04 Oct 2011 15:56:44 +0000
    jlcordeiro, same problem and making /etc/hal/fdi directory solve it, thanks
    Comment by: jlcordeiro on Sat, 08 Oct 2011 08:17:08 +0000
    Updated with the solution to the mentioned problem.
    Comment by: archdria on Tue, 11 Oct 2011 12:04:43 +0000
    Please, add perl-xml-parser as makedep :)
    Comment by: jlcordeiro on Tue, 11 Oct 2011 21:36:05 +0000
    Done. Thank you :)
    First Submitted: Fri, 19 Jan 2007 21:10:44 +0000
    ntfs-config 1.0.1-7
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> ntfs-config dependencies:
    - python2 (already installed)
    - pygtk (already installed)
    - udev (already installed)
    - ntfs-3g (already installed)
    - perl-xml-parser (already installed)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'core' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'extra' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community-testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'multilib' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    ==> Continue building ntfs-config ? [Y/n]
    ==> -------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for ntfs-config:
    Password:
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'core' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'extra' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community-testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'multilib' not recognized.
    error: target not found: recognized.
    ==> Restart building ntfs-config ? [y/N]
    ==> ------------------------------------
    ==>
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> ntfs-config dependencies:
    - python2 (already installed)
    - pygtk (already installed)
    - udev (already installed)
    - ntfs-3g (already installed)
    - perl-xml-parser (already installed)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'core' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'extra' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community-testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'multilib' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    ==> Continue building ntfs-config ? [Y/n]
    ==> -------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for ntfs-config:
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'core' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'extra' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community-testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'multilib' not recognized.
    error: target not found: recognized.
    ==> Restart building ntfs-config ? [y/N]
    ==> ------------------------------------
    ==>
    ==> WARNING: Following packages have not been installed:
    ntfs-config
    Edit: now ive just seen that i forgot about the warnings. i am not sure about what they mean and how to fix it.
    Last edited by alext (2011-10-11 22:16:58)

  • [SOLVED] Keep receiving the same error when I try to install packages

    Hello,
    I keep receiving this:
    [alessio@myhost ~]$ sudo pacman -S calibre
    Password:
    resolving dependencies...
    looking for inter-conflicts...
    :: libusbx and libusb are in conflict. Remove libusb? [y/N] y
    :: python-dbus-common and dbus-python are in conflict. Remove dbus-python? [y/N] y
    Targets (21): chmlib-0.40-3 dbus-python-1.0.0-1 [removal] libunrar-4.2.4-1
    libusb-1.0.9-1 [removal] libusbx-1.0.12-2 podofo-0.9.1-3
    poppler-qt-0.20.1-1 pyqt-common-4.9.4-1
    python-dbus-common-1.1.1-1 python-imaging-1.1.7-4
    python-mechanize-0.2.5-2 python2-beautifulsoup3-3.2.1-1
    python2-cherrypy-3.2.2-1 python2-cssutils-0.9.9-2
    python2-dateutil-1.5-2 python2-dbus-1.1.1-1
    python2-dnspython-1.10.0-1 python2-lxml-2.3.4-2
    python2-pyqt-4.9.4-1 python2-sip-4.13.3-2 calibre-0.8.59-1
    Total Installed Size: 76.94 MiB
    Net Upgrade Size: 75.93 MiB
    Proceed with installation? [Y/n] y
    (19/19) checking package integrity [######################] 100%
    :: File /var/cache/pacman/pkg/calibre-0.8.59-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
    Do you want to delete it? [Y/n] y
    error: failed to commit transaction (invalid or corrupted package (checksum))
    Errors occurred, no packages were upgraded.
    [alessio@myhost ~]$
    This happens with a lot of packages (linux-api-headers too for example) and makes it impossible for me to upgrade the system. I cleaned the cache, but the issue persists. Any ideas what I might be doing wrong?
    Last edited by kfk (2012-08-09 05:52:45)

    kfk wrote: I cleaned the cache, but the issue persists.
    try changing mirrors then

Maybe you are looking for

  • HT1349 I need to register the serial number of a new iphone to my itunes library so that I can sync it....how do I that?

    My friend just upgraded her iPhone and gave me her old one.  It is the same as my iPhone but mine has quite a few features that no longer work so she is letting me use hers until it is time for an upgrade.  I tried to sync my itunes and apps to it bu

  • Help in daynamic select

    Hi, i do FM and i wont to give to user option which field to select i try to move name field to variable and try to do it all time with change field,how i can do that i try like below and i have error . Regards TYPES : BEGIN OF ab,         dim0calmon

  • Driver for my Integrated 10/100 BASE-T Ethernet LAN

     need drivers for integrated 10/100base-t ethernet lan driver win8 x 64bit i have the HP 15-d103tx Notebook PC   here  http://h10025.www1.hp.com/ewfrf/wc/document?docname=c04206739&tmp_task=prodinfoCategory&cc=us&dlc=en...  please help

  • Consignment stock GR Posting - system creates additional quant

    During GR posting for an Inbound delivery in WMS system, System is not clearing the negative quant created for consignment stock in interim storage area, instead it posts an addiitonal quant in the interim area. Observation: Inbound delivery replicat

  • Ipod screen not working right

    every time i turn my ipod on the screen turns green and has lines runnung across it. It will not display the name of songs or anything but i can still hear them. I've tried restoring it and reseting but nothing is working..