Anunţ

Caută printre mesajele de pe forum înainte de a scrie unul nou!
Formulează corect întrebarea sau problema pe care o ai.
Respectă regulile forumului și Codul de Conduită!

#1 18 Oct 2010 17:46:35

Ucenicul
Membru nou
Înregistrat: 18 Oct 2010
Mesaje: 8

[REZOLVAT] Ubuntu Server x64 - apt-get update/install failed

am fost rugat sa creez un topic separat : vezi -> http://forum.ubuntu.ro/viewtopic.php?pid=83175#p83175
asadar sa va prezint problema mea :

Ucenicul a scris:

Salutare
Ca sa nu deschid alt topic (din motive de spam) am si eu un mic server pe care am fost sfatuit (de mai multe persoane) sa l trec pe ubuntu... pt ca este mai rapid si mai safe (din pdv al securitatii) decat distributia precedenta (fedora)

Am instalat miercuri versiunea server x64 10.04, si apoi sambata pe cea 10.10 (deh suport trim si alte noutati). Ambele versiuni le instalam fara probleme. Boot-am de pe ssd, puteam sa dau ping (aka primeam reply-uri) dar nu pot da apt-get update/install package (logat ca root). Eroarea la comanda update fiind connection timed out. Lucru ce nu se intampla pe fedora cu yum update/install.

Am tot modificat interfaces/resolv.conf (am ip static de la ilink) si sources.list (mirrors de la us la de si chiar md) de mi a venit rau si tot nu vrea update sau install.
Am sunat la isp si mi au spus ca nu am porturile blocate (poate suna ciudat, dar cand te chinui 3 zile sa configurezi o amarata de conexiune incepi sa faci tot felul de conspiratii).
Pe pc ul personal, pe un virtual machine (network setat pe bridge) am instalat o versiune i368 ubuntu (tot server edition)... si am aceleasi rezultate suparatoare ;  ceea ce rezulta ca nu ar fi problema hardware la serverul initial.

Consider ca este o problema din setarile de net sau alte chichite pe care nu le cunosc.
Va pot oferi orice informatii despre sistem sau logurile de la comenzi de indata ce ajung acasa (momentan sunt la munca).
Va multumesc anticipat pt ajutorul dvs.

cateva setari:

/etc/network/interfaces

Cod:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static

address xxx.xxx.xxx.xxx
netmask 255.255.255.128
gateway xxx.xxx.xxx.xxx

/etc/resolv.conf

Cod:

nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

ping yahoo .com

Cod:

root@localhost:~# ping yahoo.com
PING yahoo.com (67.195.160.76) 56(84) bytes of data.
64 bytes from ir1.fp.vip.ac4.yahoo.com (67.195.160.76): icmp_req=1 ttl=50 time=124 ms
64 bytes from ir1.fp.vip.ac4.yahoo.com (67.195.160.76): icmp_req=2 ttl=50 time=128 ms
64 bytes from ir1.fp.vip.ac4.yahoo.com (67.195.160.76): icmp_req=3 ttl=50 time=136 ms
64 bytes from ir1.fp.vip.ac4.yahoo.com (67.195.160.76): icmp_req=4 ttl=50 time=128 ms
64 bytes from ir1.fp.vip.ac4.yahoo.com (67.195.160.76): icmp_req=5 ttl=50 time=133 ms
^C
--- yahoo.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 124.426/130.328/136.149/4.084 ms

apt-get update

Cod:

Err http://security.ubuntu.com maverick-security Release.gpg
  Could not connect to security.ubuntu.com:80 (91.189.88.37). - connect (110: Connection timed out)
Err http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en
  Unable to connect to security.ubuntu.com:http:
Err http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en_US
  Unable to connect to security.ubuntu.com:http:
Err http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
  Unable to connect to security.ubuntu.com:http:
Err http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en_US
  Unable to connect to security.ubuntu.com:http:
Err http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
  Unable to connect to security.ubuntu.com:http:
Err http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en_US
  Unable to connect to security.ubuntu.com:http:
Err http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
  Unable to connect to security.ubuntu.com:http:
Err http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en_US
  Unable to connect to security.ubuntu.com:http:
Ign http://security.ubuntu.com maverick-security Release
Ign http://security.ubuntu.com maverick-security/main Sources
Ign http://security.ubuntu.com maverick-security/restricted Sources
Ign http://security.ubuntu.com maverick-security/universe Sources
Ign http://security.ubuntu.com maverick-security/multiverse Sources
Ign http://security.ubuntu.com maverick-security/main amd64 Packages
Ign http://security.ubuntu.com maverick-security/restricted amd64 Packages
Ign http://security.ubuntu.com maverick-security/universe amd64 Packages
Ign http://security.ubuntu.com maverick-security/multiverse amd64 Packages
Err http://security.ubuntu.com maverick-security/main Sources
  Unable to connect to security.ubuntu.com:http:
Err http://security.ubuntu.com maverick-security/restricted Sources
  Unable to connect to security.ubuntu.com:http:
