[Resolvido]Instalação do Emacs

Gagne

Membro
Boas,

Estava aqui a tentar instalar o Emacs no Ubuntu, já tentei os comandos todos que encontrei na net mas ainda não consegui instalar. Alguma dica?
 
Última edição:
Obrigado pela ajuda. Não consegui instalar com "sudo aptitude install emacs". Fui ao Synaptic e instalei o emacs21. Penso que ficou bem instalado, ao fazer "apt-cache search emacs" já obtive resultados. Agora não consigo é correr, já tentei "emacs" e "emacs21" mas nada.
 
Bem, já vi que isto não ficou instalado como deve ser. Voltando um pouco atrás. Abrindo o Synaptic, através do Menu Configurações - Repositórios, activam-se esses dois.

Procurei por "emacs" e tentei instalar o ficheiro "emacs21", mas dá 1 erro: "Os seguintes pacotes tm dependências não resolvidas". Certifique-se de que todos os repositórios necessários estão activos e adicionados nas preferências". Depois aparecem dois ficheiros "not installable".
 
Código:
qaz@blue:~$ sudo apt-get install emacs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  emacs22-bin-common emacs22-common emacs22-gtk emacsen-common liblockfile1
Suggested packages:
  emacs22-el
The following NEW packages will be installed:
  emacs emacs22-bin-common emacs22-common emacs22-gtk emacsen-common
  liblockfile1
0 upgraded, 6 newly installed, 0 to remove and 135 not upgraded.
Need to get 20.7MB of archives.
After unpacking 65.0MB of additional disk space will be used.
Do you want to continue [Y/n]?
Tem de ser isto ou senão muito parecido.
Tens de instalar o pacote 'emacs' e não pacote 'emacs**'

Deverás ter uma source.list do género:
Código:
deb http://de.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://de.archive.ubuntu.com/ubuntu/ gutsy universe
deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy 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://de.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy 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://de.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb http://security.ubuntu.com/ubuntu gutsy-security universe
deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse
Depois de modificares a tua source.list deves fazer:
Código:
$ sudo apt-get update
E depois tenta instalar novamente.
 
Última edição:
Já tinha conseguido resolver o problema, thanks. Era um bug qualquer que me impedia de fazer updates da net, a solução foi mesmo modificar a source.list.
 
Back
Topo