package w3c-markup-validator 1.3+dfsg-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1259547 reported by Takis Issaris
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
w3c-markup-validator (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

vim /var/lib/dpkg/info/w3c-markup-validator.postinst

Commenting out this blocked allowed me to prevent having a broken package:
# if [ ! -s /etc/$server/conf.d/w3c-markup-validator.conf ]; then
# ln -s /etc/w3c/httpd.conf \
# /etc/$server/conf.d/w3c-markup-validator.conf
# fi

The reason this isn't working is because there's no conf.d directory in the /etc/apache2 directory:
ls /etc/apache2/
apache2.conf conf-available conf-enabled envvars magic mods-available mods-enabled ports.conf sites-available sites-enabled

I assume this should point to /etc/$server/conf-available instead:
   ln -s /etc/w3c/httpd.conf \
                    /etc/$server/conf-available/w3c-markup-validator.conf

ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: w3c-markup-validator 1.3+dfsg-1
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic i686
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: i386
Date: Tue Dec 10 14:27:19 2013
DuplicateSignature: package:w3c-markup-validator:1.3+dfsg-1:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2013-09-13 (88 days ago)
InstallationMedia: Lubuntu 13.04 "Raring Ringtail" - Release i386 (20130423.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: w3c-markup-validator
Title: package w3c-markup-validator 1.3+dfsg-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to saucy on 2013-10-18 (53 days ago)

Revision history for this message
Takis Issaris (panagiotis-e) wrote :
Revision history for this message
Takis Issaris (panagiotis-e) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "phmi-20131210T1441-ubuntu1310-w3c-markup-validator.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
tags: removed: need-duplicate-check
Changed in w3c-markup-validator (Ubuntu):
status: New → Fix Committed
Revision history for this message
Illia Bobyr (illia-bobyr) wrote :

Patch in comment #2 is missing similar update in the check two lines above.

Revision history for this message
Illia Bobyr (illia-bobyr) wrote :

Submitted patch seems to be incomplete.

Changed in w3c-markup-validator (Ubuntu):
status: Fix Committed → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in w3c-markup-validator (Ubuntu):
status: New → Confirmed
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.