Firebird, {u,g}id != 145

Andrzej Krzysztofowicz ankry at green.mif.pg.gda.pl
Thu Jul 28 16:22:18 CEST 2005


maHo wrote:
> 
> While installing Firebird
> 
> #v+
> poldek:/all-avail> install Firebird-1.5.2.4731-1
> Przetwarzanie zależności...
> Firebird-1.5.2.4731-1 zaznaczył Firebird-lib-1.5.2.4731-1 (wł. Firebird-lib)
> [ciach]
> Przygotowywanie...          ########################################### [100%]
>    1:Firebird-lib           ########################################### [ 50%]
> /sbin/ldconfig: Can't link /usr/lib/../gen/firebird/lib/libib_util.so
> to libib_util.so
> Error: group firebird doesn't have gid=145. Correct this before
> installing Firebird.
> błąd: %pre(Firebird-1.5.2.4731-1.amd64) skryptlet nie powiódł się,
> status wyjścia 1
> błąd:   install: skrypt %pre nie powiódł się (2), pomijanie
> Firebird-1.5.2.4731-1
> Wystąpiły błędy podczas instalacji
> #v-
> 
> In spec, there are such commands in %pre:
> #v+
> %pre
> %groupadd -g 145 firebird
> %useradd -u 145 -d %{ibdir} -s /bin/sh -g firebird -c "Firebird Server" firebird
> #v-
> 
> So I suppose that it isn't problem with Firebird, but with
> %{user,group}add rpm macros.

Not right.
Problem is that you probably had this user before. What the following
command says? :

grep firebird /etc/passwd /etc/group

> And question, in what packages are the macros defined?

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry at mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Gdansk University of Technology



More information about the pld-devel-en mailing list