<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Package-Management on ShieldedBytes</title>
    <link>https://linuxeries.org/tags/package-management/</link>
    <description>Recent content in Package-Management on ShieldedBytes</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 02 Jun 2026 09:14:29 +0200</lastBuildDate>
    <atom:link href="https://linuxeries.org/tags/package-management/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Taming Dependency Chaos with Apt Pinning in Mixed-Distro Environments</title>
      <link>https://linuxeries.org/post/2026-06-02-taming-dependency-chaos-with-apt-pinning-in-m/</link>
      <pubDate>Tue, 02 Jun 2026 09:14:29 +0200</pubDate>
      <guid>https://linuxeries.org/post/2026-06-02-taming-dependency-chaos-with-apt-pinning-in-m/</guid>
      <description>&lt;h2 id=&#34;introduction-to-apt-pinning&#34;&gt;Introduction to Apt Pinning&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve seen this go wrong when working with mixed-distro environments - managing package dependencies can become a complex task. Apt pinning is a feature in Debian-based systems that allows you to control the package versions installed on your system. This is particularly useful when you need to ensure that specific packages are installed from a particular repository or at a specific version.&lt;/p&gt;&#xA;&lt;h2 id=&#34;understanding-apt-pinning&#34;&gt;Understanding Apt Pinning&lt;/h2&gt;&#xA;&lt;p&gt;The real trick is to understand how apt pinning works. It assigns a priority to each package version, and the package with the highest priority is the one that will be installed. You can set priorities using the &lt;code&gt;/etc/apt/preferences&lt;/code&gt; file or by creating a new file in the &lt;code&gt;/etc/apt/preferences.d/&lt;/code&gt; directory. Don&amp;rsquo;t bother with creating a new file unless you have a lot of packages to pin - the &lt;code&gt;/etc/apt/preferences&lt;/code&gt; file is usually sufficient.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
