Programas de atualização e instalação fecham sozinhos.

Iniciado por Madrigal, 03 de Setembro de 2011, 17:18

tópico anterior - próximo tópico

Madrigal

O meu erro parece tão bobo que fico até sem graça, mas como não resolvi...

Ao tentar abrir programas relacionados com atualização e instalação, estes fecham sozinhos (Geranciador de atualizações, gerenciador de pacote Synapcs).
Também ao dar o comando sudo apt-get update, parece baixar tudo certo, mas no final na hora de instalar tais atualizações, fica só em $  pacotes... 0%

Já tentei corrigir com os seguintes comandos, sem sucesso:
Citarsudo apt-get clean

Citarsudo dpkg --clean-avail
dpkg: erro: opção desconhecida --clean-avail

Escreva dpkg --help para ajuda sobre instalar e desinstalar pacotes
  • ;
    Utilize `dselect' ou `aptitude' para gestão de pacotes amigável;
    Escreva dpkg -Dhelp para uma lista de valores de flags de debug do dpkg;
    Escreva dpkg --force-help para uma lista de opções para forçar operações;
    Escreva dpkg-deb --help para ajuda sobre manipular ficheiros *.deb;

    Opções marcadas com
  • produzem muita saída de texto - utilize pipes com `less' ou `more' !
Aqui a minha source.list:

Citar# 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://br.archive.ubuntu.com/ubuntu/ natty main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ natty main restricted

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

Creto

Olá Madrigal não sou experiente nem nada parecido mas pela sua sources.list notei que está usando o Servidor Brasil.

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

Tente mudar para o Servidor principal, pois, já a algum tempo o servidor no brasil está dando problema.

Se mesmo assim ainda persistir o erro tente esse comando (créditos Platao)

Um comando só:

