Re: [Tails-dev] error 7424

Delete this message

Reply to this message
Autore: intrigeri
Data:  
To: The Tails public development discussion list
Oggetto: Re: [Tails-dev] error 7424
Hi,

sajolida@??? wrote (25 Jan 2013 18:18:43 GMT) :
> I tried again the upgrade process and I wasn't more successful than the
> first time. I'm bringing more info in play...


Thanks.

> I tried with another USB drive, which I cloned directly from a Tails
> 0.15 using the installer.


> 1. Very often (always?) before getting the 7424 I get the error code 65280:


> « Could not download
> 'http://dl.amnesia.boum.org/tails/stable/iuk/Tails_i386_0.15_to_0.16.iuk' to
> '/tmp/OzB1PKCOc1', callback died:
> read timeout at /usr/share/perl5/LWP/Protocol/http.pm line 426. at
> /usr/share/perl5/Tails/IUK/TargetFile/Download.pm line 66 »


So you've got a network error here, so no big surprise the upgrade
fails. I'm afraid there's little tails-iuk-get-target-file can do but
retry (planned, not implemented yet) in such a case.

> 2. That happens simultaneously with the network being disconnected. I
> could blame the Wi-Fi connection for that but that's not happening
> usually but that happened at least 10 times or more while trying to do
> the upgrade.


Strange. Are you "usually" downloading 150MB or so from a fast server
over Wi-Fi with the same laptop, access point (and possibly same OS
and kernel)?

> Then restarting the upgrade leads to error 7424.


OK, that's the other bug that I've not come around to work on yet (the
fact that I can't reproduce it does not help).

> 3. Another thing that bothers me is that I cannot find the place where
> the tmp file is being downloaded. For example, if I try to `ls` the file
> that is reported as the output file of tails-iuk-get-target-file I get a
> "No such file or directory".


tails-iuk-get-target-file has LWP::UserAgent download to a temporary
file (in /tmp, using Perl's `tempfile') and only renames to the path
passed with --output-file iff. the downloaded data's size and hash are
correct. On download errors, it deletes the temporary file. So if you
want to look at the file while it's being downloaded, you should look
in /tmp for a growing file, or use lsof or whatever to find the file
open by a perl process in there.

> What else shall I try? Another laptop? A wired network?


I think that testing on a stable network would be useful.

Cheers,
--
intrigeri
| GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
| OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc