Autor Tópico: Erro falha em dividir PTY  (Lida 1799 vezes)

Offline ericohg

  • Usuário Ubuntu
  • *
  • Mensagens: 4
    • Ver perfil
Erro falha em dividir PTY
« Online: 13 de Julho de 2009, 11:30 »
Prezados membros,
Sou novo na lista. Na verdade, esta consulta não é minha; mas de um amigo que largou o XP há meses para ficar apenas com o Ubuntu. E por não  localizar o problema descrito em nenhum lugar no Google, resolvi colocar aqui. O erro descrito surgiu após a atualização no Ubuntu 9.04. A imagem, cujo tamanho me impede de submetê-la, vou tentar descrevê-la. A tela exibe "Existem atualizações disponíveis para este computador". Ela contém uma lista de arquivos começando por libpurple-bin, libpurple0,libtiff4, libtiff4-dev, tamanho do download igual a 0 e toda a tela ainda 'dimmed'. Ao lado, uma caixa de diálogo com a mensagem descrita surge. Segundo ele, ele apenas clicava em "verificar" e "instalar atualizações" quando o erro começou.
Agradeço à atenção.

Offline Joseph

  • Usuário Ubuntu
  • *
  • Mensagens: 793
    • Ver perfil
Re: Erro falha em dividir PTY
« Resposta #1 Online: 13 de Julho de 2009, 11:48 »
você habilitou todos os repositórios do synaptic? se possível poste uma screenshot mostrando o problema.

Offline ericohg

  • Usuário Ubuntu
  • *
  • Mensagens: 4
    • Ver perfil
Re: Erro falha em dividir PTY
« Resposta #2 Online: 13 de Julho de 2009, 14:22 »
Prezado,

Em princípio, não houve qualquer mexida a não ser mudança de mirror, segundo relatado.
e como faço para enviar um snapshot por aqui.?
Obrigado

Lunik

  • Visitante
Re: Erro falha em dividir PTY
« Resposta #3 Online: 13 de Julho de 2009, 14:42 »
Você pode hospedar a imagem no http://tinypic.com/ ou http://imageshack.us/ e depois colar o endereço dela no topico.

Recomendaria que pelo terminal mesmo ele digitasse as linhas:
sudo apt-get update
sudo apt-get upgrade

Então se houve algum problema com o processo, o apt-get vai gerar erros mais claros.

Offline ericohg

  • Usuário Ubuntu
  • *
  • Mensagens: 4
    • Ver perfil
Re: Erro falha em dividir PTY
« Resposta #4 Online: 13 de Julho de 2009, 15:18 »
Ludnik/Joseph,

Obrigado pela atenção mais uma vez.
Eis o erro produzido:
http://i25.tinypic.com/2gy4rw6.jpg
Imagem editada. Usuário postou no tópico após envio de MP sem corrigir imagem.

Irei rodar hoje o apt-get conforme recomendado e amanhã reportarei o resultado  da busca.

abraços a todos,

« Última modificação: 14 de Julho de 2009, 11:39 por clcampos »

Offline Joseph

  • Usuário Ubuntu
  • *
  • Mensagens: 793
    • Ver perfil
Re: Erro falha em dividir PTY
« Resposta #5 Online: 13 de Julho de 2009, 21:37 »
ja entendi, e vou explicar, apesar de nao ter visto perfeitamente, vc adicionou repositorios extras, e dos quais nao tenho o menor conhecimento, e talvez sem a minima confiança da minha parte, daí o problema, favor postar o conteudo do seu /etc/apt/sources.list

Offline ericohg

  • Usuário Ubuntu
  • *
  • Mensagens: 4
    • Ver perfil
Re: Erro falha em dividir PTY
« Resposta #6 Online: 14 de Julho de 2009, 10:20 »
Bem, desculpe-me pelo tamanho da imagem enviada. Não irei fazê-lo de novo. Quanto ao arquivo source-list, anexo, a seguir, os três os três encontrados sob o diretório /etc/apt.

1)sources.list

# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid 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/ jaunty main restricted

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

deb http://br.archive.ubuntu.com/ubuntu/ jaunty-security main restricted
deb http://br.archive.ubuntu.com/ubuntu/ jaunty-security universe
deb http://br.archive.ubuntu.com/ubuntu/ jaunty-security multiverse

2)sources.list.save

# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid 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/ jaunty main restricted

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

deb http://br.archive.ubuntu.com/ubuntu/ jaunty-security main restricted
deb http://br.archive.ubuntu.com/ubuntu/ jaunty-security universe
deb http://br.archive.ubuntu.com/ubuntu/ jaunty-security multiverse

3)sources.list.distUpgrade

#deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid 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/ intrepid main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ intrepid main restricted

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

deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse

Obrigado.

Lunik

  • Visitante
Re: Erro falha em dividir PTY
« Resposta #7 Online: 14 de Julho de 2009, 17:03 »
Eu achei um site que descreve esse teu mesmo problema:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/338071

Parece ser um erro que surgiu na versão beta, e por algum motivo que não consegui entender, pra você também. O problema é o seguinte:

Existe um script responsável por montar os pts automaticamente, chamado mountdevsubfs.sh
Primeiro verifique se esse arquivo existe com o comando:
ls /etc/init.d/ | grep mountdevsubfs

A saída deverá ser o próprio nome dele: mountdevsubfs.sh

Ok, esse script então precisa ser reiniciado junto com o ubuntu, e pra isso ele deveria estar na sua pasta: /etc/rcS.d/

Mais uma vez, faça o teste:
ls /etc/rcS.d/ | grep mountdevsubfs

A saída deverá ser "S11mountdevsubfs.sh", mas no seu caso não aparecerá nada (o que é o motivo do erro).

Então, pra corrigir isso, caso os dois testes tenham ocorrido como eu descrevi aqui, basta você criar então um link pro mountdevsubfs no seu rcS.d:

sudo ln -s ../init.d/mountdevsubfs.sh /etc/rcS.d/S11mountdevsubfs.sh

Depois reinicia o X e tenta atualizar novamente.

OBS: Se o seu caso NÃO for esse, ou seja, se você já tinha o link pro mountdevsubsfs no seu rcS.d, então por favor copie e cole a saída desses dois comandos:
ls /etc/init.d/
e
ls /etc/rcS.d/
« Última modificação: 14 de Julho de 2009, 17:06 por Lunik »