a2enmod exits with an error if real files are stored in mods-enabled instead of symlinks
Bug #283187 reported by
Karol
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: apache2
Command: sudo tasksel install lamp-server doesn't finish it's job. The "package apache2.2-common 2.2.9-7ubuntu3 failed to install/upgrade: subprocess post-installation script returned error exit status 1" error occurs.
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: apache2.2-common 2.2.9-7ubuntu3
SourcePackage: apache2
Title: package apache2.2-common 2.2.9-7ubuntu3 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27-7-generic i686
summary: |
- package apache2.2-common 2.2.9-7ubuntu3 failed to install/upgrade: - subprocess post-installation script returned error exit status 1 + a2enmod exits with an error if real files are stored in mods-enabled + instead of symlinks |
Changed in apache2 (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
To post a comment you must log in.
Setting up apache2.2-common (2.2.9-7ubuntu3) ... mods-enabled/ alias.load is a real file, not touching it
ERROR: Module alias not properly enabled: /etc/apache2/
dpkg: error processing apache2.2-common (--configure):
subprocess post-installation script returned error exit status 1
This means you had /etc/apache2/ mods-enabled/ alias.load lying around from a previous install, you put it there yourself (the package itself only puts symlinks in *-enabled), and now a2enmod is confused. Probably a2enmod should not exit with an error in this case, I will think about it.
You can fix the problem by removing that file (and any other files in the same directory).