Size: 2626
Comment:
|
Size: 2696
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 50: | Line 50: |
After these settings, type "exit" or "Ctrl+D" to close everything. |
|
PACKAGES STUCK WITH SCHROOT
Chroot Manager
Allows you to configure chroots without requiring root credentials.
For a better knowledge on the subject:
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 /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] |
1. Installing the Debian base in the cage
# mkdir -p /srv/chroot/unstable |
# debootstrap --arch amd64 unstable /srv/chroot/unstable https://deb.debian.org/debian |
2. Entering the cage
# chroot /srv/chroot/unstable |
# echo proc /proc proc defaults 0 0 >> /etc/fstab |
# echo mount /proc >> /etc/bash.bashrc |
After these settings, type "exit" or "Ctrl+D" to close everything.