Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

On Debian-based distributions, such as Ubuntu, you can install Hudson through apt-get.

  1. Add the following line to your /etc/apt/sources.list:
    deb http://hudson-ci.org/debian binary/
  2. Update the APT index:
    sudo apt-get update
  3. Install Hudson:
    sudo apt-get install hudson


Doesn't work on modern Ubuntu:

sudo apt-get install hudson 


The following packages have unmet dependencies:
  hudson: Depends: daemon but it is not going to be installed

Works on Debian Lenny

Worked on Karmic for me -- RobertCollins

If you need daemon, then just add it to the install command:

sudo apt-get install hudson daemon

Worked fine in Jaunty for me and picked up the daemon dependency automatically - DanKlco

On Ubuntu: I followed all the steps above to install and then kicked off the .war file through "java -jar hudson.war", the server tries to come up with some "Severe: Failed to initialize Hudson", but at the end of this error log, it says "HTTP Listener started :port=8080". When I try to open the page, I get an error saying "Status Code 500". What am I doing wrong?

This above problem was fixed by installing a Tomcat webserver.


After installing the hudson deb on Ubuntu server Jaunty 8.10, when I tried to run the init script /etc/init.d/hudson start, nothing would be printed and the server would not start. No log file was created under /var/log/hudson and no pid file was created under /var/run/hudson. I eventually discovered that if i set the hudson user's shell to /bin/bash instead of /bin/false in /etc/passwd everything works fine. Hope this saves someone else some trouble.


20090914_08:38:32CT:michael.prescott: Many weeks ago, I installed using the apt-get instructions described above. My build machine is configured to get updates periodically and several updates for Hudson come down since it was originally installed.  Perhaps it was two or 3 weeks ago a bad update came down and Hudson has been dead in the water since.  Thanks to the previous commenter, changing /bin/false to bin/bash fixed the problem.  However, there is still a problem with updating now.  I assume the "source package" may no longer be available.  When I run sudo apt-get update, I receive the following error:

Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/hudson-ci.org_debian_binary_Packages
E: The package lists or status file could not be parsed or opened.

  • No labels