You are not logged in.

#1 2012-01-22 17:58:55

silk
Member
Registered: 2012-01-21
Posts: 4

Pacman database, 2nd number

Hi,

I'm currently trying to get more knowleadgeable on Arch's package system, hence
why I'm trying to make packages myself.

I did a (failed) test...
In .PKGINFO, I did this

pkgver = 4.0.5

However, pacman tells me, when installing...

error: invalid name for database entry 'testpkg-4.0.5'

whenever I run pacman.

I saw theres another number, which separes the version numer with a '-'.
It looks like $VERSION-another_num
What is the purpose of this other number? What does it tells? The revision?

EDIT: Another question came to me...
What is the purpose of .FILELIST? I sometimes see packages with it, and sometimes packages without it...

silk

Last edited by silk (2012-01-22 18:05:42)

Offline

#2 2012-01-22 18:09:29

ethail
Member
From: Spain
Registered: 2011-02-10
Posts: 225

Re: Pacman database, 2nd number

silk wrote:

It looks like $VERSION-another_num
What is the purpose of this other number? What does it tells? The revision?

Yes, that's the package revision. It's mandatory as you experienced


My GitHub Page

Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.

Offline

#3 2012-01-22 18:46:29

silk
Member
Registered: 2012-01-21
Posts: 4

Re: Pacman database, 2nd number

What about .FILELIST? From what I can see it's not "mandatory"?

Offline

#4 2012-01-22 18:52:27

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Pacman database, 2nd number

If you're trying to get familiar with pacman, get familiar with git. You would have found this commit:

http://projects.archlinux.org/pacman.gi … id=fbd88a8

Offline

Board footer

Powered by FluxBB