Ubuntu com problemas para atualizar. [RESOLVIDO]

1. Ubuntu com problemas para atualizar. [RESOLVIDO]

Moises Viana Felipe
viana3

(usa openSUSE)

Enviado em 24/09/2012 - 18:12h

Olá pessoal.

Quando tento atualizar via terminal aparece a seguinte mensagem:

Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Os pacotes a seguir serão atualizados:
ghostscript ghostscript-cups ghostscript-x libgs9 libgs9-common libvlc5
libvlccore5 software-center vlc-data vlc-nox vlc-plugin-notify
vlc-plugin-pulse
12 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
Failed to exec method /usr/lib/apt/methods/
E: Method has died unexpectedly!
E: Sub-processo retornou um código de erro (100)
E: Método /usr/lib/apt/methods/ não iniciou corretamente

Alguém pode me ajudar?


  


2. MELHOR RESPOSTA

Rafael Ancinelo Adolpho
radolpho

(usa Ubuntu)

Enviado em 24/09/2012 - 19:31h

Olá.
Isso significa que um dos repositórios está errado, em /etc/apt/sources.list.

Faz o seguinte executa: sudo nano /etc/apt/sources.list

Vê se dentro dele tem alguma entrada de repositório com 'https'. Se tiver deixe somente 'http'.

Exemplo:
Se encontrar uma linha assim (exemplo):

deb https://br.archive.ubuntu.com/ubuntu/...

Deixe-a assim:

deb http://br.archive.ubuntu.com/ubuntu/.

Salve o arquivo.

Depois rode: sudo apt-get update
e estará tudo ok.

Até mais.

3. Re: Ubuntu com problemas para atualizar. [RESOLVIDO]

Moises Viana Felipe
viana3

(usa openSUSE)

Enviado em 24/09/2012 - 19:57h

Radolpho,tentei como você falou mas não consegui encontrar o erro. veja a lista abaixo dos meus repositórios.

GNU nano 2.2.6 Arquivo: /etc/apt/sources.list

# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ pr$

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu precise main restricted
deb-src http://archive.ubuntu.com/ubuntu precise main restricted

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

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu precise universe
deb-src http://archive.ubuntu.com/ubuntu precise universe





4. Re: Ubuntu com problemas para atualizar. [RESOLVIDO]

André Canhadas
andrecanhadas

(usa Debian)

Enviado em 24/09/2012 - 20:32h

Tente:

sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade



5. Re: Ubuntu com problemas para atualizar. [RESOLVIDO]

Moises Viana Felipe
viana3

(usa openSUSE)

Enviado em 25/09/2012 - 13:12h

Muito obrigado Radolpho, tentei novamente e deu certo.Mas tenho uma pergunta.Como você descobriu que o erro era no repositório?

Obrigado também a Andrecanhadas.


6. Re: Ubuntu com problemas para atualizar. [RESOLVIDO]

Rafael Ancinelo Adolpho
radolpho

(usa Ubuntu)

Enviado em 25/09/2012 - 14:03h

Olá viana3.

Que bom que pude te ajudar.
Eu já tinha visto esse erro antes e tinha encontrado em outro forum essa solução.

Até mais.
Abraço


7. Tmb to com esse problema

Allan Oliveira
AllanOliveira

(usa Ubuntu)

Enviado em 07/06/2013 - 22:46h

Apareceu aqui tmb, uso o 12.04.2 LTS

O q aparece quando executo o comando: sudo nano /etc/apt/sources.list

# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/$

# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/$
# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/$

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ precise main restricted

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

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. 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/ precise universe
deb-src http://br.archive.ubuntu.com/ubuntu/ precise universe
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-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/ precise multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-updates multiverse

## 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://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security 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 precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
deb http://br.archive.ubuntu.com/ubuntu/ precise-proposed restricted main multi$
deb http://br.archive.ubuntu.com/ubuntu/ precise-backports restricted main mult$

Ja tentei verificar se há algum https, ou pontos extras na frente, mas até agora nada!!
O q posso fazer?




8. Re: Ubuntu com problemas para atualizar. [RESOLVIDO]

Buckminster
Buckminster

(usa Debian)

Enviado em 07/06/2013 - 23:00h

AllanOliveira escreveu:

Apareceu aqui tmb, uso o 12.04.2 LTS

O q aparece quando executo o comando: sudo nano /etc/apt/sources.list

# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/$

# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/$
# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/$

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ precise main restricted

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

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. 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/ precise universe
deb-src http://br.archive.ubuntu.com/ubuntu/ precise universe
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-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/ precise multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-updates multiverse

## 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://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security 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 precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
deb http://br.archive.ubuntu.com/ubuntu/ precise-proposed restricted main multi$
deb http://br.archive.ubuntu.com/ubuntu/ precise-backports restricted main mult$

Ja tentei verificar se há algum https, ou pontos extras na frente, mas até agora nada!!
O q posso fazer?



Acrescente uma barra (/) no final dos repositórios onde não tem, exemplo:
deb http://extras.ubuntu.com/ubuntu/ precise main

Salva e sai do arquivo e executa:
$ sudo apt-get update


9. Re: Ubuntu com problemas para atualizar. [RESOLVIDO]

Allan Oliveira
AllanOliveira

(usa Ubuntu)

Enviado em 08/06/2013 - 00:33h

Então tentei colocar mas não deu certo.
Coloquei o "/" só nos extras, está correto?

Veja como deixei:
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu/ precise main
deb-src http://extras.ubuntu.com/ubuntu/ precise main
deb http://br.archive.ubuntu.com/ubuntu/ precise-proposed restricted main multi$
deb http://br.archive.ubuntu.com/ubuntu/ precise-backports restricted main mult$


Bem segui este conselho aqui:
http://linuxlike.blogspot.com.br/2012/02/correcao-para-erro-gpg-assinaturas.html

Até agora deu certo.
Estava tmb com erro de GPG.
Mas obrigado pela ajuda. Espero q este erro não volte mais!!
Abraços

OBS: Mas se tiverem dicas, por favor não exitem em dizer!!
Flw






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts