Autor Tópico: problemas para atualizar e instalar novos programas  (Lida 1920 vezes)

Offline felipeett

  • Usuário Ubuntu
  • *
  • Mensagens: 238
  • http://img534.imageshack.us/img534/3922/eorf.jpg
    • Ver perfil
problemas para atualizar e instalar novos programas
« Online: 26 de Janeiro de 2008, 10:26 »
quando dou o comando upgrade, aparece o seguinte erro

Código: [Selecionar]
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

Código: [Selecionar]
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

Código: [Selecionar]
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

Offline agente100gelo

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 4.369
  • @Ceará
    • Ver perfil
Re: problemas para atualizar e instalar novos programas
« Resposta #1 Online: 26 de Janeiro de 2008, 10:46 »
Copie o conteúdo do seu arquivo /etc/apt/sources.list
Advogado e analista de sistema cearense.
Twitter: @glaydson

Offline felipeett

  • Usuário Ubuntu
  • *
  • Mensagens: 238
  • http://img534.imageshack.us/img534/3922/eorf.jpg
    • Ver perfil
Re: problemas para atualizar e instalar novos programas
« Resposta #2 Online: 26 de Janeiro de 2008, 10:58 »
vou fazer isso na segunda porque esse problema é no computador do meu trabalho
vlw

Offline felipeett

  • Usuário Ubuntu
  • *
  • Mensagens: 238
  • http://img534.imageshack.us/img534/3922/eorf.jpg
    • Ver perfil
Re: problemas para atualizar e instalar novos programas
« Resposta #3 Online: 28 de Janeiro de 2008, 08:59 »
Código: [Selecionar]
# 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

Offline agente100gelo

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 4.369
  • @Ceará
    • Ver perfil
Re: problemas para atualizar e instalar novos programas
« Resposta #4 Online: 28 de Janeiro de 2008, 09:10 »
Tenta comentar estas linhas:
Código: [Selecionar]
# 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

Offline felipeett

  • Usuário Ubuntu
  • *
  • Mensagens: 238
  • http://img534.imageshack.us/img534/3922/eorf.jpg
    • Ver perfil
Re: problemas para atualizar e instalar novos programas
« Resposta #5 Online: 28 de Janeiro de 2008, 09:17 »
não deu certo, da sempre esse erro no final

Código: [Selecionar]
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

Offline felipeett

  • Usuário Ubuntu
  • *
  • Mensagens: 238
  • http://img534.imageshack.us/img534/3922/eorf.jpg
    • Ver perfil
Re: problemas para atualizar e instalar novos programas
« Resposta #6 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

Offline agente100gelo

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 4.369
  • @Ceará
    • Ver perfil
Re: problemas para atualizar e instalar novos programas
« Resposta #7 Online: 28 de Janeiro de 2008, 15:25 »
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