Deleted my last comment because I was not necessarily correct
Search Criteria
Package Details: lxmenu-data-git 0.0.0.1-1
Package Actions
| Package Base: | lxmenu-data-git |
|---|---|
| Description: | freedesktop.org application menu definition files |
| Upstream URL: | http://lxde.org/ |
| Category: | x11 |
| Licenses: | |
| Submitter: | None |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 2 |
| First Submitted: | 2011-09-26 10:32 |
| Last Updated: | 2014-05-17 17:11 |
Latest Comments
Comment by jaxxed
Anonymous comment
First of all I'm sorry for the late response. I've never used AUR helpers, but I think that I know what is causing the issue. This is what most likely causes the issue:
- Yaourt looks up the latest package version in the AUR (in this case "0.0.0.1-1", which is a placeholder).
- Then it compares the package version from the AUR with the package you installed on your system.
-> This is where the problem begins. The version of the package you already installed is never the one in the AUR. This is because I use the "pkgver()" function which generates the version depending on the latest commit (in this case "r140.4a23426-1".
The pkgver() function has the advantage that it only builds the package when there is a new version, but it seems like yaourt doesn't use the package version that gets generated. Since version 0.0.0.1 is newer than r140.4a23426, it rebuilds the package but after it downloads the latest commits (if there are any) it decides if the package is newer than the installed one.
There is no real solution for this problem unless the yaourt devs make the pkgver() support better. Here is one possible work-arounds for the problem:
- I can change the pkgver of the package. This would mean that yaourt doesn't try to update the package anymore (and it will not detect new versions in the future unless I update the PKGBUILD to a new version manually), but it won't annoy you that it tries to update every time.
I hope that this info is helpful, but if you have any questions feel free to ask them :)
But don't quote me on that, I'm not an expert with the AUR and AUR helpers :P
Comment by blackhole
But it is normal that pkgversion is 0.0.0.1-1 but the resulting package is lxmenu-data-git-r140.4a23426-1-x86_64.pkg.tar.xz?
Comment by blackhole
Yes, I use yaourt
Anonymous comment
@blackhole do you use an AUR helper?
Comment by blackhole
There is some problem in this package:
At each update:
==> Software upgrade (new version) :
aur/lxmenu-data-git r140.4a23426-1 -> 0.0.0.1-1
...
==> Starting pkgver()...
==> Updated version: lxmenu-data-git r140.4a23426-1
==> Sources are ready.
==> lxmenu-data-git is already up to date.
Comment by Diego
please update or disown... i'm in trouble with lxpanel-qt
Comment by knedlyk
Add this string
sed -i -e "s/1.11/1.12/" autogen.sh
just after the string "cd "${srcdir}/${_gitname}". It solves automake version issue.