[Apt-offline-devel] Questions about apt-offline

Ritesh Raj Sarraf rrs at researchut.com
Fri Apr 16 14:44:38 UTC 2010


George, Thanks.

I am not sure why your signature file is a little differently generated than 
what I have. Anyways, this gives room to make assumptions more clean and 
robust. 
I have fixed the problem and did a test with the signature file you provided. 
Everything seems to be working.

In case you would like to test, I have put up the archive file at [1]. Let me 
know your results.

[1] http://www.researchut.com/tmp/apt-offline-george.zip


Ritesh


On Friday 16 Apr 2010 13:59:55 George Lee wrote:
> Thank you for the swift response, I'm using apt-offline 0.9.7.
> I'm pasting the signature file here, assuming that there's no binary data
> inside?
> 
> '
> http://ftp.tw.debian.org/debian/dists/testing/main/binary-amd64/Packages.bz
> 2' ftp.tw.debian.org_debian_dists_testing_main_binary-amd64_Packages 0 : '
> http://ftp.tw.debian.org/debian/dists/testing/contrib/binary-amd64/Packages
> .bz2' ftp.tw.debian.org_debian_dists_testing_contrib_binary-amd64_Packages
> 0 : '
> http://ftp.tw.debian.org/debian/dists/testing/non-free/binary-amd64/Package
> s.bz2'
> ftp.tw.debian.org_debian_dists_testing_non-free_binary-amd64_Packages 0 :
> 'http://ftp.tw.debian.org/debian/dists/testing/main/source/Sources.bz2'
> ftp.tw.debian.org_debian_dists_testing_main_source_Sources 0 :
> 'http://ftp.tw.debian.org/debian/dists/testing/contrib/source/Sources.bz2'
> ftp.tw.debian.org_debian_dists_testing_contrib_source_Sources 0 :
> 'http://ftp.tw.debian.org/debian/dists/testing/non-free/source/Sources.bz2'
> ftp.tw.debian.org_debian_dists_testing_non-free_source_Sources 0 :
> 'http://ftp.tw.debian.org/debian/dists/testing/Release'
> ftp.tw.debian.org_debian_dists_testing_Release 0
> 'http://ftp.tw.debian.org/debian/dists/testing/Release.gpg'
> ftp.tw.debian.org_debian_dists_testing_Release.gpg 0
> '
> http://security.debian.org/dists/testing/updates/main/binary-amd64/Packages
> .bz2' security.debian.org_dists_testing_updates_main_binary-amd64_Packages
> 0 : '
> http://security.debian.org/dists/testing/updates/contrib/binary-amd64/Packa
> ges.bz2'
> security.debian.org_dists_testing_updates_contrib_binary-amd64_Packages 0
> : '
> http://security.debian.org/dists/testing/updates/non-free/binary-amd64/Pack
> ages.bz2'
> security.debian.org_dists_testing_updates_non-free_binary-amd64_Packages 0
> :
> 'http://security.debian.org/dists/testing/updates/main/source/Sources.bz2'
> security.debian.org_dists_testing_updates_main_source_Sources 0 :
> 'http://security.debian.org/dists/testing/updates/contrib/source/Sources.bz
> 2' security.debian.org_dists_testing_updates_contrib_source_Sources 0 : '
> http://security.debian.org/dists/testing/updates/non-free/source/Sources.bz
> 2' security.debian.org_dists_testing_updates_non-free_source_Sources 0 :
> 'http://security.debian.org/dists/testing/updates/Release'
> security.debian.org_dists_testing_updates_Release 0
> 'http://security.debian.org/dists/testing/updates/Release.gpg'
> security.debian.org_dists_testing_updates_Release.gpg 0
> 
> I also attached the log generated from running  "apt-offline get
> apt-offline.sig --verbose >& apt-offline_get.log".
> 
> By the way, I'm using amd64 version of debian on the networkless machine,
> and an i386 debian box on the connected box. Not sure if it matters
> though...
> 
> Thanks a lot for your help!
> 
> George
> 
> On Fri, Apr 16, 2010 at 1:42 PM, Ritesh Raj Sarraf 
<rrs at researchut.com>wrote:
> > Hello George,
> > 
> > On Friday 16 Apr 2010 09:54:43 you wrote:
> > > Sorry if this is rude but I can't really find a forum discussing
> > > apt-offline, the one at Alioth doesn't seem active.
> > > I apologize if this seems like an FAQ, but I really can't find the
> > > answer with some Google queries.
> > 
> > No, no problem at all. Feel free to email me if you have any issues with
> > apt-
> > offline.
> > 
> > I am CCing apt-offline mailing list so that the search engines can index
> > these
> > queries and hopefully help other users with similar problems.
> > 
> > > ne. Exception in thread Thread-1:
> > > 
> > > Traceback (most recent call last):
> > >   File "/usr/lib/python2.5/threading.py", line 486, in
> > >   __bootstrap_inner
> > >   
> > >     self.run()
> > >   
> > >   File "/usr/lib/python2.5/threading.py", line 446, in run
> > >   
> > >     self.__target(*self.__args, **self.__kwargs)
> > >   
> > >   File
> > >   "/usr/lib/pymodules/python2.5/apt_offline_core/AptOfflineLib.py",
> > > 
> > > line 578, in run
> > > 
> > >     self.responseQueue.put( self.WorkerFunction( item, thread_name ) )
> > >   
> > >   File
> > > 
> > > "/usr/lib/pymodules/python2.5/apt_offline_core/AptOfflineCoreLib.py",
> > 
> > line
> > 
> > > 540, in DataFetcher
> > > 
> > >     (url, file, download_size, checksum) = stripper(item)
> > >   
> > >   File
> > > 
> > > "/usr/lib/pymodules/python2.5/apt_offline_core/AptOfflineCoreLib.py",
> > 
> > line
> > 
> > > 307, in stripper
> > > 
> > >     checksum = string.rstrip(string.lstrip(''.join(item[3]), chars =
> > 
> > "'"),
> > 
> > > chars = "'")
> > > IndexError: list index out of range
> > 
> > Can you share the signature file ?
> > Also can you mention the version of apt-offline you are using ?
> > And also good if you could reproduce the problem while using the
> > --verbose option and then submit the logs.
> > 
> > 
> > Regards,
> > Ritesh
> > --
> > Ritesh Raj Sarraf
> > RESEARCHUT - http://www.researchut.com
> > "Necessity is the mother of invention."

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/apt-offline-devel/attachments/20100416/aa53a6a4/attachment.pgp>


More information about the Apt-offline-devel mailing list