<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://bradnor.ddns.net/bradnorwiki/index.php?action=history&amp;feed=atom&amp;title=Error_when_running_apt-get_update</id>
	<title>Error when running apt-get update - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://bradnor.ddns.net/bradnorwiki/index.php?action=history&amp;feed=atom&amp;title=Error_when_running_apt-get_update"/>
	<link rel="alternate" type="text/html" href="https://bradnor.ddns.net/bradnorwiki/index.php?title=Error_when_running_apt-get_update&amp;action=history"/>
	<updated>2026-04-05T17:57:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://bradnor.ddns.net/bradnorwiki/index.php?title=Error_when_running_apt-get_update&amp;diff=259&amp;oldid=prev</id>
		<title>Ch: Created page with &quot;&amp;lArr; Known problems  * error when running &lt;tt&gt;apt-get update&lt;/tt&gt;:            error:  Traceback (most recent call last):               File &quot;/usr/lib/pyth...&quot;</title>
		<link rel="alternate" type="text/html" href="https://bradnor.ddns.net/bradnorwiki/index.php?title=Error_when_running_apt-get_update&amp;diff=259&amp;oldid=prev"/>
		<updated>2019-09-23T11:54:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/bradnorwiki/index.php/Known_problems&quot; title=&quot;Known problems&quot;&gt;⇐ Known problems&lt;/a&gt;  * error when running &amp;lt;tt&amp;gt;apt-get update&amp;lt;/tt&amp;gt;:            error:  Traceback (most recent call last):               File &amp;quot;/usr/lib/pyth...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Known_problems|&amp;amp;lArr; Known problems]]&lt;br /&gt;
&lt;br /&gt;
* error when running &amp;lt;tt&amp;gt;apt-get update&amp;lt;/tt&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
         error:  Traceback (most recent call last):&lt;br /&gt;
              File &amp;quot;/usr/lib/python3.5/weakref.py&amp;quot;, line 117, in remove&lt;br /&gt;
&lt;br /&gt;
* workaround&lt;br /&gt;
This seems to be fixable.&lt;br /&gt;
&lt;br /&gt;
In short open &amp;lt;tt&amp;gt;/usr/lib/python3.5/weakref.py&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and change line 109 to:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;tt&amp;gt;def remove(wr, selfref=ref(self), _atomic_removal=_remove_dead_weakref):&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And line 117 to:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;tt&amp;gt;_atomic_removal(d, wr.key)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note you need to do this with spaces, not tabs as this will cause other errors.&lt;/div&gt;</summary>
		<author><name>Ch</name></author>
	</entry>
</feed>