Err http://security.ubuntu.com maverick-security/universe Sources
  Unable to connect to security.ubuntu.com:http:
Err http://security.ubuntu.com maverick-security/multiverse Sources
  Unable to connect to security.ubuntu.com:http:
Err http://security.ubuntu.com maverick-security/main amd64 Packages
  Unable to connect to security.ubuntu.com:http:
Err http://security.ubuntu.com maverick-security/restricted amd64 Packages
  Unable to connect to security.ubuntu.com:http:
Err http://security.ubuntu.com maverick-security/universe amd64 Packages
  Unable to connect to security.ubuntu.com:http:
Err http://security.ubuntu.com maverick-security/multiverse amd64 Packages
  Unable to connect to security.ubuntu.com:http:
Err http://us.archive.ubuntu.com maverick Release.gpg
  Could not connect to us.archive.ubuntu.com:80 (91.189.92.167). - connect (110: Connection timed out) [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en_US
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en_US
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_US
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick-updates Release.gpg
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en_US
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en_US
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en_US
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en_US
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Ign http://us.archive.ubuntu.com maverick Release
Ign http://us.archive.ubuntu.com maverick-updates Release
Ign http://us.archive.ubuntu.com maverick/main Sources
Ign http://us.archive.ubuntu.com maverick/restricted Sources
Ign http://us.archive.ubuntu.com maverick/universe Sources
Ign http://us.archive.ubuntu.com maverick/multiverse Sources
Ign http://us.archive.ubuntu.com maverick/main amd64 Packages
Ign http://us.archive.ubuntu.com maverick/restricted amd64 Packages
Ign http://us.archive.ubuntu.com maverick/universe amd64 Packages
Ign http://us.archive.ubuntu.com maverick/multiverse amd64 Packages
Ign http://us.archive.ubuntu.com maverick-updates/main Sources
Ign http://us.archive.ubuntu.com maverick-updates/restricted Sources
Ign http://us.archive.ubuntu.com maverick-updates/universe Sources
Ign http://us.archive.ubuntu.com maverick-updates/multiverse Sources
Ign http://us.archive.ubuntu.com maverick-updates/main amd64 Packages
Ign http://us.archive.ubuntu.com maverick-updates/restricted amd64 Packages
Ign http://us.archive.ubuntu.com maverick-updates/universe amd64 Packages
Ign http://us.archive.ubuntu.com maverick-updates/multiverse amd64 Packages
Err http://us.archive.ubuntu.com maverick/main Sources
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick/restricted Sources
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick/universe Sources
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick/multiverse Sources
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick/main amd64 Packages
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick/restricted amd64 Packages
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick/universe amd64 Packages
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick/multiverse amd64 Packages
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick-updates/main Sources
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick-updates/restricted Sources
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick-updates/universe Sources
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick-updates/multiverse Sources
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick-updates/main amd64 Packages
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick-updates/restricted amd64 Packages
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick-updates/universe amd64 Packages
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
Err http://us.archive.ubuntu.com maverick-updates/multiverse amd64 Packages
  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/Release.gpg  Could not connect to us.archive.ubuntu.com:80 (91.189.92.167). - connect (110: Connection timed out) [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/main/i18n/Translation-en.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/main/i18n/Translation-en_US.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/multiverse/i18n/Translation-en.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/multiverse/i18n/Translation-en_US.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/restricted/i18n/Translation-en.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/restricted/i18n/Translation-en_US.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/universe/i18n/Translation-en.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/universe/i18n/Translation-en_US.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/Release.gpg  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/main/i18n/Translation-en.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/main/i18n/Translation-en_US.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/i18n/Translation-en.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/i18n/Translation-en_US.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/i18n/Translation-en.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/i18n/Translation-en_US.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/i18n/Translation-en.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/i18n/Translation-en_US.bz2  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/Release.gpg  Could not connect to security.ubuntu.com:80 (91.189.88.37). - connect (110: Connection timed out)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/main/i18n/Translation-en.bz2  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/main/i18n/Translation-en_US.bz2  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/multiverse/i18n/Translation-en.bz2  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/multiverse/i18n/Translation-en_US.bz2  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/restricted/i18n/Translation-en.bz2  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/restricted/i18n/Translation-en_US.bz2  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/universe/i18n/Translation-en.bz2  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/universe/i18n/Translation-en_US.bz2  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/main/source/Sources.gz  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/restricted/source/Sources.gz  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/universe/source/Sources.gz  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/multiverse/source/Sources.gz  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/main/binary-amd64/Packages.gz  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/restricted/binary-amd64/Packages.gz  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/universe/binary-amd64/Packages.gz  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/multiverse/binary-amd64/Packages.gz  Unable to connect to security.ubuntu.com:http:

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/main/source/Sources.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/restricted/source/Sources.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/universe/source/Sources.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/multiverse/source/Sources.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/main/binary-amd64/Packages.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/restricted/binary-amd64/Packages.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/universe/binary-amd64/Packages.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/multiverse/binary-amd64/Packages.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/main/source/Sources.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/source/Sources.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/source/Sources.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/source/Sources.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/main/binary-amd64/Packages.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/binary-amd64/Packages.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/binary-amd64/Packages.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/binary-amd64/Packages.gz  Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.92.167 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.

apt-get install mysql-server

Cod:

root@1338:~# apt-get install mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql

placa de baza : http://www.gigabyte.com/products/produc … mp;dl=1#ov
isp : ilink.ro | ilag.ro | istink.ro
versiunea folosita : ubuntu server x64 10.10

Editat ultima oară de Ucenicul (18 Oct 2010 21:56:07)

Offline

 

#2 18 Oct 2010 18:17:32

AM@OR
Membru
Locaţie: Baia Mare
Înregistrat: 21 Feb 2006
Mesaje: 676

Re: [REZOLVAT] Ubuntu Server x64 - apt-get update/install failed

@ucenicul,
- cum te-ai logat ca root  (e posibil  a fie asa ?)
a) (sudo) su   (esti superuser dar cu setarile PATH ale userului comun )
sau 
b) (sudo) su -   ?   

