Atualizar source.list - Wheezy [RESOLVIDO]

1. Atualizar source.list - Wheezy [RESOLVIDO]

Herminio Silva Junior
Hank

(usa Ubuntu)

Enviado em 02/05/2014 - 11:49h

Preciso inserir uma linha no source.list do Wheezy.
O gedit só salva o arquivo com outro nome.
O comando # vim não foi encontrado.
Como resolvo isso?


  


2. MELHOR RESPOSTA

Jose Mario
zezaocapoeira

(usa Slackware)

Enviado em 02/05/2014 - 12:32h

Hank escreveu:

IZhaq_melo escreveu:

vai ver os atalhos do vim nao tao no perfil sudo por acaso...
tente:
#<caminho abusoluto do VIM> /etc/apt/sources.list
ou mesmo instale o synaptic
$sudo aptitude install synaptic
ele tem interface gráfica é mais facil mexer principalmente se voce é iniciante.
fonte: https://wiki.debian.org/SourcesList
sempre consulte a documentação antes de fazer algo que voce nao tenha muito conhecimento sobre.


IZhaq, três dúvidas:

1) o synaptic já veio instalado no 7.5.0. Há necessidade de uma nova instalação?

2) e ele pode ser usado para atualizar a source.list?

3) o que significa caminho absoluto do VIM? Como acho isso?


Salve mano . Da uma olhada aqui http://gnutwoall.wordpress.com/2013/05/13/super-sources-list-para-o-debian-wheezy/ . Para altera o sources.list utilize o nano .


# nano /etc/apt/sources.list



3. Re: Atualizar source.list - Wheezy [RESOLVIDO]

Luis R. C. Silva
luisrcs

(usa Linux Mint)

Enviado em 02/05/2014 - 11:57h

Hank escreveu:

Preciso inserir uma linha no source.list do Wheezy.
O gedit só salva o arquivo com outro nome.
O comando # vim não foi encontrado.
Como resolvo isso?


Abriu o aquivo com root?
Como fez para abrir o arquivo no vim?
O cerquilha (#) é só para indicar que o comando deve ser executado como root, não é pra digitar ele.


4. Re: Atualizar source.list - Wheezy [RESOLVIDO]

Ton Melo
IZhaq_melo

(usa FreeBSD)

Enviado em 02/05/2014 - 12:09h

Hank escreveu:

Preciso inserir uma linha no source.list do Wheezy.
O gedit só salva o arquivo com outro nome.
O comando # vim não foi encontrado.
Como resolvo isso?


vai ver os atalhos do vim nao tao no perfil sudo por acaso...

tente:

#<caminho abusoluto do VIM> /etc/apt/sources.list

ou mesmo instale o synaptic

$sudo aptitude install synaptic

ele tem interface gráfica é mais facil mexer principalmente se voce é iniciante.

fonte: https://wiki.debian.org/SourcesList

sempre consulte a documentação antes de fazer algo que voce nao tenha muito conhecimento sobre.


5. Re: Atualizar source.list - Wheezy [RESOLVIDO]

Herminio Silva Junior
Hank

(usa Ubuntu)

Enviado em 02/05/2014 - 12:09h

Ao Rei_Astro: abri o terminal como root. Vide abaixo


root@auxiliar:/home/hank# vim /etc/apt/sources.list
bash: vim: comando não encontrado
root@auxiliar:/home/hank#

Faltou alguma coisa?


6. Re: Atualizar source.list - Wheezy [RESOLVIDO]

Herminio Silva Junior
Hank

(usa Ubuntu)

Enviado em 02/05/2014 - 12:20h

IZhaq_melo escreveu:

vai ver os atalhos do vim nao tao no perfil sudo por acaso...
tente:
#<caminho abusoluto do VIM> /etc/apt/sources.list
ou mesmo instale o synaptic
$sudo aptitude install synaptic
ele tem interface gráfica é mais facil mexer principalmente se voce é iniciante.
fonte: https://wiki.debian.org/SourcesList
sempre consulte a documentação antes de fazer algo que voce nao tenha muito conhecimento sobre.


IZhaq, três dúvidas:

1) o synaptic já veio instalado no 7.5.0. Há necessidade de uma nova instalação?

