Problemas com o gerenciador de atualizações [RESOLVIDO]

1. Problemas com o gerenciador de atualizações [RESOLVIDO]

Marcelle Figueira
cellebiouff

(usa Ubuntu)

Enviado em 01/06/2013 - 21:34h

Boa Noite,

Acabei de começar a usar o Ubuntu 12.04.02 LTS e estou tendo problemas com o gerenciador de atualizações... Recebo a seguinte mensagem: "E:Linha mal formada 56 no arquivo de fontes /etc/apt/sources.list (análise de distribuição); Servidor D-BUS não está em execução"...

No terminal, digitando cat -n /etc/apt/sources.list tenho o seguinte resultado:

1 deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release i386 (20130213)]/ precise main restricted
2
3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
4 # newer versions of the distribution.
5 deb http://br.archive.ubuntu.com/ubuntu/ precise main restricted
6 deb-src http://br.archive.ubuntu.com/ubuntu/ precise main restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://br.archive.ubuntu.com/ubuntu/ precise-updates main restricted
11 deb-src http://br.archive.ubuntu.com/ubuntu/ precise-updates main restricted
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://br.archive.ubuntu.com/ubuntu/ precise universe
17 deb-src http://br.archive.ubuntu.com/ubuntu/ precise universe
18 deb http://br.archive.ubuntu.com/ubuntu/ precise-updates universe
19 deb-src http://br.archive.ubuntu.com/ubuntu/ precise-updates universe
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://br.archive.ubuntu.com/ubuntu/ precise multiverse
27 deb-src http://br.archive.ubuntu.com/ubuntu/ precise multiverse
28 deb http://br.archive.ubuntu.com/ubuntu/ precise-updates multiverse
29 deb-src http://br.archive.ubuntu.com/ubuntu/ precise-updates multiverse
30
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36 deb http://br.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
37 deb-src http://br.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
38
39 deb http://security.ubuntu.com/ubuntu precise-security main restricted
40 deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
41 deb http://security.ubuntu.com/ubuntu precise-security universe
42 deb-src http://security.ubuntu.com/ubuntu precise-security universe
43 deb http://security.ubuntu.com/ubuntu precise-security multiverse
44 deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
45
46 ## Uncomment the following two lines to add software from Canonical's
47 ## 'partner' repository.
48 ## This software is not part of Ubuntu, but is offered by Canonical and the
49 ## respective vendors as a service to Ubuntu users.
50 # deb http://archive.canonical.com/ubuntu precise partner
51 # deb-src http://archive.canonical.com/ubuntu precise partner
52
53 ## This software is not part of Ubuntu, but is offered by third-party
54 ## developers who want to ship their latest software.
55 deb http://extras.ubuntu.com/ubuntu precise main
56 deb http://archive.canonical.com/precise partner
57 deb-src http://archive.canonical.com/precise partner
58 deb-src http://extras.ubuntu.com/ubuntu precise main

root@marcelle-HP-Pavilion-dm4-Notebook-PC:/home/marcelle# gksu gedit /etc/apt/sources.list

** (gksu:3503): WARNING **: A conexão está fechada

(gksu:3503): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Erro do GConf: Servidor D-BUS não está em execução


(gksu:3503): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Erro do GConf: Servidor D-BUS não está em execução


(gksu:3503): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Erro do GConf: Servidor D-BUS não está em execução


(gksu:3503): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Erro do GConf: Servidor D-BUS não está em execução


(gksu:3503): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL' failed

** (gedit:3506): WARNING **: A conexão está fechada

(gedit:3506): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported


** (gedit:3506): WARNING **: Could not connect to session bus
root@marcelle-HP-Pavilion-dm4-Notebook-PC:/home/marcelle# gksu gedit /etc/apt/sources.list

** (gksu:3673): WARNING **: A conexão está fechada

(gksu:3673): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Erro do GConf: Servidor D-BUS não está em execução


(gksu:3673): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Erro do GConf: Servidor D-BUS não está em execução


(gksu:3673): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Erro do GConf: Servidor D-BUS não está em execução


(gksu:3673): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Erro do GConf: Servidor D-BUS não está em execução


(gksu:3673): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL' failed

** (gedit:3676): WARNING **: A conexão está fechada

(gedit:3676): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported



Alguém pode me ajudar??? Muito obrigada, espero um dia poder ajudar também...


  


