E: Version '2.2.0b3' for 'arangodb' was not found

54 views
Skip to first unread message

bvenkat

unread,
Jul 3, 2014, 10:38:40 AM7/3/14
to aran...@googlegroups.com
Hi,

While installing arangodb 2.2.0b3, I got struk at "E: Version '2.2.0b3' for 'arangodb' was not found"

For the installation I followed below steps,

apt-key add - < Release.key
echo 'deb http://www.arangodb.org/repositories/unstable/xUbuntu_12.04/ /' >> /etc/apt/sources.list.d/arangodb.list
apt-get update

At the below step, I got the above problem,
apt-get install arangodb=2.2.0b3

Could you please help me, why this error and how can I resolve it ?

Frank Celler

unread,
Jul 3, 2014, 11:04:23 AM7/3/14
to aran...@googlegroups.com
When you execute

  apt-get update

do you see a line like

  Hit http://www.arangodb.org  Release.gpg                                                                                                                                                   

Can you do a

  cat /etc/apt/sources.list.d/arangodb.list

and send the output?

Thx
  Frank

bvenkat

unread,
Jul 3, 2014, 11:28:41 PM7/3/14
to aran...@googlegroups.com
Again I did the same steps for installation, But I have not seen "Hit http://www.arangodb.org  Release.gpg" on console, after "sudo apt-get update".

cat /etc/apt/sources.list.d/arangodb.list
cat: /etc/apt/sources.list.d/arangodb.list: No such file or directory

One more thing is I already installed mongodb 2.6.1 on the same system. And after doing sudo apt-get update, on the console I see the below lines...