2) e ele pode ser usado para atualizar a source.list?

3) o que significa caminho absoluto do VIM? Como acho isso?


7. Re: Atualizar source.list - Wheezy [RESOLVIDO]

Vitor Binga
VitorBinga

(usa Debian)

Enviado em 02/05/2014 - 12:42h

Tem certeza q tem o vim instalado?
Tente um:
# aptitude install vim 



8. Re: Atualizar source.list - Wheezy [RESOLVIDO]

Herminio Silva Junior
Hank

(usa Ubuntu)

Enviado em 02/05/2014 - 14:14h

zezaocapoeira escreveu:

Salve mano . Da uma olhada aqui http://gnutwoall.wordpress.com/2013/05/13/super-sources-list-para-o-debian-wheezy/ . Para altera o sources.list utilize o nano .


# nano /etc/apt/sources.list



Beleza mano. Demorei um pouco pra descobrir que ^ era a tecla Ctrl. Achei o nano mais fácil de usar que o vim.
Valeu!


9. Re: Atualizar source.list - Wheezy [RESOLVIDO]

Jose Mario
zezaocapoeira

(usa Slackware)

Enviado em 02/05/2014 - 14:18h

Salve mano . Caso tenha curiosidade sobre o editor VIM da uma olhada aqui http://www.vivaolinux.com.br/artigo/Desvendando-o-editor-Vim/ .


10. Re: Atualizar source.list - Wheezy [RESOLVIDO]

Herminio Silva Junior
Hank

(usa Ubuntu)

Enviado em 02/05/2014 - 14:25h

VitorBinga escreveu:

Tem certeza q tem o vim instalado?
Tente um:
# aptitude install vim 


O vim não estava instalado, não.
Instalei, mas não consegui colar a nova entrada.
Acabei usando o nano. Vide minha resposta ao zezaocapoeira.
Obrigado.


11. Re: Atualizar source.list - Wheezy [RESOLVIDO]

jean
jeeanfreestyle

(usa Ubuntu)

Enviado em 13/08/2016 - 18:59h

boa noite gente sobre esses problemas basta vc atualizar seu repositorios com esta sources.list que enviarei aqui mesmo basta digitar no terminal com root

gedit /etc/apt/sources.list

vai aparecer um documento list primeiro salve tudo que estiver escrito nele em um novo documento list e depois apague tudo e cole tudo dessa lista abaixo e salve

#------------------------------------------------------------------------------#
# OFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#


###### Ubuntu Main Repos
deb http://55.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://55.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse

###### Ubuntu Update Repos
deb http://55.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://55.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://55.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://55.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://55.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://55.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://55.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://55.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner

#------------------------------------------------------------------------------#
# UNOFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#


###### 3rd Party Binary Repos

#### Boomaga PPA - https://launchpad.net/~boomaga/+archive/ubuntu/ppa
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6DAEA80
deb http://ppa.launchpad.net/boomaga/ppa/ubuntu xenial main

#### Clementine PPA - http://www.clementine-player.org/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 044A3B98
deb http://ppa.launchpad.net/me-davidsansome/clementine-dev/ubuntu xenial main

#### Daniil's Bash Video Download - http://daniil.it
## Run this command: wget -q -O - http://dano.<span class='filtrado'>[*****]</span>.cc/1Aci9Qp | sudo apt-key add - && sudo apt-get update
deb http://repo.daniil.it lenny main

#### Dropbox PPA - http://dropbox.com
## Run this command: sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E
deb http://linux.dropbox.com/ubuntu/ xenial main

#### Flacon PPA - http://kde-apps.org/content/show.php?content=113388
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F2A61FE5
deb http://ppa.launchpad.net/flacon/ppa/ubuntu xenial main

#### GetDeb - http://www.getdeb.net
## Run this command: wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
deb http://archive.getdeb.net/ubuntu xenial-getdeb apps

#### Gimp PPA - https://launchpad.net/~otto-kesselgulasch/+archive/gimp
## Run this command: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 614C4B38
deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial main

