You are not logged in.
Pages: 1
i want to install a program that requires several packages. some of the packages are already stored in /var/cache/pacman/pkg and so i don't want pacman to download them again.
but when i do pacman -S myprog it seems he wants to download them all.
how to workaround this?
Offline
i want to install a program that requires several packages. some of the packages are already stored in /var/cache/pacman/pkg and so i don't want pacman to download them again.
but when i do pacman -S myprog it seems he wants to download them all.
how to workaround this?
it's going to tell you it will download them, but when it actually does the downloading, it'll check the cache first and not download it...
Offline
Unless the packages in /var/cache/pacman/pkg are outdated of course, then pacman will get the latest version off the repos.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
so if pacman lists me all packages and tells me these are 100 mb and i got 90mb in the cache it will actually download only 10 mb...?
how can i check if my packages aren't out of date?
Offline
so if pacman lists me all packages and tells me these are 100 mb and i got 90mb in the cache it will actually download only 10 mb...?
how can i check if my packages aren't out of date?
what are you trying to accomplish here? you're going to download them in order to update your system anyway, just let pacman do it's thing...
pacman: "ok, I need to update packageA to version 1.2.3"
user: "yes, update it"
pacman: "ok, well, here's the package size... hey cool! it's in the cache, let's install it"
user: "thanks pacman, you're the best"
user and pacman embrace
Offline
so if pacman lists me all packages and tells me these are 100 mb and i got 90mb in the cache it will actually download only 10 mb...?
how can i check if my packages aren't out of date?
yes, if need be, it will download missing package dependancies (the 10mg difference in your case).
Pacman compares a current database (from a -Sy command) and checks for the latest packages in your cache first before installing or reinstalling. So, if you have an outdated package in you cache, pacman will recognized it and download the latest version from the repos.
Offline
Pages: 1