(in cazul b e un spatiu+o liniuta de minus in plus)  (esti superuser cu setarile PATH ale contului de root)
O idee e sa pui calea completa cu comanda (si sa vezi cafunctioneaza (cazul a))
/usr/bin/apt-get
O idee ar fi sa incerci din contul userului curent sa faci (refaci) operatiile cu sudo in fata sa vezi daca primesti aceleasi rezultate negative.
sursa
in cazul b) ar trebui sa functioneze comanda fara specificare caii (PATH)

PS
la cautare de nameserver aici s-a gasit

RCS-RDS.RO NAME SERVERS
Name Server     IP                      Location
ns1.rdsnet.ro     193.231.236.17    Bucharest, 10, RO
ns2.rdsnet.ro     193.231.236.10    Bucharest, 10, RO

posibil sa fie din cauza asta?

Succes.

Editat ultima oară de AM@OR (18 Oct 2010 18:27:36)

Offline

 

#3 18 Oct 2010 19:47:38

Ucenicul
Membru nou
Înregistrat: 18 Oct 2010
Mesaje: 8

Re: [REZOLVAT] Ubuntu Server x64 - apt-get update/install failed

nu cred ca era nevoie de "@" dar hai sa ti facem pe plac tongue

@AM@OR:

1.m-am logat direct ca root folosind putty
si am facut asta dupa primul boot prin : sudo -i ... si apoi passwd [input x2 password for root si done]

2. dns urile [care mi s au spus ca aici pot echivala cu nameserverele] sunt urmatoarele
[img-link-removed-for-safety-reasons]
si aici am exemplificat cu setarile de pe pc ul meu

Editat ultima oară de Ucenicul (18 Oct 2010 21:23:06)

Offline

 

#4 18 Oct 2010 20:58:47

AM@OR
Membru
Locaţie: Baia Mare
Înregistrat: 21 Feb 2006
Mesaje: 676

Re: [REZOLVAT] Ubuntu Server x64 - apt-get update/install failed

Sorry,
c.u putty ..nu ma stiu..inca.

.propun sa pui la nameserver alternativ 3 dintre free DNS pe
8.8.8.8    (al lui google) (sau altul la alegere).
si vezi ce zice ifconfig .

Offline

 

#5 18 Oct 2010 21:06:11

Ucenicul
Membru nou
Înregistrat: 18 Oct 2010
Mesaje: 8

Re: [REZOLVAT] Ubuntu Server x64 - apt-get update/install failed

am adaugat in resolv.conf
nameserver 8.8.8.8

am dat ptr orice eventualitate : /etc/init.d/networking restart

si apoi ifconfig :

Cod:

root@1338:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:1d:xx:xx:xx
          inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx  Mask:255.255.255.128
          inet6 addr: fe80::xxx:1dff:fe65:xxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:124583 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60260 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8362150 (8.3 MB)  TX bytes:3321644 (3.3 MB)
          Interrupt:42 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:27 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4950 (4.9 KB)  TX bytes:4950 (4.9 KB)

[EDIT]
am vb acum cateva secunde iar cu suportul tehnic de la isp ... si cica aveam alt mac inregistrat pe ip ul respectiv | sunt dezgustat de echipa ptr ca le am cerut inainte de instalarea OS ului ca voi schimba serverul... si implicit mac ul va fi altul [se pare ca i-a durut undeva de requestul meu]

in fine : se poate inchide topicul : a fost rezolvat : motivul a fost : ISP ul nu furniza internet [cum trebuia]

Editat ultima oară de Ucenicul (18 Oct 2010 21:23:59)

Offline

 

#6 19 Oct 2010 10:24:28

Ucenicul
Membru nou
Înregistrat: 18 Oct 2010
Mesaje: 8

Re: [REZOLVAT] Ubuntu Server x64 - apt-get update/install failed

Am uitat sa precizez:  multumesc mult pt ajutor.
Se poate inchide

Offline

 
Feed

Antet forum

Powered by FluxBB