#### GNOME3 Extra Apps PPA - https://launchpad.net/~gnome3-team/+archive/gnome3
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B1510FD
deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial main

#### Google Chrome Browser - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

#### Google Earth - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main

#### Highly Explosive PPA - https://launchpad.net/~dhor/+archive/myway
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93330B78
deb http://ppa.launchpad.net/dhor/myway/ubuntu xenial main

#### JDownloader PPA - https://launchpad.net/~jd-team
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6A68F637
deb http://ppa.launchpad.net/jd-team/jdownloader/ubuntu xenial main

#### Lazarus - http://www.lazarus.freepascal.org/
## Run this command: gpg --keyserver hkp://pgp.mit.edu:11371 --recv-keys 6A11800F && gpg --export --armor 0F7992B0 | sudo apt-key add -
deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universe

#### Lazarus (Testing) - http://www.lazarus.freepascal.org/
## Run this command: gpg --keyserver hkp://pgp.mit.edu:11371 --recv-keys 6A11800F && gpg --export --armor 0F7992B0 | sudo apt-key add -
deb http://www.hu.freepascal.org/lazarus/ lazarus-testing universe

#### MEGA Sync Client - https://mega.co.nz/
deb http://mega.nz/linux/MEGAsync/xUbuntu_16.04/ ./

#### MKVToolnix - http://www.bunkus.org/videotools/mkvtoolnix/
## Run this command: wget -q http://www.bunkus.org/gpg-pub-moritzbunkus.txt -O- | sudo apt-key add -
deb http://www.bunkus.org/ubuntu/xenial/ ./

#### Mozilla Daily Build Team PPA - http://edge.launchpad.net/~ubuntu-mozilla-daily/+archive/ppa
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 247510BE
deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu xenial main

#### muCommander - http://www.mucommander.com/
## Run this command: sudo wget -O - http://apt.mucommander.com/apt.key">http://apt.mucommander.com/apt.key | sudo apt-key add -
deb http://apt.mucommander.com stable main non-free contrib

#### muCommander (unstable) - http://www.mucommander.com/
## Run this command: sudo wget -O - http://apt.mucommander.com/apt.key">http://apt.mucommander.com/apt.key | sudo apt-key add -
deb http://apt.mucommander.com unstable main non-free contrib

#### Opera - http://www.opera.com/
## Run this command: sudo wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
deb http://deb.opera.com/opera/ stable non-free

#### Opera Beta - http://www.opera.com/
## Run this command: sudo wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
deb http://deb.opera.com/opera-beta/ stable non-free

#### Oracle Java (JDK) Installer PPA - http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html">http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
deb http://ppa.launchpad.net/webupd8team/java/ubuntu vivid main

#### ownCloud Desktop Client - http://owncloud.org/
## Run this command: wget -q http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_16.04/Release.key -O- | sudo apt-key add -
deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_16.04/ /

#### PlayDeb - http://www.playdeb.net/
## Run this command: wget -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
deb http://archive.getdeb.net/ubuntu xenial-getdeb games

#### SABnzbd PPA - http://sabnzbd.org/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4BB9F05F
deb http://ppa.launchpad.net/jcfp/ppa/ubuntu xenial main

#### Samsung Unified Linux Driver Repository (SULDR) - http://www.bchemnet.com/suldr/index.html">http://www.bchemnet.com/suldr/index.html
## Run this command: wget -O - http://www.bchemnet.com/suldr/suldr.gpg">http://www.bchemnet.com/suldr/suldr.gpg | sudo apt-key add -
deb http://www.bchemnet.com/suldr/ debian extra

#### SimpleScreenRecorder PPA - http://www.maartenbaert.be/simplescreenrecorder/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 283EC8CD
deb http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial main

#### Steam for Linux - http://store.steampowered.com/about/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F24AEA9FB05498B7
deb [arch=i386] http://repo.steampowered.com/steam/ precise steam

#### Syncthing - https://syncthing.net/
## Run this command: curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
deb http://apt.syncthing.net/ syncthing release

#### Tor: anonymity online - https://www.torproject.org
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 886DDD89
deb http://deb.torproject.org/torproject.org xenial main

