Find the answer to your Linux question:
Results 1 to 2 of 2
Hey guys, I found this cool app called Apt on CD, and I need it to back up my applications before I reinstall Ubuntu. Where can I find the complete ...
  1. #1
    Linux Newbie DaCalebMan's Avatar
    Join Date
    Jun 2009
    Location
    Mengwi, Bali, Indonesia
    Posts
    148

    [SOLVED] Apt on CD

    Hey guys, I found this cool app called Apt on CD, and I need it to back up my applications before I reinstall Ubuntu. Where can I find the complete packaged .deb? Because the PC I'm installing this on doesn't have internet. And gdebi wants to download extras with it.

    Thanks,

    ~Caleb

  2. #2
    Linux Newbie DaCalebMan's Avatar
    Join Date
    Jun 2009
    Location
    Mengwi, Bali, Indonesia
    Posts
    148
    Okay, never-mind. I downloaded the source code instead.
    But I noticed a little problem too. The directory APTonCD looks for .deb files was empty! Later I realized that the problem was my empty cache. I had set ubuntu to flush the cache every-so-often to save space. There's no way to get those files back, but there is a way to re-package installed apps...

    Use this code:
    HTML Code:
    $ sudo apt-get install dpkg-repack fakeroot
    $ mkdir ~/dpkg-repack; cd ~/dpkg-repack
    $ fakeroot -u dpkg-repack `dpkg --get-selections | grep install | cut -f1`
    It will recreate all your .deb packages in the current directory, which you can use APTonCD to add those files to the medium to be created.

    Woohoo!

    I saved my own problem. Hope this helps other too.

    ~Caleb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...