[Bug 483777] New: Executing 'which' 'aria2c': Can't exec 'which' (No such file or directory).

https://bugzilla.novell.com/show_bug.cgi?id=483777 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=483777#c483211 Summary: Executing 'which' 'aria2c': Can't exec 'which' (No such file or directory). Classification: openSUSE Product: openSUSE 11.2 Version: Alpha 0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: locilka@novell.com QAContact: qa@suse.de Found By: --- Originally reported as bug #483211 Logs: Created an attachment (id=277866) --> (https://bugzilla.novell.com/attachment.cgi?id=277866) <1> 192.168.150.47(3969) [zypp] MediaAccess.cc(open):111 Trying scheme 'http' <1> 192.168.150.47(3969) [zypp++] ExternalProgram.cc(start_program):210 Executing 'which' 'aria2c' <3> 192.168.150.47(4528) [zypp] ExternalProgram.cc(start_program):316 Can't exec 'which' (No such file or directory). There's no which in inst-sys -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=483777 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=483777#c1 --- Comment #1 from Michael Schröder <mls@novell.com> 2009-03-10 03:40:48 MST --- Eek, don't use 'which'! Just check if it is in the standard location. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=483777 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ma@novell.com AssignedTo|zypp-maintainers@forge.prov |dmacvicar@novell.com |o.novell.com | -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=483777 User poeml@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=483777#c2 --- Comment #2 from Peter Poeml <poeml@novell.com> 2009-03-10 06:01:04 MST --- I think it's the best way to be able to override the used binary (e.g. from /usr/local/bin), or to be able to use a wrapper script. (A hardcoded path would be bad.) Since all commands seem to be spawned through a shell (which respects $PATH already), just calling 'aria2c' would actually suffice. The separate 'which aria2c' is used to detect if aria2c is present in the system at all. I guess that as an alternative, one could call 'aria2c --version' instead of 'which aria2c'. (For the instsys, this doesn't matter that much, of course, because aria2c will be there.) -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=483777 User dmacvicar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=483777#c3 --- Comment #3 from Duncan Mac-Vicar <dmacvicar@novell.com> 2009-03-16 11:18:27 MST --- I am not happy with changing the way to find aria every 3 weeks. The problem of not using which is that you will not know exactly which aria is using, and I am sure that if I just call aria2, someone will request to know which aria is being used. -- 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.
participants (1)
-
bugzilla_noreply@novell.com