xlibs preinst script problem
[The machine was running 2.2r3, and I'm trying to move it to unstable. I've gone through many steps of 'apt-get update/upgrade/dist-upgrade' as well as running dpkg by hand.] Package name is xlibs, version seems to be 4.1.0-7. pc-kilimanjaro:/var/cache/apt/archives# apt-get install xlibs CRReading Package Lists... 0%CRCRReading Package Lists... 0%CRCRReading Package Lists... 2%CRCRReading Package Lists... DoneCR CRBuilding Dependency Tree... 0%CRCRBuilding Dependency Tree... 0%CRCRBuilding Dependency Tree... 0%CRCRBuilding Dependency Tree... 50%CRCRBuilding Dependency Tree... 50%CRCRBuilding Dependency Tree... DoneCR Sorry, xlibs is already the newest version. 0 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded. 310 packages not fully installed or removed. Need to get 0B of archives. After unpacking 0B will be used. CRCRSetting up xlibs (4.1.0-7) ... Analyzing /usr/X11R6/lib/X11/app-defaults: drwxr-xr-x 17 root root 1024 Oct 11 22:45 /usr drwxr-xr-x7 root root 1024 Feb 3 2001 /usr/X11R6 drwxr-xr-x6 root root 4096 Oct 11 22:45 /usr/X11R6/lib drwxr-xr-x 31 root root 1024 Oct 12 18:10 /usr/X11R6/lib/X11 drwxr-xr-x2 root root 1024 Oct 12 18:50 /usr/X11R6/lib/X11/app-defaults ERROR: /usr/X11R6/lib/X11/app-defaults is not a symbolic link. The package preinst script should have failed. Please report the package name, version, and the text of the above error message(s) to [EMAIL PROTECTED]. more unrelated stuff from apt pc-kilimanjaro:/var/cache/apt/archives# ls -ld /usr/X11R6/lib/X11/app-defaults drwxr-xr-x2 root root 1024 Oct 12 18:50 /usr/X11R6/lib/X11/app-defaults pc-kilimanjaro:/var/cache/apt/archives# ls -l /usr/X11R6/lib/X11/app-defaults total 0 lrwxrwxrwx1 root root 21 Oct 12 18:50 app-defaults - /etc/X11/app-defaults pc-kilimanjaro:/var/cache/apt/archives# ls -l /var/cache/apt/archives/*xlib* -rw-rw-r--1 root root 797292 Mar 23 2001 /var/cache/apt/archives/xlib6_3.3.6-38_i386.deb -rw-rw-r--1 root root45054 Oct 4 13:18 /var/cache/apt/archives/xlib6g-dev_4.1.0-7_all.deb -rw-rw-r--1 root root45248 Oct 4 13:18 /var/cache/apt/archives/xlib6g_4.1.0-7_all.deb -rw-rw-r--1 root root 2898514 Oct 4 13:32 /var/cache/apt/archives/xlibs-dev_4.1.0-7_i386.deb -rw-rw-r--1 root root 1208916 Oct 4 13:33 /var/cache/apt/archives/xlibs_4.1.0-7_i386.deb -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xlibs preinst script problem
On Fri, Oct 12, 2001 at 06:25:05PM -0700, Joan Eslinger wrote: Package name is xlibs, version seems to be 4.1.0-7. pc-kilimanjaro:/var/cache/apt/archives# apt-get install xlibs CRReading Package Lists... 0%CRCRReading Package Lists... 0%CRCRReading Package Lists... 2%CRCRReading Package Lists... DoneCR CRBuilding Dependency Tree... 0%CRCRBuilding Dependency Tree... 0%CRCRBuilding Dependency Tree... 0%CRCRBuilding Dependency Tree... 50%CRCRBuilding Dependency Tree... 50%CRCRBuilding Dependency Tree... DoneCR Sorry, xlibs is already the newest version. 0 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded. 310 packages not fully installed or removed. Need to get 0B of archives. After unpacking 0B will be used. CRCRSetting up xlibs (4.1.0-7) ... Analyzing /usr/X11R6/lib/X11/app-defaults: drwxr-xr-x 17 root root 1024 Oct 11 22:45 /usr drwxr-xr-x7 root root 1024 Feb 3 2001 /usr/X11R6 drwxr-xr-x6 root root 4096 Oct 11 22:45 /usr/X11R6/lib drwxr-xr-x 31 root root 1024 Oct 12 18:10 /usr/X11R6/lib/X11 drwxr-xr-x2 root root 1024 Oct 12 18:50 /usr/X11R6/lib/X11/app-defaults ERROR: /usr/X11R6/lib/X11/app-defaults is not a symbolic link. The package preinst script should have failed. Please report the package name, version, and the text of the above error message(s) to [EMAIL PROTECTED]. Well, I really don't know how this happened. See the attached preinst script. I'm open to suggestions. Anyone? -- G. Branden Robinson| The key to being a Southern Debian GNU/Linux | Baptist: It ain't a sin if you [EMAIL PROTECTED] | don't get caught. http://people.debian.org/~branden/ | -- Anthony Davidson #!/bin/sh # Debian xlibs package pre-installation script # Copyright 1998-2001 Branden Robinson. # Licensed under the GNU General Public License, version 2. See the file # /usr/share/common-licenses/GPL or http://www.gnu.org/copyleft/gpl.txt. # Acknowlegements to Stephen Early, Mark Eichin, and Manoj Srivastava. set -e THIS_PACKAGE=xlibs THIS_SCRIPT=preinst #INCLUDE_SHELL_LIB# if [ $1 = install -o $1 = upgrade ]; then # app-defaults and xkb directories moved in 4.0 for DIR in app-defaults xkb; do if [ -e /usr/X11R6/lib/X11/$DIR -a ! -L /usr/X11R6/lib/X11/$DIR ]; then message Note: Removing obsolete /usr/X11R6/lib/X11/$DIR directory. mv /usr/X11R6/lib/X11/$DIR /usr/X11R6/lib/X11/$DIR.moved-by-preinst fi done check_symlinks_and_warn /usr/X11R6/lib/X11/xkb \ /usr/X11R6/lib/X11/app-defaults # clean up after 3.3.2.3a-2 to 3.3.2.3a-7 if [ -L /usr/X11R6/lib/X11/locale ]; then message Note: Removing /usr/X11R6/lib/X11/locale symbolic link. rm /usr/X11R6/lib/X11/locale fi fi #DEBHELPER# exit 0 # vim:set ai et sts=2 sw=2 tw=0: msg03158/pgp0.pgp Description: PGP signature
xlibs preinst script problem
[The machine was running 2.2r3, and I'm trying to move it to unstable. I've gone through many steps of 'apt-get update/upgrade/dist-upgrade' as well as running dpkg by hand.] Package name is xlibs, version seems to be 4.1.0-7. pc-kilimanjaro:/var/cache/apt/archives# apt-get install xlibs CRReading Package Lists... 0%CRCRReading Package Lists... 0%CRCRReading Package Lists... 2%CRCRReading Package Lists... DoneCR CRBuilding Dependency Tree... 0%CRCRBuilding Dependency Tree... 0%CRCRBuilding Dependency Tree... 0%CRCRBuilding Dependency Tree... 50%CRCRBuilding Dependency Tree... 50%CRCRBuilding Dependency Tree... DoneCR Sorry, xlibs is already the newest version. 0 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded. 310 packages not fully installed or removed. Need to get 0B of archives. After unpacking 0B will be used. CRCRSetting up xlibs (4.1.0-7) ... Analyzing /usr/X11R6/lib/X11/app-defaults: drwxr-xr-x 17 root root 1024 Oct 11 22:45 /usr drwxr-xr-x7 root root 1024 Feb 3 2001 /usr/X11R6 drwxr-xr-x6 root root 4096 Oct 11 22:45 /usr/X11R6/lib drwxr-xr-x 31 root root 1024 Oct 12 18:10 /usr/X11R6/lib/X11 drwxr-xr-x2 root root 1024 Oct 12 18:50 /usr/X11R6/lib/X11/app-defaults ERROR: /usr/X11R6/lib/X11/app-defaults is not a symbolic link. The package preinst script should have failed. Please report the package name, version, and the text of the above error message(s) to debian-x@lists.debian.org. more unrelated stuff from apt pc-kilimanjaro:/var/cache/apt/archives# ls -ld /usr/X11R6/lib/X11/app-defaults drwxr-xr-x2 root root 1024 Oct 12 18:50 /usr/X11R6/lib/X11/app-defaults pc-kilimanjaro:/var/cache/apt/archives# ls -l /usr/X11R6/lib/X11/app-defaults total 0 lrwxrwxrwx1 root root 21 Oct 12 18:50 app-defaults - /etc/X11/app-defaults pc-kilimanjaro:/var/cache/apt/archives# ls -l /var/cache/apt/archives/*xlib* -rw-rw-r--1 root root 797292 Mar 23 2001 /var/cache/apt/archives/xlib6_3.3.6-38_i386.deb -rw-rw-r--1 root root45054 Oct 4 13:18 /var/cache/apt/archives/xlib6g-dev_4.1.0-7_all.deb -rw-rw-r--1 root root45248 Oct 4 13:18 /var/cache/apt/archives/xlib6g_4.1.0-7_all.deb -rw-rw-r--1 root root 2898514 Oct 4 13:32 /var/cache/apt/archives/xlibs-dev_4.1.0-7_i386.deb -rw-rw-r--1 root root 1208916 Oct 4 13:33 /var/cache/apt/archives/xlibs_4.1.0-7_i386.deb
Re: xlibs preinst script problem
On Fri, Oct 12, 2001 at 06:25:05PM -0700, Joan Eslinger wrote: Package name is xlibs, version seems to be 4.1.0-7. pc-kilimanjaro:/var/cache/apt/archives# apt-get install xlibs CRReading Package Lists... 0%CRCRReading Package Lists... 0%CRCRReading Package Lists... 2%CRCRReading Package Lists... DoneCR CRBuilding Dependency Tree... 0%CRCRBuilding Dependency Tree... 0%CRCRBuilding Dependency Tree... 0%CRCRBuilding Dependency Tree... 50%CRCRBuilding Dependency Tree... 50%CRCRBuilding Dependency Tree... DoneCR Sorry, xlibs is already the newest version. 0 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded. 310 packages not fully installed or removed. Need to get 0B of archives. After unpacking 0B will be used. CRCRSetting up xlibs (4.1.0-7) ... Analyzing /usr/X11R6/lib/X11/app-defaults: drwxr-xr-x 17 root root 1024 Oct 11 22:45 /usr drwxr-xr-x7 root root 1024 Feb 3 2001 /usr/X11R6 drwxr-xr-x6 root root 4096 Oct 11 22:45 /usr/X11R6/lib drwxr-xr-x 31 root root 1024 Oct 12 18:10 /usr/X11R6/lib/X11 drwxr-xr-x2 root root 1024 Oct 12 18:50 /usr/X11R6/lib/X11/app-defaults ERROR: /usr/X11R6/lib/X11/app-defaults is not a symbolic link. The package preinst script should have failed. Please report the package name, version, and the text of the above error message(s) to debian-x@lists.debian.org. Well, I really don't know how this happened. See the attached preinst script. I'm open to suggestions. Anyone? -- G. Branden Robinson| The key to being a Southern Debian GNU/Linux | Baptist: It ain't a sin if you [EMAIL PROTECTED] | don't get caught. http://people.debian.org/~branden/ | -- Anthony Davidson #!/bin/sh # Debian xlibs package pre-installation script # Copyright 1998-2001 Branden Robinson. # Licensed under the GNU General Public License, version 2. See the file # /usr/share/common-licenses/GPL or http://www.gnu.org/copyleft/gpl.txt. # Acknowlegements to Stephen Early, Mark Eichin, and Manoj Srivastava. set -e THIS_PACKAGE=xlibs THIS_SCRIPT=preinst #INCLUDE_SHELL_LIB# if [ $1 = install -o $1 = upgrade ]; then # app-defaults and xkb directories moved in 4.0 for DIR in app-defaults xkb; do if [ -e /usr/X11R6/lib/X11/$DIR -a ! -L /usr/X11R6/lib/X11/$DIR ]; then message Note: Removing obsolete /usr/X11R6/lib/X11/$DIR directory. mv /usr/X11R6/lib/X11/$DIR /usr/X11R6/lib/X11/$DIR.moved-by-preinst fi done check_symlinks_and_warn /usr/X11R6/lib/X11/xkb \ /usr/X11R6/lib/X11/app-defaults # clean up after 3.3.2.3a-2 to 3.3.2.3a-7 if [ -L /usr/X11R6/lib/X11/locale ]; then message Note: Removing /usr/X11R6/lib/X11/locale symbolic link. rm /usr/X11R6/lib/X11/locale fi fi #DEBHELPER# exit 0 # vim:set ai et sts=2 sw=2 tw=0: pgpzvaYu5rAVT.pgp Description: PGP signature