<div dir="ltr"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Adam Williamson</b> <span dir="ltr">&lt;<a href="mailto:awilliam@redhat.com">awilliam@redhat.com</a>&gt;</span><br>
Date: Wed, Dec 18, 2013 at 1:57 AM<br>Subject: [Test-Announce] PSA: Use fedup 0.8 for upgrades to Fedora 20! (was Re: Should a working fedup in Fedora N&#39;s stable repository be a release criterion for N+1?)<br>To: <a href="mailto:test-announce@lists.fedoraproject.org">test-announce@lists.fedoraproject.org</a>, <a href="mailto:users@lists.fedoraproject.org">users@lists.fedoraproject.org</a><br>
<br><br>On Tue, 2013-12-17 at 21:47 -0800, Adam Williamson wrote:<br>
&gt; On Tue, 2013-12-17 at 15:16 -0800, Andrew Lutomirski wrote:<br>
&gt; &gt; I have a tendency to upgrade to a new Fedora release as soon as it&#39;s<br>
&gt; &gt; final, and I sometimes upgrade even sooner.  ISTM that the official<br>
&gt; &gt; upgrade process is almost always broken, often for known reasons.<br>
&gt; &gt; Should one of the criteria for releasing Fedora N+1 be that a<br>
&gt; &gt; fully-updated Fedora N must be able to successfully complete &#39;fedup&#39;<br>
&gt; &gt; or whatever the current preferred upgrade program is?<br>
&gt; &gt;<br>
&gt; &gt; (FWIW, the current bug is particularly nasty -- fedup 0.7.0 apparently<br>
&gt; &gt; can&#39;t actually update anything, and the sequence:<br>
&gt; &gt;<br>
&gt; &gt;  - Install fedup 0.7.0<br>
&gt; &gt;  - Try it and watch it fail or hang<br>
&gt; &gt;  - Update to fedup 0.8.0 from updates-testing<br>
&gt; &gt;  - Run fedup<br>
&gt; &gt;<br>
&gt; &gt; ends up downloading all rpms *twice* a sucking up a correspondingly<br>
&gt; &gt; immense amount of disk space.<br>
&gt;<br>
&gt; Um, I&#39;m fairly sure it doesn&#39;t. It only re-downloads stuff that&#39;s<br>
&gt; different from the previous run.<br>
&gt;<br>
&gt; We did test upgrades to F20 with 0.7, and they did work in testing, and<br>
&gt; quite a lot of people reported success with fedup in the last two weeks<br>
&gt; when at least some of them likely used 0.7.<br>
&gt;<br>
&gt; You have to bear in mind it&#39;s release day today, and there&#39;s always<br>
&gt; weirdness on release day, and people who have success generally don&#39;t<br>
&gt; report it while those who hit failure almost always do. I&#39;ve been<br>
&gt; advising people to upgrade to 0.8 and retry just as a kind of generic<br>
&gt; piece of advice; for many of them, it&#39;d probably work if they just<br>
&gt; retried with 0.7. 0.8 does fix several bugs compared to 0.7, but 0.7<br>
&gt; wasn&#39;t entirely broken.<br>
<br>
Eh, that&#39;ll teach me to talk before thoroughly testing: these words are<br>
delicious! Om nom nom.<br>
<br>
I just poked it a bit and it sure seems like upgrades with fedup 0.7 to<br>
F20 are busted. They definitely worked when we tested shortly before<br>
release, though. I can only think that using fedup 0.7 against upgrade<br>
kernel/image built with fedup-dracut 0.8 doesn&#39;t work.<br>
<br>
FranciscoD also points out that the location of files downloaded by<br>
fedup changed between 0.7 and 0.8, so if you do a run with 0.7 then try<br>
with 0.8, it&#39;ll re-download all the updates, which is a waste of space<br>
and bandwidth.<br>
<br>
So, here&#39;s the news: do your upgrades to F20 with fedup 0.8, yo. It&#39;s in<br>
updates-testing for F18 and F19 at present, but will go to stable for<br>
F19 tomorrow. If you&#39;re upgrading from F18, you&#39;ll need to pass<br>
&#39;--nogpgcheck&#39; to fedup, because of<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1040689" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1040689</a> .<br>
<br>
If you did an unsuccessful run with fedup 0.7, then you can do:<br>
<br>
mv /var/tmp/fedora-upgrade /var/tmp/system-upgrade<br>
mv /var/lib/fedora-upgrade /var/lib/system-upgrade<br>
<br>
before running fedup 0.8, to save it downloading all the packages again,<br>
and make sure it cleans up nicely when it&#39;s done. I&#39;ve just tested this,<br>
and it works.<br>
<br>
If you&#39;ve already done an unsuccessful run with fedup 0.7 and then a<br>
successful run with 0.8, you may have files from the 0.7 run hanging<br>
around in /var/lib/fedora-upgrade and /var/tmp/fedora-upgrade. It is<br>
entirely safe and, indeed, advised to rm -rf these directories.<br>
<br>
Sorry for the mess, folks!<br>
<span class="HOEnZb"><font color="#888888">--<br>
Adam Williamson<br>
Fedora QA Community Monkey<br>
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net<br>
<a href="http://www.happyassassin.net" target="_blank">http://www.happyassassin.net</a><br>
<br>
_______________________________________________<br>
test-announce mailing list<br>
<a href="mailto:test-announce@lists.fedoraproject.org">test-announce@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/test-announce" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/test-announce</a><br>
--<br>
devel mailing list<br>
<a href="mailto:devel@lists.fedoraproject.org">devel@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/devel" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/devel</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" target="_blank">http://fedoraproject.org/code-of-conduct</a></font></span></div><br></div>