Não consigo instalar nada

1. Não consigo instalar nada

Aldir
Aldircz

(usa Outra)

Enviado em 18/01/2013 - 11:24h

Bom dia,
não estou conseguindo instalar nenhum programa no ubunto 12.0.4 quando chega ao final da instalação aparece o erro:

Ignoring unknown parameter "locking"
Unknown parameter encountered: "guest ok"

alguem pode me ajudar?




  


2. Re: Não consigo instalar nada

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 18/01/2013 - 11:57h

Abra um terminal (ctrl + shift + t) e digite:

sudo apt-get update [enter]

Será pedida a sua senha, que vc deve fornecer (não vai aparecer nada quando vc digitá-la, e a ao final vc tecla enter).

O que vier de resposta ao comando acima vc copia e cola aqui.


3. Re: Não consigo instalar nada

Aldir
Aldircz

(usa Outra)

Enviado em 18/01/2013 - 14:45h

aldir@ubuntu:~$ sudo apt-get update
[sudo] password for aldir:
Ign http://dl.google.com stable InRelease
Ign http://br.archive.ubuntu.com precise InRelease
Ign http://br.archive.ubuntu.com precise-updates InRelease
Ign http://br.archive.ubuntu.com precise-backports InRelease
Ign http://extras.ubuntu.com precise InRelease
Ign http://security.ubuntu.com precise-security InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://archive.canonical.com precise InRelease
Atingido http://br.archive.ubuntu.com precise Release.gpg
Obter:1 http://dl.google.com stable Release.gpg [198 B]
Obter:2 http://extras.ubuntu.com precise Release.gpg [72 B]
Obter:3 http://br.archive.ubuntu.com precise-updates Release.gpg [198 B]
Obter:4 http://security.ubuntu.com precise-security Release.gpg [198 B]
Atingido http://ppa.launchpad.net precise Release.gpg
Atingido http://archive.canonical.com precise Release.gpg
Obter:5 http://dl.google.com stable Release [1.347 B]
Atingido http://br.archive.ubuntu.com precise-backports Release.gpg
Atingido http://extras.ubuntu.com precise Release
Atingido http://ppa.launchpad.net precise Release.gpg
Atingido http://archive.canonical.com precise Release
Atingido http://br.archive.ubuntu.com precise Release
Obter:6 http://dl.google.com stable/main i386 Packages [1.227 B]
Obter:7 http://security.ubuntu.com precise-security Release [49,6 kB]
Obter:8 http://br.archive.ubuntu.com precise-updates Release [49,6 kB]
Atingido http://extras.ubuntu.com precise/main Sources
Obter:9 http://ppa.launchpad.net precise Release.gpg [316 B]
Atingido http://archive.canonical.com precise/partner i386 Packages
Ign http://dl.google.com stable/main TranslationIndex
Atingido http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Atingido http://ppa.launchpad.net precise Release
Ign http://archive.canonical.com precise/partner TranslationIndex
Atingido http://ppa.launchpad.net precise Release
Atingido http://br.archive.ubuntu.com precise-backports Release
Obter:10 http://ppa.launchpad.net precise Release [11,9 kB]
Obter:11 http://security.ubuntu.com precise-security/main Sources [61,0 kB]
Atingido http://br.archive.ubuntu.com precise/main Sources
Atingido http://br.archive.ubuntu.com precise/restricted Sources
Atingido http://ppa.launchpad.net precise/main Sources
Atingido http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Atingido http://br.archive.ubuntu.com precise/universe Sources
Atingido http://br.archive.ubuntu.com precise/multiverse Sources
Atingido http://br.archive.ubuntu.com precise/main i386 Packages
Atingido http://br.archive.ubuntu.com precise/restricted i386 Packages
Atingido http://br.archive.ubuntu.com precise/universe i386 Packages
Atingido http://br.archive.ubuntu.com precise/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com precise/main TranslationIndex
Atingido http://br.archive.ubuntu.com precise/multiverse TranslationIndex
Atingido http://br.archive.ubuntu.com precise/restricted TranslationIndex
Atingido http://br.archive.ubuntu.com precise/universe TranslationIndex
Atingido http://ppa.launchpad.net precise/main Sources
Atingido http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Obter:12 http://br.archive.ubuntu.com precise-updates/main Sources [202 kB]
Obter:13 http://ppa.launchpad.net precise/main Sources [4.177 B]
Obter:14 http://ppa.launchpad.net precise/main i386 Packages [12,6 kB]
Ign http://ppa.launchpad.net precise/main TranslationIndex
Obter:15 http://security.ubuntu.com precise-security/restricted Sources [1.950 B]
Obter:16 http://security.ubuntu.com precise-security/universe Sources [20,0 kB]
Ign http://extras.ubuntu.com precise/main Translation-pt_BR
Ign http://dl.google.com stable/main Translation-pt_BR
Ign http://dl.google.com stable/main Translation-pt
Ign http://archive.canonical.com precise/partner Translation-pt_BR
Ign http://extras.ubuntu.com precise/main Translation-pt
Ign http://extras.ubuntu.com precise/main Translation-pt_PT
Ign http://dl.google.com stable/main Translation-pt_PT
Obter:17 http://security.ubuntu.com precise-security/multiverse Sources [1.379 B]
Obter:18 http://security.ubuntu.com precise-security/main i386 Packages [227 kB]
Ign http://dl.google.com stable/main Translation-en
Ign http://archive.canonical.com precise/partner Translation-pt
Ign http://archive.canonical.com precise/partner Translation-pt_PT
Ign http://extras.ubuntu.com precise/main Translation-en
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://ppa.launchpad.net precise/main Translation-pt_BR
Ign http://ppa.launchpad.net precise/main Translation-pt
Obter:19 http://br.archive.ubuntu.com precise-updates/restricted Sources [4.743 B]
Obter:20 http://br.archive.ubuntu.com precise-updates/universe Sources [71,5 kB]
Ign http://ppa.launchpad.net precise/main Translation-pt_PT
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-pt_BR
Ign http://ppa.launchpad.net precise/main Translation-pt
Ign http://ppa.launchpad.net precise/main Translation-pt_PT
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-pt_BR
Ign http://ppa.launchpad.net precise/main Translation-pt
Ign http://ppa.launchpad.net precise/main Translation-pt_PT
Ign http://ppa.launchpad.net precise/main Translation-en
Obter:21 http://br.archive.ubuntu.com precise-updates/multiverse Sources [4.240 B]
Obter:22 http://br.archive.ubuntu.com precise-updates/main i386 Packages [466 kB]
Obter:23 http://security.ubuntu.com precise-security/restricted i386 Packages [3.968 B]
Obter:24 http://security.ubuntu.com precise-security/universe i386 Packages [63,1 kB]
Obter:25 http://security.ubuntu.com precise-security/multiverse i386 Packages [2.366 B]
Obter:26 http://security.ubuntu.com precise-security/main TranslationIndex [74 B]
Obter:27 http://security.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
Obter:28 http://security.ubuntu.com precise-security/restricted TranslationIndex [71 B]
Obter:29 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Obter:30 http://security.ubuntu.com precise-security/main Translation-en [107 kB]
Atingido http://security.ubuntu.com precise-security/multiverse Translation-en
Atingido http://security.ubuntu.com precise-security/restricted Translation-en
Obter:31 http://security.ubuntu.com precise-security/universe Translation-en [37,9 kB]
Obter:32 http://br.archive.ubuntu.com precise-updates/restricted i386 Packages [8.999 B]
Obter:33 http://br.archive.ubuntu.com precise-updates/universe i386 Packages [171 kB]
Obter:34 http://br.archive.ubuntu.com precise-updates/multiverse i386 Packages [9.678 B]
Obter:35 http://br.archive.ubuntu.com precise-updates/main TranslationIndex [3.564 B]
Obter:36 http://br.archive.ubuntu.com precise-updates/multiverse TranslationIndex [2.605 B]
Obter:37 http://br.archive.ubuntu.com precise-updates/restricted TranslationIndex [2.461 B]
Obter:38 http://br.archive.ubuntu.com precise-updates/universe TranslationIndex [2.850 B]
Atingido http://br.archive.ubuntu.com precise-backports/main Sources
Atingido http://br.archive.ubuntu.com precise-backports/restricted Sources
Atingido http://br.archive.ubuntu.com precise-backports/universe Sources
Atingido http://br.archive.ubuntu.com precise-backports/multiverse Sources
Atingido http://br.archive.ubuntu.com precise-backports/main i386 Packages
Atingido http://br.archive.ubuntu.com precise-backports/restricted i386 Packages
Atingido http://br.archive.ubuntu.com precise-backports/universe i386 Packages
Atingido http://br.archive.ubuntu.com precise-backports/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com precise-backports/main TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports/restricted TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports/universe TranslationIndex
Atingido http://br.archive.ubuntu.com precise/main Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise/main Translation-pt
Atingido http://br.archive.ubuntu.com precise/main Translation-en
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-pt
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-en
Atingido http://br.archive.ubuntu.com precise/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise/restricted Translation-pt
Atingido http://br.archive.ubuntu.com precise/restricted Translation-en
Atingido http://br.archive.ubuntu.com precise/universe Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise/universe Translation-pt
Atingido http://br.archive.ubuntu.com precise/universe Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/main Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates/main Translation-pt
Obter:39 http://br.archive.ubuntu.com precise-updates/main Translation-en [224 kB]
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Translation-pt
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates/restricted Translation-pt
Atingido http://br.archive.ubuntu.com precise-updates/restricted Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/universe Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates/universe Translation-pt
Obter:40 http://br.archive.ubuntu.com precise-updates/universe Translation-en [101 kB]
Atingido http://br.archive.ubuntu.com precise-backports/main Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/multiverse Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/restricted Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/universe Translation-en
Baixados 1.932 kB em 37s (52,0 kB/s)
Lendo listas de pacotes... Pronto



