<?xml version="1.0" encoding="utf-8" ?>

<?xml-stylesheet type="text/xsl" href="/templates/2k11/rss.xsl" media="screen" ?>
<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Daniel Lange's blog (Entries tagged as apt)</title>
    <link>https://daniel-lange.com/</link>
    <description>agrep -pB IT /dev/life</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.6.0 - http://www.s9y.org/</generator>
    <pubDate>Fri, 06 Jun 2025 15:55:25 GMT</pubDate>

    <image>
    <url>//daniel-lange.com/uploads/Avatar_Blog_144_234.png</url>
    <title>RSS: Daniel Lange's blog - agrep -pB IT /dev/life</title>
    <link>https://daniel-lange.com/</link>
    <width>144</width>
    <height>234</height>
</image>

<item>
    <title>Make `apt` shut up about &quot;modernize-sources&quot; in Trixie</title>
    <link>https://daniel-lange.com/archives/192-Make-apt-shut-up-about-modernize-sources-in-Trixie.html</link>
            <category>Debian</category>
    
    <comments>https://daniel-lange.com/archives/192-Make-apt-shut-up-about-modernize-sources-in-Trixie.html#comments</comments>
    <wfw:comment>https://daniel-lange.com/wfwcomment.php?cid=192</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>https://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=192</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Apt in Trixie (Debian 13) has the annoying function to tell you
&lt;em&gt;&quot;&lt;strong&gt;Notice&lt;/strong&gt;: Some sources can be modernized. Run &#039;apt modernize-sources&#039; to do so.&quot;&lt;/em&gt; ... every single time you run &lt;code&gt;apt update&lt;/code&gt;. Not cool for logs and log monitoring.&lt;/p&gt;

&lt;p&gt;And - of course - if you had the option to do this, you ... would have run the indicated &lt;code&gt;apt modernize-sources&lt;/code&gt; command to convert your &lt;code&gt;sources.list&lt;/code&gt; to &quot;deb822 .sources format&quot; files already. So an information message once or twice would have done.&lt;/p&gt;

&lt;p&gt;Well, luckily you can help yourself:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;apt -o APT::Get::Update::SourceListWarnings=false&lt;/code&gt; will keep &lt;code&gt;apt&lt;/code&gt; shut up. This could go into an &lt;code&gt;alias&lt;/code&gt; or your systems management tool / update script.&lt;/p&gt;

&lt;p&gt;Alternatively add&lt;/p&gt;

&lt;pre&gt;
# Keep apt shut about preferring the &quot;deb822&quot; sources file format
APT::Get::Update::SourceListWarnings &quot;false&quot;;
&lt;/pre&gt;

&lt;p&gt;to &lt;code&gt;/etc/apt/apt.conf.d/10quellsourceformatwarnings&lt;/code&gt; .&lt;/p&gt;

&lt;p&gt;This silences the notices about sources file formats (not only the deb822 one) system-wide.
That way you can decide when you can / want to migrate to the new, more verbose, apt sources format yourself.&lt;/p&gt;

&lt;h3&gt;Update 06.06.2025&lt;/h3&gt;

&lt;p&gt;I looks like the powers that are have had mercy, apt 3.0.2 has &lt;a href=&quot;https://tracker.debian.org/news/1648026/apt-302-migrated-to-testing/&quot;&gt;migrated to Trixie two days ago&lt;/a&gt; and the &lt;a href=&quot;https://tracker.debian.org/news/1647058/accepted-apt-302-source-into-unstable/&quot;&gt;Changelog&lt;/a&gt; contains:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Downgrade &quot;modernize-sources&quot; notice to audit&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;!-- s9ymdb:729 --&gt;&lt;img class=&quot;plain-images&quot; width=&quot;128&quot; height=&quot;128&quot;  src=&quot;https://daniel-lange.com/uploads/icons/emoji/hug.png&quot;  loading=&quot;lazy&quot; alt=&quot;Hug&quot; border=&quot;0&quot;&gt;&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sat, 03 May 2025 12:22:00 +0000</pubDate>
    <guid isPermaLink="false">https://daniel-lange.com/archives/192-guid.html</guid>
    <category>annoying</category>
<category>apt</category>
<category>debian</category>
<category>trixie</category>
<category>ubuntu</category>
<category>updated</category>

</item>
<item>
    <title>Install &quot;kept back&quot; updates on Ubuntu</title>
    <link>https://daniel-lange.com/archives/182-Install-kept-back-updates-on-Ubuntu.html</link>
            <category>Linux</category>
    
    <comments>https://daniel-lange.com/archives/182-Install-kept-back-updates-on-Ubuntu.html#comments</comments>
    <wfw:comment>https://daniel-lange.com/wfwcomment.php?cid=182</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>https://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=182</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Canonical has implemented a staged roll-out for some Ubuntu package updates.&lt;/p&gt;

&lt;p&gt;I find that rather annoying at times, e.g. when preparing the laptop for traveling.&lt;/p&gt;

&lt;p&gt;So for my memory and for the benefit of others:&lt;/p&gt;

&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# disable the phased roll-out feature on this apt upgrade run&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sudo&lt;/span&gt; apt &lt;span style=&quot;color: #660033;&quot;&gt;-o&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;APT::Get::Always-Include-Phased-Updates=true&amp;quot;&lt;/span&gt; dist-upgrade&lt;/div&gt;

&lt;p&gt;&lt;!-- s9ymdb:705 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;1586&quot; height=&quot;1346&quot;  src=&quot;https://daniel-lange.com/uploads/entries/230322_Ubuntu_apt_updates_kept_back.jpg&quot; title=&quot;Easy syntax, innit?&quot; alt=&quot;Screenshot of apt with the option to disable staged rollouts&quot;&gt;&lt;/p&gt;

&lt;p&gt;This can - for permanent use - be put into a config file, e.g. &lt;a href=&quot;https://curius.de/2022/09/ubuntu-zurueckgehaltene-pakete-und-phased-updates/&quot;&gt;Gerrit Heim puts it into /etc/apt/apt.conf.d/99-Phased-Updates [German]&lt;/a&gt;. Some other options around this staged roll-out feature are &quot;documented&quot; within &lt;a href=&quot;https://discourse.ubuntu.com/t/phased-updates-in-apt-in-21-04/20345&quot;&gt;a thread&lt;/a&gt; in the Ubuntu discourse forum.&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Wed, 22 Mar 2023 14:20:00 +0000</pubDate>
    <guid isPermaLink="false">https://daniel-lange.com/archives/182-guid.html</guid>
    <category>apt</category>
<category>roll-out</category>
<category>staged</category>
<category>ubuntu</category>
<category>update</category>

</item>

</channel>
</rss>
