aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-11-28 15:53:26 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-11-28 15:53:26 +0000
commitedc76a54cbcc260e614271645b32b2affb775ce3 (patch)
treefcb9c62f26fb56572dff3134d30cf36acf8a06e1
parentb155a904ed246dffd4201c8a09629da97aec533e (diff)
downloadpaludis-edc76a54cbcc260e614271645b32b2affb775ce3.tar.gz
paludis-edc76a54cbcc260e614271645b32b2affb775ce3.tar.xz
Give a clearer error when a package doesn't exist.
-rw-r--r--src/paludis/install.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/paludis/install.cc b/src/paludis/install.cc
index 1939bb7..c80f1d4 100644
--- a/src/paludis/install.cc
+++ b/src/paludis/install.cc
@@ -602,8 +602,8 @@ namespace
if (task.current_dep_list_entry() != task.dep_list().end())
{
- std::string resume_command = DefaultEnvironment::get_instance()->paludis_command()
- + " --dl-installed-deps-pre discard "
+ std::string resume_command = DefaultEnvironment::get_instance()->paludis_command() + " "
+ "--dl-installed-deps-pre discard "
"--dl-installed-deps-runtime discard "
"--dl-installed-deps-post discard "
"--dl-uninstalled-deps-pre discard "
@@ -617,7 +617,7 @@ namespace
+ stringify(i->package.name) + "-"
+ stringify(i->package.version) + "::"
+ stringify(i->package.repository);
-
+
if (CommandLine::get_instance()->a_resume_command_template.specified())
{
std::string file_name(CommandLine::get_instance()->a_resume_command_template.argument());
@@ -873,7 +873,7 @@ do_install()
cout << endl;
cerr << "Query error:" << endl;
cerr << " * " << e.backtrace("\n * ");
- cerr << "All versions of '" << e.query() << "' are masked" << endl;
+ cerr << "No versions of '" << e.query() << "' are available" << endl;
}
else
{