[commandbox] Debian Apt Repo?

I’m trying to install commandbox on my Ubuntu development VM - I’ve added the stable repo to sources:

Add this one for stable releases

deb http://downloads.ortussolutions.com/debs/noarch ./

When I run apt-get update I’m getting a 404 for the commandbox repo and trying to install fails.

W: Failed to fetch http://downloads.ortussolutions.com/debs/noarch/./Packages 404 Not Found

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

sdaniels@benny:~$ sudo apt-get install commandbox

Reading package lists… Done

Building dependency tree

Reading state information… Done

E: Unable to locate package commandbox

Is the repo down? The bleeding edge one seems to work but I’m getting an error when I use box with the bleeding edge one.

sdaniels@benny:~$ box

Exception in thread “main” java.lang.NoClassDefFoundError: java/nio/charset/StandardCharsets

at cliloader.Util.readFile(Util.java:189)

at cliloader.LoaderCLIMain.versionFileMatches(LoaderCLIMain.java:406)

at cliloader.LoaderCLIMain.main(LoaderCLIMain.java:195)

Caused by: java.lang.ClassNotFoundException: java.nio.charset.StandardCharsets

at java.net.URLClassLoader$1.run(URLClassLoader.java:217)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

at java.lang.ClassLoader.loadClass(ClassLoader.java:323)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)

at java.lang.ClassLoader.loadClass(ClassLoader.java:268)

… 3 more

Got it installed fine on my Mac. This looks awesome BTW! Can’t believe it took me this long to check it out.

Yep, you’re right. I actually noticed this a week or so ago and Luis thought he had fixed it by adding a missing folder back. Perhaps that change didn’t get added to our download server hosted on S3. I hadn’t had a chance to test it again until just now.

In the mean time if you don’t want to be on the bleeding edge, you can just manually install the binary in /usr/bin and you’re off.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

I have /etc/apt/sources.list.d/commandbox.list which contains

`
deb http://integration.stg.ortussolutions.com/artifacts/debs/noarch ./

`

This seems to work - I actually saw a commandbox update in my update notifications this AM. (Linux Mint)

Jim

Yep, your on the integration server which is the bleeding edge. The URLs that are not working are the stables ones.

Glad to know the updates are working. I saw your tweet as well :slight_smile:

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com