sudo rm /var/lib/apt/lists/* ; sudo rm /var/lib/apt/lists/partial/* ; sudo apt-get clean ; sudo apt-get -f install ; sudo apt-get update



Madrigal

#2
Valeu Creto, mas eu não teria como mudar o servidor, pois não consigo abrir o gerenciador, ele fecha sozinho.

Tentei os comandos dados, mas deu na mesma, não sai do que está abaixo:


Citarjunior@casa:~$ sudo rm /var/lib/apt/lists/* ; sudo rm /var/lib/apt/lists/partial/* ; sudo apt-get clean ; sudo apt-get -f install ; sudo apt-get update
[sudo] password for junior:
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
Ign http://br.archive.ubuntu.com natty InRelease
Ign http://br.archive.ubuntu.com natty-updates InRelease                      
Obter:1 http://br.archive.ubuntu.com natty Release.gpg [198 B]                
Obter:2 http://br.archive.ubuntu.com natty-updates Release.gpg [198 B]        
Obter:3 http://br.archive.ubuntu.com natty Release [39,8 kB]                  
Obter:4 http://br.archive.ubuntu.com natty-updates Release [31,4 kB]          
Ign http://security.ubuntu.com natty-security InRelease                        
Ign http://archive.canonical.com natty InRelease                              
Obter:5 http://br.archive.ubuntu.com natty/main Sources [862 kB]              
Ign http://extras.ubuntu.com natty InRelease                                  
Obter:6 http://security.ubuntu.com natty-security Release.gpg [198 B]          
Obter:7 http://archive.canonical.com natty Release.gpg [198 B]                
Obter:8 http://extras.ubuntu.com natty Release.gpg [72 B]                      
Obter:9 http://security.ubuntu.com natty-security Release [31,4 kB]            
Obter:10 http://archive.canonical.com natty Release [5.916 B]                  
Obter:11 http://extras.ubuntu.com natty Release [9.753 B]                      
Obter:12 http://archive.canonical.com natty/partner i386 Packages [8.649 B]    
Obter:13 http://security.ubuntu.com natty-security/main Sources [65,4 kB]      
Obter:14 http://extras.ubuntu.com natty/main Sources [14 B]                    
Obter:15 http://br.archive.ubuntu.com natty/restricted Sources [4.104 B]      
Obter:16 http://br.archive.ubuntu.com natty/universe Sources [4.380 kB]        
Obter:17 http://extras.ubuntu.com natty/main i386 Packages [14 B]              
Ign http://extras.ubuntu.com natty/main TranslationIndex                      
Ign http://archive.canonical.com natty/partner TranslationIndex                
Obter:18 http://security.ubuntu.com natty-security/restricted Sources [14 B]  
Obter:19 http://security.ubuntu.com natty-security/universe Sources [10,2 kB]  
Obter:20 http://security.ubuntu.com natty-security/multiverse Sources [650 B]  
Obter:21 http://security.ubuntu.com natty-security/main i386 Packages [173 kB]
Obter:22 http://security.ubuntu.com natty-security/restricted i386 Packages [14 B]
Obter:23 http://security.ubuntu.com natty-security/universe i386 Packages [35,3 kB]
Obter:24 http://security.ubuntu.com natty-security/multiverse i386 Packages [2.071 B]
Ign http://security.ubuntu.com natty-security/main TranslationIndex            
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex      
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex      
Ign http://security.ubuntu.com natty-security/universe TranslationIndex        
Ign http://archive.canonical.com natty/partner Translation-pt_BR              
Ign http://extras.ubuntu.com natty/main Translation-pt_BR                      
Ign http://archive.canonical.com natty/partner Translation-pt                  
Ign http://extras.ubuntu.com natty/main Translation-pt                        
Ign http://archive.canonical.com natty/partner Translation-en                  
Ign http://extras.ubuntu.com natty/main Translation-en                        
Ign http://security.ubuntu.com natty-security/main Translation-pt_BR          
Ign http://security.ubuntu.com natty-security/main Translation-pt              
Ign http://security.ubuntu.com natty-security/main Translation-en              
Ign http://security.ubuntu.com natty-security/multiverse Translation-pt_BR    
Ign http://security.ubuntu.com natty-security/multiverse Translation-pt        
Obter:25 http://br.archive.ubuntu.com natty/multiverse Sources [155 kB]        
Ign http://security.ubuntu.com natty-security/multiverse Translation-en        
Ign http://security.ubuntu.com natty-security/restricted Translation-pt_BR    
Ign http://security.ubuntu.com natty-security/restricted Translation-pt        
Ign http://security.ubuntu.com natty-security/restricted Translation-en        
Ign http://security.ubuntu.com natty-security/universe Translation-pt_BR      
Ign http://security.ubuntu.com natty-security/universe Translation-pt          
Obter:26 http://br.archive.ubuntu.com natty/main i386 Packages [1.550 kB]      
Ign http://security.ubuntu.com natty-security/universe Translation-en          
Obter:27 http://br.archive.ubuntu.com natty/restricted i386 Packages [8.986 B]
Obter:28 http://br.archive.ubuntu.com natty/universe i386 Packages [6.021 kB]  
Obter:29 http://br.archive.ubuntu.com natty/multiverse i386 Packages [183 kB]  
Ign http://br.archive.ubuntu.com natty/main TranslationIndex                  
Ign http://br.archive.ubuntu.com natty/multiverse TranslationIndex            
Ign http://br.archive.ubuntu.com natty/restricted TranslationIndex            
Ign http://br.archive.ubuntu.com natty/universe TranslationIndex              
Obter:30 http://br.archive.ubuntu.com natty-updates/main Sources [103 kB]      
Obter:31 http://br.archive.ubuntu.com natty-updates/restricted Sources [14 B]  
Obter:32 http://br.archive.ubuntu.com natty-updates/universe Sources [24,9 kB]
Obter:33 http://br.archive.ubuntu.com natty-updates/multiverse Sources [1.890 B]
Obter:34 http://br.archive.ubuntu.com natty-updates/main i386 Packages [312 kB]
Obter:35 http://br.archive.ubuntu.com natty-updates/restricted i386 Packages [14 B]
Obter:36 http://br.archive.ubuntu.com natty-updates/universe i386 Packages [89,7 kB]
Obter:37 http://br.archive.ubuntu.com natty-updates/multiverse i386 Packages [4.258 B]
Ign http://br.archive.ubuntu.com natty-updates/main TranslationIndex          
Ign http://br.archive.ubuntu.com natty-updates/multiverse TranslationIndex    
Ign http://br.archive.ubuntu.com natty-updates/restricted TranslationIndex    
Ign http://br.archive.ubuntu.com natty-updates/universe TranslationIndex      
Obter:38 http://br.archive.ubuntu.com natty/main Translation-pt_BR [285 kB]    
Obter:39 http://br.archive.ubuntu.com natty/main Translation-pt [260 kB]      
Obter:40 http://br.archive.ubuntu.com natty/multiverse Translation-pt_BR [23,4 kB]
Obter:41 http://br.archive.ubuntu.com natty/multiverse Translation-pt [14,0 kB]
Obter:42 http://br.archive.ubuntu.com natty/restricted Translation-pt_BR [2.669 B]
Obter:43 http://br.archive.ubuntu.com natty/restricted Translation-pt [2.588 B]
Obter:44 http://br.archive.ubuntu.com natty/universe Translation-pt_BR [724 kB]
Obter:45 http://br.archive.ubuntu.com natty/universe Translation-pt [760 kB]  
Ign http://br.archive.ubuntu.com natty/main Translation-en                    
Ign http://br.archive.ubuntu.com natty/multiverse Translation-en              
Ign http://br.archive.ubuntu.com natty/restricted Translation-en              
Ign http://br.archive.ubuntu.com natty/universe Translation-en                
Ign http://br.archive.ubuntu.com natty-updates/main Translation-pt_BR          
Ign http://br.archive.ubuntu.com natty-updates/main Translation-pt            
Ign http://br.archive.ubuntu.com natty-updates/main Translation-en            
Ign http://br.archive.ubuntu.com natty-updates/multiverse Translation-pt_BR    
Ign http://br.archive.ubuntu.com natty-updates/multiverse Translation-pt      
Ign http://br.archive.ubuntu.com natty-updates/multiverse Translation-en      
Ign http://br.archive.ubuntu.com natty-updates/restricted Translation-pt_BR    
Ign http://br.archive.ubuntu.com natty-updates/restricted Translation-pt      
Ign http://br.archive.ubuntu.com natty-updates/restricted Translation-en      
Ign http://br.archive.ubuntu.com natty-updates/universe Translation-pt_BR      
Ign http://br.archive.ubuntu.com natty-updates/universe Translation-pt        
Ign http://br.archive.ubuntu.com natty-updates/universe Translation-en        
Baixados 16,2 MB em 18s (890 kB/s)                                            
junior@casa:~$  pacotes... 0%

Creto

Tente abrir o Synaptic via linha de comando:

sudo synaptic

Madrigal


Deu na mesma, fecha.  :'(

Vou acabar reinstalando o sistema.

Creto

Amigo eu por ser iniciante não posso lhe dar uma opinião concreta sobre isso mas aguarde mais um pouco quem sabe alguém lhe de uma dica.

T+

Madrigal


Vou fazer uma última tentativa, substituir a source.list do pc pela do meu netbook, posto aqui o resultado.

Acho há alguns anos atrás era mais fácil conseguir ajuda de pessoal bem entendido, eles devem ter migrado pra outra distribuição, esses tipos de problema me faz sentir um eterno iniciante. :P

Creto

Antes de tomar sua decisão dei mais uma pesquisada veja isso:

http://ubuntuforum-pt.org/index.php/topic,81511.msg451179.html#msg451179

Espero que ajude e sinto não poder te ajudar mais.

Qualquer coisa estamos ai

T+

Madrigal

Muito obrigado, vc está sendo super atencioso. :)

Mudei a source.list e não adiantou. Vou aproveitar que matei a faculdade hoje e reinstalar, fiquei atentado em já colocar o 11.10, mas vou continuar no .04 mesmo.

Madrigal

Pronto, reinstalado e funcionando bem agora. Acho que não é o caso de colocar [Resolvido] no título, já que foi a base de reinstalação.

Creto

Assista esse video no link da minha assinatura do Tota mostrando como colocar o ícone resolvido no seu tópico, editando sempre a primeira mensagem dele.