portupgrade portversion missing categories

Daniel Dvořák daniel-dvorak at atlas.cz
Fri Feb 9 14:04:44 CET 2007


skutecne to zabralo az po vymazani vsech INDEX* souboru v portech a make
fetchindex pak se to zpamatovalo
diky za rady

Ondra Koutek napsal(a):
> Ne, tohle presne je stav po instalaci neauktualniho portuprade s chybou.
> Zkuste jeste pred instalaci fetchnout posledni verzi.
>
> %pkg_info |grep portupgrade
> portupgrade-2.2.2_4,2 FreeBSD ports/packages administration and
> management tool s
> %
>
>
> Ondra
>
> Daniel Dvořák píše v pá 09. 02. 2007 v 13:41 +0100:
>   
>> Díky za odezvu.
>>
>> Provedl jsem pkg_deinstall -f portupgrade-2.2.2,2
>> pak make install clean
>> pak rehash (mimochodem proc tohle neni zautomatizovano, to je takovy
>> problem, viz apt-get install a zadny rehash tam neni)
>> portversion -vL=
>> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 183 packages
>> found (-0 +1) . done]
>> [missing key: categories] [Updating the portsdb <format:bdb_btree> in
>> /usr/ports ... - 16509 port entries found
>> .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.....
>> ..... done]
>> /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:328:in `deorigin_glob':
>> DB_PAGE_NOTFOUND: Requested page not found (PkgDB::DBError)
>>         from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:230:in
>> `config_include?'
>>         from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:225:in `each'
>>         from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:225:in
>> `config_include?'
>>         from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:211:in
>> `config_held?'
>>         from /usr/local/sbin/portversion:326:in `check_pkgs'
>>         from /usr/local/sbin/portversion:309:in `each'
>>         from /usr/local/sbin/portversion:309:in `check_pkgs'
>>         from /usr/local/sbin/portversion:269:in `main'
>>         from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize'
>>         from /usr/local/sbin/portversion:80:in `new'
>>         from /usr/local/sbin/portversion:80:in `main'
>>         from /usr/local/sbin/portversion:364
>>
>> Takže je problém ještě někde s ruby ?
>>
>> Dan
>>
>>
>> gabriel napsal(a):
>>     
>>> Presne tak. Zmazat portupgrade (napr. pkg_deinstall -fi portupgrade) a 
>>> nainstallit ho znova, indexy mazat nie je treba (aspon ja som nemusel), 
>>> ale kludne to pre istotu sprav.
>>>
>>> G
>>>
>>>
>>> Ondra Koutek wrote:
>>>   
>>>       
>>>> Probiralo se to na konferenci ports.
>>>> je to bug v portupgrade a je potreba upgradovat na posledni verzi.
>>>> Pak smazat index a stahnout ho znova a melo by se to vzpamatovat.
>>>> Osobne jsem stale na cvs takze se me to netykalo (pouze jsem musel
>>>> odinstalovat portupgrade a nainstalovat to nove).
>>>>
>>>> Ondra
>>>>
>>>> Daniel DvoÃ
™Ã¡k píÃ
¡e v pá 09. 02. 2007 v 11:48 +0100:
>>>>     
>>>>         
>>>>> Ahoj lidi, prosim poradte s portsnap. Provedl jsem po delsi dobe
>>>>> portsnap fetch update, portversion -vL= na nekolika ruznych serverech,
>>>>> to co nasledovalo nebylo vubec pekny a bylo to vsude stejny:
>>>>>
>>>>> portversion -vL=
>>>>> cd: can't cd to /usr/ports/sysutils/portupgrade
>>>>> [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 16509 port
>>>>> entries found
>>>>> .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.....
>>>>> ..... done]
>>>>> [missing key: categories] [Updating the portsdb <format:bdb_btree> in
>>>>> /usr/ports ... - 16509 port entries found
>>>>> .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.....
>>>>> ..... done]
>>>>> missing key: categories: Cannot read the portsdb!
>>>>> database file error
>>>>> pak nasledoval bezny vypis zastaralych softu jako pred tim jako obvykle
>>>>> jako kdyz neni problem :)
>>>>>
>>>>> Setkal se s tim nekdo a co s tim jako mam delat ?
>>>>>
>>>>> Díky
>>>>> Dan
>>>>>       
>>>>>           
>
>   




More information about the Users-l mailing list