Discussion:
[Ltsp-discuss] Installing lubuntu in chroot: bluman error
Sean Carte
2017-05-15 13:57:03 UTC
Permalink
I'm trying to install lubuntu in an i386 chroot, but I get the following
erros:

Errors were encountered while processing:
blueman
lubuntu-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Setting up blueman (2.0.4-1ubuntu2) ...
Running in chroot, ignoring request.

dpkg: dependency problems prevent configuration of lubuntu-desktop:
lubuntu-desktop depends on blueman; however:
Package blueman is not configured yet.

Apparently I can't install blueman because I'm in a chroot, but if I can't
install blueman, I can't install lubuntu-desktop. What do I do?

Sean
--
Sean Carte
2017-05-15 13:58:07 UTC
Permalink
Post by Sean Carte
I'm trying to install lubuntu in an i386 chroot, but I get the following
blueman
lubuntu-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up blueman (2.0.4-1ubuntu2) ...
Running in chroot, ignoring request.
Package blueman is not configured yet.
Apparently I can't install blueman because I'm in a chroot, but if I can't
install blueman, I can't install lubuntu-desktop. What do I do?
Sean
--
Sorry, I forgot to mention that this is on an Ubuntu 16.04 server.

Sean
--
Alkis Georgopoulos
2017-05-15 14:03:25 UTC
Permalink
Some programs, and especially postinst scripts, have issues and cannot
run in chroots without workarounds.

So you either need to check its postinst script for possible workarounds,
or you could try ltsp-pnp, which works without a chroot and so doesn't
have those issues:
https://help.ubuntu.com/community/UbuntuLTSP/ltsp-pnp
Post by Sean Carte
I'm trying to install lubuntu in an i386 chroot, but I get the
blueman
lubuntu-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up blueman (2.0.4-1ubuntu2) ...
Running in chroot, ignoring request.
Package blueman is not configured yet.
Apparently I can't install blueman because I'm in a chroot, but if I
can't install blueman, I can't install lubuntu-desktop. What do I do?
Sean
--
Sorry, I forgot to mention that this is on an Ubuntu 16.04 server.
Sean
--
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Sean Carte
2017-05-16 05:24:49 UTC
Permalink
Thank you, Alkis. I will keep your advice handy for the future.

Sean
Post by Alkis Georgopoulos
Some programs, and especially postinst scripts, have issues and cannot
run in chroots without workarounds.
So you either need to check its postinst script for possible workarounds,
or you could try ltsp-pnp, which works without a chroot and so doesn't
https://help.ubuntu.com/community/UbuntuLTSP/ltsp-pnp
Post by Sean Carte
I'm trying to install lubuntu in an i386 chroot, but I get the
blueman
lubuntu-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up blueman (2.0.4-1ubuntu2) ...
Running in chroot, ignoring request.
Package blueman is not configured yet.
Apparently I can't install blueman because I'm in a chroot, but if I
can't install blueman, I can't install lubuntu-desktop. What do I do?
Sean
--
Sorry, I forgot to mention that this is on an Ubuntu 16.04 server.
Sean
--
------------------------------------------------------------
------------------
Post by Sean Carte
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
--

Мокрозуб В.А.
2017-05-15 14:24:50 UTC
Permalink
You could try installing minimum version of Ubuntu, mount devices from the host:



mount --bind /proc /opt/ltsp/i386/proc

mount --bind /sys /opt/ltsp/i386/sys

mount --bind /dev /opt/ltsp/i386/dev

mount --bind /dev/pts /opt/ltsp/i386/dev/pts



chroot with:



LTSP_HANDLE_DAEMONS=false chroot /opt/ltsp/i386



and install required packages.



Regards,

Vladimir.



From: Sean Carte [mailto:***@gmail.com]
Sent: Monday, May 15, 2017 4:57 PM
To: ltsp-***@lists.sourceforge.net
Subject: [Ltsp-discuss] Installing lubuntu in chroot: bluman error



I'm trying to install lubuntu in an i386 chroot, but I get the following erros:

Errors were encountered while processing:
blueman
lubuntu-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Setting up blueman (2.0.4-1ubuntu2) ...
Running in chroot, ignoring request.



dpkg: dependency problems prevent configuration of lubuntu-desktop:
lubuntu-desktop depends on blueman; however:
Package blueman is not configured yet.

Apparently I can't install blueman because I'm in a chroot, but if I can't install blueman, I can't install lubuntu-desktop. What do I do?

Sean

--
Sean Carte
2017-05-16 05:23:11 UTC
Permalink
That seemed to work! Thanks, Vladimir!

Sean
Post by Мокрозуб В.А.
mount --bind /proc /opt/ltsp/i386/proc
mount --bind /sys /opt/ltsp/i386/sys
mount --bind /dev /opt/ltsp/i386/dev
mount --bind /dev/pts /opt/ltsp/i386/dev/pts
LTSP_HANDLE_DAEMONS=false chroot /opt/ltsp/i386
and install required packages.
Regards,
Vladimir.
*Sent:* Monday, May 15, 2017 4:57 PM
*Subject:* [Ltsp-discuss] Installing lubuntu in chroot: bluman error
blueman
lubuntu-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up blueman (2.0.4-1ubuntu2) ...
Running in chroot, ignoring request.
Package blueman is not configured yet.
Apparently I can't install blueman because I'm in a chroot, but if I can't
install blueman, I can't install lubuntu-desktop. What do I do?
Sean
--
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
--
Loading...