HCoop
/
ntk
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merged from lp:~donkult/apt/sid
[ntk/apt.git]
/
apt-pkg
/
packagemanager.cc
diff --git
a/apt-pkg/packagemanager.cc
b/apt-pkg/packagemanager.cc
index
35cc245
..
034cc83
100644
(file)
--- a/
apt-pkg/packagemanager.cc
+++ b/
apt-pkg/packagemanager.cc
@@
-345,6
+345,9
@@
bool pkgPackageManager::DepAdd(pkgOrderList &OList,PkgIterator Pkg,int Depth)
return true;
if (List->IsFlag(Pkg,pkgOrderList::UnPacked) == false)
return false;
return true;
if (List->IsFlag(Pkg,pkgOrderList::UnPacked) == false)
return false;
+
+ if (Debug)
+ std::clog << OutputInDepth(Depth) << "DepAdd: " << Pkg.Name() << std::endl;
// Put the package on the list
OList.push_back(Pkg);
// Put the package on the list
OList.push_back(Pkg);
@@
-398,6
+401,8
@@
bool pkgPackageManager::DepAdd(pkgOrderList &OList,PkgIterator Pkg,int Depth)
if (Bad == true)
{
if (Bad == true)
{
+ if (Debug)
+ std::clog << OutputInDepth(Depth) << "DepAdd FAILS on: " << Pkg.Name() << std::endl;
OList.Flag(Pkg,0,pkgOrderList::Added);
OList.pop_back();
Depth--;
OList.Flag(Pkg,0,pkgOrderList::Added);
OList.pop_back();
Depth--;