From 5d1d073836e1b26dfa27dbc04eb9ce21bd369f67 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 17:02:08 +0000 Subject: * Silence the essential packages check if we are only d... Author: mdz Date: 2003-07-22 01:49:26 GMT * Silence the essential packages check if we are only downloading archives and not changing the system (Closes: #190862) --- cmdline/apt-get.cc | 5 +++-- debian/changelog | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 2dcee9ab4..75d375453 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: apt-get.cc,v 1.130 2003/05/19 17:30:12 doogie Exp $ +// $Id: apt-get.cc,v 1.131 2003/07/22 01:49:26 mdz Exp $ /* ###################################################################### apt-get - Cover for dpkg @@ -685,7 +685,8 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true, if (_config->FindB("APT::Get::Show-Upgraded",false) == true) ShowUpgraded(c1out,Cache); Fail |= !ShowDowngraded(c1out,Cache); - Essential = !ShowEssential(c1out,Cache); + if (_config->FindB("APT::Get::Download-Only",false) == false) + Essential = !ShowEssential(c1out,Cache); Fail |= Essential; Stats(c1out,Cache); diff --git a/debian/changelog b/debian/changelog index 93c3b3e64..4c7da1d48 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,9 @@ apt (0.5.7) unstable; urgency=low * Update control file to match overrides (apt priority important, libapt-pkg-dev section libdevel) + * Silence the essential packages check if we are only downloading + archives and not changing the system (Closes: #190862) + * -- -- cgit v1.2.3-70-g09d2