4. Re: Não consigo instalar nada

Aldir
Aldircz

(usa Outra)

Enviado em 18/01/2013 - 15:52h

mas na maioria das vezes aparece este erro:

Erros foram encontrados durante o processamento de:
samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)


5. Re: Não consigo instalar nada

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 19/01/2013 - 10:56h

Aldircz escreveu:

mas na maioria das vezes aparece este erro:

Erros foram encontrados durante o processamento de:
samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)


Rode isso:

sudo apt-get remove samba4 && sudo apt-get autoremove

Se vc não receber mensagens de erro, rode isso:

sudo apt-get install figlet

O figlet é um programa pequeno que vai servir para testar o apt. Se ele instalar sem erros, está tudo certo.


6. Re: Não consigo instalar nada

Aldir
Aldircz

(usa Outra)

Enviado em 19/01/2013 - 11:33h

no final apareceu isto.
sub-processo script post-installation instalado retornou estado de saída de erro 126
Nenhum relatório apport escrito pois MaxReports já foi atingido
Erros foram encontrados durante o processamento de:
samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)


7. Re: Não consigo instalar nada

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 19/01/2013 - 15:14h

Hum...

tente isso:

sudo dpkg --remove --force-remove-reinstreq samba4


8. Re: Não consigo instalar nada

Aldir
Aldircz

(usa Outra)

Enviado em 19/01/2013 - 16:00h

Era isso mesmo que deveria aparecer?

(Lendo banco de dados ... 474270 ficheiros e directórios actualmente instalados.)
Removendo samba4 ...
samba4 stop/waiting
Processando gatilhos para ureadahead ...
Processando gatilhos para man-db ...



9. Re: Não consigo instalar nada

Aldir
Aldircz

(usa Outra)

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

quando rodo o figlet aparece isso:

aldir@ubuntu:~$ sudo -apt-get install figlet
usage: sudo [-D level] -h | -K | -k | -V
usage: sudo -v [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-u user
name|#uid]
usage: sudo -l[l] [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-U user
name] [-u user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u
user name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u
user name|#uid] file ...




10. Re: Não consigo instalar nada

anna kamilla
annakamilla

(usa Manjaro Linux)

Enviado em 19/01/2013 - 16:13h

aldir é somente sudo apt-get install figlet.

eu tive um problema parecido, executa o synaptic e remova o samba.

ou sudo apt-get install -f
ou ainda remover esse .deb no archives do diretório do apt.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts