yandex / yandex-tank

Load and performance benchmark tool
Other
2.46k stars 278 forks source link

Can't install on Ubuntu Server 12.04 #2

Closed stamm closed 12 years ago

stamm commented 12 years ago

Install clear Ubuntu Server 12.04 64-bit

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04 LTS
Release:    12.04
Codename:   precise
$ uname -a
Linux stamm-ubuntu 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/apt/sources.list.d/tank.list 
# Ubuntu Precise
deb http://mirror.yandex.ru/mirrors/tank common main
deb http://mirror.yandex.ru/mirrors/tank precise main
$ sudo apt-get update
Ign http://mirror.yandex.ru common InRelease
Ign http://mirror.yandex.ru precise InRelease                               
Ign http://mirror.yandex.ru common Release.gpg                               
Ign http://mirror.yandex.ru precise Release.gpg                              
Ign http://mirror.yandex.ru common Release                                   
Ign http://mirror.yandex.ru precise Release                                  
Ign http://mirror.yandex.ru common/main TranslationIndex                     
Ign http://mirror.yandex.ru precise/main TranslationIndex                    
Err http://mirror.yandex.ru common/main amd64 Packages                       
  404  Not Found
Err http://mirror.yandex.ru common/main i386 Packages                        
  404  Not Found
Err http://mirror.yandex.ru precise/main amd64 Packages                      
  404  Not Found
Err http://mirror.yandex.ru precise/main i386 Packages                       
  404  Not Found
Ign http://mirror.yandex.ru common/main Translation-en_US                    
Ign http://mirror.yandex.ru common/main Translation-en                       
Ign http://mirror.yandex.ru precise/main Translation-en_US                   
Ign http://mirror.yandex.ru precise/main Translation-en                      
Ign http://ru.archive.ubuntu.com precise InRelease                           
Ign http://ru.archive.ubuntu.com precise-updates InRelease                   
Ign http://ru.archive.ubuntu.com precise-backports InRelease                 
Hit http://ru.archive.ubuntu.com precise Release.gpg                         
Hit http://ru.archive.ubuntu.com precise-updates Release.gpg
Hit http://ru.archive.ubuntu.com precise-backports Release.gpg
Hit http://ru.archive.ubuntu.com precise Release
Hit http://ru.archive.ubuntu.com precise-updates Release                            
Hit http://ru.archive.ubuntu.com precise-backports Release                          
Hit http://ru.archive.ubuntu.com precise/main Sources                               
Hit http://ru.archive.ubuntu.com precise/restricted Sources                         
Hit http://ru.archive.ubuntu.com precise/universe Sources                           
Hit http://ru.archive.ubuntu.com precise/multiverse Sources                         
Hit http://ru.archive.ubuntu.com precise/main amd64 Packages                        
Hit http://ru.archive.ubuntu.com precise/restricted amd64 Packages                  
Hit http://ru.archive.ubuntu.com precise/universe amd64 Packages                    
Hit http://ru.archive.ubuntu.com precise/multiverse amd64 Packages                  
Hit http://ru.archive.ubuntu.com precise/main i386 Packages                         
Hit http://ru.archive.ubuntu.com precise/restricted i386 Packages                   
Hit http://ru.archive.ubuntu.com precise/universe i386 Packages                     
Hit http://ru.archive.ubuntu.com precise/multiverse i386 Packages                   
Hit http://ru.archive.ubuntu.com precise/main TranslationIndex                      
Hit http://ru.archive.ubuntu.com precise/multiverse TranslationIndex                
Hit http://ru.archive.ubuntu.com precise/restricted TranslationIndex                
Hit http://ru.archive.ubuntu.com precise/universe TranslationIndex                  
Hit http://ru.archive.ubuntu.com precise-updates/main Sources                       
Hit http://ru.archive.ubuntu.com precise-updates/restricted Sources                 
Hit http://ru.archive.ubuntu.com precise-updates/universe Sources                   
Hit http://ru.archive.ubuntu.com precise-updates/multiverse Sources                 
Hit http://ru.archive.ubuntu.com precise-updates/main amd64 Packages                
Hit http://ru.archive.ubuntu.com precise-updates/restricted amd64 Packages          
Hit http://ru.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://ru.archive.ubuntu.com precise-updates/multiverse amd64 Packages          
Hit http://ru.archive.ubuntu.com precise-updates/main i386 Packages                 
Hit http://ru.archive.ubuntu.com precise-updates/restricted i386 Packages           
Hit http://ru.archive.ubuntu.com precise-updates/universe i386 Packages             
Hit http://ru.archive.ubuntu.com precise-updates/multiverse i386 Packages           
Hit http://ru.archive.ubuntu.com precise-updates/main TranslationIndex              
Hit http://ru.archive.ubuntu.com precise-updates/multiverse TranslationIndex        
Hit http://ru.archive.ubuntu.com precise-updates/restricted TranslationIndex        
Hit http://ru.archive.ubuntu.com precise-updates/universe TranslationIndex          
Hit http://ru.archive.ubuntu.com precise/main Translation-en 
Hit http://ru.archive.ubuntu.com precise/multiverse Translation-en
Hit http://ru.archive.ubuntu.com precise/restricted Translation-en
Hit http://ru.archive.ubuntu.com precise/universe Translation-en
Hit http://ru.archive.ubuntu.com precise-updates/main Translation-en
Hit http://ru.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://ru.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://ru.archive.ubuntu.com precise-backports/main Sources
Hit http://ru.archive.ubuntu.com precise-backports/restricted Sources
Hit http://ru.archive.ubuntu.com precise-backports/universe Sources
Hit http://ru.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://ru.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://ru.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://ru.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://ru.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://ru.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://ru.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://ru.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://ru.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://ru.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://ru.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://ru.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://ru.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://ru.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://ru.archive.ubuntu.com precise-backports/main Translation-en
Hit http://ru.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://ru.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://ru.archive.ubuntu.com precise-backports/universe Translation-en
Ign http://security.ubuntu.com precise-security InRelease    
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:2 http://security.ubuntu.com precise-security Release [49.6 kB]
Get:3 http://security.ubuntu.com precise-security/main Sources [32.4 kB]
Get:4 http://security.ubuntu.com precise-security/restricted Sources [14 B]
Get:5 http://security.ubuntu.com precise-security/universe Sources [7,849 B]
Get:6 http://security.ubuntu.com precise-security/multiverse Sources [713 B]
Get:7 http://security.ubuntu.com precise-security/main amd64 Packages [118 kB]
Get:8 http://security.ubuntu.com precise-security/restricted amd64 Packages [14 B]
Get:9 http://security.ubuntu.com precise-security/universe amd64 Packages [26.6 kB]
Get:10 http://security.ubuntu.com precise-security/multiverse amd64 Packages [1,155 B]
Get:11 http://security.ubuntu.com precise-security/main i386 Packages [121 kB]
Get:12 http://security.ubuntu.com precise-security/restricted i386 Packages [14 B]                                                                                                                                                                                                                                                                                      
Get:13 http://security.ubuntu.com precise-security/universe i386 Packages [26.8 kB]                                                                                                                                                                                                                                                                                     
Get:14 http://security.ubuntu.com precise-security/multiverse i386 Packages [1,394 B]                                                                                                                                                                                                                                                                                   
Hit http://security.ubuntu.com precise-security/main TranslationIndex                                                                                                                                                                                                                                                                                                   
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex                                                                                                                                                                                                                                                                                             
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex                                                                                                                                                                                                                                                                                             
Hit http://security.ubuntu.com precise-security/universe TranslationIndex                                                                                                                                                                                                                                                                                               
Hit http://security.ubuntu.com precise-security/main Translation-en                                                                                                                                                                                                                                                                                                     
Hit http://security.ubuntu.com precise-security/multiverse Translation-en                                                                                                                                                                                                                                                                                               
Hit http://security.ubuntu.com precise-security/restricted Translation-en                                                                                                                                                                                                                                                                                               
Hit http://security.ubuntu.com precise-security/universe Translation-en                                                                                                                                                                                                                                                                                                 
Fetched 385 kB in 7s (52.8 kB/s)                                                                                                                                                                                                                                                                                                                                        
W: Failed to fetch http://mirror.yandex.ru/mirrors/tank/dists/common/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://mirror.yandex.ru/mirrors/tank/dists/common/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://mirror.yandex.ru/mirrors/tank/dists/precise/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://mirror.yandex.ru/mirrors/tank/dists/precise/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
$ sudo apt-get install yandex-load-tank-base
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package yandex-load-tank-base
doctornkz commented 12 years ago