Ign http://dl.google.com stable InRelease
Ign http://security.ubuntu.com precise-security InRelease                      
Hit http://dl.google.com stable Release.gpg                                    
Ign http://in.archive.ubuntu.com precise InRelease                             
Ign http://in.archive.ubuntu.com precise-updates InRelease                     
Ign http://in.archive.ubuntu.com precise-backports InRelease                   
Ign http://extras.ubuntu.com precise InRelease                                 
Hit http://dl.google.com stable Release                                        
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]          
Hit http://in.archive.ubuntu.com precise Release.gpg                           
Get:2 http://in.archive.ubuntu.com precise-updates Release.gpg [198 B]         
Get:3 http://extras.ubuntu.com precise Release.gpg [72 B]                      
Ign http://downloads-distro.mongodb.org dist InRelease                         
Get:4 http://security.ubuntu.com precise-security Release [49.6 kB]            
Hit http://in.archive.ubuntu.com precise-backports Release.gpg                 
Hit http://in.archive.ubuntu.com precise Release                               
Hit http://dl.google.com stable/main amd64 Packages                            
Hit http://extras.ubuntu.com precise Release                                   
Get:5 http://in.archive.ubuntu.com precise-updates Release [49.6 kB]           
Hit http://dl.google.com stable/main i386 Packages                             
Hit http://extras.ubuntu.com precise/main Sources                              
Ign http://dl.google.com stable/main TranslationIndex                          
Get:6 http://security.ubuntu.com precise-security/main Sources [106 kB]        
Hit http://extras.ubuntu.com precise/main amd64 Packages                       
Hit http://extras.ubuntu.com precise/main i386 Packages                        
Ign http://extras.ubuntu.com precise/main TranslationIndex                     
Hit http://in.archive.ubuntu.com precise-backports Release                     
Get:7 http://downloads-distro.mongodb.org dist Release.gpg [490 B]             
Hit http://in.archive.ubuntu.com precise/main Sources                          
Hit http://in.archive.ubuntu.com precise/restricted Sources                    
Hit http://in.archive.ubuntu.com precise/universe Sources                      
Hit http://in.archive.ubuntu.com precise/multiverse Sources                    
Hit http://in.archive.ubuntu.com precise/main amd64 Packages                   
Hit http://in.archive.ubuntu.com precise/restricted amd64 Packages             
Hit http://in.archive.ubuntu.com precise/universe amd64 Packages               
Hit http://in.archive.ubuntu.com precise/multiverse amd64 Packages             
Hit http://in.archive.ubuntu.com precise/main i386 Packages                    
Hit http://in.archive.ubuntu.com precise/restricted i386 Packages              
Hit http://in.archive.ubuntu.com precise/universe i386 Packages                
Hit http://in.archive.ubuntu.com precise/multiverse i386 Packages              
Hit http://in.archive.ubuntu.com precise/main TranslationIndex                 
Hit http://in.archive.ubuntu.com precise/multiverse TranslationIndex           
Hit http://in.archive.ubuntu.com precise/restricted TranslationIndex           
Hit http://in.archive.ubuntu.com precise/universe TranslationIndex             
Get:8 http://in.archive.ubuntu.com precise-updates/main Sources [473 kB]       
Get:9 http://security.ubuntu.com precise-security/restricted Sources [2,494 B] 
Get:10 http://security.ubuntu.com precise-security/universe Sources [30.7 kB]  
Get:11 http://security.ubuntu.com precise-security/multiverse Sources [1,795 B]
Get:12 http://security.ubuntu.com precise-security/main amd64 Packages [406 kB]
Get:13 http://downloads-distro.mongodb.org dist Release [2,032 B]              
Ign http://dl.google.com stable/main Translation-en_IN                         
Ign http://dl.google.com stable/main Translation-en                            
Get:14 http://downloads-distro.mongodb.org dist/10gen amd64 Packages [19.0 kB] 
Get:15 http://security.ubuntu.com precise-security/restricted amd64 Packages [4,627 B]
Get:16 http://security.ubuntu.com precise-security/universe amd64 Packages [93.8 kB]
Get:17 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2,434 B]
Get:18 http://security.ubuntu.com precise-security/main i386 Packages [433 kB] 
Ign http://extras.ubuntu.com precise/main Translation-en_IN                    
Get:19 http://in.archive.ubuntu.com precise-updates/restricted Sources [8,056 B]
Get:20 http://in.archive.ubuntu.com precise-updates/universe Sources [108 kB]  
Get:21 http://in.archive.ubuntu.com precise-updates/multiverse Sources [8,890 B]
Get:22 http://in.archive.ubuntu.com precise-updates/main amd64 Packages [814 kB]
Ign http://extras.ubuntu.com precise/main Translation-en                       
Get:23 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Get:24 http://security.ubuntu.com precise-security/universe i386 Packages [99.1 kB]
Get:25 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,647 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      
Get:26 http://in.archive.ubuntu.com precise-updates/restricted amd64 Packages [13.7 kB]
Get:27 http://in.archive.ubuntu.com precise-updates/universe amd64 Packages [244 kB]
Hit http://security.ubuntu.com precise-security/universe Translation-en        
Get:28 http://in.archive.ubuntu.com precise-updates/multiverse amd64 Packages [15.3 kB]
Get:29 http://in.archive.ubuntu.com precise-updates/main i386 Packages [846 kB]
Get:30 http://downloads-distro.mongodb.org dist/10gen i386 Packages [19.3 kB]  
Get:31 http://in.archive.ubuntu.com precise-updates/restricted i386 Packages [13.7 kB]
Get:32 http://in.archive.ubuntu.com precise-updates/universe i386 Packages [250 kB]
Get:33 http://in.archive.ubuntu.com precise-updates/multiverse i386 Packages [15.5 kB]
Hit http://in.archive.ubuntu.com precise-updates/main TranslationIndex         
Hit http://in.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://in.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://in.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://in.archive.ubuntu.com precise-backports/main Sources    
Hit http://in.archive.ubuntu.com precise-backports/restricted Sources
Hit http://in.archive.ubuntu.com precise-backports/universe Sources
Hit http://in.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://in.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://in.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://in.archive.ubuntu.com precise-backports/universe amd64 Packages     
Hit http://in.archive.ubuntu.com precise-backports/multiverse amd64 Packages   
Hit http://in.archive.ubuntu.com precise-backports/main i386 Packages          
Hit http://in.archive.ubuntu.com precise-backports/restricted i386 Packages    
Hit http://in.archive.ubuntu.com precise-backports/universe i386 Packages      
Hit http://in.archive.ubuntu.com precise-backports/multiverse i386 Packages    
Hit http://in.archive.ubuntu.com precise-backports/main TranslationIndex       
Hit http://in.archive.ubuntu.com precise-backports/multiverse TranslationIndex 
Hit http://in.archive.ubuntu.com precise-backports/restricted TranslationIndex 
Hit http://in.archive.ubuntu.com precise-backports/universe TranslationIndex   
Hit http://in.archive.ubuntu.com precise/main Translation-en                   
Hit http://in.archive.ubuntu.com precise/multiverse Translation-en      
Hit http://in.archive.ubuntu.com precise/restricted Translation-en
Hit http://in.archive.ubuntu.com precise/universe Translation-en
Hit http://in.archive.ubuntu.com precise-updates/main Translation-en
Hit http://in.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://in.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://in.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://in.archive.ubuntu.com precise-backports/main Translation-en  
Hit http://in.archive.ubuntu.com precise-backports/multiverse Translation-en
Ign http://downloads-distro.mongodb.org dist/10gen TranslationIndex     
Hit http://in.archive.ubuntu.com precise-backports/restricted Translation-en   
Hit http://in.archive.ubuntu.com precise-backports/universe Translation-en     
Ign http://downloads-distro.mongodb.org dist/10gen Translation-en_IN           
Ign http://downloads-distro.mongodb.org dist/10gen Translation-en              
Fetched 4,137 kB in 9s (441 kB/s)                                              
Reading package lists... Done

