[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem install xlibs (xorg)



I was attempting to do a much need upgrade on many packages including various
and sundry XFree86 4.3.0 packages  to X.org 6.8.2.  When apt got around to installing
the xlibs_6.8.2.dfsg.1-6_all package (current, unstable), it choked with an error about the
postrm file in the package.  The error is as follows (I apologize I lost
the actual error when it was purged from the scroll buffer):

/var/lib/dpkg/tmp.ci/postrm: line 886:
           replace_conffile_with_symlink_rollback: command not found

After further investigation, it looks like a function in the postrm script in 
the package was misnamed, causing the above error.  I changed the function
name accordingly, and was able to rebuild and install the package successfully.  The change I made is in the small patch below.  I thought I'd send it here
first because I wasn't sure if this was just an error in the pure64 package,
or on other archs.

Cheers, 
-matt
  

--- postrm.orig 2005-09-02 20:43:55.000000000 -0500
+++ postrm      2005-09-02 20:03:40.000000000 -0500
@@ -611,7 +611,7 @@
   remove_conffile_commit "$_conffile"
 }

-remove_conffile_rollback_with_symlink_rollback () {
+replace_conffile_with_symlink_rollback () {
   # syntax: replace_conffile_with_symlink_rollback oldfilename newfilename
   #
   # Roll back the replacing of a conffile "oldfilename" with symlink to



Reply to: