Issues with Bintray on ubuntu

588 views
Skip to first unread message

Justin Dearing

unread,
Sep 6, 2013, 11:29:48 AM9/6/13
to simple-b...@googlegroups.com
Hello,

I started this conversation in twitter, but I'm moving it here.

I have ubuntu 13.04 installed. I want to add sbt from bintray ( or any maintained repo with the latest sbt packages for that matter). 

The directions stated I should add the following lines to /etc/apt/sources.list 


I got an error and Josh stated you don't publish source debians, so I removed the last line

Now when I do an apt-get update I get the following:

Hit http://us.archive.ubuntu.com raring-backports/universe Translation-en
Err http://dl.bintray.com raring/main amd64 Packages                    
  404  Not Found [IP: 108.168.194.92 80]
Err http://dl.bintray.com raring/main i386 Packages                     
  404  Not Found [IP: 108.168.194.92 80]
Ign http://dl.bintray.com raring/main Translation-en_US                 
Ign http://dl.bintray.com raring/main Translation-en                    
Get:29 http://dl.bintray.com  Packages [414 B]                          
Ign http://dl.bintray.com  Translation-en_US                           
Ign http://dl.bintray.com  Translation-en       
Ign http://us.archive.ubuntu.com raring/main Translation-en_US
Ign http://us.archive.ubuntu.com raring/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com raring/restricted Translation-en_US
Ign http://us.archive.ubuntu.com raring/universe Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/main Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/restricted Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/universe Translation-en_US
Fetched 1,161 kB in 3s (347 kB/s)
W: Failed to fetch http://dl.bintray.com/sbt/debian/dists/raring/main/binary-amd64/Packages  404  Not Found [IP: 108.168.194.92 80]

W: Failed to fetch http://dl.bintray.com/sbt/debian/dists/raring/main/binary-i386/Packages  404  Not Found [IP: 108.168.194.92 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@justin-Scala:~# 

What should I try next?

Josh Suereth

unread,
Sep 8, 2013, 3:24:43 PM9/8/13
to simple-b...@googlegroups.com
Huh... looks like the expected location for the index is wrong.   Maybe we need to feed this to bintray support?


--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/groups/opt_out.

Antoine Gourlay

unread,
Sep 8, 2013, 5:30:08 PM9/8/13
to simple-b...@googlegroups.com
Hum… it looks like apt is expecting it to be an automatic repository
instead of a trivial repository (hence all the versioning before it
gets to the index).

I couldn't find an up-to-date document on the syntax of sources.list.
Can you try with ./ instead of /:

deb http://dl.bintray.com/sbt/debian ./

On Sun, Sep 8, 2013 at 9:24 PM, Josh Suereth joshua....@gmail.com wrote:

Huh… looks like the expected location for the index is wrong. Maybe we

You received this message because you are subscribed to the Google Groups
“simple-build-tool” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/groups/opt_out.


Josh Suereth

unread,
Sep 8, 2013, 6:45:26 PM9/8/13
to simple-b...@googlegroups.com
I added the following line (via the ui) to my sources.list => 



Basically, *exactly* following the directions on the bintray website.   We'll have to make a note that the sources list is bogus for us (or I'll need to figure out a way to make a source repo that can use sbt to build itself...).   

In any case, I'm unable to duplicate.  Did you try to use `apt-add-repository`?   AFAIK, that's not going to work with bintray right now.


--

Justin Dearing

unread,
Sep 9, 2013, 3:15:05 PM9/9/13
to simple-b...@googlegroups.com
Fluffy,

I tried editing /etc/apt/sources.list from the shell, and via vim. I tried the gui and got the same error:

Ign https://private-ppa.launchpad.net raring/main Translation-en_US                                                                                   
Ign https://private-ppa.launchpad.net raring/main Translation-en                                                                                      
Fetched 1,436 kB in 7s (180 kB/s)                                                                                                                     
W: Failed to fetch http://dl.bintray.com/sbt/debian/dists/raring/main/binary-amd64/Packages  404  Not Found [IP: 108.168.194.92 80]

W: Failed to fetch http://dl.bintray.com/sbt/debian/dists/raring/main/binary-i386/Packages  404  Not Found [IP: 108.168.194.92 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
zippy1981@justin-Scala:~/liferay-portal-6.1.2-ce-ga3$ 


