Differences between revisions 1 and 20 (spanning 19 versions)
Revision 1 as of 2020-05-31 00:35:39
Size: 33
Editor: coringao
Comment:
Revision 20 as of 2020-05-31 02:05:14
Size: 1570
Editor: coringao
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Packages stuck with Schroot = ||<tablestyle="float:right;font-size:0.5em;margin:0 0 5em 5em;"style="padding:0.5em;"> {{attachment: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:

[[https://wiki.debian.org/Schroot | wiki.debian.org/Schroot]]

[[https://wiki.debian.org/Debootstrap | wiki.debian.org/Debootstrap]]

== Starting prison for packages ==

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

||<#ADADAC -4 : tablewidth="70%" style="border: medium none ;-moz-border-radius-topleft: 30px ;-moz-border-radius-topright: 30px;"> # apt install debootstrap schroot||

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

||<#ADADAC -4 : tablewidth="70%" style="border: medium none ;-moz-border-radius-topleft: 30px ;-moz-border-radius-topright: 30px;"> # cp /etc/schroot/schroot.conf cp /etc/schroot/schroot.conf.old||

||<#ADADAC -4 : tablewidth="70%" style="border: medium none ;-moz-border-radius-topleft: 30px ;-moz-border-radius-topright: 30px;"> # '''editor''' /etc/schroot/schroot.conf||

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

Copy and paste into the file.

||<#EAE5DA -4 style="border: medium none ;-moz-border-radius-bottomleft: 30px ;"> [unstable] <<BR>> description=debian unstable <<BR>> type=directory <<BR>> directory=/srv/chroot/unstable <<BR>> users=your-username <<BR>> root-groups=root <<BR>> preserve-environment=true <<BR>>||

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

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 cp /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