[solved] yaourt VCS package updates

Hello,
the command $ yaourt -Syua --devel upgrades all VCS packages. However, I do not completely understand how that works.
Does yaourt upgrade all VCS packages that are installed regardless of their version or does yaourt reconcile the VCS packages with my local packages and upgrades only these that are newer?
Regards
Last edited by orschiro (2012-12-23 09:37:02)

Then this feature is not working on my system.
As an example I just upgraded two packages nemo-dropbox-git and nemo-fileroller-git. So they are definitely the latest version.
Now when I run  $ yaourt -Syua --devel it still wants to upgrade them again:
[orschiro@thinkpad ~]$ yaourt -Syua --devel
:: Synchronizing package databases...
cinnarch-repo is up to date
cinnarch-core is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
Foreign packages: \ 19 / 19
==> upgrading SVN/CVS/HG/GIT package
Targets (2): nemo-dropbox-git nemo-fileroller-git
==> Proceed with upgrade? [Y/n]
==> ----------------------------
==>

Similar Messages

  • [SOLVED] Question about package updates and ABS

    Hello,
    I have manually compile my kernel in order to apply a patch my laptop needs to suspend. So I use abs and customize the pkgbuild. A few days ago when the update for kernel26-2.6.33.3-2 came out, I thought I'd just refresh abs, rebuild, and then I'd be up to date. But instead now pacman -Syu tells me that there is still an update for the kernel.
    Does building from ABS not get you the latest package update?
    Also, what exactly is the package update compared to a software update? I'm guessing that it is an arch only update to the package but the software itself is the same version. Or am I totally off?
    Thanks for the help!
    Last edited by Fingel (2010-05-12 03:42:38)

    When building via ABS, the package installed gets its version from the PKGBUILD ($pkgver-$pkgrel).  Pacman just looks at available version vs installed version to tell if you should upgrade.
    Your abs tree was probably just not up to date; just because pacman -Syu says your mirror has a package, doesn't mean building via abs _at that moment_ will get that version.
    Be sure to run `abs` to update your tree, then when you're editing the PKGBUILD, check which version it's building.  In some cases, you can simply increment those numbers right in the PKGBUILD before building as source files are often fetched based on those variables, etc. -- but I don't know if I'd recommend that when building something like the kernel.
    Last edited by brisbin33 (2010-05-11 17:08:12)

  • [SOLVED] yaourt how to update aur packages

    Hi!
    I got a quick question. I thought that yaourt is able to update old packages installed from Aur automatically.
    So for example I type as usually yaourt -Syu --aur but I noticed it doesn't show AUR packages I can update. Only from core/extra/community
    For example I just typed:
    yaourt yaourt
    1 aur/yaourt 0.9.2.6-1 [0.9.2.5-1 installed] (2406)
    and see that I can update yaourt. I have other packages installed from AUR, how do I know that a newer version is available without checking it manually?
    edit:
    so I am happy to mark it as solved. It wasn't a bug, but it is a way how yaourt works.
    yaourt -Syu --aur shows packages from core/extra/community.
    If I press Y (to install them). It shows a list again with the information how much to download and install and then after pressing "No" to install them, yaourt continues to check AUR packages in this case.
    Julien MISCHKOWITZ, the developer said he could change the behavior
    Thanks everyone for the attention!
    Last edited by ngsupb (2009-08-21 13:15:09)

    shining wrote:yaourt has a bug tracker : http://bugs.archlinux.fr/index/proj3?or … &sort=desc
    Thank you shining. I have opened a ticket there. Lets wait, I hope they can help!

  • [SOLVED] yaourt error package-query

    Hi everyone,
    i have some problem with yourt. It want do the package query. I tried reinstall but no luck. Any idea?
    [liticovjesac@macbook ~]$ yaourt -Ss chromium
    /usr/lib/yaourt/util.sh: line 165: /usr/bin/package-query: No such file or directory
    Last edited by liticovjesac (2011-11-21 06:22:29)

    Yes I have.
    When i try to reinstall i get this:
    [liticovjesac@macbook settings]$ sudo pacman -S package-query
    warning: package-query-0.9-1 is up to date -- reinstalling
    error: failed to prepare transaction (package architecture is not valid)
    :: package package-query-0.9-1-i686 does not have a valid architecture
    [liticovjesac@macbook settings]$
    Last edited by liticovjesac (2011-11-20 15:26:23)

  • [solved] yaourt -Sb [package]: [package] was not found on abs

    If I try to build anything from source with yaourt, it says it's not on abs.  However, the packages I am trying to build are in the abs.  For example,
    [max@pwn xorg-server]$ yaourt -Sb xorg-server
    ==> Building xorg-server from sources
    xorg-server was not found on abs
    xorg-server exists in /var/abs/extra, and the files to build it are there.  What can I do to fix this?
    Last edited by synthead (2008-05-03 23:20:59)

    i'l try and have a look at yaourt tonight,
    though i'm sure there must be a better way to fix this.
    for now, the patch below fixes srcpac,
    --- /usr/bin/srcpac 2007-05-01 04:36:03.000000000 +0100
    +++ /tmp/srcpac 2008-05-02 09:16:21.661341440 +0100
    @@ -483,7 +483,7 @@
    fi
    if [ $ROOT -eq 0 ]; then
    - build_packages "install" ${packages[@]}
    + build_packages "install" ${args[@]}
    else
    echo "This feature isn't done yet"
    fi
    sudo patch -i srcpac.patch /usr/bin/srcpac
    let me know if works, and then i'll submit it to the bug tracker
    Last edited by kumico (2008-05-02 08:23:40)

  • [SOLVED] Skipping a package update

    This is a known issue in the AUR, but I seem to be unable to ignore this upgrade when checking for updates (to update the rest of the system around it).
    Can anyone help to point me in the right direction? I have not found anything on the wiki or google.
    Thanks!
    ╰─[06:08:35]>>> sudo pacman -Syu --ignore flexget
    :: 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 conflicting packages...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: flexget: requires python2-sqlalchemy<0.9.99
    Last edited by highway (2015-04-30 01:16:39)

    Simplified explanation:
    flexget is in the AUR
    python2-sqlalchemy is in the repos
    python2-sqlalchemy on your system is less than version 0.9.99
    flexget on your system requires python2-sqlalchemy less than version 0.9.99 (i.e. the one on your system)
    pacman wants to update all of the repo packages on your system
    repo python2-sqlalchemy is at version equal to or greater than 0.9.99
    pacman can't upgrade to the repo version of python2-sqlalchemy because it would break the version of flexget on your system
    Solutions:
    remove flexget and upgrade your system then re-install flexget when it works with the current version of python-sqlalchemy
    wait for a version of flexget that supports the current version of python-sqlalchemy and then upgrade your system

  • [SOLVED] Resolve java package update conflicts

    Currently I have jdk, jre and java-common installed. A new package java-runtime-common is going to shift out java-common. However, removing java-common will break jdk and jre so pacman won't let me go. In this case what would be the best way to update the relevant java packages? Note that jdk and jre are installed from AUR, which pacman doesn't know about. Thanks.
    Last edited by cyker (2014-10-17 04:37:55)

    cyker wrote:Thanks, get it work already. I think it's a very useful tool. Not sure why it doesn't have a man page. Probably it's helpful to integrate its functionality into pacman.
    Not sure what you mean:
    $ pkgfile testdb
    core/pacman
    $ testdb -h
    usage:
    testdb [-b <pacman db>] : check the local database
    testdb [-b <pacman db>] core extra ... : check the listed sync databases

  • [SOLVED] Building VCS packages from AUR fails

    Hello,
    Whenever I try to build a git or svn package from AUR, build fails with the error in a clean chroot enviroment:
    ==> ERROR: Unknown download protocol: svn
    Aborting...
    When the build starts, makepkg actually downloads source files properly. Any clues?
    Last edited by yuan_modu (2015-04-02 16:31:03)

    Trilby wrote:How many packages has this happened with?  Can you give an example of one that produces this error?  If the download proceeds when the build starts, it sounds like the PKGBUILD is outdated and is manually grabbing the source in the build function (in pacman<4.0 style).
    I was building https://aur.archlinux.org/packages/uefi-shell-svn: a popular and up-to-date PKGBUILD.
    Indeed I didn't merge the conf files of  clean chroot. There was a makepkg.conf.pacnew, the lacking part in my old makepkg.conf was:
    VCSCLIENTS=('bzr::bzr'
    'git::git'
    'hg::mercurial'
    'svn::subversion')
    and some small changes. Everything works fine now. Was my bad. Sorry for incovenience and thanks for your help.
    Last edited by yuan_modu (2015-04-02 13:08:21)

  • [Solved] Do I need to manually update my -vcs packages in the AUR?

    I've got a few -vcs packages in the AUR (one hg, 3 svn).  Do I need to manually update the versions in the AUR as the code changes, or does this happen automatically?  I know that makepkg updates the version automatically in the local PKGBUILD, but I want to make sure the people using these packages see the new versions in the AUR.
    Last edited by nofrak (2010-11-06 19:03:42)

    You need to do it manually.
    !next

  • [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.

  • Yaourt and packages that have been moved from AUR to community

    Well first off, why does yaourt even wanna build the package if it has been removed? I did a search in the AUR and all I see is stress 1.0.0-1. I thought I read somewhere that yaourt is a wrapper for pacman and therefor would search the repositories before it searches the AUR for the program?
    [jasin@kermit ~]$ yaourt -S stress
    ==> Downloading stress PKGBUILD from AUR...
    ==> WARNING: It seems like stress was removed from AUR probably for security reason. Please Abort
    stress 0.18.9-1 (NOT SAFE): A tool that stress tests your system (CPU, memory, I/O, disks)
    ==> stress dependencies:
    - glibc (already installed)
    ==> Edit the PKGBUILD (recommended) ? [Y/n] ("A" to abort)
    ==> ----------------------------------------------
    ==>n
    ==> Continue the building of 'stress'? [Y/n]
    ==> ----------------------------------------------
    ==>n
    [jasin@kermit ~]$ sudo pacman -S stress
    resolving dependencies...
    looking for inter-conflicts...
    Targets: stress-1.0.0-1
    Total Download Size: 0.01 MB
    Total Installed Size: 0.04 MB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from community...
    stress-1.0.0-1 9.6K 23.4K/s 00:00:00 [#####################] 100%
    checking package integrity...
    (1/1) checking for file conflicts [#####################] 100%
    (1/1) installing stress
    This doesn't seem right to me either... is it just me or should yaourt be informed on where stress has gone if it has been removed from AUR and not just leave yaourt open ended with a basic error?
    I tried
    [jasin@kermit ~]$ yaourt -S community/stress
    ==> Downloading community/stress PKGBUILD from AUR...
    Error: community/stress not found in AUR.
    but yaourt thinks it should be a package in AUR. But I presume this should be added functionality in yaourt to work like pacman?
    Last edited by jacko (2008-01-13 16:52:56)

    somairotevoli wrote:hmm, works here.
    How long ago was it added to community? Maybe the repo your using isn't updated yet?
    hmm, maybe I should update yaourt... I never thought about it but yaourt will not update itself.
    edit:
    yaourt -Su --aur
    yes, that fixed it. never thought about updating AUR packages.
    would be alright to add something like this to .bashrc to make this whole process a one time command?
    alias pac-update="yaourt -Syyu | yaourt -Su --aur"
    the answer to this ^^^ is NO, because the second command locks the database. U would need a way to tell it to pause until the first command finished, then issue the second command. I quite frankly do not understand enough of linux bash programming to accomplish that ATM.
    Last edited by jacko (2008-01-13 19:40:44)

  • [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)

  • [solved] Yaourt -Syu ?

    Hi
    today i noticed by accident that yaourt doesn't update my AUR packages.
    For example:
    virtualbox_bin itself says that ver3.0.... is installed but "yourt virtualbox_bin" says that the newest version 3.1.... is installed
    same with a small tool called gvolwheel: 0.2 is installed but yaourt says 0.6 is installed.
    It's no problem to update these two manually but i don't have a clue how many progrms i installed via yaourt.
    Where is my error? I think i'm overseeing something very simple. Any hints are greatly appreciated!
    Thanks
    cl10k
    BIG EDIT:
    Stupid me!!!! ->>> "yaourt -Syu – -aur"
    Why do I always find the solution AFTER i posted crap in the forums? Sry^^
    Last edited by cl10k (2010-01-11 22:57:25)

    You can also edit the options in /etc/yaourtrc to automatically include the AUR. That's what I did, because I only ever use yaourt to access the AUR, pacman does the normal work for me.

  • AUR Package Updating

    I've just recently installed e17 and awesomeWM from the AUR (thanks guys).  I've done this through ABS.  I've just read that yaourt also works with the AUR.  If I install yaourt, will it update e-cvs and awesome, or do should I install aurscripts (aurupdate)?  Thanks for your help.

    If you do : yaourt -Syu --aur, it will check for any AUR packages that have been updated, yes.

  • How to get changes of a custom PL/SQL package updated in ISG?

    Hi All,
    I need some help on how to change a custom PL/SQL package in ISG integration repository:
    I already uploaded my custom PL/SQL package to the integration repositoy some time ago. Now I have made some changes to PL/SQL record/table types defined in the package (added some fields and removed some others). These changed record/table types are used by a procedure I already uploaded to the integration repository. When regenerating the WSDL for my PL/SQL package in integration repository I get an error that the wrapper for respective procedure can't be found. When checking up the SQL types that were automatically generated (by JPublisher) for corresponding PL/SQL types, these generated SQL types are invalid...
    So it seems that in one case JPublisher generated an empty SQL type (with no attributes). In another case JPublisher generated the SQL type with old attribute list, so it didn't adopt the changes of corresponding PL/SQL type in the package...
    Can anybody tell me how to get the changes of a cusotm PL/SQL package updated in ISG? Or is there any possibility to first remove a whole PL/SQL package from the ISG integration repository (and getting rid of all old automatically generated SQL types), so that I can newly upload my PL/SQL package afterwards?
    Thanks
    Konrad
    Edited by: Konrad on 24.10.2011 10:51

    Thanks Daniel, for your reply...
    (-> for info: I'm a colleague of Konrad...)
    Yes, we used a higher version number - and the upload of iLDT file works fine...
    But, the problem occured when generating the WSDL...
    However, I think we have found an approach of how to get the changes of a custom PL/SQL package updated correctly in ISG:
    1. Save a copy of PL/SQL package and then delete it in the database
    2. Regenerate the WSDL for PL/SQL package in ISG (seems that all atutomatically generated JPub wrappers and SQL types are also deleted)
    3. Restart all processes
    4. Create the changed version of PL/SQL package in the database again
    5. upload of iLDT
    6. Regenerate the WSDL for PL/SQL package in ISG
    Best Regards
    Carolin

Maybe you are looking for