porty II

adam adam.gargulak at i.cz
Tue Jan 14 09:01:02 CET 2003


A nemohlo se neco polamat v databazi portu ? Mel jsem jednou taktez problem
s portupgrade, neslo dokonvce udelat pkgdb -F, nakonec jsem zjistil ze mam
chybny zaznam v databazi portu (var/db/pkg), mozna bude zakopany pes tam
kdyz nepomahaji nove portu ani upgrade portupgrade.

				Adam

On Tue, Jan 14, 2003 at 07:21:11AM +0100, Zbyněk Burget wrote:
> Tak, tady je jeden takovy pokus o pridani portu - byl proveden jeste pred
> aktualizaci kolekce portu. Po aktualizaci seto chovalo prakticky stejne, jen
> s tim rozdilem, ze chtel aktualizovat XFree86-libraries (uz bylo v portech
> novejsi), takze jsem musel dat portupgrade bez optionu -R. Pak ten vypis
> vypada uplne stejne, jenom chybi radky zacinajici **
> 
> # portupgrade -FPRN tkdesk
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 79 packages
> found (-0 +25) ......................... done]
> ** No need to upgrade 'gmake-3.80' (>= gmake-3.79.1_3). (specify -f to
> force)
> ** No need to upgrade 'freetype2-2.1.2_1' (>= freetype2-2.1.2). (specify -f
> to force)
> ** No need to upgrade 'XFree86-libraries-4.2.1_3' (>=
> XFree86-libraries-4.2.1_1). (specify -f to force)
> --->  Checking the availability of the latest package of 'x11-fm/tkdesk'
> --->  Found a package of 'x11-fm/tkdesk':
> /usr/ports/packages/All/tkdesk-1.2_1.tgz
> # portupgrade -PRN tkdesk
> ** No need to upgrade 'gmake-3.80' (>= gmake-3.79.1_3). (specify -f to
> force)
> ** No need to upgrade 'freetype2-2.1.2_1' (>= freetype2-2.1.2). (specify -f
> to force)
> ** No need to upgrade 'XFree86-libraries-4.2.1_3' (>=
> XFree86-libraries-4.2.1_1). (specify -f to force)
> --->  Checking the availability of the latest package of 'x11-fm/tkdesk'
> --->  Found a package of 'x11-fm/tkdesk':
> /usr/ports/packages/All/tkdesk-1.2_1.tgz
> --->  Installing 'tkdesk-1.2_1' from a package
> --->  Installing the new version via the package
> pkg_add: could not find package tcl-8.3.5  (proceeding anyway)
> pkg_add: could not find package itcl-3.2  (proceeding anyway)
> pkg_add: could not find package tk-8.3.5  (proceeding anyway)
> pkg_add: could not find package blt-2.4u  (proceeding anyway)
> pkg_add: can't open dependency file '/var/db/pkg/tcl-8.3.5/+REQUIRED_BY'!
> dependency registration is incomplete
> pkg_add: can't open dependency file '/var/db/pkg/itcl-3.2/+REQUIRED_BY'!
> dependency registration is incomplete
> pkg_add: can't open dependency file '/var/db/pkg/tk-8.3.5/+REQUIRED_BY'!
> dependency registration is incomplete
> pkg_add: can't open dependency file '/var/db/pkg/blt-2.4u/+REQUIRED_BY'!
> dependency registration is incomplete
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 80 packages
> found (-0 +1) . done]
> # pkg_deinstall tkdesk
> Stale dependency: tkdesk-1.2_1 --> blt-2.4u -- manually run 'pkgdb -F' to
> fix, or specify -O to force.
> # pkg_delete /var/db/pkg/tkdesk-1.2_1
> # pkgdb -Fu
> --->  Updating the pkgdb
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 79 packages
> found (-1 +0) (...) done]
> --->  Checking the package registry database
> 
> Z toho, jak se to chova jsem jenom pochopil to, ze portupgrade potrbuje
> kolekci portu ke dvema vecem. Jednak tam ma napsano, odkud se stahuji
> zdrojaky, a potom, jaka je aktualni verze toho ktereho portu - tzn. jestli
> je potreba ho upgradovat nebo ne. Evidentne ze sebe vola pkg_add -f je
> mozne, ze se neco polamalo, jenom nevim co. Kdyz jsem portupgrade odebral a
> znovu nainstaloval, tak se to chova stejne. Jestli je neco polamane, tak se
> to pri odinstalaci neodebere a pri instalaci neprepise. Nebo je chyba nekde
> uplne jinde - portupgrade potrebuje ten ruby - nemohlo se neco polamat v
> nem?
> 
> Zbynek
> 
> Zbynek
> 

-- 
Adam Gargulak
Managing Consultant
ICZ,a.s.
V Olsinach 2300/75, 100 97 Praha 10, CZ
Tel.: +420 2 81 00 22 22
mailto:adam.gargulak at i.cz
http://www.i.cz




More information about the Users-l mailing list