Public bug reported:

This package failed to install on a recent Intrepid dist-upgrade. The
failure is caused by the post-installation script trying to delete a
non-existing directory (/var/lib/odbc) which returns an error:

Setting up tdsodbc (0.82-3) ...
rmdir: failed to remove `/var/lib/odbc': No such file or directory
dpkg: error processing tdsodbc (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 tdsodbc
E: Sub-process /usr/bin/dpkg returned an error code (1)

Manually creating this directory (only for it to be removed again in the
install process...) followed by apt-get -f install allows the install to
complete without error. The post-installation script should be updated
to either check for existence of this directory or to use a removal
method which ignores non-existing files/directories (rm -rf is a good
candidate...)

apt-cache policy tdsodbc
tdsodbc:
  Installed: 0.82-3
  Candidate: 0.82-3
  Version table:
 *** 0.82-3 0
        400 http://se.archive.ubuntu.com intrepid/main Packages
        400 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

ProblemType: Package
Architecture: i386
Date: Sat Aug  2 21:32:54 2008
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: ath_hal
Package: tdsodbc 0.82-3
PackageArchitecture: i386
SourcePackage: freetds
Title: package tdsodbc 0.82-3 failed to install/upgrade: subprocess 
post-installation script returned error exit status 1
Uname: Linux 2.6.26-t23-200807141556 i686

** Affects: freetds (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package

-- 
package tdsodbc 0.82-3 failed to install/upgrade, tries to delete non-existing 
directory /var/lib/odbc
https://bugs.launchpad.net/bugs/254281
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to