apt-clone - Script to create state bundles

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Main amd64
Package name: apt-clone
Package version: 0.4.1ubuntu1
Package release:
Package architecture: all
Package type: deb
Installed size: 62 B
Download size: 12.55 KB
Official Mirror: archive.ubuntu.com
This package can be used to clone/restore the packages on a apt based system. It will save/restore the packages, sources.list, keyring and automatic-installed states. It can also save/restore no longer downloadable packages using dpkg-repack.



    Source package: apt-clone

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install apt-clone deb package:
      # sudo apt-get install apt-clone


    • /usr/bin/apt-clone
    • /usr/lib/python3/dist-packages/apt_clone-0.2.1.egg-info
    • /usr/lib/python3/dist-packages/apt_clone.py
    • /usr/share/doc/apt-clone/changelog.gz
    • /usr/share/doc/apt-clone/copyright
    • /usr/share/man/man8/apt-clone.8.gz


    2016-03-09 - Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> apt-clone (0.4.1ubuntu1) xenial; urgency=medium * apt-clone: pass named parameters on to the AptClone library, to make sure we pass on the new distro name properly for upgrades from CD. (LP: #1553870)

    2015-11-06 - Michael Vogt <mvo@debian.org> apt-clone (0.4.1) unstable; urgency=medium * show friendly error message when restore has no source file (thanks to Tim Wasser) * add new 'apt-clone clone --extra-files "/some/path"' option to store arbitrary number of extra files in an apt-clone file (and restore them of course)

    2015-11-05 - Michael Vogt <mvo@debian.org> apt-clone (0.4) unstable; urgency=medium [ Michael Vogt ] * sync from ubuntu * add --exclude option to apt-clone restore [ Brian Murray ] * save packages with a foreign origin in a separate file

    2015-07-22 - Steve Langasek <steve.langasek@ubuntu.com> apt-clone (0.3.1~ubuntu14) wily; urgency=medium * No-change rebuild for python3.5 transition

    2015-01-13 - Brian Murray <brian@ubuntu.com> apt-clone (0.3.1~ubuntu13) vivid; urgency=medium * debian/control: updated Vcs-Bzr thanks to Launchpad user majun for the patch and the bug report. (LP: #1388328)

    2014-08-20 - Brian Murray <brian@ubuntu.com> apt-clone (0.3.1~ubuntu12) utopic; urgency=medium [ Brian Murray ] * Add an option to replace the mirror used in /etc/apt/sources.list with one of your choosing. (LP: #1290584) * debian/tests/control: add in missing make dependency [ Michael Vogt ] * Resolve unicode decode error for sources.list files if locale is unsupported. (LP: #1309447)

    2014-02-24 - Brian Murray <brian@ubuntu.com> apt-clone (0.3.1~ubuntu11) trusty; urgency=medium * lp:~brian-murray/apt-clone/test_clone_upgrade_ports: - fix test failure for ppc64el

    2014-02-22 - Michael Vogt <michael.vogt@ubuntu.com> apt-clone (0.3.1~ubuntu10) trusty; urgency=low [ Brian Murray ] * lp:~brian-murray/apt-clone/test_clone_upgrade_ports: - fix test failure for armhf [ Michael Vogt ] * fix test failure for ppc64el

    2014-02-20 - Steve Langasek <steve.langasek@ubuntu.com> apt-clone (0.3.1~ubuntu9) trusty; urgency=medium * tests/data/apt-state.tar.gz: remove 'acpi-support' from the test case, since this package is arch-specific and we want our tests to work consistently across archs.

    2014-02-10 - Brian Murray <brian@ubuntu.com> apt-clone (0.3.1~ubuntu8) trusty; urgency=medium * Fix path for setting permissions of restored /etc/apt/sources.list