instalace lokalniho balicku pomoci pkgNG

Martin Salac martin.salac at neverhood.cz
Thu Apr 23 14:12:02 CEST 2015


Ahoj

Dne 2015-04-23 02:42, Miroslav Lachman napsal:

> 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

... tak bohuzel, ani po odstraneni @srcdir se konverze nepovedla.
Stezuje si, ze nema property origin a neni to validni pkg:


root at bsdtst:/root # pkg_info
hptraidconf-3.5     HighPoint RAID Management CLI
hptsvr-3.13         HighPoint RAID Management Service

root at bsdtst:/root # pkg2ng
Converting packages from /var/db/pkg
Converting hptsvr-3.13...
Installing hptsvr-3.13...
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
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%

... je to uz alespon jiny typ chyby :-)


> Pak uz by mel pkg2ng projit.

Trebas priste :-)

> Mirek

Diky Mirku

Martin


More information about the Users-l mailing list