<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dnf &#8211; Luxing Huang</title>
	<atom:link href="https://luxing.im/tag/dnf/feed/" rel="self" type="application/rss+xml" />
	<link>https://luxing.im</link>
	<description>Thoughs and things</description>
	<lastBuildDate>Mon, 29 Feb 2016 21:45:35 +0000</lastBuildDate>
	<language>en-CA</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
<site xmlns="com-wordpress:feed-additions:1">58771605</site>	<item>
		<title>Fix SQLite3 dependency issue for dnf</title>
		<link>https://luxing.im/fix-sqlite3-dependency-issue/</link>
					<comments>https://luxing.im/fix-sqlite3-dependency-issue/#respond</comments>
		
		<dc:creator><![CDATA[Luxing Huang]]></dc:creator>
		<pubDate>Fri, 26 Feb 2016 18:48:02 +0000</pubDate>
				<category><![CDATA[Learning Notes]]></category>
		<category><![CDATA[Techie Stuff]]></category>
		<category><![CDATA[dnf]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[sqlite]]></category>
		<guid isPermaLink="false">https://luxing.im/?p=620</guid>

					<description><![CDATA[Recently when I did a dnf update I saw broken package for sqlite on my Fedora 23. Then I attempt to re-install that by removing it. rpm -e --nodeps sqlite Then shit hit the fan. When I then try to run rpm or dnf, both giving me errors. dnf gave me: Traceback (most recent call &#8230; <p class="link-more"><a href="https://luxing.im/fix-sqlite3-dependency-issue/" class="more-link">Continue reading<span class="screen-reader-text"> "Fix SQLite3 dependency issue for dnf"</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>Recently when I did a <code>dnf update</code> I saw broken package for sqlite on my Fedora 23. Then I attempt to re-install that by removing it.</p>
<pre>rpm -e --nodeps sqlite</pre>
<p>Then shit hit the fan.<br />
<span id="more-620"></span></p>
<p>When I then try to run rpm or dnf, both giving me errors.</p>
<p>dnf gave me:</p>
<pre>
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.4/sqlite3/__init__.py", line 24, in <module>
    from dbapi2 import *
  File "/usr/lib64/python3.4/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ImportError: File not found
</pre>
<p>And RPM gave me this error:</p>
<pre>error: Failed to initialize NSS library</pre>
<p>So rpm and dnf could not install packages. With a little searching around, I eventually figure out a way.</p>
<p>Step 1: Download sqlite3 from <a href="https://www.sqlite.org/download.html" target="_blank">https://www.sqlite.org/download.html</a><br />
Download the autoconf version of sqlite3 source code.</p>
<p>Step 2: compile. You need gcc and other tools. You better have this before this incident!</p>
<pre>./configure && make</pre>
<p>Step 3: Install those libs to /usr/local/lib</p>
<pre>make install</pre>
<p>Step 4：Using DNF to install.</p>
<pre>LD_LIBRARY_PATH=/usr/local/lib dnf --best install sqlite</pre>
<p>Should work.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://luxing.im/fix-sqlite3-dependency-issue/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">620</post-id>	</item>
		<item>
		<title>Install missing LaTeX styles and definitions</title>
		<link>https://luxing.im/install-missing-latex-styles-and-definitions/</link>
					<comments>https://luxing.im/install-missing-latex-styles-and-definitions/#respond</comments>
		
		<dc:creator><![CDATA[Luxing Huang]]></dc:creator>
		<pubDate>Wed, 25 Nov 2015 21:29:48 +0000</pubDate>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[dnf]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[xelatex]]></category>
		<category><![CDATA[yum]]></category>
		<guid isPermaLink="false">https://luxing.im/?p=551</guid>

					<description><![CDATA[When I was compiling my report, some files are missing: ! Package fontenc Error: Encoding file `eu1enc.def' not found. An interesting installation of relatex packages is, you can install the missing files by providing this command: dnf install 'tex(eulenc.def)' It is benefited from RPM&#8217;s provides tag, documented here. Credit goes to @vtrefny on Ask Fedora.]]></description>
										<content:encoded><![CDATA[<p>When I was compiling my <img decoding="async" src="https://s0.wp.com/latex.php?latex=%5CLaTeX&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" alt="&#92;LaTeX" class="latex" /> report, some files are missing:</p>
<pre>! Package fontenc Error: Encoding file `eu1enc.def' not found.</pre>
<p>An interesting installation of <img decoding="async" src="https://s0.wp.com/latex.php?latex=%5CTeX&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" alt="&#92;TeX" class="latex" /> relatex packages is, you can install the missing files by providing this command:<br />
<span id="more-551"></span></p>
<pre>dnf install 'tex(eulenc.def)'</pre>
<p>It is benefited from RPM&#8217;s <code>provides</code> tag, documented <a href="http://www.rpm.org/max-rpm/s1-rpm-depend-manual-dependencies.html" target="_blank">here</a>.<br />
Credit goes to @vtrefny on Ask Fedora.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://luxing.im/install-missing-latex-styles-and-definitions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">551</post-id>	</item>
	</channel>
</rss>
