A quick workaround is to 'sudo rm /etc/lighttpd/conf-enabled/90
-javascript-alias.conf && sudo apt-get -f install'

** Changed in: javascript-common (Ubuntu)
   Importance: Undecided => High

** Changed in: javascript-common (Ubuntu)
       Status: New => Triaged

** Description changed:

  Binary package hint: javascript-common
  
  Failed to upgrade the javascript-common8 package.
  This error has been encountered while upgrading ubuntu distribution 11.04.
- Thank you for your interest in reading.
+ 
+ This is the faulty bit in the postinst:
+ 
+                 if [ ! -e 
/etc/lighttpd/conf-available/90-javascript-alias.conf ]
+                 then
+                         ln -s /etc/javascript-common/lighttpd.conf 
/etc/lighttpd/conf-enabled/90-javascript-alias.conf
+                         restart="lighttpd"
+                 fi
+ 
+ Probably it is meant to check if the symlink _target_ already exists and
+ this is a typo? Will let the Debian maintainer decide.
  
  ProblemType: Package
  DistroRelease: Ubuntu 11.04
  Package: javascript-common 8
- ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
- Uname: Linux 2.6.38-8-generic i686
- AptOrdering: javascript-common: Configure
- Architecture: i386
- Date: Fri Jun 10 18:38:59 2011
- Dependencies: wwwconfig-common 0.2.2
  DpkgTerminalLog:
-  Setting up javascript-common (8) ...
-  ln: creating symbolic link 
`/etc/lighttpd/conf-enabled/90-javascript-alias.conf': File exists
-  dpkg: error processing javascript-common (--configure):
-   subprocess installed post-installation script returned error exit status 1
+  Setting up javascript-common (8) ...
+  ln: creating symbolic link 
`/etc/lighttpd/conf-enabled/90-javascript-alias.conf': File exists
+  dpkg: error processing javascript-common (--configure):
+   subprocess installed post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
- InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
- PackageArchitecture: all
- SourcePackage: javascript-common
- Title: package javascript-common 8 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
- UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  Binary package hint: javascript-common
  
  Failed to upgrade the javascript-common8 package.
  This error has been encountered while upgrading ubuntu distribution 11.04.
  
  This is the faulty bit in the postinst:
  
-                 if [ ! -e 
/etc/lighttpd/conf-available/90-javascript-alias.conf ]
-                 then
-                         ln -s /etc/javascript-common/lighttpd.conf 
/etc/lighttpd/conf-enabled/90-javascript-alias.conf
-                         restart="lighttpd"
-                 fi
+ if [ ! -e /etc/lighttpd/conf-available/90-javascript-alias.conf ]
+ then
+             ln -s /etc/javascript-common/lighttpd.conf 
/etc/lighttpd/conf-enabled/90-javascript-alias.conf
+             restart="lighttpd"
+ fi
  
  Probably it is meant to check if the symlink _target_ already exists and
  this is a typo? Will let the Debian maintainer decide.
  
  ProblemType: Package
  DistroRelease: Ubuntu 11.04
  Package: javascript-common 8
  DpkgTerminalLog:
   Setting up javascript-common (8) ...
   ln: creating symbolic link 
`/etc/lighttpd/conf-enabled/90-javascript-alias.conf': File exists
   dpkg: error processing javascript-common (--configure):
    subprocess installed post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1

** Description changed:

  Binary package hint: javascript-common
  
  Failed to upgrade the javascript-common8 package.
  This error has been encountered while upgrading ubuntu distribution 11.04.
  
  This is the faulty bit in the postinst:
  
  if [ ! -e /etc/lighttpd/conf-available/90-javascript-alias.conf ]
  then
-             ln -s /etc/javascript-common/lighttpd.conf 
/etc/lighttpd/conf-enabled/90-javascript-alias.conf
-             restart="lighttpd"
+   ln -s /etc/javascript-common/lighttpd.conf 
/etc/lighttpd/conf-enabled/90-javascript-alias.conf
+   restart="lighttpd"
  fi
  
  Probably it is meant to check if the symlink _target_ already exists and
  this is a typo? Will let the Debian maintainer decide.
  
  ProblemType: Package
  DistroRelease: Ubuntu 11.04
  Package: javascript-common 8
  DpkgTerminalLog:
   Setting up javascript-common (8) ...
   ln: creating symbolic link 
`/etc/lighttpd/conf-enabled/90-javascript-alias.conf': File exists
   dpkg: error processing javascript-common (--configure):
    subprocess installed post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1

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

Title:
  package javascript-common 8 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/javascript-common/+bug/795641/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to