[SOLVED] yaourt and "wrong hashes"

I've just had some troubles updating several packages from AUR with yaourt.
The issues where concentrating on seemingly "wrong hashes".
Today I looked a little deeper and found out, that for some reason (maybe canceled upgrade or similar) yaourt was placing a symlink in the
/tmp/yaourt-tmp-user/package-name/
that refers to a (possibly) broken file in
/var/cache/yaourt/build/
Yaourt seems not to be able to delete it, so when trying to update (again) it will break operation on validating hashes.
Not sure if that's just a system quirk introduced by a crash or a yaourt specific problem (as it's unable to delete the broken file from its build directory on its own).
Anyhow: For me deleting the contents of the yaourt's build directory and the package build directories in /tmp solved this issue and I was able to update without any troubles!
Happy times! Though I think it's sufficient to only delete the files specific to the package that fails to upgrade.
Hope this could be of any use to someone.

Can you add a Troubleshooting section to https://wiki.archlinux.org/index.php/Yaourt ?

Similar Messages

  • [SOLVED]Yaourt and powerpill

    Thanks for the reply Xiong. I tried the change of PacmanBin option to /usr/bin/pacman-color but yaourt refuses to use pacman-color (I have pacman-color installed). I tried setting up a ~/.yaourtrc file, but it also doesn't seem to work either. The problem must be yaourt completely ignoring the two setup files. Do you know if yaourt uses another setting file?
    According to the yaourtrc man page, /etc/yaourtrc and /home/user/.yaourtrc are the only two options.  How did you install it?
    Also, you might want to move this into another thread, since it's no longer about powerpill.
    I "moved" the question here cause I thought it was more appropriate here.
    @Xiong: I installed yaourt using pacman, and I think there was an update which got installed while I was doing a full update a couple of days ago. With the yaourtrc, I just edited the one already present in the /etc/folder, just removing the # for commenting. For the ~/.yaourtrc I made to test, I just copied the yaourtrc in /etc/ over and changed the ownership so the non-su user had access. And still no success. Really needing help, cause I don't get what's wrong.:(
    Last edited by oddsocks (2008-12-19 12:46:56)

    MindTooth wrote:
    Why not try a
    $ pacman -Rns yaourt
    This way you remove all the config files for yaourt. And you can start over.
    Birger
    Try this and reinstalled yaourt twice, once using tar and makepkg and once using pacman, both times yaourt installed and still completely ignored /etc/yaourtrc . I'm getting tired of this, so I have for now got rid of yaourt, and am completely purging anything remotely yaourt-like, so I can start from scratch.
    If anybody has any other suggestions please post it up so I can try this. I really like both tools and its a shame I can't combine the two like others have.

  • [Solved] yaourt and liblbxutil: not found on AUR?

    When running yaourt I am receiving the following notice:  liblbxutil: not found on AUR
    Previous runs of yaourt did not produce this message.  Where did the package go and how to fix?
    Last edited by BKJ (2008-11-12 00:45:46)

    I found it in the ABS tree even though it doesn't seem to exist in any of the repos anymore. You may want to file a bug report. I don't know if it's being used by anything. It's listed as installed as a dependency but not required by anything.
    # $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
    #Maintainer: Jan de Groot <[email protected]>
    pkgname=liblbxutil
    pkgver=1.0.1
    pkgrel=1
    pkgdesc="Low Bandwidth X11 Utility Library"
    arch=(i686 x86_64)
    url="http://xorg.freedesktop.org/"
    depends=('zlib')
    makedepends=('pkgconfig')
    options=(NOLIBTOOL)
    source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
    md5sums=(b73cbd5bc3cd268722a624a5f1318fde)
    build() {
    cd ${startdir}/src/${pkgname}-$pkgver
    ./configure --prefix=/usr \
    --build=${CHOST} --host=${CHOST}
    make || return 1
    make DESTDIR=${startdir}/pkg install || return 1
    Last edited by skottish (2008-11-09 18:36:54)

  • NULL Value in Journal Entry and Wrong Tax Summary

    Hi people,
    I need your expert help for a big problem that appens to some customers.
    They run SAP BO 8.8 SP:00 PL:12
    This is the scenario:
    You insert a new documet,  A/R Invoice or A/P Invoice is the same, problem appear in all of them.
    After you insert the document, using SQL Server Management try this Select statment:
    Select * from JDT1 where JDT1.debit is null OR JDT1.credit is null
    A list of record where listed. And, this is the problem, NULL values are all in the VAT Lines in debit or credit colums.
    If you try to make a SUM(debit-credit) you discovery that, 1000,00-null=null
    Consequently, TAX Sumary report, that probably use arithmetic operation like me in SELECT statment,  count a wrong number when null values in DEBIT or CREDIT column in JDT1 for VAT declaration.
    How could I solve? And how i can make invoices store 0 rather than NULL in the VAT Line?
    Thanks in advance for your tips and solutions

    Thaks Neetu for your answer.
    I thinks there is a misurandertanding.
    My problem is not SQL.
    My problem is the SAP TAX Report.
    I used SQL only for check data and discover why SAP raise a wrong TAX Summary report.
    So, my question is: Why invoices write null values in journal entry, and how I can solve the problem that TAX summary report use null value in operations so the results are wrong.
    Thanks,
    Jonny Cortonicchi

  • HT2513 On iCal this year the date of shrove tuseday is showing on Tuesday 13 of February witch for a start is wrong coz it's a Thursday and wrong because its meant to be in march

    On iCal this year the date of shrove tuseday is showing on Tuesday 13 of February witch for a start is wrong coz it's a Thursday and wrong because its meant to be in march

    kaeandcolesmon,
    If you open the recovery drive (partition) it should only have a single folder (Recovery).
    To make sure that your not saving restore points to that drive.
    See:
    Start, Control Panel, System, System Protection tab. Make sure the D drive partition is set to OFF so that it does not save there.
    I am a volunteer. I am not an HP employee.
    To say THANK YOU, press the "thumbs up symbol" to render a KUDO. Please click Accept as Solution, if your problem is solved. You can render both Solution and KUDO.
    The Law of Effect states that positive reinforcement increases the probability of a behavior being repeated. (B.F.Skinner). You toss me KUDO and/or Solution, and I perform better.
    (2) HP DV7t i7 3160QM 2.3Ghz 8GB
    HP m9200t E8400,Win7 Pro 32 bit. 4GB RAM, ASUS 550Ti 2GB, Rosewill 630W. 1T HD SATA 3Gb/s
    Custom Asus P8P67, I7-2600k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX660 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Custom Asus P8Z77, I7-3770k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX670 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Both Customs use Rosewill Blackhawk case.
    Printer -- HP OfficeJet Pro 8600 Plus

  • [Solved]Yaourt sync issue

    I installed yaourt according to the instruction here http://archlinux.fr/yaourt-en
    But when I run yaourt -Syu --devel --aur , I get an error: problem setting dbpath '//usr/local/var/lib/pacman/' (could not find or read directory)
    The directory doesn't exist and pacman -v shows nothing related to that directory. What should I do?[]
    Last edited by codetrick (2011-03-04 14:28:03)

    I have the same problem. I get it when try to install 'package-query' and 'yaourt' from AUR, but i install it manually.
    In INSTALL file of package-query I found interesting thing:
    By default, `make install' installs the package's commands under
    `/usr/local/bin', include files under `/usr/local/include', etc. You
    can specify an installation prefix other than `/usr/local' by giving
    `configure' the option `--prefix=PREFIX', where PREFIX must be an
    absolute file name.
    I uninstall yaourt and package-query using pacman and delete /usr/local directory (the system is fresh and this directory is not important)
    Then i do
    ./configure --prefix=''
    sudo make install
    With yaourt i have more problems... Iven if you delete "/usr/local" from Makefile you don't solve the problem.
    I find all "/usr/local" substrings in files from yaourt.x.x.x.tar.gz with commands:
    tar -xzvf yaourt.x.x.x.tar.gz
    cd yaourt.x.x.x
    grep -RiHn 'usr/local/' *
    and manually delete them.
    Then i make and install my yaourt. It worked.
    Oh, i know that it is unnormal, but i can't find anything in internet and write it to others.
    P.S. I may install yaourt with this instruction^ http://archlinux.fr/yaourt-en  (with pacman)
    Last edited by Grandma (2011-12-18 00:06:52)

  • I want to install Photoshop but everytime I get an ERROR CODE: A12E1.How do I solve that and what is it?

    Hello,
    I want to install Photoshop but everytime I get an ERROR CODE: A12E1.How do I solve that and what is it?

    A12E1 error installing Creative Cloud products | CC
    Mylenium

  • [SOLVED] yaourt -Syua wants to update a package which hasn't changed

    I built a modest package, vi-vim-symlink, tested it extensively with pacman, and then uploaded it to AUR.
    Recently some user reported that every time he runs yaourt, the package wants to be reinstalled.  I installed yaourt and confirmed this behavior:
    gecko:~~$ yaourt -Syua
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    Foreign packages: | 4 / 4
    ==> Package upgrade only (new release):
    aur/vi-vim-symlink 1-1 1 -> 1
    ==> Continue upgrade ? [Y/n]
    ==> [V]iew package detail [M]anually select packages
    ==> --------------------------------------------------
    Does anyone have any idea why this is happening?  The package is super simple and only creates a couple of symlinks, uninstalling vi, if necessary.
    Last edited by pgoetz (2014-04-25 21:33:06)

    HalosGhost wrote:For starters, that pkgdesc is huge for no reason at all. Also, does that package actually work? Those symlinks don't look valid at all.
    The package definitely works (I'm using it on several machines).  The pkgdesc is lengthy because it's kind of an odd package, so I tried to explain the reason for it's existence. (This came after a lengthy forum discussion on the issue of most linux users expecting /usr/bin/vi and /usr/bin/view to actually be vim, and not Bill Joy vi.)  If I were just packaging bottle.py or something like this my pkgdesc would be short.
    Do you see anything which is an actual violation of the Arch Packaging Standards?
    I'm still not entirely sure what this means or how this happened.
    Looks like the source tarball was repackaged without having been sync'd
    AUR wouldn't let me upload the package without a url; first I added a random url (one of my servers), then changed my mind and used the vim url -- this must have been when things got out of whack.

  • Request Native Ability to Calculate CRC, MD5, and SHA Hashes

    // Requested via the Feedback tool also //
    Provide the ability to calculate and generate CRC, MD5, and SHA hashes via a right-click context menu without having to resort to third party tools.  In some environments, policy does not allow for certain applications.  Having this ability natively
    would really help to verify files.
    This has been requested during the preview stage of Windows 7 and Windows 8.  Asking again here.

    That works perfectly!  Thanks.  I did not know that was available.
    NAME
        Get-FileHash
    SYNTAX
        Get-FileHash [-Path] <string[]> [-Algorithm <string> {SHA1 | SHA256 | SHA384 | SHA512 | MACTripleDES | MD5 |
        RIPEMD160}]  [<CommonParameters>]
        Get-FileHash -LiteralPath <string[]> [-Algorithm <string> {SHA1 | SHA256 | SHA384 | SHA512 | MACTripleDES | MD5 |
        RIPEMD160}]  [<CommonParameters>]
        Get-FileHash -InputStream <Stream> [-Algorithm <string> {SHA1 | SHA256 | SHA384 | SHA512 | MACTripleDES | MD5 |
        RIPEMD160}]  [<CommonParameters>]
    ALIASES
        None
    REMARKS
        Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
            -- To download and install Help files for the module that includes this cmdlet, use Update-Help.

  • After i download ios 5.1.1 i cant install it there is msg tell me an error occurred installing ios 5.1.1 what can i do to solve this and install the update ( i have ipad 2 ) ?????

    After i download ios 5.1.1 i cant install it there is msg tell me an error occurred installing ios 5.1.1 what can i do to solve this and install the update ( i have ipad 2 ) ?????

    No codes on the error just msg in the center of the ipad tell me that without any codes :@

  • [SOLVED] yaourt doesnt search aur - new mirrror list

    Hi
    last night I discovered that yaourt doesnt search aur packages. I am guessing that it has something to do with last pacman upgrade and new mirror list.
    Does anybody have the same problem with yaourt and could anybody explaine, step by step , what soud I do with new mirror list? I did not understand completely all steps that should be done with new mirror list. Thanks.
    Last edited by liticovjesac (2009-01-03 17:23:33)

    Thanks.
    It works after I update yaourt to new version.
    Here is a trade you mentioned about same problem. http://bbs.archlinux.org/viewtopic.php?id=61664

  • After IOS 5 upgrade my contacts can't be edited and whenever i choose group it blanks. Also my camera sometimes hang and wrong orientation landscape and potrait. Iphone 3GS

    After IOS 5 upgrade my contacts can't be edited and whenever i choose group it blanks. Also my camera sometimes hang and wrong orientation landscape and potrait. Iphone 3GS

    Try resetting it: hold the on/off and home buttons until you see the Apple logo (ignoring the off slider that appears first), and release.  If that doesn't work, connect to iTunes, go to the Summary tab and Restore.

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

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

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

  • [solved] (yaourt) zoneminder-svn problem

    Hello,
    I'm trying to build zoneminder-svn through yaourt and I am failing to build ffmpeg-svn (dep).
    The error I get after issuing "yaourt -S zoneminder-svn" is as follows:
    loading package data...
    error: './ffmpeg-svn-18717-1-i686.pkg.tar.gz': cannot open package file
    => WARNING: Your package is saved in /tmp/yaourt-tmp-root/ffmpeg-svn-18717-1-i686.pkg.tar.gz
    cp: cannot stat `../ffmpeg-svn-18717-1-i686.pkg.tar.gz': No such file or directory
    => WARNING: Unable to copy ffmpeg-svn-1-i686.pkg.tar.gz to /tmp/yaourt-tmp-root / directory
    I know I shouldn't be building this as root but it was just to check it wasnt anything permission problem based
    Misc. details about my target system:
    uname -a
    Linux CHIAKI 2.6.30-ARCH #1 PREMPT Sat Jul 4 11:13:08 UTC 2009 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz GenuineIntel GNU/Linux
    Thanks in advance!
    Mike
    Last edited by DrMikeDuke (2009-07-13 12:40:32)

    djszapi wrote:However it works for me, Have you tried it without from svn, just with zoneminder package from AUR? Can that work ? I don't like version controlled package, if a non version controlled is available.
    alas no, this does not help
    Anyone?
    tried running it again as just "yaourt -S zoneminder"
    ==> Tidying install...
    -> Compressing man pages...
    -> Stripping debugging symbols from binaries and libraries...
    ==> Creating package...
    -> Generating .PKGINFO file...
    -> Compressing package...
    ==> Finished making: ffmpeg-svn 19416-1 i686 (Mon Jul 13 04:01:20 WST 2009)
    ==> Continue installing ffmpeg-svn? [Y/n]
    ==> [v]iew package contents [c]heck package with namcap
    ==> ----------------------------------------------
    ==>y
    loading package data...
    error: './ffmpeg-svn-18717-1-i686.pkg.tar.gz': cannot open package file
    ==> WARNING: Your package is saved in /tmp/yaourt-tmp-root/ffmpeg-svn-18717-1-i686.pkg.tar.gz
    cp: cannot stat `./ffmpeg-svn-18717-1-i686.pkg.tar.gz': No such file or directory
    ==> WARNING: Unable to copy ffmpeg-svn-1-i686.pkg.tar.gz to /tmp/yaourt-tmp-root/ directory
    If you like this package, please install aurvote
    and vote for its inclusion/keeping in [community]
    [root@CHIAKI mike]#
    Last edited by DrMikeDuke (2009-07-12 22:00:06)

  • My iMail keeps crashing -- how do I solve this and do I need to re-install

    my iMail keeps crashing -- how to solve this and do I need to re-install

    Is it iMail or Mail ?

Maybe you are looking for

  • IMac no longer sees mouse or keyboard

    Re; pre airplay iMac/Mavericks. Firstly, computer wouldn't wake from sleep when I tapped the mouse. Thought there had been a power interruption, so I touched the power button on the back. Computer awoke, but displayed a message that Bluetooth keyboar

  • HP Photosmart D6160 printer with Windows 7 os

    I have an 18 month old HP Photosmart D6160 printer that has performed excellently on my PC running Windows 2000 Professional. The printer using the installed CD software was able to provide test prints, maintenance information and most importantly sh

  • Windows and itunes error message

    I get an error message each time I install itunes. "itunes has encountered a problem and needs to close." I can't get itunes to open. I have tried to uninstall and reinstall with no success. I even tried system restore. How can I resolve this?

  • Dock crashes while scrolling through the program list

    Hi there, when I click on the dock icon of my programs folder I can see the top of the list of my installed software. When I move the mouse cursor towards the down arrow ths lists begins to scrol until I reach the letter "S" - then the dock crashes.

  • HT1212 how can you gte your passcode when u forget it not apple id password i mean is passcode

    Hi, really need help right now, i forgot my passcode to get in my ipad 3... can anybody help me get it back? please?