[Bug 392143] Re: package postgis can't be removed is postgresql is not installed due to missing directory

Jean-Baptiste Lallement jeanbaptiste.lallement at gmail.com
Thu Dec 10 22:25:40 UTC 2009


** Description changed:

- Binary package hint: postgis
+ :: DESCRIPTION ::
+ postgis can't be removed if postgresql is not installed due to missing "/usr/lib/postgresql/8.3/lib" directory
  
- need solution
+ :: VERSION ::
+    postgis |    1.3.3-3 | intrepid/universe | source, amd64, i386
+    postgis |    1.3.3-3 | jaunty/universe | source, amd64, i386
+    postgis |    1.3.5-1 | karmic/universe | source, amd64, i386
+    postgis |    1.3.6-2 | lucid/universe | source, amd64, i386
  
+ :: TEST CASE ::
+ $ sudo apt-get install postgis
+ $ sudo apt-get remove --purge postgis
+ 
+ Removing postgis ...
+ 
+ Purging configuration files for postgis ...
+ 
+ find: `/usr/lib/postgresql/8.3/lib': No such file or directory
+ 
+ dpkg: error processing postgis (--purge):
+ 
+  subprocess post-removal script returned error exit status 1
+ 
+ :: WORKAROUND ::
+ $ sudo rm /var/lib/dpkg/info/postgis.postrm
+ $ sudo apt-get remove --purge postgis
+ 
+ =======
  ProblemType: Package
  Architecture: i386
  Dependencies:
-  
+ 
  DistroRelease: Ubuntu 8.10
  ErrorMessage: subprocess post-removal script returned error exit status 1
  NonfreeKernelModules: nvidia
  Package: postgis None
  SourcePackage: postgis
  Title: package postgis None failed to install/upgrade: subprocess post-removal script returned error exit status 1
  Uname: Linux 2.6.27-14-generic i686

** Summary changed:

- package postgis can't be removed is postgresql is not installed due to missing directory
+ package postgis can't be purged if postgresql is not installed due to missing directory

-- 
package postgis can't be purged if postgresql is not installed due to missing directory
https://bugs.launchpad.net/bugs/392143
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

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




More information about the universe-bugs mailing list