[port|pkg]*

Peter Rosa prosa at pro.sk
Sun Mar 11 09:34:38 CET 2007


Zdravim vsetkych,

a prosim o radu.

System: FreeBSD 6.1-RELEASE-p11
Posledny cvsup: 11.3.2007 8:30 (porty aj system)
Portupgrade: portupgrade-2.2.6_2,2


Az dodnes som na upgrade portov pouzival uplne bezproblemovo
portupgrade. Niekedy vo februari sa zmenil jeho origin na
/usr/ports-mngmt/portupgrade, takisto sa zmenili aj dalsie utility.
Potialto v pohode - stary som odinstaloval, novy nainstaloval a hotovo.
A tu sa to zacalo...

Po instalacii (je to aj v UPDATING) to chcelo pkgdb -L. OK, urobil som.
Fixovalo to niekolo "lost-dependencies".

Skusil som upgradovat php5-extensions, skoncilo s chybovou hlaskou
"Stale dependency... run pkgdb -F to fix". Nuz som spustil pkgdb -F,
a vypisalo to kopec chyb, z ktorych je alarmujuca napr. tato:

sed: 1: "s|^\(@comment[": unbalanced brackets ([])
Failed to rewrite /var/db/pkg/pecl-PDO-1.0.3/+CONTENTS: Command failed
[exit code 1]: "sed" "\"s|^\\\\(@comment[\"" "\"\"" "\"][\"" "\"\""
"\"]*ORIGIN:\\\\).*\\\$|\\\\1databases/php5-pdo|\"" "<"
"/var/db/pkg/pecl-PDO-1.0.3/+CONTENTS" ">" "/tmp/+CONTENTS.99965.0"

Potom este kopec dalsich "Stale dependencies" (pri niektorych znovu
"unbalanced brackets"), pricom nedokazal urcit/presmerovat nove
zavislosti. Predosla verzia to zvladla v pohode, teraz to nejde.
Zrejme sa medzicasom v ports-tree zmenilo ovela viac...


Takze otazky:
1. ako sa zbavim chyby "unbalanced brackets ([])"?
2. ako odinstalujem vsetky php5-extensions, ked je system v takto
    rozbitom stave?


Vdaka za vas cas a napady :-)

-- 

Peter Rosa



More information about the Users-l mailing list