diff options
author | Glenn L McGrath | 2001-07-18 05:03:49 +0000 |
---|---|---|
committer | Glenn L McGrath | 2001-07-18 05:03:49 +0000 |
commit | ed4492a697c2ec876e41ccc8312118a66caa492a (patch) | |
tree | b2f1fa21608a0c39e741cd9929937004a349ba64 | |
parent | 7b0241579cb6178160e73fbc5308768a374384e0 (diff) | |
download | busybox-ed4492a697c2ec876e41ccc8312118a66caa492a.zip busybox-ed4492a697c2ec876e41ccc8312118a66caa492a.tar.gz |
More feedback to user
-rw-r--r-- | archival/dpkg.c | 4 | ||||
-rw-r--r-- | dpkg.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index 165be79..dfae9ed 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c @@ -1141,6 +1141,8 @@ void remove_package(const unsigned int package_num) char conffile_name[package_name_length + 30]; int return_value; + printf("Removing %s ...\n", package_name); + /* run prerm script */ return_value = run_package_script(package_name, "prem"); if (return_value == -1) { @@ -1364,7 +1366,7 @@ extern int dpkg_main(int argc, char **argv) search_name_hashtable(argv[optind]), search_name_hashtable("ANY"), VER_ANY); if (package_hashtable[deb_file[deb_count]->package] == NULL) { - error_msg_and_die("unknown package, %s\n", argv[optind]); + error_msg_and_die("Package %s is uninstalled or unknown\n", argv[optind]); } state_status = get_status(search_status_hashtable(name_hashtable[package_hashtable[deb_file[deb_count]->package]->name]), 3); @@ -1141,6 +1141,8 @@ void remove_package(const unsigned int package_num) char conffile_name[package_name_length + 30]; int return_value; + printf("Removing %s ...\n", package_name); + /* run prerm script */ return_value = run_package_script(package_name, "prem"); if (return_value == -1) { @@ -1364,7 +1366,7 @@ extern int dpkg_main(int argc, char **argv) search_name_hashtable(argv[optind]), search_name_hashtable("ANY"), VER_ANY); if (package_hashtable[deb_file[deb_count]->package] == NULL) { - error_msg_and_die("unknown package, %s\n", argv[optind]); + error_msg_and_die("Package %s is uninstalled or unknown\n", argv[optind]); } state_status = get_status(search_status_hashtable(name_hashtable[package_hashtable[deb_file[deb_count]->package]->name]), 3); |