You are not logged in.

#1 2014-10-09 01:20:48

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

[Solved] Package update ignored

I am trying to update a package (elementary-ob-openbox) using

yaourt -Syua

but my AUR helper (yaourt-git) does not notify me that the update is available.

After some extensive package version checks I realized the AUR helper package was outdated too and that this could well be the source of my problem. After proceeding to update it I thought the problem should be fixed and the update would pop up. The (lack of) result is the same though.

The thing that puzzles me is that if I do a

yaourt -Si packagename

it lists the updated version and draws my attention on the outdated local copy. So if I understand correctly yaourt should be aware of the package update/version change. I contacted the package owner who does not experiment this and is using Pacaur though. I checked the latter out in order to see if yaourt-git was the problem but the same situation repeats itself (the same happens with other AUR helpers I have tried like packer and cower).

Any hint on what I might be missing here? Thanks in advance.

Last edited by root (2014-10-11 23:57:13)


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#2 2014-10-09 01:39:39

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [Solved] Package update ignored

Which version do you have installed?

You should probably request that the maintainer use a sensible version numbering.  The pattern currently used would not be expected to work.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2014-10-09 02:05:15

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: [Solved] Package update ignored

Thanks for your reply Trilby.

The version I have installed is,

11062014-1

and the updated version is,

05102014-1

.

Does this shed any light on your 'pattern concern'?


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#4 2014-10-09 02:11:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [Solved] Package update ignored

Yes, 11062014 is "newer" than 05102014.  Like I said, ask the maintainer to use a sensible versioning scheme.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2014-10-10 06:08:41

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [Solved] Package update ignored

@Trilby

Thanks. I am the maintainer of the mentioned package. I didn't know that timestamp versioning schemes cause issues. Hence, I switched the versioning to a more conventional one.

Offline

#6 2014-10-10 09:37:11

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: [Solved] Package update ignored

@orschido> If you want to keep the same version number as upstream, simply reverse the date: 20141005 (ISO 8601 format). New release will always be seen as newer version.

Offline

#7 2014-10-10 15:47:18

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [Solved] Package update ignored

@Spyhawk

Very useful hint. Thank you!

I added the reverse method to the Wiki page [1].

[1] https://wiki.archlinux.org/index.php/PKGBUILD#pkgver

Offline

Board footer

Powered by FluxBB