problemas para atualizar e instalar novos programas

Iniciado por felipeett, 26 de Janeiro de 2008, 10:26

tópico anterior - próximo tópico

felipeett

quando dou o comando upgrade, aparece o seguinte erro

sudo apt-get upgrade Lendo lista de pacotes... Erro!
E: Problem parsing dependency Recommends
E: Um erro ocorreu processando kubuntu-desktop (NovaVersão1)
E: Problem with MergeList /var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_gutsy_main_binary-i386_Packages
E: As listas de pacotes ou os arquivos de status não puderam ser analisados ou abertos.


se tento remover algum programa na marra também não da

sudo dpkg --remove --force-remove-reinstreq nagios
dpkg - aviso: ignorando pedido para remover nagios que não está instalado.


e eu tenho 95 atualizações para instalar e não estou conseguindo instalar
sempre da o seguinte erro

Extraíndos templates de pacotes : 100%
Pré-configurando pacotes ...
dpkg: syntax error: unknown user 'nagios' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
A instalação de um pacote falhou. Tentando recuperar:


Se alguém poder me ajudar agradeço muito
vlw

agente100gelo

Copie o conteúdo do seu arquivo /etc/apt/sources.list
Advogado e analista de sistema cearense.
Twitter: @glaydson

felipeett

vou fazer isso na segunda porque esse problema é no computador do meu trabalho
vlw

felipeett

# deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://br.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://br.archive.ubuntu.com/ubuntu/ gutsy universe
deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy universe
deb http://br.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://br.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb http://br.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://pt.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://pt.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu gutsy partner
deb-src http://archive.canonical.com/ubuntu gutsy partner

deb http://br.archive.ubuntu.com/ubuntu/ gutsy-security main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy-security main restricted
deb http://br.archive.ubuntu.com/ubuntu/ gutsy-security universe
deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy-security universe
deb http://br.archive.ubuntu.com/ubuntu/ gutsy-security multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy-security multiverse
deb http://us.archive.ubuntu.com/ubuntu gutsy universe
deb http://wine.budgetdedicated.com/apt gutsy main
# Repositório Medibuntu
deb http://packages.medibuntu.org/ gutsy free non-free
# 465 fontes livres
deb http://ppa.launchpad.net/corenominal/ubuntu gutsy main
deb-src http://ppa.launchpad.net/corenominal/ubuntu gutsy main
# Google software repository
deb http://dl.google.com/linux/deb/ stable non-free

agente100gelo

Tenta comentar estas linhas:
# Repositório Medibuntu
#deb http://packages.medibuntu.org/ gutsy free non-free
# 465 fontes livres
#deb http://ppa.launchpad.net/corenominal/ubuntu gutsy main
#deb-src http://ppa.launchpad.net/corenominal/ubuntu gutsy main
# Google software repository
#deb http://dl.google.com/linux/deb/ stable non-free


Agora tenta um update e upgrade.
Advogado e analista de sistema cearense.
Twitter: @glaydson

felipeett

não deu certo, da sempre esse erro no final

Pré-configurando pacotes ...
dpkg: syntax error: unknown user `nagios' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
prefeitura@04-05-01sp001:~$


eu tenho o nagios instalado, só que eu instalei apenas para fazer uns testes ele nem está sendo usado,
e a mensagem que aparece é sempre referente ao nagios, ja tentei desinstalar mais não consigui.
vlw

felipeett

consigui resolver o problema criando um usuário com o nome 'nagios' no sistema, não entendi o porque
disso, mas o problema está resolvido.
vlw

agente100gelo

Citação de: felipeett online 28 de Janeiro de 2008, 15:20
consigui resolver o problema criando um usuário com o nome 'nagios' no sistema, não entendi o porque
disso, mas o problema está resolvido.
vlw
Essa foi boa. Que problema e solução bizarros.
Ainda bem que deu certo!
Advogado e analista de sistema cearense.
Twitter: @glaydson