[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt question



Hello,

I'd like to use apt to help me build a partial debian mirror on CD.
I have a plain text package list with the packages I want, and I need to
fetch all the debs associated with them and their dependencies,
*including* those that are already installed.
I can't seem to have apt do this last thing, though.
Afterwards, I could take all the debs from the apt cache and dispatch
them inside my mirror.

What I'm currently doing is:

apt-get  --reinstall -y -o dir::cache=localcache/ -d install pkg1 pkg2
...

but I'd need a --ignore-dpkgstatus or --force-fetch or something.

Can you see a way to achieve what I want to do, even with other tools ?

Thank you a lot for any answer.



Reply to: