Fri Feb 26 19:56:11 EST 2016


In an attempt to make a reproducable base system, start with
reproducing the debian setup, than work towards building a patch set
on top of that.

apt-clone clone tp
install a base system (how to do that properly with debootstrap?)

Fails with:
(/vol/2/chroot/i386)root@zoo:/# apt-clone restore tp.apt-clone.tar.gz 
Traceback (most recent call last):
  File "/usr/bin/apt-clone", line 125, in <module>
  File "/usr/lib/python3/dist-packages/apt_clone.py", line 497, in restore_state
    self._restore_sources_list(statefile, targetdir, mirror=mirror)
  File "/usr/lib/python3/dist-packages/apt_clone.py", line 544, in _restore_sources_list
    tar.extract(self.TARPREFIX+"etc/apt/sources.list", targetdir)
  File "/usr/lib/python3.5/tarfile.py", line 2025, in extract
    tarinfo = self.getmember(member)
  File "/usr/lib/python3.5/tarfile.py", line 1737, in getmember
    raise KeyError("filename %r not found" % name)
KeyError: "filename './etc/apt/sources.list' not found"