You are not logged in.
My ISP recently changed their "fair access policy" and I now have extremely limited bandwidth. Is there any way I can schedule pacman to download upgradeable packages between 3 and 6 am (when the policy is exempt) so I can install them at my leisure?
Offline
Just add "pacman -Syuw" to crontab.
Offline
The problem is that pacman always asks if you want to continue downloading the packages; it seems to require user intervention, otherwise i could just set that up.
Offline
Pacman has the option "--noconfirm", which does exactly what you'd expect.
Offline
I think the following should work. Do
pacman -Sup | grep "ftp://" > /tmp/pkg_url_file
manually so you can answer pacman's questions. Then schedule
wget -c -i /tmp/pkg_url_file -P /var/cache/pacman/pkg
to run during your download window. The only possible problem with this is that any packages which have been updated between the two commands will not be downloaded.
If you're confident in letting pacman decide the answer to questions, you could just add "--noconfirm" to what lucke suggested.
Last edited by loserMcloser (2007-07-27 19:39:09)
Offline
I think the following should work. Do
pacman -Sup | grep "ftp://" > /tmp/pkg_url_file
manually so you can answer pacman's questions. Then schedule
wget -c -i /tmp/pkg_url_file -P /var/cache/pacman/pkg
to run during your download window. The only possible problem with this is that any packages which have been updated between the two commands will not be downloaded.
If you're confident in letting pacman decide the answer to questions, you could just add "--noconfirm" to what lucke suggested.
That sounds good, I'll give it a try. Thanks for the help guys.
Offline