You are not logged in.

#1 2011-04-16 10:02:39

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

[solved] new package version numeration

hi to all

i noticed that some packages have a different numeration

e.g. mythtv is 1:0.24-2

why ? and what does it mean ?

tahnks

Last edited by nTia89 (2011-04-16 11:53:29)


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#2 2011-04-16 10:18:43

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [solved] new package version numeration

epoch
the option is described in  man PKGBUILD

Last edited by wonder (2011-04-16 10:19:37)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2011-04-16 11:22:39

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] new package version numeration

can you be more precise ....


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#4 2011-04-16 11:27:33

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: [solved] new package version numeration

epoch

Used to force the package to be seen as newer than any previous versions with a lower epoch, even if the version number would normally not trigger such an upgrade. This value is required to be a positive integer; the default value if left unspecified is 0. This is useful when the version numbering scheme of a package changes (or is alphanumeric), breaking normal version comparison logic. See pacman(8) for more information on version comparisons.

Offline

#5 2011-04-16 11:29:39

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] new package version numeration

so 1:0.25 is like a 1.0.25 ..... but only for pacman , right ?


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#6 2011-04-16 11:35:36

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [solved] new package version numeration

epoch is the old force option. when pacman does the version check, if epoch exists, the actually version is ignored.


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2011-04-16 11:42:39

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] new package version numeration

so , for example

mythtv 1:0.25-2 force override of mythtv 0.xy-z for every xy-z; for example, overrides mythtv 0.99.9-9

but with mythtv 1:0.25-2 can't  upgrade an installed mythtv 1:0.26-1

right ?


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#8 2011-04-16 11:49:15

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [solved] new package version numeration

right, when epoch are equals then the true version is checked.

once you increased epoch you are leaving like that, don't remove or decrease.


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2011-04-16 11:52:51

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] new package version numeration

thanks


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

Board footer

Powered by FluxBB