Fórum Ubuntu Linux - PT

Suporte Técnico => Instalação e Atualização => Tópico iniciado por: carirygondim em 17 de Novembro de 2012, 18:19

Título: [resolvido] Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: carirygondim em 17 de Novembro de 2012, 18:19
Depois de instalar, e houveram vários problemas na instalação, o skype, aparece a seguinte mensagem de erro ao tentar atualizar o ubuntu:
'E:Linha mal formada 97 no arquivo de fontes /etc/apt/sources.list (análise de distribuição)'
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: Arthur Bernardes em 17 de Novembro de 2012, 18:24
Para o fórum te ajudar, poste o conteúdo do sources.list
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: carirygondim em 17 de Novembro de 2012, 18:26
Para o fórum te ajudar, poste o conteúdo do sources.list
como postar tal conteúdo?
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: carirygondim em 17 de Novembro de 2012, 18:33
Para o fórum te ajudar, poste o conteúdo do sources.list
Vejamos se é este o conteúdo pedido:

# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted
# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted

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

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

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

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

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

## This software is not part of Ubuntu, but is offered by third-party
deb http://sft.if.usp.br/ubuntu/ precise-backports restricted main multiverse universe
deb http://archive.canonical.com/ partner
deb-src http://archive.canonical.com/ partner
deb http://archive.canonical.com/ precise partner
deb-src http://archive.canonical.com/ precise partner
## developers who want to ship their latest software.
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: Arthur Bernardes em 17 de Novembro de 2012, 18:34
Sim.. Agora aguardemos a ajuda do Fórum..!  :)
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: Ioca100 em 17 de Novembro de 2012, 19:51
O que achei estranho é essa linha : deb http://archive.canonical.com/ubuntu natty partner
 
No terminal:  gksudo gedit /etc/apt/sources.list