#### Unsettings PPA - http://www.florian-diesch.de/software/unsettings/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0FEB6DD9
deb http://ppa.launchpad.net/diesch/testing/ubuntu xenial main

#### VirtualBox - http://www.virtualbox.org
## Run this command: wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc">http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc -O- | sudo apt-key add -
deb http://download.virtualbox.org/virtualbox/debian xenial contrib

#### Webmin - http://www.webmin.com
## Run this command: wget http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
deb http://download.webmin.com/download/repository sarge contrib

#### WebUpd8 PPA - http://www.webupd8.org/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4C9D234C
deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial main

#### WebUpd8 Unstable PPA - http://www.webupd8.org/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu xenial main

#### Wine PPA - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 883E8688397576B6C509DF495A9A06AEF9CB8DB0
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial main

#### Xorg Edgers PPA - https://launchpad.net/~xorg-edgers
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8844C542
deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu xenial main

#### Yuuguu - http://yuuguu.com
deb http://update.yuuguu.com/repositories/apt hardy multiverse


####### 3rd Party Source Repos

#### Boomaga PPA (Source) - https://launchpad.net/~boomaga/+archive/ubuntu/ppa
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6DAEA80
deb-src http://ppa.launchpad.net/boomaga/ppa/ubuntu xenial main

#### Clementine PPA (Source) - http://www.clementine-player.org/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 044A3B98
deb-src http://ppa.launchpad.net/me-davidsansome/clementine-dev/ubuntu xenial main

#### Flacon PPA (Source) - http://kde-apps.org/content/show.php?content=113388
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F2A61FE5
deb-src http://ppa.launchpad.net/flacon/ppa/ubuntu xenial main

#### Gimp PPA (Source) - https://launchpad.net/~otto-kesselgulasch/+archive/gimp
## Run this command: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 614C4B38
deb-src http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial main

#### GNOME3 Extra Apps PPA (Source) - https://launchpad.net/~gnome3-team/+archive/gnome3
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B1510FD
deb-src http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial main

#### Highly Explosive PPA (Source) - https://launchpad.net/~dhor/+archive/myway
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93330B78
deb-src http://ppa.launchpad.net/dhor/myway/ubuntu xenial main

#### JDownloader PPA (Source) - https://launchpad.net/~jd-team
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6A68F637
deb-src http://ppa.launchpad.net/jd-team/jdownloader/ubuntu xenial main

#### MKVToolnix (Source) - http://www.bunkus.org/videotools/mkvtoolnix/
## Run this command: wget -q http://www.bunkus.org/gpg-pub-moritzbunkus.txt -O- | sudo apt-key add -
deb-src http://www.bunkus.org/ubuntu/xenial/ ./

#### Mozilla Daily Build Team PPA (Source) - http://edge.launchpad.net/~ubuntu-mozilla-daily/+archive/ppa
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 247510BE
deb-src http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu xenial main

#### Oracle Java (JDK) Installer PPA (Source) - http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html">http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu vivid main

#### SimpleScreenRecorder PPA (Source) - http://www.maartenbaert.be/simplescreenrecorder/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 283EC8CD
deb-src http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial main

#### Tor: anonymity online (Source) - https://www.torproject.org
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 886DDD89
deb-src http://deb.torproject.org/torproject.org xenial main

#### Unsettings PPA (Source) - http://www.florian-diesch.de/software/unsettings/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0FEB6DD9
deb-src http://ppa.launchpad.net/diesch/testing/ubuntu xenial main

#### WebUpd8 PPA (Source) - http://www.webupd8.org/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4C9D234C
deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial main

#### WebUpd8 Unstable PPA (Source) - http://www.webupd8.org/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
deb-src http://ppa.launchpad.net/webupd8team/unstable/ubuntu xenial main

#### Wine PPA (Source) - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 883E8688397576B6C509DF495A9A06AEF9CB8DB0
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial main

#### Xorg Edgers PPA (Source) - https://launchpad.net/~xorg-edgers
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8844C542
deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu xenial main


se der certo poste aqui seu sucesso...






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts