tdsodbc breaks upgrade from Hardy to Intrepid
Bug #304996 reported by
Richard Laager
This bug report is a duplicate of:
Bug #254953: package update-manager 1:0.93.1 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1).
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
freetds (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
dpkg failed upgrading from Hardy to Intrepid because of the tdsodbc package. It gave the following error message:
Setting up tdsodbc (0.82-3) ...
rmdir: failed to remove `/var/lib/odbc': No such file or directory
I was able to fix this by creating that directory and then re-running "apt-get dist-upgrade", which just re-configured that package and everything was fine.
This error occurs because of this line in the postinst:
rmdir --ignore-
I suggest that be changed to:
[ -d /var/lib/odbc ] && rmdir --ignore-
To post a comment you must log in.
Thank you for taking the time to report this bug and help to improve Ubuntu.
This is a duplicate of bug #254953, which was fixed in freetds 0.82-3ubuntu1.