Autor Tópico: Erro ao atualizar o Ubuntu (RESOLVIDO)  (Lida 29304 vezes)

Offline druidaobelix

  • Usuário Ubuntu
  • *
  • Mensagens: 5.552
    • Ver perfil
Re:Erro ao atualizar o Ubuntu
« Resposta #60 Online: 08 de Julho de 2017, 14:35 »
Boa tarde, tenho boas notícias,
Que rufem os tambores, porque eu consegui, ou melhor, nós conseguimos !!!
Finalmente estou usando a versão Ubuntu 16.04 LTS !!!
Está inicializando tudo ok e o Grub está perfeito.
Agradeço muito pela atenção e paciência de todos.
Gostaria que me lembrassem como se gera mesmo aquele arquivo em modo texto pra vcs conferirem se está tudo ok. Seria sources.list ?
Fico no aguardo para a conferencia final.

Excelente alvíssaras, parabéns pelo esforço em aprender, ótimo que tenha conseguido.  :)

Se quiser ver como está agora a sources.list, observe como foi indicado no post #28

Traga ainda o resultado para:

Código: [Selecionar]
lsb_release -rd
Código: [Selecionar]
uname -srvm
Já que na instalação houve um estrangulamento do espaço em disco, contornado mas houve, então também esse:

Código: [Selecionar]
df -h
« Última modificação: 08 de Julho de 2017, 15:58 por druidaobelix »
www.arredondar.org.br
Vencedor Desafio de Impacto Social Google 2016!
Você também pode participar e fazer a diferença.

Offline galactus

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 4.683
    • Ver perfil
Re:Erro ao atualizar o Ubuntu
« Resposta #61 Online: 08 de Julho de 2017, 16:11 »
Nasceu!!!!

Viva!!!!

Que parto difícil!    :P

Espero que o Opera se resolva mais fácil!    :D :D :D


Perdeu o  medo MatrixBrave? Gostou do aprendizado?

Gostaria de destacar a "santa paciência" do druidaobelix!  Deve ser o efeito da poção mágica dele!

Bom saber que tudo terminou bem! Mesmo com essa surpresa no final, a do HD cheio! 

Abraços!

Há sim, MatrixBrave, favor colocar um Resolvido no tópico!
« Última modificação: 08 de Julho de 2017, 16:13 por galactus »
Kubuntu 21.10 / Linux Mint XFCE 20.2

Offline MatrixBrave

  • Usuário Ubuntu
  • *
  • Mensagens: 52
    • Ver perfil
Re:Erro ao atualizar o Ubuntu
« Resposta #62 Online: 08 de Julho de 2017, 18:29 »
Meus amigos,
Só pra explicar a minha "ingenuidade" na questão do espaço em disco, o que aconteceu foi que eu não sabia como resolver através de comandos, já que um usuário de windows fica sempre muito mal acostumado a usar apenas o mouse. Mas digo mais uma vez que esse sucesso foi fruto da paciência com esse aluno/discípulo que ainda está engatinhando no mundo Linux.
Mesmo assim foi uma maratona de muita paciência e aprendizado também, peço perdão também por nâo ter podido dar retorno com a rapidez que vcs todos merecem.

Agora seguem os registros que me pediu:

icebrave@Workstation:~$ cat /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
## deb-src http://br.archive.ubuntu.com/ubuntu/ vivid-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/ xenial universe
## deb-src http://br.archive.ubuntu.com/ubuntu/ vivid universe
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates universe
## deb-src http://br.archive.ubuntu.com/ubuntu/ vivid-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/ xenial multiverse
## deb-src http://br.archive.ubuntu.com/ubuntu/ vivid multiverse
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
## deb-src http://br.archive.ubuntu.com/ubuntu/ vivid-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 xenial-security main restricted
## deb-src http://security.ubuntu.com/ubuntu vivid-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
## deb-src http://security.ubuntu.com/ubuntu vivid-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
## deb-src http://security.ubuntu.com/ubuntu vivid-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.

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

## Major bug fix updates produced after the final release of the
## distribution.

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


## 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://br.archive.ubuntu.com/ubuntu/ vivid-proposed restricted multiverse universe main

icebrave@Workstation:~$



icebrave@Workstation:~$ lsb_release -rd
Description:   Ubuntu 16.04.2 LTS
Release:   16.04
icebrave@Workstation:~$



icebrave@Workstation:~$ uname -srvm
Linux 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64
icebrave@Workstation:~$


icebrave@Workstation:~$ df -h
Sist. Arq.      Tam. Usado Disp. Uso% Montado em
udev            3,9G     0  3,9G   0% /dev
tmpfs           793M  9,4M  784M   2% /run
/dev/sda7       9,1G  7,3G  1,4G  85% /
tmpfs           3,9G  304K  3,9G   1% /dev/shm
tmpfs           5,0M  4,0K  5,0M   1% /run/lock
tmpfs           3,9G     0  3,9G   0% /sys/fs/cgroup
/dev/sda9        19G  2,5G   15G  15% /home
tmpfs           793M   80K  793M   1% /run/user/1000
icebrave@Workstation:~$




