[Bug 1048699] [NEW] ltsp-build-client fails when specifying old distros

Colin Scott colin.scott at dataretensys.com
Mon Sep 10 15:46:58 UTC 2012


Public bug reported:

This bug report comes after a lot of frustration with trying to create
an LTSP “hardy” chroot for some old systems with now unsupported
Graphics chipsets and researching this issue. I’m using Edubuntu 12.04.
The command I’m using is “ltsp-build-client --arch i386 --dist hardy
--chroot 8.04-i386 --copy-package-lists --keep-packages --purge-chroot”
which I understand will never succeed unless the package ltsp-client-
core_5.0.40~bzr20080212-0ubuntu7_i386.deb is made installable.

Until recently any version of client package ltsp-client-core was not
installable on “regular machines”, it could only be installed chrooted
“because it required special changes to the operating system done by
ltsp-build-client”. From Edubuntu 12.04 / LTSP 5.3 the situation has
been reversed i.e. the newer versions are installable on “regular
machines” and the older ones can’t be installed chrooted.

Bug #936810 gives some background to this problem:

“In LTSP 5.3, most of those changes were moved from the chroot build
phase to the client boot phase (/sbin/init-ltsp).”

ltsp-build-client failure text:

"Unpacking ltsp-client (from .../ltsp-client_5.0.40~bzr20080212-0ubuntu7_all.deb) ...
Errors were encountered while processing:
 /var/cache/apt/archives/ltsp-client-core_5.0.40~bzr20080212-0ubuntu7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
"

Manually run dpkg command failure text:

chroot /opt/ltsp/8.04-i386 dpkg -i /var/cache/apt/archives/ltsp-client-core_5.0.40~bzr20080212-0ubuntu7_i386.deb
(Reading database ... 14566 files and directories currently installed.)
Unpacking ltsp-client-core (from .../ltsp-client-core_5.0.40~bzr20080212-0ubuntu7_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/ltsp-client-core_5.0.40~bzr20080212-0ubuntu7_i386.deb (--install):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/ltsp-client-core_5.0.40~bzr20080212-0ubuntu7_i386.deb

Prompt appears as follows:

"Installation aborted

ltsp-client cannot be installed in a regular machine. This package
provides the basic structure for a LTSP terminal. . Please read the
package description to understand what it means"

Please understand that my primary goal is to save others a lot of
frustration as I have now actually given up on the ltsp-client-
core_5.0.40~bzr20080212-0ubuntu7_i386.deb not installable issue. I guess
I will have to download and install Edubuntu 11.04, which I hope is the
version before these changes were made, in order to just create an 8.04
chroot environment and then I guess I can transfer the chroot to 12.04
and destroy the temporary Edubuntu 11.04 installation?

What we absolutely need at a minimum is for ltsp-build-client to
generate an error that older distros are no longer supported in order to
save folks hours of research on this problem and maybe stop some more
duplicates of Bug 936810 being reported! I guess all the old distro
links / scripts in “/usr/share/debootstrap/scripts” can be removed from
the relevant packages as well in order to clean things up?

If there is a workaround for the ltsp-client-
core_5.0.40~bzr20080212-0ubuntu7_i386.deb not being installable using
the latest ltsp-build-client then I would be interested in knowing what
that is.

** Affects: ltsp (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: aborted installation ltsp-build-client ltsp-client-core

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/1048699

Title:
  ltsp-build-client fails when specifying old distros

Status in “ltsp” package in Ubuntu:
  New

Bug description:
  This bug report comes after a lot of frustration with trying to create
  an LTSP “hardy” chroot for some old systems with now unsupported
  Graphics chipsets and researching this issue. I’m using Edubuntu
  12.04. The command I’m using is “ltsp-build-client --arch i386 --dist
  hardy --chroot 8.04-i386 --copy-package-lists --keep-packages --purge-
  chroot” which I understand will never succeed unless the package ltsp-
  client-core_5.0.40~bzr20080212-0ubuntu7_i386.deb is made installable.

  Until recently any version of client package ltsp-client-core was not
  installable on “regular machines”, it could only be installed chrooted
  “because it required special changes to the operating system done by
  ltsp-build-client”. From Edubuntu 12.04 / LTSP 5.3 the situation has
  been reversed i.e. the newer versions are installable on “regular
  machines” and the older ones can’t be installed chrooted.

  Bug #936810 gives some background to this problem:

  “In LTSP 5.3, most of those changes were moved from the chroot build
  phase to the client boot phase (/sbin/init-ltsp).”

  ltsp-build-client failure text:

  "Unpacking ltsp-client (from .../ltsp-client_5.0.40~bzr20080212-0ubuntu7_all.deb) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/ltsp-client-core_5.0.40~bzr20080212-0ubuntu7_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  "

  Manually run dpkg command failure text:

  chroot /opt/ltsp/8.04-i386 dpkg -i /var/cache/apt/archives/ltsp-client-core_5.0.40~bzr20080212-0ubuntu7_i386.deb
  (Reading database ... 14566 files and directories currently installed.)
  Unpacking ltsp-client-core (from .../ltsp-client-core_5.0.40~bzr20080212-0ubuntu7_i386.deb) ...
  dpkg: error processing /var/cache/apt/archives/ltsp-client-core_5.0.40~bzr20080212-0ubuntu7_i386.deb (--install):
   subprocess pre-installation script returned error exit status 1
  Errors were encountered while processing:
   /var/cache/apt/archives/ltsp-client-core_5.0.40~bzr20080212-0ubuntu7_i386.deb

  Prompt appears as follows:

  "Installation aborted

  ltsp-client cannot be installed in a regular machine. This package
  provides the basic structure for a LTSP terminal. . Please read the
  package description to understand what it means"

  Please understand that my primary goal is to save others a lot of
  frustration as I have now actually given up on the ltsp-client-
  core_5.0.40~bzr20080212-0ubuntu7_i386.deb not installable issue. I
  guess I will have to download and install Edubuntu 11.04, which I hope
  is the version before these changes were made, in order to just create
  an 8.04 chroot environment and then I guess I can transfer the chroot
  to 12.04 and destroy the temporary Edubuntu 11.04 installation?

  What we absolutely need at a minimum is for ltsp-build-client to
  generate an error that older distros are no longer supported in order
  to save folks hours of research on this problem and maybe stop some
  more duplicates of Bug 936810 being reported! I guess all the old
  distro links / scripts in “/usr/share/debootstrap/scripts” can be
  removed from the relevant packages as well in order to clean things
  up?

  If there is a workaround for the ltsp-client-
  core_5.0.40~bzr20080212-0ubuntu7_i386.deb not being installable using
  the latest ltsp-build-client then I would be interested in knowing
  what that is.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/1048699/+subscriptions




More information about the foundations-bugs mailing list