https://qa.mandrakesoft.com/show_bug.cgi?id=605
Product: urpmi
Component: program
Summary: urpmi should not return rc=0 in case of wget error
Version: 4.1-8mdk
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: major
Priority: P2
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
If something gets wrong during urpmi, urpmi should not :
1. return with $? = 0
2. say "everything already installed"
exemple:
# urpmi cvs
--17:21:14--
ftp://sunsite.uio.no/pub/linux/Mandrake/Mandrake-devel/cooker/i586/Mandrake/RPMS/cvs-1.11.2-3mdk.i586.rpm
=> `/var/cache/urpmi/rpms/cvs-1.11.2-3mdk.i586.rpm'
Resolving proxy.xxxxxxx.fr... done.
Connecting to proxy.xxxxxx.fr[zzz.zzz.zzz.zzz]:3128... connected.
Proxy request sent, awaiting response... 403 Forbidden
17:21:14 ERROR 403: Forbidden.
everything already installed
# echo $?
0
I have verified that wget returns RC=1 in this case, so urpmi internal processing can
catch the error.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.