Ubuntu server 14 - Apt-Get Não funciona !!! [RESOLVIDO]

1. Ubuntu server 14 - Apt-Get Não funciona !!! [RESOLVIDO]

Bruno Victor Cardoso
bvcardoso

(usa Ubuntu)

Enviado em 02/02/2015 - 10:19h

Bom dia gente sou novo aqui e novo no Linux.

Gostaria que me ajudassem com um problema.
Instalei o Ubuntu server em uma maquina, tenho um proxy(kério) na rede que pede autenticação. quando dou um ping num site da internet ele peinga perfeitamente sem erro, mas quando dou o comando sudo apt-get update ele retorna a seguinte menssagem:

Get:1 http://ftp.debian.org squeeze InRealease
Get:2 http://security.ubuntu.com trusty-security InRelease
Get:3 http://br.archive.ubuntu.com trusty InRelease
Ign http://ftp.debian.org squeeze InRelease/var/lib/apt/lists/partial/ftp.debian.org_debian_dists__squeeze_InRelease into data and signature failed
E: GPG error: http://ftp.debian.org squeeze InRelease: clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

Por favor não sei o que fazer, já li vários artigos já tentei mil e uma coisas não consigo fazer esse apt-get funcionar direito !!!


  


2. Re: Ubuntu server 14 - Apt-Get Não funciona !!!

Alex Silva
l0g1in

(usa FreeBSD)

Enviado em 02/02/2015 - 13:49h

Essa sources.list ai é do Debian

cp /etc/apt/sources.list{,-original}

> /etc/apt/sources.list

vim /etc/apt/sources.list

#Essa sources.list é do Ubuntu 14.04 caso você esteja usando a Versão 14.10 basta mudar o nome da release

#

# deb cdrom:[Ubuntu-Server 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.2)]/ trusty main restricted

#deb cdrom:[Ubuntu-Server 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.2)]/ trusty 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/ trusty main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty main restricted

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

## 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/ trusty-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-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 trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## 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 trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main

Salva e:
$ sudo apt-get clean
$ sudo apt-get autoclean
$ sudo apt-get update


3. Fiz o passo a passo

Bruno Victor Cardoso
bvcardoso

(usa Ubuntu)

Enviado em 02/02/2015 - 14:45h


Fiz conforme orintação mas continuou a dar o mesmo erro !


4. Re: Ubuntu server 14 - Apt-Get Não funciona !!! [RESOLVIDO]

Alex Silva
l0g1in

(usa FreeBSD)

Enviado em 02/02/2015 - 15:20h

bvcardoso escreveu:


Fiz conforme orintação mas continuou a dar o mesmo erro !




Qual a versão do Ubuntu?

digita ai

lsb_release -a

e cola resultado






5. segue

Bruno Victor Cardoso
bvcardoso

(usa Ubuntu)

Enviado em 02/02/2015 - 15:26h


no LSB modules are avaible.
Distributor ID: Ubuntu
Description: Ubuntu 14.04
codename: trusty


6. Re: Ubuntu server 14 - Apt-Get Não funciona !!! [RESOLVIDO]

Alex Silva
l0g1in

(usa FreeBSD)

Enviado em 02/02/2015 - 15:38h

você limpou a sources.list antiga?


7. Re: Ubuntu server 14 - Apt-Get Não funciona !!! [RESOLVIDO]

Bruno Victor Cardoso
bvcardoso

(usa Ubuntu)

Enviado em 02/02/2015 - 15:39h

Como faço isso ???



8. Re: Ubuntu server 14 - Apt-Get Não funciona !!! [RESOLVIDO]

Alex Silva
l0g1in

(usa FreeBSD)

Enviado em 02/02/2015 - 15:58h

bvcardoso escreveu:

Como faço isso ???



> /etc/apt/sources.list
depois editar o sources.list e copia e cola o conteúdo acima.





9. Re: Ubuntu server 14 - Apt-Get Não funciona !!! [RESOLVIDO]

Bruno Victor Cardoso
bvcardoso

(usa Ubuntu)

Enviado em 02/02/2015 - 16:04h


desculpa, mas nao entendi. poderia explicar passo a passo ?


10. Re: Ubuntu server 14 - Apt-Get Não funciona !!! [RESOLVIDO]

Alex Silva
l0g1in

(usa FreeBSD)

Enviado em 02/02/2015 - 16:30h

bvcardoso escreveu:


desculpa, mas nao entendi. poderia explicar passo a passo ?






> /etc/apt/sources.list
vim /etc/apt/sources.list e cola dentro o conteudo abaixo.
deb http://br.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty main restricted

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

## 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/ trusty-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-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 trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## 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 trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main

sudo apt-get clean && apt-get autoclean

sudo apt-get update -y




11. Re: Ubuntu server 14 - Apt-Get Não funciona !!!

Bruno Victor Cardoso
bvcardoso

(usa Ubuntu)

Enviado em 02/02/2015 - 17:32h

Meu source list esta identico a esse arquivo, porem não funciona nem com reza braba !!
já esta batendo desespero !!

quando dou o comando sudo apt-get autoclean o sistema responde assim:

Reading package lists ... Done
Building dependency tree
reading state information... Done

essa resposta é normal ??


12. Re: Ubuntu server 14 - Apt-Get Não funciona !!! [RESOLVIDO]

Alex Silva
l0g1in

(usa FreeBSD)

Enviado em 02/02/2015 - 17:49h

bvcardoso escreveu:

Meu source list esta identico a esse arquivo, porem não funciona nem com reza braba !!
já esta batendo desespero !!

quando dou o comando sudo apt-get autoclean o sistema responde assim:

Reading package lists ... Done
Building dependency tree
reading state information... Done

essa resposta é normal ??



e o apt-get update o que acontece quando vc executa ele?






  
01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts