Upgrade from 8.04 to 8.10, error with tdsodbc

Bug #293124 reported by Bin Liu
4
Affects Status Importance Assigned to Milestone
freetds (Ubuntu)
New
Undecided
Unassigned

Bug Description

sudo apt-get upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后会消耗掉 0B 的额外空间。
您希望继续执行吗?[Y/n]y
正在设置 tdsodbc (0.82-3) ...
rmdir: 删除 “/var/lib/odbc” 失败: 没有该文件或目录
dpkg:处理 tdsodbc (--configure)时出错:
 子进程 post-installation script 返回了错误号 1
在处理时有错误发生:
 tdsodbc
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 8.10
ErrorMessage: 子进程 post-installation script 返回了错误号 1
Package: tdsodbc 0.82-3
SourcePackage: freetds
Title: package tdsodbc 0.82-3 failed to install/upgrade: 子进程 post-installation script 返回了错误号 1
Uname: Linux 2.6.27-7-generic i686

Revision history for this message
Bin Liu (liu-tiger) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The error is
=====
Log started: 2008-11-03 08:31:41
正在设置 tdsodbc (0.82-3) ...
rmdir: 删除 “/var/lib/odbc” 失败: 没有该文件或目录
dpkg:处理 tdsodbc (--configure)时出错:
 子进程 post-installation script 返回了错误号 1
=====

This particular bug has already been reported and is a duplicate of bug 254953, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
Bin Liu (liu-tiger) wrote :

There is a workaround. Create the folder first and then run the update/upgrade.

sudo mkdir /var/lib/odbc
sudo apt-get update
sudo apt-get upgrade

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.