Create backup of all packages using APTonCD in Ubuntu

APTonCD is a tool with a graphical interface which allows you to create one or more CDs or DVDs (you choose the type of media) with all of the packages you’ve downloaded via APT-GET or APTITUDE, creating a removable repository that you can use on other computers.One thing you need to remember this will create backup all the packages installed using apt-get,synaptic because these package arcives are stored in /var/cache/apt/archives

APTonCD will also allow you to automatically create media with all of your .deb packages located in one especific repository, so that you can install them into your computers without the need for an internet conection.

APTonCD Features

Create media with all your downloaded packages;

Create media with all packages from an especific repository

Download all official Ubuntu repositories (main,restricted,universe and multiverse) into removable media (CD/DVD);

Perform backup/restore all packages installed via apt;

Install, with the same CD/DVD, the same programs into several different machines;

Upgrade softwares/packages for several different machines, downloading them only one time;

Install APTonCD in Ubuntu

sudo apt-get install aptoncd

or you can download .deb package from here once you have this you can install using the following command

sudo dpkg -i aptoncd_0.1beta-1_all.deb

Backup all your installed Packages

This will complete the installation and if you want to open the application go to System -> Administration -> AptonCD

Once it opens you should see the following screen

In the above screen you can see two tabs called create and restore first one is create tab now if you want to create a backup of your installed packaged you need to click on “Create AptonCD” now you should see the following screen reading all the available packages from /var/cache/apt/archives directory Once it read all the packages and you should see the following screen

Here you can add any other packages you want to add and click ok

Here you can see APTonCD creating the necessary CD/DVD image and saves it in the location you had chosen is in progress

Here you can see the .iso image stored successfully in the location i had chosen and you can use this image you can burn CD/DVD

Restore Packages

If you want to restore your backup you need to click on restore tab now you should see the following screen this is having three options as follows

Restore APTonCD

Restores all packages available from an APTonCD media to your computer

Restore .iso Image

Restores packages from an APTonCD .iso image previously generated and stored locally


Add a CD or DVD created as a repository for apt-get,aptitude or synaptic

You can choose which one is suitable for you and restore all your packages

APTonCD Version Details

This tools is very useful if you want to install same packages in different machine you can save your bandwidth and if you have slow internet connection

Sponsored Link

12 thoughts on “Create backup of all packages using APTonCD in Ubuntu

  1. Hi, I am a newbie here. I managed to create the iso image from one PC and burn it to cd. I have installed aptoncd script on other PC, I wanted to use the cd as a repository. So I choose the third option (add CD/DVD), from this point I dont’t know what to do next. Appreciate if any body can help me.

  2. I have 10 servers and potentially 40 PCs to install. Can I sue this software as a source for the applications and updates? Even with 6.10 there is still 50MB+ of updates and I want to minimise the downloads. If this won’t cache the updates can you suggest an alternative? I use IPCOP based Endian Firewall with HTTP caching turned on. Will the requests for updates result in local downloads from the cache?

  3. Adding a CD creates an entry for Synaptic (apt-get etc) so they will use the CD as a source.
    When you want to add a program, the installation tools will now use the CD (or prompt for it if you don’t have it in the drive.

    To stop Synaptic going and looking for a non-existant internet connection,
    Open System>Administration>Synaptic Package manager. Then select Settings>Repositories and on the Installation Media tab, uncheck all entries except the CD (or DVD) disks. (You should see the CD you added already checked).

  4. I have tried to install the package but,…this massage bellow appear :
    Selecting previously deselected package aptoncd.
    (Reading database … 99016 files and directories currently installed.
    Unpacking aptoncd (from aptoncd_0.1beta-1_all.deb) …
    dpkg: dependency problems prevent configuration of aptoncd:
    aptoncd depends on apt-utils; however:
    Package apt-utils is not installed.
    aptoncd depends on synaptic; however:
    Package synaptic is not installed.
    aptoncd depends on python-apt; however:
    Package python-apt is not installed.
    aptoncd depends on python-glade2; however:
    Package python-glade2 is not installed.
    aptoncd depends on lsb-release; however:
    Package lsb-release is not installed.
    aptoncd depends on gksu; however:
    Package gksu is not installed.
    aptoncd depends on python-dbus; however:
    Package python-dbus is not installed.
    aptoncd depends on python-gtk2; however:
    Package python-gtk2 is not installed.
    dpkg: error processing aptoncd (–install):
    dependency problems – leaving unconfigured
    Errors were encountered while processing:

    Please help me

  5. first thing make sure you have universe repositories are enable or not in /etc/apt/sources.list file and then try to run the following command

    sudo apt-get -f install

    Hope this helps

  6. 1. Create media with all packages from an especific repository
    2. Download all official Ubuntu repositories (main,restricted,universe and multiverse) into removable media (CD/DVD);

    HOW do I do that?
    I would like to make myself a local mirror of everything (or at least a big part of) what’s in the official repositories, but I can’t simply download a selected bunch of packages using apt-get because of the dependency resolving mechanism which freezes synaptic or gives an error saying about broken dependencies.

  7. High Speed USB 2.0 pen drives makes transferring files between PCs, notebooks and MACs quick and easy. They work with any computer with a USB socket, compatible with Microsoft Windows 98SE, ME, 2000, and XP / Apple Mac 8.6+, 9.0+ and OS X. Perfect for moving any files between school, office and home.

    Store, carry and transfer large files in an affordable, convenient device
    It works with virtually any computer with a USB port
    As easy as click and drag, simple to use, portable
    The transfer rate is 40x faster than USB 1.1. Most current PC’s will have these faster USB Ports available.

  8. Hi
    I have some problem please help.
    When i run the program it starts to load the Debian files. but when it reaches 50% it suddenly stops and disappear. then nothing happens. please help me.

  9. Hi, I’m just install aptoncd version APTonCD 0.1.98-0ubuntu4 on Ubuntu 9.04 (jaunty),
    But It’s always terminate abnormally after 62% (reading packages) when I try to Create.
    My Notebook was HP6530b With Memory 4 GB

    Can anyone help pls ?


    Eddy P

  10. Excellent SysAdmin Utility,
    I have a couple different machines that run ubuntu. They’re all amd64 and run essentially the same setup (minus some .conf files). This software has made my backup/disaster recovery so much simpler. Thank you kindly …

  11. Great program! I’ve been looking for a simple way to back up and reuse my treasured ubuntu distro. I used the aptoncd program to create an .iso file of the packages I wanted to reuse. Then I installed ubuntu 9.10 in Virtualbox on Windows Vista Home Basic. 🙂 This is great, as Grub did not install. My previous experience with the Grub program has been Traumatic! My Ubuntu version, someway or another corrupted my Windows version on another pc, which sucked. As of know, I have Karmic Koala running on Vista, with 2Gb or Ram, abit costly but worth it. So very easy!!!!

Leave a comment

Your email address will not be published. Required fields are marked *