Frank Celler

unread,
Jul 4, 2014, 3:40:05 AM7/4/14
to aran...@googlegroups.com
Can you do a


    echo 'deb http://www.arangodb.org/repositories/unstable/xUbuntu_12.04/ /' > /etc/apt/sources.list.d/arangodb.list

Does this gives an error message? If yes, can you post it? If not, can you try

    apt-get update
    apt-get install arangodb=2.2.0b3

again?

bvenkat

unread,
Jul 4, 2014, 6:46:34 AM7/4/14
to aran...@googlegroups.com
Hi
Thank you very much for investigating on this problem, Just now I have executed below command and got permission denied. Next used sudo , which is in red color below.

xxxxx$ echo 'deb http://www.arangodb.org/repositories/unstable/xUbuntu_12.04/ /' > /etc/apt/sources.list.d/arangodb.list
-bash: /etc/apt/sources.list.d/arangodb.list: Permission denied

xxxxx$ echo 'deb http://www.arangodb.org/repositories/unstable/xUbuntu_12.04/ /' > sudo /etc/apt/sources.list.d/arangodb.list
xxxxx$ 

Frank Celler

unread,
Jul 4, 2014, 8:48:25 AM7/4/14
to aran...@googlegroups.com
You need to put the sudo at the beginning

xxxxx$ sudo echo 'deb http://www.arangodb.org/repositories/unstable/xUbuntu_12.04/ /' > /etc/apt/sources.list.d/arangodb.list

bvenkat

unread,
Jul 4, 2014, 9:27:43 AM7/4/14
to aran...@googlegroups.com
I already used sudo at the beginning and I was getting below error, that is the reason I used sudo in front of the /etc ..
xxxxx$ sudo echo 'deb http://www.arangodb.org/repositories/unstable/xUbuntu_12.04/ /' > /etc/apt/sources.list.d/arangodb.list
-bash: /etc/apt/sources.list.d/arangodb.list: Permission denied

Now I downloaded arangodb_2.2.0b3_amd64.deb and successfully installed using dpkg.
Thanks a lot for your help.
Hit http://security.ubuntu.com precise-security/multiverse Translation-en &n
...

Frank Celler

unread,
Jul 5, 2014, 3:16:22 PM7/5/14
to aran...@googlegroups.com
Sorry, the correct command is

sudo -s "echo 'deb http://www.arangodb.org/repositories/unstable/xUbuntu_12.04/ /' > /etc/apt/sources.list.d/arangodb.list"
...
Reply all
Reply to author
Forward
0 new messages