Java [RESOLVIDO]

25. Re: Java [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/11/2011 - 18:37h

post o resultado desse comando


cat /etc/apt/sources.list


  


26. Re: Java [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/11/2011 - 18:42h

baixe esse arquivo http://www.4shared.com/file/T4_CY6JE/sources.html

depois


su -c "mv /etc/apt/sources.list /etc/apt/sources.list-backup && cp sources.list /etc/apt/sources.list && apt-get update"



27. Re: Java [RESOLVIDO]

Ivo
ay3860

(usa Ubuntu)

Enviado em 12/11/2011 - 18:57h

Resultado do comando:

zortea@izortea-POSITIVO-MOBILE:~$ cat /etc/apt/sources.list




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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu natty-updates main restricted
deb-src http://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://archive.ubuntu.com/ubuntu natty universe
deb-src http://archive.ubuntu.com/ubuntu natty universe
deb http://archive.ubuntu.com/ubuntu natty-updates universe
deb-src http://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://archive.ubuntu.com/ubuntu natty multiverse
deb-src http://archive.ubuntu.com/ubuntu natty multiverse
deb http://archive.ubuntu.com/ubuntu natty-updates multiverse
deb-src http://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://archive.ubuntu.com/ubuntu natty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu natty-security main restricted
deb http://archive.ubuntu.com/ubuntu natty-security universe
deb-src http://archive.ubuntu.com/ubuntu natty-security universe
deb http://archive.ubuntu.com/ubuntu natty-security multiverse
deb-src http://archive.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">http://archive.canonical.com/ubuntu natty partner
# deb-src http://archive.canonical.com/ubuntu">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
deb http://archive.canonical.com/ lucid partner
deb-src http://archive.canonical.com/ lucid partner
deb http://archive.canonical.com/ lucid partner
deb-src http://archive.canonical.com/ lucid partner
deb http://archive.canonical.com/ lucid partner
deb-src http://archive.canonical.com/ lucid partner
deb http://download.tuxfamily.org/glxdock/repository/ubuntu natty cairo-dock ## Cairo-Dock-Stable
deb http://download.tuxfamily.org/glxdock/repository/ubuntu natty cairo-dock
deb http://ppa.launchpad.net/jd-team/jdownloader/ubuntu natty main
deb-src http://ppa.launchpad.net/jd-team/jdownloader/ubuntu natty main
deb http://ppa.launchpad.net/jd-team/jdownloader/ubuntu natty main
deb-src http://ppa.launchpad.net/jd-team/jdownloader/ubuntu natty main
deb http://archive.canonical.com/lucid partner
deb-src http://archive.canonical.com/lucid partner



28. Re: Java [RESOLVIDO]

Ivo
ay3860

(usa Ubuntu)

Enviado em 12/11/2011 - 18:59h

Segundo comando:


izortea@izortea-POSITIVO-MOBILE:~$ su -c "mv /etc/apt/sources.list /etc/apt/sources.list-backup && cp sources.list /etc/apt/sources.list && apt-get update"
Senha:
su: Falha de autenticação



29. Re: Java [RESOLVIDO]

Ivo
ay3860

(usa Ubuntu)

Enviado em 12/11/2011 - 19:04h

baixei o arquivo, o que faço com ele?



30. Re: Java [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/11/2011 - 19:20h

e salvou em que lugar?


31. Re: Java [RESOLVIDO]

Ivo
ay3860

(usa Ubuntu)

Enviado em 12/11/2011 - 19:21h

Salvei em: Downloads



32. Re: Java [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/11/2011 - 19:25h

qual o nome do seu usuário?


33. Re: Java [RESOLVIDO]

Ivo
ay3860

(usa Ubuntu)

Enviado em 12/11/2011 - 19:26h

izortea


34. Re: Java [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/11/2011 - 19:28h

supondo que nome do seu usuário é fulano.. faça


sudo mv /etc/apt/sources.list /etc/apt/sources.list-backup && cp /home/izortea/Downloads/sources.list /etc/apt/sources.list && apt-get update


então fica assim


35. Re: Java [RESOLVIDO]

Ivo
ay3860

(usa Ubuntu)

Enviado em 12/11/2011 - 19:42h

Não deu certo...

izortea@izortea-POSITIVO-MOBILE:~$ sudo mv /etc/apt/sources.list /etc/apt/sources.list-backup && cp /home/izortea/Downloads/sources.list /etc/apt/sources.list && apt-get update
[sudo] password for izortea:
mv: impossível obter estado de "/etc/apt/sources.list": Arquivo ou diretório não encontrado
izortea@izortea-POSITIVO-MOBILE:~$



36. Re: Java [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/11/2011 - 19:48h

sudo mv /etc/apt/sources.list /etc/apt/sources.list-backup


sudo cp /home/izortea/Downloads/sources.list /etc/apt/sources.list

sudo apt-get update







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts