Help:Toolforge/Fakechroot

From Wikitech
Jump to navigation Jump to search

Overview

This page is intended for advanced users. The processes described are not officially supported by the Toolforge adminstrative team.

Installing packages versions using fakechroot

To install a different package version, any other missing package, different Debian version or even a different Linux distribution you can use fakechroot environment.

You can create your fakechroot environment in my_env folder using:

$ fakechroot
(fakechroot) $ fakeroot
(fakeroot) $ /usr/sbin/debootstrap --variant=fakechroot stretch my_env

This will install package manager, some basic tools, commands and prerequisites, everything into your new fakechroot unit.

Once you created one, let's use it and play with it:

(fakeroot) $ chroot my_env

(chroot) $ apt install ffmpeg
...

Once you are happy with it, you can always leave using:

(chroot) $ exit
(fakeroot) $ exit
(fakechroot) $ exit

See also

Communication and support

We communicate and provide support through several primary channels. Please reach out with questions and to join the conversation.

Communicate with us
Connect Best for
Phabricator Workboard #Cloud-Services Task tracking and bug reporting
IRC Channel #wikimedia-cloud connect General discussion and support
Mailing List cloud@ Information about ongoing initiatives, general discussion and support
Announcement emails cloud-announce@ Information about critical changes (all messages mirrored to cloud@)
News wiki page News Information about major near-term plans
Blog Clouds & Unicorns Learning more details about some of our work