On Wed, Dec 08, 2010 at 11:48:37PM +0200, Modestas Vainius wrote: > Hello, > > On trečiadienis 08 Gruodis 2010 22:37:56 Roger Leigh wrote: > > > > Certainly for the apt and aptitude resolvers; for the internal resolver, > > it's still useful. > > > > Is it possible to request an update of specific archive components, > > so that we don't need to do a complete fetch of everything? If we > > could update the local archive only, that would be ideal. > > Maybe cp'ing Packages file to /var/lib/apt/lists/ with the right (or maybe > random) filename would be enough? I need to try :)
I think they need encoding in a specific manner. See URItoFileName and QuoteString in apt-pkg/contrib/strutl.cc (source apt). But I may be wrong, and this might be optional. I've uploaded a new version of sbuild which fixes the main problem in this report. I will certainly try to eliminate the unnecessary updates though. Ideally, apt-get update would allow updating of specific components, rather than "everything", but I haven't found any way to do this directly unfortunately. I can implement the URItoFileName function directly in Perl, or find some way to access the function directly from Perl. If you could check if we can get away without these special filenames, that would be very helpful! Thanks, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
signature.asc
Description: Digital signature