Jump to content


From Wikitech
This page describes a complex and advanced use of Toolforge. It is not a recommended best practice and is not officially supported by the Toolforge administration team.


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

Support and administration of the WMCS resources is provided by the Wikimedia Foundation Cloud Services team and Wikimedia movement volunteers. Please reach out with questions and join the conversation:

Discuss and receive general support
Stay aware of critical changes and plans
Track work tasks and report bugs

Use a subproject of the #Cloud-Services Phabricator project to track confirmed bug reports and feature requests about the Cloud Services infrastructure itself

Read stories and WMCS blog posts

Read the Cloud Services Blog (for the broader Wikimedia movement, see the Wikimedia Technical Blog)