You are not logged in.

#1 2009-08-18 07:00:47

blowback
Member
From: Japan
Registered: 2008-11-03
Posts: 18

pacman is going to upgrade pkgrel=101 to 1

Hi,

I made a package the patched-anthy defined pkgrel=101 (anthy-9100h-101).
But pacman is gonig to upgrade my anthy-9100h-101 to repo's anthy-9100h-1 when doing pacman -Syu even pkgrel isn't higher.
Is this error of me or pacman?

This is my PKGBUILD. I applied patches by myself so PKGBUILD is modified just only pkgrel and run makepkg -e.

# $Id: PKGBUILD 28115 2009-02-27 23:59:50Z eric $
# Maintainer: damir <damir@archlinux.org>

pkgname=anthy
pkgver=9100h
_filecode=37536
pkgrel=101
pkgdesc="Hiragana text to Kana Kanji mixed text Japanese input method"
arch=("i686" "x86_64")
url="http://sourceforge.jp/projects/anthy/"
license=('LGPL' 'GPL')
depends=('glibc')
options=('!libtool' 'force')
source=("http://downloads.sourceforge.jp/anthy/${_filecode}/$pkgname-$pkgver.tar.gz")
md5sums=('1f558ff7ed296787b55bb1c6cf131108')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc || return 1
  make EMACS=emacs sysconfdir=/etc || return 1
  make EMACS=emacs DESTDIR=$pkgdir install || return 1
}

This is result of pacman -Qi anthy

$ pacman -Qi anthy
Name           : anthy
Version        : 9100h-101
URL            : http://sourceforge.jp/projects/anthy/
Licenses       : LGPL  GPL  
Groups         : None
Provides       : None
Depends On     : glibc  
Optional Deps  : None
Required By    : kasumi  m17n-lib  
Conflicts With : None
Replaces       : None
Installed Size : 28164.00 K
Packager       : MH <top@secret>
Architecture   : x86_64
Build Date     : 2009年08月16日 15時31分23秒
Install Date   : 2009年08月16日 15時31分50秒
Install Reason : Installed as a dependency for another package
Install Script : No
Description    : Hiragana text to Kana Kanji mixed text Japanese input method

Offline

#2 2009-08-18 08:04:23

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: pacman is going to upgrade pkgrel=101 to 1

pacman is doing that because the package in the repo use the force option. Add
IgnorePkg = anthy
to your pacman.conf to make pacman ignore the package in the repo

Offline

#3 2009-08-18 13:11:07

blowback
Member
From: Japan
Registered: 2008-11-03
Posts: 18

Re: pacman is going to upgrade pkgrel=101 to 1

Hmm, why pkgrel is ignored?

Offline

#4 2009-08-18 13:38:52

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: pacman is going to upgrade pkgrel=101 to 1

blowback wrote:

Hmm, why pkgrel is ignored?

Read what Snowman said

pacman is doing that because the package in the repo use the force option.

Offline

Board footer

Powered by FluxBB