summaryrefslogtreecommitdiff
path: root/src/reason_fragment.cc
diff options
context:
space:
mode:
authorDaniel Burrows <Daniel_Burrows@alumni.brown.edu>2007-05-31 23:46:25 +0000
committerDaniel Burrows <Daniel_Burrows@alumni.brown.edu>2007-05-31 23:46:25 +0000
commit2dfb6c6204a111a3057d6e1af6502cc4837baa2d (patch)
tree938a437d30caa79d98078e8e0b1d7ee1016acdeb /src/reason_fragment.cc
parent2892d1a919b6643fad2116ab4457fad2b071cb3e (diff)
downloadaptitude-2dfb6c6204a111a3057d6e1af6502cc4837baa2d.tar.gz
[aptitude @ Add useful UI-level descriptions of the new package state. This change means that aptitude will now let you try to configure your unconfigured packages again, instead of complaining that there's nothing to do. (Closes: #424709)]
Diffstat (limited to 'src/reason_fragment.cc')
-rw-r--r--src/reason_fragment.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/reason_fragment.cc b/src/reason_fragment.cc
index 5541a4b1..de828403 100644
--- a/src/reason_fragment.cc
+++ b/src/reason_fragment.cc
@@ -439,6 +439,9 @@ fragment *reason_fragment(const pkgCache::PkgIterator &pkg, bool &breakage)
candver.VerStr(), A_BOLD)));
}
break;
+ case pkg_unconfigured:
+ fragments.push_back(wrapbox(fragf(_("%B%s%b is only partly installed; its installation will be completed."), pkg.Name())));
+ break;
default:
// Another non-translatable internal error.
fragments.push_back(wrapbox(fragf("Internal error: Unknown package state for %s!",