diff options
| author | Julian Andres Klode <jak@debian.org> | 2021-07-05 09:50:02 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2021-07-05 09:50:02 +0000 |
| commit | b1a384c646427e52abef5bdb799f7bbdbb505bb6 (patch) | |
| tree | cf4a44b08067ab1563d00a5437d06c43b4927eed /apt-pkg/acquire-item.cc | |
| parent | 690f6191a4332123a912c812a19a37cef253e90c (diff) | |
| parent | e6056cbc8faf82c368d4439b0fcdcf4f46047d59 (diff) | |
Merge branch 'fix/sizesharing' into 'main'
Allow packages from volatile sources to be reinstalled
See merge request apt-team/apt!177
Diffstat (limited to 'apt-pkg/acquire-item.cc')
| -rw-r--r-- | apt-pkg/acquire-item.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index d6ffaf34d..37a715390 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -3471,9 +3471,8 @@ pkgAcqArchive::pkgAcqArchive(pkgAcquire *const Owner, pkgSourceList *const Sourc } if (FileSize == 0 && not _config->FindB("Acquire::AllowUnsizedPackages", false)) { - _error->Error("Repository is broken: %s (= %s) has no Size information", - Version.ParentPkg().FullName(false).c_str(), - Version.VerStr()); + _error->Error("Repository is broken: %s has no Size information", + Desc.Description.c_str()); return; } |
