Bug#456499: apt-transport-https: Errors with private repository and GPG keys
Otavio Salvador <otavio@debian.org> writes:
> Is your server public available running lighttpd? If it's, I can hack
> it and check where the problem is and fix it for next upload.
I've done a brief look and spot a possible issue that I'd like you to
try it. Apply this patch and check if it does work:
Steps to apply it (if you doesn't know how to do):
- copy and paste this in a file
- go inside apt source code
- use: patch -p0 < filename
- use: dpkg-buildpackage -us -uc
- install the resulting apt package and test
=== modified file 'methods/https.cc'
--- methods/https.cc 2007-10-05 05:48:13 +0000
+++ methods/https.cc 2007-12-17 22:10:17 +0000
@@ -185,7 +185,7 @@
TimeRFC1123(SBuf.st_mtime).c_str());
headers = curl_slist_append(headers, Buf);
}
- else if(Itm->LastModified > 0)
+ else if(Itm->LastModified != 0)
{
curl_easy_setopt(curl, CURLOPT_TIMECONDITION, CURL_TIMECOND_IFMODSINCE);
curl_easy_setopt(curl, CURLOPT_TIMEVALUE, Itm->LastModified);
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
Reply to: