Hello, 

(please reply 'to all' i'm not onlist)

Does anybody know if there's a package manager out where i can
mark a package for 'download only' ?
This is debian unstable.

I think i should explain the background, i'm also intersested to hear
suggestion how this issue could be solved differently.
This text was written as feature request for aptitude, please
excuse it's so lenghty.

I use aptitude to control a cache that is a repository (or proxy cache).
On a LAN of several laptops and PCs, i use aptitude with apt sources 
pointing to a dedicated 'apt-proxy' packages server, within the LAN, 
which delivers packages from a cache, requesting them from internet
sources only if necessary.
 
The proxy allows fine-tuning of the versions to keep available locally, 
and is speeding up download very much for any further than the first one.
It is very confortable to update different laptops this way, at LAN speed.
Especially if your download link is only ADSL1000, which is quite widepsread
nowadays in Europe. 

Another cool thing is, i can install apt-proxy on a laptop, too, and use that 
to do 
updates or even installations on boxes which have no internet connection at 
all (or maybe only modem dialup per phoneline).

I think it would be possible to do nearly the same with a simple /var/cache/apt 
only, configuring that as LAND repository for the other machines.

Anyway. The problem is i have to provide all necessary packages on this laptop, 
which menas o have top keep lots of installed which i never there. 
If i could mark packages in a package manager on the PC with the repository, or 
where the main packages server is running, as 'Download Only' then i could mark 
anything i ever may need, on any laptop  or machine to install, and then just 
copy 
the cache to a laptop (eventually running apt-proxy too) when i need it 
anywhere 
else, at places with no [fast] connection.

Another benefit is, i could do the 'slow' regular update from the internet 
sources 
once at one computer, where updating laptops would always run at LAN speed.
It also relieves much load from the WAN link, too (this is a WLAN behind a 
router,
shaed by several parties).

The 'download only' marker would imply that it is not installed, so it's a kind 
of
special 'update' flag, with no dependency trigger: Of course, only a previously 
installed version would be relevant for depencency management.
I don't know how that could be implemented in the package manager database, 
best would be, not at all :) just add the flag and regard this when performing
any update actions.


Kind regards, 

micha


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to