CommandBox does not install via apt-get

Hi all,

If I follow the instructions on http://www.ortussolutions.com/products/commandbox for adding commandbox to install via apt-get on Debian based Linux platforms I always get the error “Unable to locate package commandbox”.

I just manually downloaded the Packages.gz file and the Packages file inside is a 0 byte file. Looks like that file needs to be rebuilt with some info inside?

Thanks,

Ben

Ahh, yes I see that. When you unpack the archive it has an empty package file. We’ll take a look and see if something’s wrong with the build process.

As a Linux user, which installation option would you rather see as the “default” on i put in the docs?

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 prefer using apt over manually downloading a .deb file. I think most Linux users are used to doing it via package installer like apt, yum etc,

And I just want to say thank you for building the start of an awesome tool!

I’m just coming back to CF after doing Rails for the past couple of years and having a CLI like this just makes doing CF development feel right.

Thanks for your feedback Ben, both as a Linux user and a Rails user.

Just found out about command box and wanted to try it out. Added repo to additional-repositories.list as I normally do and also received
“Unable to locate package commandbox”

I’ll keep an eye on thread and maybe someone can give a heads up when it’s working again. thanks

Hi Rick, this does appear to be an issue in our current build. Just follow the Linux instructions here and you should be ok for now:

http://www.ortussolutions.com/products/commandbox/docs/current/setup/installation

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

FYI, I put in this ticket:

  1. COMMANDBOX-100

Hi

In the Commandbox installation instructions, it says to add the following to /etc/apt/sources.list.d/box.list:

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

I just found dropping the '.' to do the trick, as per below:

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

Then run apt-get install coldbox and you're away.

Hope this helps
Aaron
@aholesgrove

Thanks for the note Aaron. What distro are you using?

I don’t have a Linux VM handy right now. Can anyone else running Linux give the apt-get method a quick test to see which one works?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

Actually, I just did a quick ‘vagrant up’ and I saw the same behavior. Switching ./ to / fixed it. I’ll update the installation instructions.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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