Bom Dia Lista... Seguinte .. ao tentar atualiza e corrigir pacotes quebrados pelo aptitude me retorna este erro na minha estação; marlos74:~# aptitude -f install scrollkeeper Preparando para substituir xml-core 0.09 (usando .../xml-core_0.09-0.1_all.deb) ... update-xmlcatalog: cannot open catalog data /var/lib/xml-core/catalog for reading: Não é um diretório at /usr/sbin/update-xmlcatalog line 475. Erros foram encontrados durante processamento de: scrollkeeper -------------------------------------------------------------- Verificando e endereço... marlos@marlos74:~$ ls -l /var/lib/xml-core -rw-r--r-- 2 root root 64 2006-04-10 11:36 /var/lib/xml-core Como podemos ver.. ele realmente nao eh um diretorio.. Tentando reconfigurar ele na força.. marlos74:/# dpkg-reconfigure --force scrollkeeper update-xmlcatalog: cannot open catalog data /var/lib/xml-core/catalog for reading: Não é um diretório at /usr/sbin/update-xmlcatalog line 475. update-xmlcatalog: error: package catalog /etc/xml/scrollkeeper.xml not found update-xmlcatalog: cannot open catalog data /var/lib/xml-core/scrollkeeper for writing: Não é um diretório at /usr/sbin/update-xmlcatalog line 496. Bom.. verificando o script update-xmlcatalog o que tem relação do xml-core segue abaixo as linhas com estas strings "xml-core" --- F</usr/share/doc/xml-core/README.Debian> ... $catalog_data_dir = '/var/lib/xml-core'; $catalog_dir = '/etc/xml'; ... sub write_catalog { ## ------------------------------------------------------------------ my @catalog = (); ## ------------------------------------------------------------------ my $header = '/usr/share/xml-core/catalog.header'; open( HEADER, '<', $header ) or die "$name: cannot open catalog header $header for reading: $!"; while ( <HEADER> ) { chop; push( @catalog, $_ ); } close( HEADER ) or die "$name: cannot close catalog header $header: $!"; __ No README do pacote consta a incompatibilidade destes pacotes... F</usr/share/doc/xml-core/README.Debian> Incompatibility of update-xmlcatalog(8) and xmlcatalog(1) --------------------------------------------------------- update-xmlcatalog(8) in the xml-core package and xmlcatalog(1) in the libxml2-utils package are _incompatible_. The former has an internal database of all the entries in all the XML catalog files it maintains and regenerates the indicated XML catalog file completely from scratch upon an update. The latter updates the indicated XML catalog file directly. This means that any change made to an XML catalog file using xmlcatalog(1) is overwritten the next time that XML catalog file is updated using update-xmlcatalog(8). Acho que quanto a isso eu nao teria problema como segue asseguir um esta instalado o outro nao.. marlos74:/# dpkg -l xml-core Desejado=U=Desconhecido/Instalar/Remover/aPagar/H=Manter | status=Não/Instalado/arquiv.-Config./U=Descomp./Falhou-config/H=semi-inst. |/ Erro?=(nenhum)/H=Mantido/precisa-Reinst./X=os dois problemas (status,Erro: maiúsculas=ruim) ||/ Nome Versão Descrição +++-=========================-=========================-================================================================== ii xml-core 0.09 XML infrastructure and XML catalog file support marlos74:/# dpkg -l libxml2-utils Desejado=U=Desconhecido/Instalar/Remover/aPagar/H=Manter | status=Não/Instalado/arquiv.-Config./U=Descomp./Falhou-config/H=semi-inst. | / Erro?=(nenhum)/H=Mantido/precisa-Reinst./X=os dois problemas (status,Erro: maiúsculas=ruim) | | / Nome Versão Descrição +++-=========================-=========================-================================================================== pn libxml2-utils <nenhuma> (nenhuma descrição disponível) Aqui esta o catalog.header.... marlos74:/# cat /usr/share/xml-core/catalog.header <?xml version="1.0"?> <!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.0//EN" "file:///usr/share/xml/schema/xml-core/catalog.dtd"> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> Listando o .dtd marlos@marlos74:~/Pacotes$ ls -l /usr/share/xml/schema/xml-core/catalog.dtd -rw-r--r-- 1 root root 3843 2004-04-25 13:09 /usr/share/xml/schema/xml-core/catalog.dtd Bom .. acredito que tem chegado no código onde esta o erro, porem não sei o que fazer para resolver . alguem tem alguma idea.. Atenciosamente -- Marlos Sedrez Atendimento Linux/Redes - Senior TI marlos.sedrez@senior.com.br Telefone: 3221-3332 R.:539 |