Aptoncd not listing all installed programs

Asked by Rizlaw

Perhaps I'm missing something, but I was under the impression, from reading the the Sourceforge "Home" page and "Help" info, that "all" of my Apt and Synaptic installed packages would automatically be selected and copied to an "iso" image to be burned.

However, the list produced by "aptoncd" does not include many of my installed programs. For example: Opera, Grip, gpodder, Gnome Commander, Firestarter, Avant Window Manager and Vmware Workstation 6, to name but a few missing apps.

Can the program do this automatically or not? If so, how do you set it up to read and copy "everything" that was user installed? I installed "aptoncd" using Synaptic Package Manager, running the final release version of Gutsy 7.10.

Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
APTonCD Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Rafael Proença (cypherbios) said :
#1

Hi,

From the website:
"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."

Which means exactly what said above: only the packages installed using APT (apt-get, aptitude, synaptic, adept, update-manager, etc). It uses the cached packages to build a removable repository within the original packages saved on your computer. It does not include packages installed manually with dpkg, gdebi, or built from source code, and so forth.

Regards.

Revision history for this message
Kurosu (kurosu) said :
#2

I have the same problem, except that *no* packet is listed. So I need to clarify a point. Does it list:
- packages for which a .deb file is found, usually in /var/cache/apt (as I think from reading the docs)
OR
- packages that the system reports to be installed? (much more interesting to me)

As soon as I do apt-get clean, the list displayed by aptoncd is cleared, so the first list is probably what is displayed.

However, I'd like to be able to do an offline install of an ubuntu system, using the normal CD, plus additional debs not found on it (other repositories/updated versions/...). In a way, the diff between original list of packages installed by ubuntu, and current list.

Revision history for this message
jlambrecht (commandline.be) said :
#3

The issue reported above does appear to happen to me too.

Aptoncd is reporting over 7GB of packages installed for which synaptic reports about 1700 packages installed. ALL packages were installed using apt or (very rarely) dpkg related utilities.

When creating an image from aptoncd a mere 710 packages accounting for about 1GB are written.

Revision history for this message
Josir (josir-jsk) said :
#4

HI Rafael, I have the same problem of jlambrecht and Kurosu. All missing applications were installed from apt and they still don't appears on aptoncd.
Does someone has any glue ?

Suggestion to lauchpad: people could reopen an issue if they found it was not solved.

Revision history for this message
Josir (josir-jsk) said :
#5

Hi Rafael, sorry to bother.
In fact, all debian packages were listed. For some reason, my precious deb files were removed.

Is there a way to "cache" again the installed packages, that is, to download the installed packages to my computer.
I want to make a DVD to use on the InstallFest in Rio (Flisol 2008) and I intended to use APTONCD to not waste bandwidth.
Thanks in advance,
Josir.

Revision history for this message
Rafael Proença (cypherbios) said :
#6

Hi Josir,

Thanks for your comments.

Yes, actually there is a way to "rebuild" all the .deb if you have them installed but does not have them cached anymore.
You can use a utility called "dpkg-repack", it will create a .deb package of any application that have been installed with APT.

The use is simple: "dpkg-repack packagename". But of course, you have several packages to recreate and you don't know the names of them all or just don't want to type one by one, in this case you can do as follow:

$ 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.

Good luck!
Regards.

Revision history for this message
Josir (josir-jsk) said :
#7

Rafael, it worked like a charm :)
Thanks a lot. Your tool and support are really great.
Health and freedom, Josir.

Revision history for this message
abhiroopb (abhiroopb241088) said :
#8

Rafael, solution worked perfectly, although I would like to point out that it also downloaded packages which were not installed by APT (such as avast4workstation, which I got from the avast website).

Revision history for this message
Avinash.Rao (avinash-aol) said :
#9

This is really cool. But, will this make a copy of all the .deb packages installed on the machine or the packages that were downloaded. In my case, i had a system installed with Ubuntu 8.04 and was updated. I used APTONCD and created the packages that came upto 170MB! I used this on another newly installed OS, i could update all these packages, but the new system still downloaded critical/important updates close to 300MB and installed!! :D

Revision history for this message
Milly R. (millybreak) said :
#10

Didn't work for me: first no applications show up, andnow, after Rafaels' instructions on dpkg-repack, the only app that comes on the list is just that: dpkg-repack.
Any additional idea's?

Can you help with this problem?

Provide an answer of your own, or ask Rizlaw for more information if necessary.

To post a message you must log in.