feature request: using host's apt cache

Asked by amisis

Hi!

I really love uck, even if i haven't used it for anything seriuous yet.
My greatest problem is about upgrading the chrooted system...I wanna craft an edgy iso, and i'm working on an edgy too, so it would be nice if it was possible for the program to connect with the apt-cache of the host pc and taking new requested deb from there instead of downloading again from the net...
It would be really bandwith and time saving.
Something like a little text form asking if the program should try to search the local hard disk or the net would do the job..

Is this possible, or the chroot jail forbid this without any chance?

Greeting, and sorry for language mistake
Enrico

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Customization Kit Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Krzysztof Lichota (krzysiek-launchpad-ubuntu-com) said :
#1

Using apt cache from host is really tricky, because UCK would have to know that system you are customizing has the same version as your host, that your host is using the same repositories, etc.
I would prefer to avoid that.

If you are sure your packages match the ones you want to use in customized system, you can copy your apt cache into ~/tmp/remaster-apt-cache and customization process will use it.

Revision history for this message
Valombre (valombre-d) said :
#2

Another way to do is to use the apt-proxy deb system, installing and configure it on your station, then in the chroot env modify temporally the sources.list to point to your apt-proxy server.
I'm using this kind of trick at home, at office i have another way using a standard proxy in transparent mode (ipcop) with a huge param for the cache and like i use the same repositories in my standard sources.list and in the chroot one it goes well.

Can you help with this problem?

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

To post a message you must log in.