Install instructions for Ubuntu don't work for 14.04

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Install instructions for Ubuntu don't work for 14.04

TenLeftFingers
I'm following the installation instructions for Ubuntu here: https://wiki.jenkins-ci.org/display/JENKINS/Containers

But installation fails with the following:

The following packages will be upgraded:
  jenkins
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/61.1 MB of archives.
After this operation, 67.2 MB of additional disk space will be used.
(Reading database ... 202135 files and directories currently installed.)
Preparing to unpack .../archives/jenkins_1.554_all.deb ...
jenkins stop/waiting
Unpacking jenkins (1.554) over (1.509.2+dfsg-2) ...
dpkg: error processing archive /var/cache/apt/archives/jenkins_1.554_all.deb (--unpack):
 trying to overwrite '/usr/share/jenkins/jenkins.war', which is also in package jenkins-common 1.509.2+dfsg-2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
jenkins start/running, process 19937
Errors were encountered while processing:
 /var/cache/apt/archives/jenkins_1.554_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm running Ubuntu 14.04 alpha 2 - anyone know what the issue is here?


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Install instructions for Ubuntu don't work for 14.04

Marius Gedminas
On Mon, Mar 10, 2014 at 10:05:55AM -0700, Jarlath Reidy wrote:

> I'm following the installation instructions for Ubuntu here:
> https://wiki.jenkins-ci.org/display/JENKINS/Containers
>
> But installation fails with the following:
>
> The following packages will be upgraded:
>   jenkins
> 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/61.1 MB of archives.
> After this operation, 67.2 MB of additional disk space will be used.
> (Reading database ... 202135 files and directories currently installed.)
> Preparing to unpack .../archives/jenkins_1.554_all.deb ...
> jenkins stop/waiting
> Unpacking jenkins (1.554) over (1.509.2+dfsg-2) ...
> dpkg: error processing archive
> /var/cache/apt/archives/jenkins_1.554_all.deb (--unpack):
>  trying to overwrite '/usr/share/jenkins/jenkins.war', which is also in
> package jenkins-common 1.509.2+dfsg-2
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> jenkins start/running, process 19937
> Errors were encountered while processing:
>  /var/cache/apt/archives/jenkins_1.554_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> I'm running Ubuntu 14.04 alpha 2 - anyone know what the issue is here?
It's a bug in the official Jenkins package:
https://issues.jenkins-ci.org/browse/JENKINS-18798

Workaround: remove Ubuntu's jenkins and jenkins-common packages before
installing the upstream version of the package.

Be sure to also remove the /etc/init/jenkins.conf (since it's a
conffile, apt-get removing jenkins will leave it in place -- and this
will break startup.)  Another bug:
https://issues.jenkins-ci.org/browse/JENKINS-19329

Marius Gedminas
--
In ViM, your keyboard is like a giant game-pad of editing functionality. Every
key does something amazing and magical.
        -- http://www.foothills.wjduquette.com/blog/archives/1813

signature.asc (197 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Install instructions for Ubuntu don't work for 14.04

Dirk Heinrichs-2
Am 12.03.2014 08:05, schrieb Marius Gedminas:

Be sure to also remove the /etc/init/jenkins.conf (since it's a
conffile, apt-get removing jenkins will leave it in place

Not if you remove the package with "apt-get purge".

Bye...

    Dirk
--

Dirk Heinrichs, Senior Systems Engineer, Engineering Solutions
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Tel: +49 2226 1596666 (Ansage) 1149
Email: [hidden email]
Skype: dirk.heinrichs.recommind
www.recommind.com

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Install instructions for Ubuntu don't work for 14.04

Marius Gedminas
On Wed, Mar 12, 2014 at 08:07:56AM +0100, Dirk Heinrichs wrote:
> Am 12.03.2014 08:05, schrieb Marius Gedminas:
>
> > Be sure to also remove the /etc/init/jenkins.conf (since it's a
> > conffile, apt-get removing jenkins will leave it in place
>
> Not if you remove the package with "apt-get purge".

Wouldn't that also delete all my configuration and workspaces from
/var/lib/jenkins?

(I don't know the answer, but the mere possibility kept me from running
apt-get purge.)

Marius Gedminas
--
If C gives you enough rope to hang yourself, C++ gives you enough rope to bind
and gag your neighborhood, rig the sails on a small ship, and still have enough
rope left over to hang yourself from the yardarm.

signature.asc (197 bytes) Download Attachment