diff options
author | Christian Perrier <bubulle@debian.org> | 2005-11-01 17:25:04 +0000 |
---|---|---|
committer | Christian Perrier <bubulle@debian.org> | 2005-11-01 17:25:04 +0000 |
commit | 2cf1aee845ce86e6dba7a069ce6ad5edefae1331 (patch) | |
tree | 20c0290daa978b2f8926a1cfa7dd76fcc4412e8f /cmdline | |
parent | efd1e3490c7fe2718d76f60ca0a83145b8289afa (diff) | |
parent | c5198dc1d0edeb3999741f00a25ec946cd66d6b9 (diff) |
Merge with Michael
Patches applied:
* michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-82
* merged with bubulle
* michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-83
* cmdline/apt-get.cc: fix bug in FindSrc() (debian #335213)
* michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-84
* added armeb to archtable
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-get.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 040f670b1..b2beb3c2b 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1200,7 +1200,7 @@ pkgSrcRecords::Parser *FindSrc(const char *Name,pkgRecords &Recs, VerTag = string(TmpSrc.begin() + Slash + 1,TmpSrc.end()); TmpSrc = string(TmpSrc.begin(),TmpSrc.begin() + Slash); } - else if(DefRel.empty() == false) + else if(!Pkg.end() && DefRel.empty() == false) { // we have a default release, try to locate the pkg. we do it like // this because GetCandidateVer() will not "downgrade", that means |