instalace lokalniho balicku pomoci pkgNG
Martin Salac
martin.salac at neverhood.cz
Thu Apr 23 15:40:36 CEST 2015
Dne 2015-04-23 14:12, Martin Salac napsal:
> 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 :-)
Tak update sam na sebe - nainstaloval jsem portupgrade, tim ziskal
utilitu pkgdb
a pomoci prikazu pkgdb -F jsem opravil u obou baliku origin (vytvoril
jsem falesne
sysutils/hptraidconf a sysutils/hptsvr) a po teto operaci jiz prevod
probehl normalne.
Vytvoril jsem si NG baliky pomoci prikazu:
pkg create -o /root/hpt hptraidconf
pkg create -o /root/hpt hptsvr
Jsem zvedav, jak mi to bude fungovat az se vecer dostanu ke stroji s
radicem.
BTW - (pokud by nekoho zajimalo) hpt server mi funguje jenom na
architekture i386,
u amd64 hlasi no driver loaded ... ackoli hptrr v jadre zavedene, disk
vidim,
cist/zapisovat jde normalne (na 64b).
Zdravi
Martin
More information about the Users-l
mailing list