Can you try again? We were updating repository in that time. 8)

stamm commented 12 years ago

Now it's ok. BTW, thanks for lection, doctornkz =)

stamm commented 12 years ago

Same problem :=(

doctornkz commented 12 years ago

it's sad. well, I'll try to resolve this problem tomorrow. Thanks!

umaxfun commented 12 years ago

+1 Spent two days trying to install tank, thought that the problem is with my hands :)

doctornkz commented 12 years ago

hey, guys! we updated reps right now. check installation, please 8)

umaxfun commented 12 years ago

Doctor, please, tell us how to install tank without apt-get ) The thing doesn't work for me :(

P.S. I just wanna shoot my Sharepoint's head, not to become linux guru ))

stamm commented 12 years ago
$ sudo apt-get update

.......
Err http://mirror.yandex.ru common/main amd64 Packages                        
  404  Not Found
Err http://mirror.yandex.ru common/main i386 Packages                         
  404  Not Found
Ign http://mirror.yandex.ru common/main Translation-en_US                     
Ign http://mirror.yandex.ru common/main Translation-en                        
Err http://mirror.yandex.ru precise/main amd64 Packages                       
  404  Not Found
Err http://mirror.yandex.ru precise/main i386 Packages                        
  404  Not Found

.......

W: Failed to fetch http://mirror.yandex.ru/mirrors/tank/dists/common/main/binary-amd64/Packages  404  Not Found
W: Failed to fetch http://mirror.yandex.ru/mirrors/tank/dists/common/main/binary-i386/Packages  404  Not Found
W: Failed to fetch http://mirror.yandex.ru/mirrors/tank/dists/precise/main/binary-amd64/Packages  404  Not Found
W: Failed to fetch http://mirror.yandex.ru/mirrors/tank/dists/precise/main/binary-i386/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
doctornkz commented 12 years ago

umaxfun, please tell me some details about your system? I have to check this case localy.

umaxfun commented 12 years ago

VMWare Workstation, new & shiny Ubuntu Desktop/Server 12.04 (tested on both).

done:

  1. Added tank to the sources

deb http://mirror.yandex.ru/mirrors/tank common main deb http://mirror.yandex.ru/mirrors/tank precise main

  1. Launched command

sudo apt-get update && sudo apt-get install yandex-load-tank-base

Results were percise'ly like Stamm's :)

doctornkz commented 12 years ago

Incredible. What about this way: wget http://mirror.yandex.ru/mirrors/tank/common/all/yandex-load-tank-base_0.1.7_all.deb sudo dpkg -i yandex-load-tank-base_0.1.7_all.deb ? I did it successfully moment ago.

umaxfun commented 12 years ago

I'll try it asap and tell whether everything's ok or not. Thank you!

doctornkz commented 12 years ago

also I added deb packege to Download section. Enjoy!

doctornkz commented 12 years ago

We found problem with mirror.yandex.ru , please try to install.