Przeglądaj źródła

* /apt-pkg/deb/debsystem.cc:
- add 'sudo' to the error message to "run 'dpkg --configure -a'"
(LP: #52697)

Michael Vogt 17 lat temu
rodzic
commit
ed3524975b
2 zmienionych plików z 7 dodań i 1 usunięć
  1. 1 1
      apt-pkg/deb/debsystem.cc
  2. 6 0
      debian/changelog

+ 1 - 1
apt-pkg/deb/debsystem.cc

@@ -79,7 +79,7 @@ bool debSystem::Lock()
       close(LockFD);
       LockFD = -1;
       return _error->Error("dpkg was interrupted, you must manually "
-			   "run 'dpkg --configure -a' to correct the problem. ");
+			   "run 'sudo dpkg --configure -a' to correct the problem. ");
    }
 
 	 LockCount++;

+ 6 - 0
debian/changelog

@@ -1,8 +1,14 @@
 apt (0.7.19ubuntu2) jaunty; urgency=low
 
+  [ Michael Vogt ]
   * apt-pkg/deb/dpkgpm.cc:
     - filter "ENOMEM" errors when creating apport reports 
 
+  [ Ian Weisser ]
+  * /apt-pkg/deb/debsystem.cc:
+    - add 'sudo' to the error message to "run 'dpkg --configure -a'"
+      (LP: #52697)
+
  --
 
 apt (0.7.19ubuntu1) jaunty; urgency=low