francescomecca.eu/output/categories/perl-core.xml
Francesco Mecca 6acba75cd5 wine article
2024-02-28 14:38:55 +01:00

21 lines
No EOL
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Caught in the Net (Posts about perl-core)</title><link>francescomecca.eu</link><description></description><atom:link href="francescomecca.eu/categories/perl-core.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2024 &lt;a href="mailto:francescomecca.eu"&gt;Francesco Mecca&lt;/a&gt; </copyright><lastBuildDate>Wed, 28 Feb 2024 09:29:26 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>About Perl packages in Gentoo</title><link>francescomecca.eu/blog/2015/9/11/about-perl-packages-in-gentoo/</link><dc:creator>Francesco Mecca</dc:creator><description>&lt;p&gt;In this post I wish to explain a bit about Perl related ebuilds in Gentoo and how to update from perl-core to virtual/perl without conflicts.&lt;/p&gt;
&lt;p&gt;First of all the core distribution of Perl is included in &lt;a href="https://packages.gentoo.org/package/dev-lang/perl"&gt;dev-lang/Perl&lt;/a&gt; along with &lt;a href="http://perldoc.perl.org/index-modules-A.html"&gt;modules&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/perl-core/"&gt;perl-core category&lt;/a&gt; in portage contains ebuilds for perl modules, some of which are included in the core perl distibution. The perl-core ebuilds overrides the perl-core modules such that you can update them without recompiling dev-lang/Perl.&lt;/p&gt;
&lt;p&gt;Each perl-core module has a corrensponding virtual/perl-* package. The virtual category is used by portage when emerging to take into account that a module can be either provided by dev-lang/perl package or found in perl-core category.&lt;/p&gt;
&lt;p&gt;So, what to do in case of blocks when upgrading your Gentoo machine?&lt;/p&gt;
&lt;p&gt;Perl-cleaner is a package provided to get rid of these blocks and to migrate from perl-core to virtual/perl-*.&lt;/p&gt;
&lt;pre class="wp-code-highlight prettyprint linenums:1"&gt;emerge perl-cleaner
emerge dev-lang/perl
perl-cleaner --all&lt;/pre&gt;
&lt;p&gt;if you still have problems when upgrading @world you add a backtrack option&lt;/p&gt;
&lt;pre class="wp-code-highlight prettyprint linenums:1"&gt;emerge -uDN --backtrack=30 @world&lt;/pre&gt;
&lt;p&gt;or you can unmerge all perl-core packages and then finally upgrade world&lt;/p&gt;
&lt;pre class="wp-code-highlight prettyprint linenums:1"&gt;emerge --unmerge perl-core/*&lt;/pre&gt;
&lt;p&gt;This will remove all perl-core packages that virtual/perl-* packages will bring back if needed.&lt;/p&gt;
&lt;p style="text-align: right;"&gt;
Francesco Mecca
&lt;/p&gt;</description><category>emerge</category><category>Gentoo</category><category>perl</category><category>perl-core</category><category>PesceWanda</category><category>portage conflict</category><category>virtual/perl</category><guid>francescomecca.eu/blog/2015/9/11/about-perl-packages-in-gentoo/</guid><pubDate>Fri, 11 Sep 2015 12:52:25 GMT</pubDate></item></channel></rss>