BTW, after adding the repo with the gui this is what the bottom of  my /etc/apt/sources.list looked like

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb-src http://dl.bintray.com/sbt/debian raring main


Justin

Justin Dearing

unread,
Sep 9, 2013, 3:24:43 PM9/9/13
to simple-b...@googlegroups.com
Fluffy/Antoine,

What version of ubuntu are you two running. I am running 13.04. I think errors might be version specific.


On Sunday, September 8, 2013 5:30:08 PM UTC-4, Antoine Gourlay wrote:
 

I couldn't find an up-to-date document on the syntax of sources.list.
Can you try with ./ instead of /:

deb http://dl.bintray.com/sbt/debian ./

I got different errors, but it looks like I was able to install the packages.

Hit http://security.ubuntu.com raring-security/multiverse Translation-en
Get:9 http://dl.bintray.com ./ Packages [414 B] 
Hit http://security.ubuntu.com raring-security/restricted Translation-en
Hit http://security.ubuntu.com raring-security/universe Translation-en
Err http://dl.bintray.com raring/main amd64 Packages
  404  Not Found [IP: 108.168.194.91 80]
Err http://dl.bintray.com raring/main i386 Packages
  404  Not Found [IP: 108.168.194.91 80]
Ign http://dl.bintray.com raring/main Translation-en_US
Ign http://dl.bintray.com raring/main Translation-en
Ign http://dl.bintray.com ./ Translation-en_US  
Ign http://dl.bintray.com ./ Translation-en     
Ign http://security.ubuntu.com raring-security/main Translation-en_US
Ign http://security.ubuntu.com raring-security/multiverse Translation-en_US
Ign http://security.ubuntu.com raring-security/restricted Translation-en_US
Ign http://security.ubuntu.com raring-security/universe Translation-en_US
Ign https://private-ppa.launchpad.net raring/main Translation-en_US
Ign https://private-ppa.launchpad.net raring/main Translation-en                                                                                      
Fetched 272 kB in 6s (41.6 kB/s)                                                                                                                      
W: Failed to fetch http://dl.bintray.com/sbt/debian/dists/raring/main/binary-amd64/Packages  404  Not Found [IP: 108.168.194.91 80]

W: Failed to fetch http://dl.bintray.com/sbt/debian/dists/raring/main/binary-i386/Packages  404  Not Found [IP: 108.168.194.91 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
zippy1981@justin-Scala:~/liferay-portal-6.1.2-ce-ga3$ sudo vim /etc/apt/sources.list
zippy1981@justin-Scala:~/liferay-portal-6.1.2-ce-ga3$ sudo apt-get install sbt
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  curl
The following NEW packages will be installed:
  curl sbt
0 upgraded, 2 newly installed, 0 to remove and 42 not upgraded.
Need to get 1,140 kB of archives.
After this operation, 1,534 kB of additional disk space will be used.
Do you want to continue [Y/n]? 
WARNING: The following packages cannot be authenticated!
  sbt
Install these packages without verification [y/N]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ raring-updates/main curl amd64 7.29.0-1ubuntu3.1 [149 kB]
Get:2 http://dl.bintray.com/sbt/debian/ ./ sbt 0.13.0-0.1-build-001 [991 kB]
Fetched 1,140 kB in 1s (700 kB/s)
Selecting previously unselected package curl.
(Reading database ... 187977 files and directories currently installed.)
Unpacking curl (from .../curl_7.29.0-1ubuntu3.1_amd64.deb) ...
Selecting previously unselected package sbt.
Unpacking sbt (from .../sbt_0.13.0-0.1-build-001_all.deb) ...
Processing triggers for man-db ...
Setting up curl (7.29.0-1ubuntu3.1) ...
Setting up sbt (0.13.0-0.1-build-001) ...
zippy1981@justin-Scala:~/liferay-portal-6.1.2-ce-ga3$ 

I'm going to do some more experimenting to determing the following:
  1. If I have better luck (no error messages) with ubuntu 12 (LTS) as oppsoed to 13.04. 
  2. If I can install the packages despite the errors on Ubuntu without adding the . as you mentioned and I did to get different error messages (which led me to try "apt-get install sbt" on a hunch in the first place)

 

Justin Dearing

unread,
Sep 11, 2013, 10:27:54 AM9/11/13
to simple-b...@googlegroups.com
Ok other than the source repo everything ended up being PEBKAC. Thanks for everyone's help
Reply all
Reply to author
Forward
0 new messages