search for: error_unknown_package_manag

Displaying 6 results from an estimated 6 matches for "error_unknown_package_manag".

2016 May 04
1
Re: [PATCH 2/2] customize: Improve the error messages when package manager is unknown or unsupported.
...t; -> sprintf "yum -y install %s" quoted_args > | "zypper" -> sprintf "zypper -n in -l %s" quoted_args > + > | "unknown" -> > - error (f_"--install is not supported for this guest operating system") > + error_unknown_package_manager (s_"--install") > | pm -> > - error (f_"sorry, don't know how to use --install with the '%s' package manager") pm > + error_unimplemented_package_manager (s_"--install") pm > > and guest_update_command () = >...
2016 May 04
3
[PATCH 1/2] inspection: Set package manager to "unknown" if parsing major version failed (RHBZ#1332025).
In cases where parsing the release file failed and so we have an obviously incorrect major version number, don't try to infer the package manager from the major version number. In the bug report, parsing the /etc/redhat-release file of a CentOS 7.1 guest failed, so major version was set to 0, and the package manager was inferred as "up2date". virt-customize then failed with a
2016 May 04
0
[PATCH 2/2] customize: Improve the error messages when package manager is unknown or unsupported.
...args | "yum" -> sprintf "yum -y install %s" quoted_args | "zypper" -> sprintf "zypper -n in -l %s" quoted_args + | "unknown" -> - error (f_"--install is not supported for this guest operating system") + error_unknown_package_manager (s_"--install") | pm -> - error (f_"sorry, don't know how to use --install with the '%s' package manager") pm + error_unimplemented_package_manager (s_"--install") pm and guest_update_command () = match g#inspect_get_package_ma...
2016 Jun 07
1
[PATCH] customize: Add --uninstall operation.
...uoted_args + | "xbps" -> sprintf "xbps-remove -Sy %s" quoted_args + | "yum" -> sprintf "yum -y remove %s" quoted_args + | "zypper" -> sprintf "zypper -n rm -l %s" quoted_args + + | "unknown" -> + error_unknown_package_manager (s_"--uninstall") + | pm -> + error_unimplemented_package_manager (s_"--uninstall") pm + (* Windows has package_management == "unknown". *) and error_unknown_package_manager flag = error (f_"cannot use '%s' because no package manage...
2018 Aug 23
3
[PATCH] Fix error with --uninstall option on SUSE
...t; quoted_args | "yum" -> sprintf "yum -y remove %s" quoted_args - | "zypper" -> sprintf "zypper -n rm -l %s" quoted_args + | "zypper" -> sprintf "zypper -n rm %s" quoted_args | "unknown" -> error_unknown_package_manager (s_"--uninstall") --
2017 Apr 04
1
[PATCH] Use Unicode single quotes ‘’ in place of short single quoted strings throughout.
...--no-network’ or adding ‘--network’ on the command line."); prerr_newline () ); error (f_"%s: command exited with an error") display @@ -182,10 +182,10 @@ exec >>%s 2>&1 (* Windows has package_management == "unknown". *) and error_unknown_package_manager flag = - error (f_"cannot use '%s' because no package manager has been detected for this guest OS.\n\nIf this guest OS is a common one with ordinary package management then this may have been caused by a failure of libguestfs inspection.\n\nFor OSes such as Windows that lack packa...