Differences between revisions 26 and 27
Revision 26 as of 2020-05-31 02:24:07
Size: 2066
Editor: coringao
Comment:
Revision 27 as of 2020-05-31 02:26:55
Size: 2099
Editor: coringao
Comment:
Deletions are marked like this. Additions are marked like this.
Line 39: Line 39:
||<#ADADAC -4 : tablewidth="70%" style="border: medium none ;-moz-border-radius-topleft: 30px ;-moz-border-radius-topright: 30px;"> # # mkdir -p /srv/chroot/unstable|| ||<#ADADAC -4 : tablewidth="70%" style="border: medium none ;-moz-border-radius-topleft: 30px ;-moz-border-radius-topright: 30px;"> # mkdir -p /srv/chroot/unstable||
Line 41: Line 41:
||<#ADADAC -4 : tablewidth="70%" style="border: medium none ;-moz-border-radius-topleft: 30px ;-moz-border-radius-topright: 30px;"> # debootstrap --arch amd64 unstable /srv/chroot/unstable https://deb.debian.org/debian|| ||<#ADADAC -4 : tablewidth="70%" style="border: medium none ;-moz-border-radius-topleft: 30px ;-moz-border-radius-topright: 30px;"> # debootstrap --arch amd64 unstable /srv/chroot/unstable [[https://deb.debian.org/debian | https://deb.debian.org/debian ||

debian-cage.png

PACKAGES STUCK WITH SCHROOT

Chroot Manager

Allows you to configure chroots without requiring root credentials.

For a better knowledge on the subject:

wiki.debian.org/Schroot

wiki.debian.org/Debootstrap

Starting prison for packages

jail.png

To start the installations, we will download the following packages:

# apt install debootstrap schroot

Once installed, we will edit the "/etc/schroot/schroot.conf" file.

# cp /etc/schroot/schroot.conf /etc/schroot/schroot.conf.old

# editor /etc/schroot/schroot.conf

{*} editor = your favorite text editor: nano, vim, mcedit, etc ...

Copy and paste into the file.

[unstable]
description=debian unstable
type=directory
directory=/srv/chroot/unstable
users=your-username
root-groups=root
preserve-environment=true

1. Installing the Debian base in the cage

schroot.png

# mkdir -p /srv/chroot/unstable

# debootstrap --arch amd64 unstable /srv/chroot/unstable [[https://deb.debian.org/debian | https://deb.debian.org/debian