2009/2/17 Vinícius Abrahão <vinnix....@gmail.com>: > Olá amigos, como vão? > > Estava atualizando meus ports por aqui, quando apareceu uma menssagem > solicitando que eu rodasse o > 'pkgdb -F' pois havia conflito na arvore. > > Rodando o pkgdb me deparei com algumas questões e erros que não soube > compreender: > > # pkgdb -Ff > ---> Checking the package registry database > Duplicated origin: lang/php5 - php5-5.2.8 php5-pcre-5.2.6_1 ----> como > assim origem duplicada? > Unregister any of them? [no] yes --> tudo bem, vamos tentar concertar... > Unregister php5-5.2.8 keeping the installed files intact? [no] yes > -> php5-pcre-5.2.6_1 is kept. > --> Saving the php5-5.2.8's +CONTENTS file as > /var/db/pkg/php5-pcre-5.2.6_1/+CONTENTS.php5-5.2.8 --> não entendi porque > ele tenta copiar os dados do php5 pra dentro do pcre > cp: /var/db/pkg/php5-5.2.8/+CONTENTS: No such file or directory > Command failed [exit code 1]: /bin/cp -pf /var/db/pkg/php5-5.2.8/+CONTENTS > /var/db/pkg/php5-pcre-5.2.6_1/+CONTENTS.php5-5.2.8 > > Tentando de outra forma: > > # pkgdb -Ff > ---> Checking the package registry database > Duplicated origin: lang/php5 - php5-5.2.8 php5-pcre-5.2.6_1 > Unregister any of them? [no] yes > Unregister php5-5.2.8 keeping the installed files intact? [no] no > Unregister php5-pcre-5.2.6_1 keeping the installed files intact? [no] no > Stale dependency: openoffice.org-2.4.1 -> php5-5.2.6_1 (lang/php5): (aí > fiquei mais confuso ainda, que diabos o openoffice tem a ver com o php) > php5-5.2.8 (score:83%) ? ([y]es/[n]o/[a]ll) [yes]
Extraído do /usr/ports/UPDATING: 20081211: AFFECTS: users of lang/php5 AUTHOR: p...@freebsd.org, ite...@freebsd.org, a...@freebsd.org As of php 5.2.7, pcre extension is distributed with the core php5 package, and not as a standalone module anymore. Follow these steps to update your installation: Portupgrade users: pkg_delete -f php5-pcre-5.2.6 pkgdb -F portupgrade as usual Portmaster users: pkg_delete -f php5-pcre\* portmaster php5\* If you are using pecl ports you might need to force an update on them, ie.: portupgrade -f pecl\* or portmaster pecl\* If you have the pecl hash, json and/or zip extensions you need to replace them with the php5 bundled ones, ie.: portmaster/portupgrade -o archivers/php5-zip archivers/pecl-zip portmaster/portupgrade -o devel/php5-json devel/pecl-json portmaster/portupgrade -o security/php5-hash security/pecl-hash If you build your INDEX locally and you tried to build it after the php update commit, you need to rebuild it _after_ you updated lang/php5: cd /usr/ports && make index or (if you use ports-mgmt/p5-FreeBSD-Portindex): cd /usr/ports && cache-init && portindex -o `make -V INDEXFILE` -- Renato Botelho ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd