Hello, On ketvirtadienis 09 Gruodis 2010 00:06:52 Roger Leigh wrote: > > 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.
But /var/lib/apt/lists/file <=> sources.list entry mapping needs to be done somehow. So probably filename is important... > I've uploaded a new version of sbuild which fixes the main problem > in this report. Ok. You haven't pushed the tag to git yet though. > 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! I have a couple of ideas which I will probably try tonight. I will let you know. -- Modestas Vainius <mo...@debian.org>
signature.asc
Description: This is a digitally signed message part.