<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Debian - Tag - 印记一瞥</title><link>https://blog.hosiet.me/tags/debian/</link><description>Debian - Tag - 印记一瞥</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Fri, 05 May 2017 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.hosiet.me/tags/debian/" rel="self" type="application/rss+xml"/><item><title>Quick guide: set up chroot environment and build Debian packages (sbuild version)</title><link>https://blog.hosiet.me/posts/2017/05/05/quick-guide-set-up-chroot-environment-and-build-debian-packages-sbuild-version/</link><pubDate>Fri, 05 May 2017 00:00:00 +0000</pubDate><author>Boyuan Yang</author><guid>https://blog.hosiet.me/posts/2017/05/05/quick-guide-set-up-chroot-environment-and-build-debian-packages-sbuild-version/</guid><description><![CDATA[<p>TL;DR: Pbuilder-related tools are ineffective and redundant. By installing <code>sbuild</code> and <code>schroot</code>, one can set up clean and reusable chroot environments quickly and use the sole <code>sbuild</code> command to build Debian source packages (using <code>src tree</code> or <code>.dsc</code> files). Fade away please <code>pbuilder/cowbuilder</code>; long live <code>sbuild</code>!</p>
<h2 id="deprecation-notice">Deprecation Notice</h2>
<p>As of early 2025, the recommended way of setting up sbuild is to utilize the unshare backend. See <a href="https://www.linux.it/~ema/posts/building-debian-packages-the-right-way/" target="_blank" rel="noopener noreffer ">posts here</a> and <a href="https://lists.debian.org/debian-devel-announce/2024/11/msg00002.html" target="_blank" rel="noopener noreffer ">related announcement</a>. The instruction below is now considered obsolete and only applies to sbuild earlier than Debian 13.</p>]]></description></item></channel></rss>