summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2008-02-22 19:10:35 -0800
committerDaniel Burrows <dburrows@debian.org>2008-02-22 19:10:35 -0800
commitc75779c6cf6b61651c0cadae40476dd81cafe6c2 (patch)
treed817cd7bc8555de212a1a1c51c3da8c4c826b5ef /src
parent7c3efd6961c1b392e78805c60e4894ec432c93dc (diff)
downloadaptitude-c75779c6cf6b61651c0cadae40476dd81cafe6c2.tar.gz
Explain slightly more about what a failed lock means, to hopefully make things a bit more clear to users.
Diffstat (limited to 'src')
-rw-r--r--src/generic/apt/apt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generic/apt/apt.cc b/src/generic/apt/apt.cc
index 4b4f118f..791b9780 100644
--- a/src/generic/apt/apt.cc
+++ b/src/generic/apt/apt.cc
@@ -393,7 +393,7 @@ void apt_load_cache(OpProgress *progress_bar, bool do_initselections,
false, status_fname);
if(!open_failed)
- _error->Warning(_("Could not lock the cache file. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!"));
+ _error->Warning(_("Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!"));
}
if(open_failed)