<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Linux - tagged #software_bugs</title><link>https://kyselo.eu/linux</link><description>All about Linux kernel and operating systems that are based on it.[Random post]</description><item><title>Ubuntu 22.04 has an annoying apt bug. It does not properly upgrade all packages</title><link>https://kyselo.eu/linux/post/28731</link><guid isPermaLink="true">https://kyselo.eu/linux/post/28731</guid><description>&lt;p&gt;Running apt in dist-upgrade mode generates weird results as some packages are not upgraded. The only solution is to manually add each not upgraded package to command line which is super annoying and wastes precious time :\ The following behavior is what reproduces faulty results:&lt;/p&gt;&lt;pre&gt;juozas@xubuntu:~$ export LC_ALL=C&lt;br&gt;juozas@xubuntu:~$ sudo apt-get --no-install-recommends dist-upgrade &lt;br&gt;Reading package lists... Done&lt;br&gt;Building dependency tree... Done&lt;br&gt;Reading state information... Done&lt;br&gt;Calculating upgrade... Done&lt;br&gt;The following packages were automatically installed and are no longer required:&lt;br&gt;&amp;nbsp; linux-headers-5.15.0-46 linux-headers-5.15.0-46-generic linux-image-5.15.0-46-generic linux-modules-5.15.0-46-generic linux-modules-extra-5.15.0-46-generic&lt;br&gt;&amp;nbsp; linux-tools-5.15.0-46 linux-tools-5.15.0-46-generic&lt;br&gt;Use 'sudo apt autoremove' to remove them.&lt;br&gt;The following packages have been kept back:&lt;br&gt;&amp;nbsp; fonts-opensymbol libreoffice libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core&lt;br&gt;&amp;nbsp; libreoffice-draw libreoffice-gtk libreoffice-gtk2 libreoffice-gtk3 libreoffice-help-common libreoffice-help-en-gb libreoffice-help-en-us libreoffice-impress&lt;br&gt;&amp;nbsp; libreoffice-l10n-en-gb libreoffice-l10n-en-za libreoffice-l10n-lt libreoffice-math libreoffice-report-builder-bin libreoffice-style-colibre libreoffice-writer&lt;br&gt;&amp;nbsp; libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3 libuno-salhelpergcc3-3 python3-uno uno-libs-private ure&lt;br&gt;0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.&lt;br&gt;juozas@xubuntu:~$ &lt;br&gt;&lt;/pre&gt;&lt;p&gt;Edit: It appers this is a new apt feature called phased updates. It can be easily disabled by adding&lt;/p&gt;&lt;pre&gt;APT::Get::Always-Include-Phased-Updates "true";&lt;/pre&gt;&lt;p&gt;to apt configuration (usually in &lt;i&gt;/etc/apt/apt.conf.d/&lt;/i&gt;).&lt;br&gt;&lt;/p&gt;</description><pubDate>Tue, 20 Sep 2022 15:42:11 +0200</pubDate></item></channel></rss>