2. Re: Problemas com o gerenciador de atualizações [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 01/06/2013 - 21:53h

2 coisas.

Como usuário normal digite:


$ xhost +
$ gksu gedit /etc/apt/sources.list


deve resolver porque não tem necessidade em usar o gksu estando como root:

root@marcelle-HP-Pavilion-dm4-Notebook-PC:/home/marcelle#

E geralmente não dá para abrir aplicações gráficas como root pelo terminal, exceto se digitar aquele comandozinho mágico que citei lá no início, para mais veja essa minha antiga dica:

http://www.vivaolinux.com.br/dica/Rodando-aplicacoes-graficas-como-Root-no-Debian-e-derivados

Sobre o sources.list não há erro nele, experimente reiniciar a máquina.


3. Re: Problemas com o gerenciador de atualizações [RESOLVIDO]

Marcelle Figueira
cellebiouff

(usa Ubuntu)

Enviado em 01/06/2013 - 21:58h

marcelle@marcelle-HP-Pavilion-dm4-Notebook-PC:~$ [code]
[code]: comando não encontrado
marcelle@marcelle-HP-Pavilion-dm4-Notebook-PC:~$ $ xhost +
$: comando não encontrado
marcelle@marcelle-HP-Pavilion-dm4-Notebook-PC:~$ $ gksu gedit /etc/apt/sources.list
$: comando não encontrado


4. Re: Problemas com o gerenciador de atualizações [RESOLVIDO]

Marcelle Figueira
cellebiouff

(usa Ubuntu)

Enviado em 01/06/2013 - 21:59h

reiniciei, não resolveu... Nem o gerenciador de atualizações e nem o central de aplicativos abrem :(



5. Re: Problemas com o gerenciador de atualizações [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 01/06/2013 - 22:08h

cellebiouff escreveu:

reiniciei, não resolveu... Nem o gerenciador de atualizações e nem o central de aplicativos abrem :(


De novo e novamente, abra um terminal como usuário normal e digite isso e em sequência:

xhost +
gksu gedit /etc/apt/sources.list

A ilustração de seu prompt de comando era apenas para lhe mostrar que você estava locagada como root ( root@marcelle-HP-Pavilion-dm4-Notebook-PC:/home/marcelle# ), nada mais nada menos que isso.

Se reiniciar a máquina e não resolver, não sei o que fazer.


6. Re: Problemas com o gerenciador de atualizações [RESOLVIDO]

Marcelle Figueira
cellebiouff

(usa Ubuntu)

Enviado em 01/06/2013 - 22:16h

Abriu um arquivo com essas informações:

deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release i386 (20130213)]/ precise 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 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://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 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 http://archive.canonical.com/precise partner
deb-src http://archive.canonical.com/precise partner
deb-src http://extras.ubuntu.com/ubuntu precise main


7. Re: Problemas com o gerenciador de atualizações [RESOLVIDO]

Marcelle Figueira
cellebiouff

(usa Ubuntu)

Enviado em 01/06/2013 - 22:32h

Digitei o que vc mandou, reiniciei e o problema continua... Central de aplicativos e gerenciador de atualizações não abrem

Mensagem: Não foi possível inicializar as informações do pacote

Um problema impossível de se resolver ocorreu enquanto inicializava as informações do pacote.

Por favor relate este erro do pacote 'update-manager' e inclua a seguinte mensagem de erro:

'E:Linha mal formada 56 no arquivo de fontes /etc/apt/sources.list (análise de distribuição)'


8. Re: Problemas com o gerenciador de atualizações [RESOLVIDO]

Marcelle Figueira
cellebiouff

(usa Ubuntu)

Enviado em 02/06/2013 - 18:53h

Ninguém?


9. Re: Problemas com o gerenciador de atualizações [RESOLVIDO]

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 03/06/2013 - 05:25h

Rode isso pelo terminal:

cat -n /etc/apt/sources.list | grep 56

Poste o resultado aqui.


10. Re: Problemas com o gerenciador de atualizações [RESOLVIDO]

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 03/06/2013 - 05:27h

cellebiouff escreveu:

Ninguém?


Não precisava marcar como resolvido sem resolver.

Eu costuma ajudar em problemas como o seu, mas não entrei no VOL ontem. Espero poder ajudar hoje.


11. Re: Problemas com o gerenciador de atualizações [RESOLVIDO]

Marcelle Figueira
cellebiouff

(usa Ubuntu)

Enviado em 03/06/2013 - 10:24h

56 #deb http://archive.canonical.com/precise partner

mas agora ele já não me da mais a mensagem de erro... acho que vc resolveu o problema


12. Re: Problemas com o gerenciador de atualizações [RESOLVIDO]

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 03/06/2013 - 15:17h

cellebiouff escreveu:

56 #deb http://archive.canonical.com/precise partner

mas agora ele já não me da mais a mensagem de erro... acho que vc resolveu o problema


Não fui eu, foi vc, que comentou a linha (pôs o '#' na frente dela). Isso a desabilitou e fez o problema sumir.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts