installation stumbles on a.out

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

 



I've been doing a cross installation of debian sarge from a local disk
with debian sarge 2.4.18-bf2.4 to a target disk with debian sarge
2.6.7-1-i386. 

>From a chroot prompt I successfully ran aptitude install iceWM to drag
in xfree86-common without bringing in the desktops as well. I then ran
aptitude install xserver-xfree86 and got:

  ...
  Preconfiguring packages ...
  xserver-xfree86 failed to preconfigure, with exit status 127
  Selecting previously deselected package xserver-common.
  (Reading database ... 12282 files and directories currently
        installed.) 
  Unpacking xserver-common (from
        .../xserver-xfree86_4.3.0.dfsg.1-4.i386.deb 
	(--unpack): subprocess preinstallation script returned error 
	exit status 127
  Errors were encountered while processing:
	/var/cache/apt/archives/xserver-xfree86.dfsg.1-4.i386.deb
  E: sub-process /usr/bin/dpkg returned an error code (1)
  Ack! Something bad happened while installing packages. Trying to
        recover... 
  Reading package lists... Done
  ...

I thought best to run Xinstall.sh -check to see what was up. I see
that sarge uses glibc2.2 and chose the Xinstall.sh suited to it. I
first did a test run on my local sarge 2.4.18-bf2.4 disk, which has a
working XFree86, and got: 

  $ ./Xinstall.sh -check
  Checking which OS you're running...
  uname reports 'Linux" version '2.4.18-bf2.4', architecture 'i686'.
  Object format is 'ELF'. libc version is '6.3.2' (6.3).
  Binary distribution name is 'Linux-ix86-glibc23'

I then tried to run it from the chroot prompt for the target
2.6.7-1-i386 with the following result:

  $ ./Xinstall.sh -check
  Checking which OS you're running...
  uname reports 'Linux' version '2.4.18-bf2.4', architecture 'i686'.
  Object format is 'ELF'. ./Xinstall.sh: line 1: strings: command
	not found
  No Linux/ix86 binaries for this libc version

Apparently chroot sees the local kernel and not the target kernel, and
so instead of using chroot, I booted the target 2.6.7-1-i386 disk and
ran Xinstall.sh -check directly from it with the following result:

  S .Xinstall.sh -check
  Checking which OS you're running...
  uname reports 'Linux' version '2.6.7-1-386', architecture 'i686'
  Object format is 'a.out'. /opt/X/Xinstall.sh: line 1: strings:
	command not found
  Linux a.out is no longer supported

A search online and of bugs didn't return anything useful. What's
going on here?

Haines Brown

 
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux