Cobbler install failed to create symbolic link on apache config

Bug #1224006 reported by Armindo Silva
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cobbler (Ubuntu)
Fix Released
High
Timo Aaltonen

Bug Description

1)
$ lsb_release -rd
Description: Ubuntu Saucy Salamander (development branch)
Release: 13.10

2)
$ apt-cache policy cobbler
cobbler:
  Installed: 2.4.0-0ubuntu2
  Candidate: 2.4.0-0ubuntu2
  Version table:
 *** 2.4.0-0ubuntu2 0
        500 http://pt.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status

3)
 I expected the installation to run without problems

4)
The installation failed when creating the symbolic link

"
(...)
The following NEW packages will be installed:
  cobbler cobbler-common python-cobbler
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/365 kB of archives.
After this operation, 1982 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
Selecting previously unselected package python-cobbler.
(Reading database ... 292671 files and directories currently installed.)
Unpacking python-cobbler (from .../python-cobbler_2.4.0-0ubuntu2_all.deb) ...
Selecting previously unselected package cobbler-common.
Unpacking cobbler-common (from .../cobbler-common_2.4.0-0ubuntu2_all.deb) ...
Selecting previously unselected package cobbler.
Unpacking cobbler (from .../cobbler_2.4.0-0ubuntu2_all.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up python-cobbler (2.4.0-0ubuntu2) ...
Setting up cobbler-common (2.4.0-0ubuntu2) ...
Setting up cobbler (2.4.0-0ubuntu2) ...
/var/lib/dpkg/info/cobbler.postinst: 19: /var/lib/dpkg/info/cobbler.postinst: htpasswd: not found
Considering dependency proxy for proxy_http:
Module proxy already enabled
Module proxy_http already enabled
Module wsgi already enabled
Module rewrite already enabled
ln: failed to create symbolic link ‘/etc/apache2/conf.d/cobbler.conf’: No such file or directory
dpkg: error processing cobbler (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead ...
Errors were encountered while processing:
 cobbler
E: Sub-process /usr/bin/dpkg returned an error code (1)
"

This bug is caused because apache dirs structure changed on Saucy.

WORKAROUND:
$ sudo ln -s /etc/apache2/conf-enabled/ /etc/apache2/conf.d
$ sudo apt-get -f install

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: cobbler 2.4.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.11.0-7.13-generic 3.11.0
Uname: Linux 3.11.0-7-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.12.1-0ubuntu3
Architecture: amd64
Date: Wed Sep 11 18:03:28 2013
InstallationDate: Installed on 2013-09-01 (9 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130901)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: cobbler
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Armindo Silva (deathon2legs) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

thanks for filing the bug, I'll fix this soon

Changed in cobbler (Ubuntu):
assignee: nobody → Timo Aaltonen (tjaalton)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cobbler - 2.4.0-0ubuntu3

---------------
cobbler (2.4.0-0ubuntu3) saucy; urgency=low

  * cobbler{,-web}.post{inst,rm}: Migrate to Apache 2.4. (LP: #1224006)
 -- Timo Aaltonen <email address hidden> Thu, 12 Sep 2013 14:45:41 +0300

Changed in cobbler (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.