Browse Source

More bug fixes

Author: jgg
Date: 1998-12-14 08:23:10 GMT
More bug fixes
debian/1.8.y
Arch Librarian 18 years ago
parent
commit
b53b7926de
  1. 8
      doc/Bugs
  2. 4
      doc/cache.sgml
  3. 4
      methods/http.cc

8
doc/Bugs

@ -147,7 +147,12 @@
a terribly good method. I do not intend any 'split mode'
support (ie a way to get Package files via rsync and .debs
via http)
#27100: apt: Better support for project/experimental
Status: GUI Feature - Version selection and pinning
Honors the NotAutomatic flag
#30643: base: apt-get update problems with http-/ftp-caches (i.e. squid)
Status: Fixed as best I can. Try the Acquire::http::No-Cache option.
-- Silly things
#26592: apt: Problems with ftpd in SunOS 5.6
#29903: apt-get insists onto sending a SIZE command
@ -162,7 +167,6 @@
#27190: apt: installing source packages (wishlist)
Status: Impossible to do without an index file for all source archives.
#22551: apt: wish: use dist X iff pkg does not exist in dist Y
#27100: apt: Better support for project/experimental
Status: GUI Feature - Version selection and pinning
#30237: apt: 0.1.9 checks dependencies against packages.gz
Summary: For packages with identical version numbers APT prefers

4
doc/cache.sgml

@ -4,7 +4,7 @@
<title>APT Cache File Format</title>
<author>Jason Gunthorpe <email>jgg@debian.org</email></author>
<version>$Id: cache.sgml,v 1.4 1998/12/14 02:23:47 jgg Exp $</version>
<version>$Id: cache.sgml,v 1.5 1998/12/14 08:23:10 jgg Exp $</version>
<abstract>
This document describes the complete implementation and format of the APT
@ -358,7 +358,6 @@ Header.FileList
unsigned long Label; // Stringtable
unsigned long Architecture; // Stringtable
unsigned long Size;
unsigned char NotAutomatic; // Bool
// Linked list
unsigned long NextFile; // PackageFile
@ -735,6 +734,7 @@ Zero is used for unparsable or absent Priority fields.
<p>
<example>
#define pkgFLAG_NotSource (1 << 0)
#define pkgFLAG_NotAutomatic (1 << 1)
</example>
</sect1>

4
methods/http.cc

@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
// $Id: http.cc,v 1.16 1998/12/11 07:23:17 jgg Exp $
// $Id: http.cc,v 1.17 1998/12/14 08:23:10 jgg Exp $
/* ######################################################################
HTTP Aquire Method - This is the HTTP aquire method for APT.
@ -625,7 +625,7 @@ void HttpMethod::SendReq(FetchItem *Itm,CircleBuf &Out)
sprintf(Buf,"GET %s HTTP/1.1\r\nHost: %s\r\n",
Itm->Uri.c_str(),ProperHost.c_str());
if (_config->FindB("Acquire::http::No-Cache",false) == true)
strcat(Buf,"Cache-Control: no-cache\r\n");
strcat(Buf,"Cache-Control: no-cache\r\nPragma: no-cache\r\n");
else
{
if (Itm->IndexFile == true)

Loading…
Cancel
Save