Offline druidaobelix

  • Usuário Ubuntu
  • *
  • Mensagens: 5.552
    • Ver perfil
Re:Erro ao atualizar o Ubuntu
« Resposta #63 Online: 08 de Julho de 2017, 19:03 »
Quanto a sources.list está correta naquilo que está ativo, porém como se comentou antes as linhas dos deb-scr, que são os fontes dos pacotes, elas então ainda estão referenciado o vivid, o que é, digamos assim, uma "sujeira" no arquivo, então melhor corrigir, deixando o arquivo mais apresentável e sem nenhuma referência ao passado dele.

Faça esse comando para corrigir isso:

Código: [Selecionar]
sudo sed -i s'/vivid/xenial/g' /etc/apt/sources.list
www.arredondar.org.br
Vencedor Desafio de Impacto Social Google 2016!
Você também pode participar e fazer a diferença.

Offline druidaobelix

  • Usuário Ubuntu
  • *
  • Mensagens: 5.552
    • Ver perfil
Re:Erro ao atualizar o Ubuntu
« Resposta #64 Online: 08 de Julho de 2017, 19:06 »
Todavia, há uma questão grave e que pode rapidamente se tornar muito séria, a partição raiz do sistema está muito apertada, isso pode vir já já a dar problema.

Citar
Sist. Arq.      Tam. Usado Disp. Uso% Montado em

/dev/sda7       9,1G  7,3G  1,4G  85% /


Há apenas 1,4GB disponível na partição raiz.
Note que qualquer evento irá novamente estrangular o sistema por falta de espaço, morrerá por "asfixia".

« Última modificação: 08 de Julho de 2017, 19:08 por druidaobelix »
www.arredondar.org.br
Vencedor Desafio de Impacto Social Google 2016!
Você também pode participar e fazer a diferença.

Offline MatrixBrave

  • Usuário Ubuntu
  • *
  • Mensagens: 52
    • Ver perfil
Re:Erro ao atualizar o Ubuntu
« Resposta #65 Online: 08 de Julho de 2017, 19:19 »
Quanto ao possível estrangulamento, não sei o que deve ser apagado pra liberar mais espaço.
Poderia me dar alguma dica ?
Fiz o que me pediu, segue o novo registro :

icebrave@Workstation:~$  cat /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
## deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-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/ xenial universe
## deb-src http://br.archive.ubuntu.com/ubuntu/ xenial universe
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates universe
## deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-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/ xenial multiverse
## deb-src http://br.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
## deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-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 xenial-security main restricted
## deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
## deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
## deb-src http://security.ubuntu.com/ubuntu xenial-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.

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

## Major bug fix updates produced after the final release of the
## distribution.

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


## 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://br.archive.ubuntu.com/ubuntu/ xenial-proposed restricted multiverse universe main

icebrave@Workstation:~$

Offline druidaobelix

  • Usuário Ubuntu
  • *
  • Mensagens: 5.552
    • Ver perfil
Re:Erro ao atualizar o Ubuntu
« Resposta #66 Online: 08 de Julho de 2017, 19:42 »
Quanto ao possível estrangulamento, não sei o que deve ser apagado pra liberar mais espaço.
Poderia me dar alguma dica ?
Fiz o que me pediu, segue o novo registro :

icebrave@Workstation:~$  cat /etc/apt/sources.list
[...]

Como se vê no seu post, a sources.list eliminou as antigas referências ao vivid, então agora está melhor apresentável.

O upgrade de versão, penso, termina aí, está feito corretamente.

Quanto ao pouco espaço na raiz do sistema o caminho é redimensionar as partições existentes.

Há material no Fórum tratanto disso, porém se não encontar ou se não sabe mesmo como fazer isso, melhor criar um novo tópico para tratar exclusivamente disso, já que é um assunto distinto desse ora tratado aqui neste tópico, que é o upgrade de versão, e pelo princípio da especificidade cada tópico deverá cuidar de um único assunto, sem o que o Fórum vira um "balaio de gato" e dificulta muito a pesquisa para eventuais utilizadores consulentes futuros, que afinal é o objetivo último do Fórum, muito mais que o atendimento individual, é realmente importante a criação de uma base de conhecimento que possa auxiliar outros usuários, então essa base de conhecimento precisa estar razoavelmente organizada para que possa ser consultada com mais facilidade.

« Última modificação: 08 de Julho de 2017, 19:45 por druidaobelix »
www.arredondar.org.br
Vencedor Desafio de Impacto Social Google 2016!
Você também pode participar e fazer a diferença.

Offline MatrixBrave

  • Usuário Ubuntu
  • *
  • Mensagens: 52
    • Ver perfil
Re:Erro ao atualizar o Ubuntu
« Resposta #67 Online: 09 de Julho de 2017, 13:10 »
OK,
Agradeço mais uma vez e declaro esse assunto como resolvido.
Att. Alexander Cunha