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

Bug#2061: xbase-3.1.2-5 fails install on 0.93R6 system



Package: xbase
Version: 3.1.2
Package_Revision: 5

Installation of this package fails in preinst on a newly-installed
0.93R6 system because /usr/bin/X11 and /usr/lib/X11 do not exist.
The patch below corrects this problem.  However, with this patch
installed, the package goes on to fail installation as follows:

Script started on Thu Dec 21 17:32:13 1995
root:x11# dpkg --install xbasewtm.deb
(Reading database ... 12018 files and directories currently installed.)
Unpacking xbase (from xbasewtm.deb) ...
dpkg: error processing xbasewtm.deb (--install):
 unpick of dpkg-deb tar output failed (-1) for unknown reason: No such file or directory
Errors were encountered while processing:
 xbasewtm.deb
root:x11# exit
Script done on Thu Dec 21 17:33:04 1995

Preinst patch:

*** preinst	Thu Dec 14 09:06:04 1995
--- preinst.new	Thu Dec 21 17:01:02 1995
***************
*** 20,33 ****
    mv /etc/X11/xdm/Xstartup_0 /etc/X11/xdm/Xstartup
  fi

! if [ ! -L /usr/bin/X11 ]
  then
    echo "Warning: /usr/bin/X11 was not a symlink. It has been moved to"
    echo "/usr/bin/X11.old"
    mv /usr/bin/X11 /usr/bin/X11.old
  fi

! if [ ! -L /usr/lib/X11 ]
  then
    echo "Warning: /usr/lib/X11 was not a symlink. It has been moved to"
    echo "/usr/lib/X11.old"
--- 20,33 ----
    mv /etc/X11/xdm/Xstartup_0 /etc/X11/xdm/Xstartup
  fi

! if [ -e /usr/bin/X11 -a ! -L /usr/bin/X11 ]
  then
    echo "Warning: /usr/bin/X11 was not a symlink. It has been moved to"
    echo "/usr/bin/X11.old"
    mv /usr/bin/X11 /usr/bin/X11.old
  fi

! if [ -e /usr/lib/X11 -a ! -L /usr/lib/X11 ]
  then
    echo "Warning: /usr/lib/X11 was not a symlink. It has been moved to"
    echo "/usr/lib/X11.old"

mitchell@mdd.comm.mot.com (Bill Mitchell)



Reply to: