Cobbler install failed to create symbolic link on apache config
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://
100 /var/lib/
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-
Selecting previously unselected package cobbler-common.
Unpacking cobbler-common (from .../cobbler-
Selecting previously unselected package cobbler.
Unpacking cobbler (from .../cobbler_
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/
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/
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/
$ sudo apt-get -f install
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: cobbler 2.4.0-0ubuntu2
ProcVersionSign
Uname: Linux 3.11.0-7-generic x86_64
NonfreeKernelMo
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
PackageArchitec
SourcePackage: cobbler
UpgradeStatus: No upgrade log present (probably fresh install)
thanks for filing the bug, I'll fix this soon