https://bugzilla.novell.com/show_bug.cgi?id=476430
User dave.plater@yahoo.co.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=476430#c6
--- Comment #6 from Dave Plater 2009-02-17 07:38:15 MST ---
One problem is aria2c not exiting when it fails to write the segment file but
the other one is libzypp not stopping aria2c when it detects an error which
aria2c doesn't see as an error. If libzypp had ignored the login failed
exception the file download would have completed.
This is what happens if I download manually :-
# aria2c
ftp://anonymous@ftp.is.co.za/mirror/opensuse/factory/repo/non-oss/suse/x86_64/netbeans-6.0-80.28.x86_64.rpm
2009-02-17 16:23:10.370677 WARN - You may encounter the certificate
verification error with HTTPS server. See --ca-certificate and
--check-certificate option.
[#1 SIZE:240.0KiB/125.8MiB(0%) CN:5 SPD:34.03KiB/s ETA:1h02m58s]
2009-02-17 16:23:18.771136 ERROR - CUID#11 - Download aborted.
URI=ftp://anonymous@ftp.is.co.za/mirror/opensuse/factory/repo/non-oss/suse/x86_64/netbeans-6.0-80.28.x86_64.rpm
Exception: Authorization failed.
[#1 SIZE:1.0MiB/125.8MiB(0%) CN:4 SPD:47.01KiB/s ETA:45m19s]^C
2009-02-17 16:23:40.937001 NOTICE - Shutdown sequence commencing... Press
Ctrl-C again for emergency shutdown.
Download Results:
gid|stat|avg speed |path/URI
===+====+===========+==========================================================
1|INPR|
44.0KiB/s|ftp://anonymous@ftp.is.co.za/mirror/opensuse/factory/repo/non-oss/suse/x86_64/netbeans-6.0-80.28.x86_64.rpm
(4more)
Status Legend:
(INPR):download in-progress.
aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man
page for details.
Aria2c gives the exeption but by tailing the log I can still see it downloading
and netbeans has miraculously appeared in
/var/cache/zypp/packages/factory/suse/x86_64/ with a size of 128855K which is
the same as the remote package but it fails to install with Bad file
descriptor.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.