Public bug reported:

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)

** Affects: w3c-markup-validator (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package i386 need-duplicate-check saucy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1259547

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/w3c-markup-validator/+bug/1259547/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to