instalace lokalniho balicku pomoci pkgNG

Miroslav Lachman 000.fbsd at quip.cz
Thu Apr 23 02:42:04 CEST 2015


Martin Salac wrote on 04/22/2015 22:46:
> Dne 2015-04-22 19:20, Miroslav Lachman napsal:
>> Martin Salac wrote on 04/22/2015 13:36:

[...]

> root na ebsdtst:/usr/local/etc/rc.d # pkg2ng
> Converting packages from /var/db/pkg
> Converting hptsvr-3.13...
> pkg: cannot parse keyword: cannot open file
> /usr/ports/Keywords/srcdir.ucl: No such file or directory
> pkg: unknown keyword srcdir: @srcdir
> Skipping invalid package: /var/db/pkg/hptsvr-3.13
> Converting hptraidconf-3.5...
> Installing hptraidconf-3.5...
> pkg: Invalid package: object has missing property origin
> pkg: the package is not valid
> pkg: sqlite error while executing ROLLBACK TRANSACTION in file
> pkgdb.c:1209: cannot rollback - no transaction is active
> Analysing shared libraries, this will take a while...
> Checking all packages: 100%

Myslim, ze @srcdir tam nema co delat ani v te stare verzi baliku. 
Kazdopadne podle 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197559 by melo stacit 
z toho souboru /var/db/pkg/hptsvr-3.13/+CONTENTS ty radky odstranit

sed -i .bak '/srcdir/d' /var/db/pkg/hptsvr-3.13/+CONTENTS

Pak uz by mel pkg2ng projit.

Mirek


More information about the Users-l mailing list