Comente(coloque #) e vai ficar assim: # deb http://archive.canonical.com/ubuntu natty partner
Salve, depois de salvar e sair,  dê : sudo apt-get update && sudo apt-get upgrade
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: Arthur Bernardes em 17 de Novembro de 2012, 19:56
Devemos lembrar que para ele alterar algo tem que ser como root, então: sudo gedit /etc/apt/sources.list

Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: jkmsjq em 17 de Novembro de 2012, 20:12
[...]

## This software is not part of Ubuntu, but is offered by third-party
#deb http://sft.if.usp.br/ubuntu/ precise-backports restricted main multiverse universe
deb http://archive.canonical.com/ partner
deb-src http://archive.canonical.com/ partner
deb http://archive.canonical.com/ partner

deb-src http://archive.canonical.com/ precise partner
## developers who want to ship their latest software.

O correto nas últimas linhas não ficariam assim:

Citar
deb http://archive.canonical.com/precise partner
deb-src http://archive.canonical.com/precise partner
deb http://archive.canonical.com/precise partner
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: Ioca100 em 17 de Novembro de 2012, 20:19
Devemos lembrar que para ele alterar algo tem que ser como root, então: sudo gedit /etc/apt/sources.list


Boa, já corrigi, mas o melhor mesmo é: gksudo gedit /etc/apt/sources.list
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: carirygondim em 17 de Novembro de 2012, 20:36
O que achei estranho é essa linha : deb http://archive.canonical.com/ubuntu natty partner
 
No terminal: sudo gedit /etc/apt/sources.list

Comente(coloque #) e vai ficar assim: # deb http://archive.canonical.com/ubuntu natty partner
Salve, depois de salvar e sair,  dê : sudo apt-get update && sudo apt-get upgrade



Primeiro obrigado pela ajuda que estão dando.

Segui o procedimento acima, transformando a linha em comentário (não acrescentei a mesma linha como comentário, apenas a transformei em comentário) e o resultado final (depois do update e upgrade) foi a mensagem seguinte:
E: Linha mal formatada 97 no arquivo /etc/apt/sources.list (análise de distribuição)
E: A lista de fontes não pode ser lida.
                                                             
       
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: carirygondim em 17 de Novembro de 2012, 20:58
Uma informação que talvez valha a pena:

segui um roteiro para instalar o skype que diz para digitar os comandos
1. sudo apt-add-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
2. sudo apt-get update && sudo apt-get install skype

como não deu certo baixei um pacote .deb do skype (a partir de link no hardware.com.br , vale dizer, no tópico "Skype 4.1 para Linux também tem integração com contatos do Messenger" ou, mais preciso, no link http://www.skype.com/intl/pt-br/get-skype/on-your-computer/linux/ ) e a instalação foi fácil.
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: carirygondim em 17 de Novembro de 2012, 21:15
para atualizar, como está a source.list, com modificações nos dois últimos "parágrafos":

# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted
# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted

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

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

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

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

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

## This software is not part of Ubuntu, but is offered by third-party
deb http://sft.if.usp.br/ubuntu/ precise-backports restricted main multiverse universe
deb http://archive.canonical.com/ partner
deb-src http://archive.canonical.com/ partner
deb http://archive.canonical.com/precise partner
deb-src http://archive.canonical.com/precise partner
## developers who want to ship their latest software.
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: Creto em 17 de Novembro de 2012, 21:42
Copie esse comando e cole no seu terminal:

Código: [Selecionar]
sudo rm /var/lib/apt/lists/* ; sudo rm /var/lib/apt/lists/partial/* ; sudo apt-get -f install ; sudo apt-get clean ; sudo apt-get update
Aguarde o comando terminar e se não aparecem mais os erros finalize com

Código: [Selecionar]
sudo apt-get upgrade
T+
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: carirygondim em 17 de Novembro de 2012, 22:08
Copie esse comando e cole no seu terminal:

Código: [Selecionar]
sudo rm /var/lib/apt/lists/* ; sudo rm /var/lib/apt/lists/partial/* ; sudo apt-get -f install ; sudo apt-get clean ; sudo apt-get update
Aguarde o comando terminar e se não aparecem mais os erros finalize com

Código: [Selecionar]
sudo apt-get upgrade
T+

Digitei todos os comandos no terminal e apareceu a mensagem:

rm: não foi possível remover "/var/lib/apt/lists/partial": É um diretório
rm: não foi possível remover "var/lib/apt/lists/partial/*" : Arquivo ou diretório não encontrado
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informações de estado... Pronto
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
E: Linha mal formada 97 no arquivo de fontes /etc/apt/sources.list (análise de distribuição)
E: A lista de fontes não pode ser lida.
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: Ioca100 em 18 de Novembro de 2012, 09:06
Veja que para consertar o problema,  teríamos que  abrir o arquivo sources.list com o o gedit , ir até a linha problemática (97), apagá-la , salvar e sair.Agora onde está esta linha 97 ?  Eu só contei 86.Tem algo errado na informação ou existe outra forma de achar a bendita linha 97, que eu não saiba.
Vou postar o meu sources. list(12.04, 32 bits) , se quiser tentar apagar o seu e colocar o meu, faça um backup do sources.list para qq coisa.


# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise main restricted

# 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
deb http://archive.ubuntu.com/ubuntu precise-updates universe
deb-src http://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://archive.ubuntu.com/ubuntu precise multiverse
deb-src http://archive.ubuntu.com/ubuntu precise multiverse
deb http://archive.ubuntu.com/ubuntu precise-updates multiverse
deb-src http://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.
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: jkmsjq em 18 de Novembro de 2012, 12:36
[...]

## This software is not part of Ubuntu, but is offered by third-party
#deb http://sft.if.usp.br/ubuntu/ precise-backports restricted main multiverse universe
deb http://archive.canonical.com/ partner
deb-src http://archive.canonical.com/ partner
deb http://archive.canonical.com/ partner

deb-src http://archive.canonical.com/ precise partner
## developers who want to ship their latest software.


O correto nas últimas linhas não ficariam assim:

Citar
deb http://archive.canonical.com/precise partner
deb-src http://archive.canonical.com/precise partner
deb http://archive.canonical.com/precise partner

No fim do arquivo basta corrigir acrescentando a palavra precise no lugar correto, ou seja, antes do partner.
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: carirygondim em 18 de Novembro de 2012, 12:43
Veja que para consertar o problema,  teríamos que  abrir o arquivo sources.list com o o gedit , ir até a linha problemática (97), apagá-la , salvar e sair.Agora onde está esta linha 97 ?  Eu só contei 86.Tem algo errado na informação ou existe outra forma de achar a bendita linha 97, que eu não saiba.
Vou postar o meu sources. list(12.04, 32 bits) , se quiser tentar apagar o seu e colocar o meu, faça um backup do sources.list para qq coisa.


# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise main restricted

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

Obrigado pela sugestão.
Tenho medo de algum arquivo malicioso que se instalou durante a primeira tentativa de instalação do skipe. Se fizer uma modificação desse tipo não tenho certeza alguma sobre arquivos maliciosos.
Mas vou tentar.
(Em último caso reinstalo o ubuntu 12.04 a partir de um cd, e utilizo o HD que estava separado para um XP que não uso mais...)
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: carirygondim em 18 de Novembro de 2012, 14:24
[...]

## This software is not part of Ubuntu, but is offered by third-party
#deb http://sft.if.usp.br/ubuntu/ precise-backports restricted main multiverse universe
deb http://archive.canonical.com/ partner
deb-src http://archive.canonical.com/ partner
deb http://archive.canonical.com/ partner

deb-src http://archive.canonical.com/ precise partner
## developers who want to ship their latest software.


O correto nas últimas linhas não ficariam assim:

Citar
deb http://archive.canonical.com/precise partner
deb-src http://archive.canonical.com/precise partner
deb http://archive.canonical.com/precise partner

No fim do arquivo basta corrigir acrescentando a palavra precise no lugar correto, ou seja, antes do partner.

Obrigado pela sugestão.
Editei o arquivo e continua o mesmo problema.
Vale ressaltar que o sistema considera ser um erro grave mas não consegue reportar tal erro.
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: carirygondim em 20 de Novembro de 2012, 12:40
Será que vale a pena restaurar o ubuntu 12.04?
Se for a melhor opção, como fazer então, tendo um cd de instalação?
(Não tenho arquivos que não possa fazer becape, não tem problema reinstalar do zero, nada perco...)

O problema parece não ter solução. Já li um outro post que relata problema semelhante e tentei todas as alternativas e nada dá certo.

Acho que não vale a pena manter o sistema sem atualizações. Inclusive porque pode indicar a ação de arquivo malicioso.
(É bom lembrar que a Central de Programas não funciona e, para cada erro grave, o sistema não consegue reportar o erro...)
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04 [resolvido]
Enviado por: carirygondim em 20 de Novembro de 2012, 14:03
Veja que para consertar o problema,  teríamos que  abrir o arquivo sources.list com o o gedit , ir até a linha problemática (97), apagá-la , salvar e sair.Agora onde está esta linha 97 ?  Eu só contei 86.Tem algo errado na informação ou existe outra forma de achar a bendita linha 97, que eu não saiba.
Vou postar o meu sources. list(12.04, 32 bits) , se quiser tentar apagar o seu e colocar o meu, faça um backup do sources.list para qq coisa.


# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise main restricted

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

Agradeço por fornecer uma cópia do sources.list.
Substitui o que tinha (que mantive em becape) e funcionou.
Na sequência digitei os comandos no terminal: sudo rm /var/lib/apt/lists/* ; sudo rm /var/lib/apt/lists/partial/* ; sudo apt-get -f install ; sudo apt-get clean ; sudo apt-get update.
Na sequência digitei sudo apt-get upgrade e funcionou (demorou muito para refazer toda a lista mas atualizou).

Fica guardado o antigo sources.list e uma questão para quem quiser pensar: o que provocou o problema? foi o mero adicionar uma source para instalar o skype? ou foi algum arquivo malicioso (em certo momento da tentativa de instalação do skipe surgia uma frase sobre o "poder da vaca", que pode ser de pura brincadeira, mas pode ser sinal de arquivo malicioso...)?

Considero resolvido o meu problema.
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04
Enviado por: carirygondim em 20 de Novembro de 2012, 19:04
Não me parece em ordem o linux ubuntu 12.04.
Resolvi instalar o Clamtk e fazer uma varredura. Sem terminar a varredura consegue detectar uma ameaça. Mas a sessão encerra bruscamente e é necessário a senha para reiniciar a sessão (não o computador). Em seguida aparece uma mensagem sobre erro grave no sistema e o erro (agora) pôde ser reportado.
Vou continuar testando. Atualização foi feita, mas não sei como está o sistema no momento.
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04 [resolvido]
Enviado por: jkmsjq em 20 de Novembro de 2012, 19:19
Realiza no terminal o seguinte comando:

Código: [Selecionar]
sudo apt-get update && sudo apt-get upgrade
Se não aparecer nenhum erro no terminal está tudo bem.
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04 [resolvido]
Enviado por: carirygondim em 20 de Novembro de 2012, 19:38
Realiza no terminal o seguinte comando:

Código: [Selecionar]
sudo apt-get update && sudo apt-get upgrade
Se não aparecer nenhum erro no terminal está tudo bem.

Obrigado pela ajuda.
O comando foi realizado no terminal e não apareceu nenhum erro.

O problema é quando tenta fazer um scan com ClamTk, sempre dá uma tela preta e a sessão é reiniciada a partir do momento em que forneço a senha pedida. Ademais o erro, de aplicativo, pode ser relatado pelo sistema, mas, novamente, não está conseguindo relatar (como antes durante a instalação do skype). Agora o erro detectado é no próprio aplicativo que relato erros pelo sistema...

Ainda está muito estranho. E, sem o ClamTk, não aparece problema. Mas temo por um arquivo malicioso -- o próprio clamtk já detectou um arquivo mas não pode terminar o scan.
Título: Re: Depois de instalar skype não consigo atualizar ubuntu 12-04 [resolvido]
Enviado por: carirygondim em 21 de Novembro de 2012, 17:43
resolvido o problema do ClamTk:
baixei a versão atual no sourceforge.net (é um pacote debian)
instalei
atualizei as definições de vírus pelo comando freshclam
e mandei fazer o scan
...
não houve qualquer problema, muito menos tela preta ou encerrar sessão

obrigado por toda a atenção