Bem-vindo: Seg, 19 de Agosto 2019, 5:05 Pesquisa avançada

Não consigo Atualizar Ubuntu 12.04 LTS 64 bit

Exponha aqui todas as dúvidas ou pontos de vista sobre a instalação do Ubuntu!

Não consigo Atualizar Ubuntu 12.04 LTS 64 bit

Mensagempor KamiKase » Sex, 26 de Junho 2015, 17:25

Meu Ubuntu 12.04 não atualiza e consequentemente nenhum programa. Vi alguns casos parecidos pra outras versoes onde o problema era informações duplicadas Quando dou o comando: sudo gedit /etc/apt/sources.list aparece o conteúdo abaixo. Alguém ai sabe resolver. Agradeceria muito.

Código: Selecionar todos
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ oneiric main restricted
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ dists/oneiric/main/binary-i386/
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick 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/ precise main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ precise main

## 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

## 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

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


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

## Major bug fix updates produced after the final release of the
## distribution.
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.

## 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.

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

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

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.

KamiKase
 
Mensagens: 3
Registrado em: 26 Junho, 2015

Re: Não consigo Atualizar Ubuntu 12.04 LTS 64 bit

Mensagempor Luis Cardoso » Dom, 28 de Junho 2015, 15:06

Olá KamiKase,

Pode partilhar aqui o erro que lhe dá ao tentar actualizar via terminal? É que assim à primeira vista, parece não haver nada de errado, mas sem mais informação, fica-se às aranhas...
ImagemImagem
«Escolhe um trabalho de que gostes, e não terás que trabalhar um só dia na tua vida» - Confúcio
Avatar do usuário
Luis Cardoso
Redator
 
Mensagens: 10455
Registrado em: 26 Maio, 2011
Localização: Portugal

Re: Não consigo Atualizar Ubuntu 12.04 LTS 64 bit

Mensagempor KamiKase » Ter, 30 de Junho 2015, 19:24

Olá Luís Cardoso, pelo terminal aparece o seguinte:

Código: Selecionar todos
lucas@lucas-Calpella-Platform:~$ sudo do-release-upgrade
[sudo] password for lucas:
Verificando por uma nova versão do Ubuntu
Obtendo:1 Assinatura da ferramenta de atualização [198 B]                                                                                             
Obtendo:2 Ferramenta de atualização [1.158 kB]                                                                                                       
Obtidos 1.158 kB em 0s (0 B/s)                                                                                                                       
autenticar os 'trusty.tar.gz' contra as 'trusty.tar.gz.gpg'
extraindo 'trusty.tar.gz'

Lendo cache


Ocorreu um erro fatal

Por favor, relate isso como um erro e inclua os arquivos
/var/log/dist-upgrade/main.log e /var/log/dist-upgrade/apt.log em seu
relatório. A atualização foi cancelada.
Seu arquivo sources.list original foi salvo em
/etc/apt/sources.list.distUpgrade.

Traceback (most recent call last):

File "/tmp/update-manager-KdQ5zX/trusty", line 10, in <module>
sys.exit(main())

File "/tmp/update-manager-KdQ5zX/DistUpgrade/DistUpgradeMain.py",
line 241, in main save_system_state(logdir)

File "/tmp/update-manager-KdQ5zX/DistUpgrade/DistUpgradeMain.py",
line 134, in save_system_state scrub_sources=True)

File "/tmp/update-manager-KdQ5zX/DistUpgrade/apt_clone.py", line 148,
in save_state self._write_state_installed_pkgs(sourcedir, tar)

File "/tmp/update-manager-KdQ5zX/DistUpgrade/apt_clone.py", line 178,
in _write_state_installed_pkgs cache = self._cache_cls(rootdir=sourcedir)

File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in
__init__self.open(progress)

File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 149, in
open self._list.read_main_list()

SystemError: E:Tipo '“deb' não é conhecido na linha 1 na lista de
fontes /etc/apt/sources.list.d/virtualbox.list

KamiKase
 
Mensagens: 3
Registrado em: 26 Junho, 2015

Re: Não consigo Atualizar Ubuntu 12.04 LTS 64 bit

Mensagempor Luis Cardoso » Qui, 16 de Julho 2015, 23:02

Segundo a sua resposta, está a querer actualizar o Ubuntu para a nova versão... Para a simples actualização de aplicações, dentro da mesma versão do Ubuntu, então usa-se o seguinte comando:

sudo apt-get update && sudo apt-get upgrade


Em caso de bibliotecas novas que obriguem a remoção e/ou instalação de pacotes extra, então será o seguinte comando:


sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade


Se o que pretende, é mesmo fazer uma actualização do Ubuntu 12.04 para o mais actual, então tem mesmo de ver o que se passa nos registos que o apt-get lhe indicou:
  • /var/log/dist-upgrade/main.log
  • /var/log/dist-upgrade/apt.log
ImagemImagem
«Escolhe um trabalho de que gostes, e não terás que trabalhar um só dia na tua vida» - Confúcio
Avatar do usuário
Luis Cardoso
Redator
 
Mensagens: 10455
Registrado em: 26 Maio, 2011
Localização: Portugal

Re: Não consigo Atualizar Ubuntu 12.04 LTS 64 bit

Mensagempor KamiKase » Sex, 17 de Julho 2015, 18:31

Ok. Obrigado, Luis Cardoso.

KamiKase
 
Mensagens: 3
Registrado em: 26 Junho, 2015


Voltar para Instalação do Ubuntu

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 5 visitantes