You are not logged in.
Pages: 1
When im installing packages from /var/cache/pacman/pkg do i have to install all the dependices individually or is there an option i can use to install a package with all the dependices.THX
Offline
Offline
I've tried using pacman -U and i get an error :
check dependices
error:failed to check transaction(could not satisfy dependices)
I have all the the required dependices but it still wouldn't work.I had no problem installing the packages individuallyso im not sure whta the problem is.I'll be installing xorg soon and i would rather install it from /var/cache/pacman/pkg instead of having to re-download it
Offline
Maybe the packages you have in your cache are old and pacman downloads the new versions.
It may happen with come old packages: some dependencies are no longer in the repos etc. What packages exactly gave you those errors?
xorg got some new dependencies some time ago (package unbundling) http://mailman.archlinux.org/pipermail/ … 18235.html
Last edited by karol (2010-12-03 22:56:03)
Offline
-U, --upgrade
Upgrade or add package(s) to the system and install the required dependencies from sync repos.
The pacman cache is not a sync repo.
Offline
pacman man page wrote:-U, --upgrade
Upgrade or add package(s) to the system and install the required dependencies from sync repos.The pacman cache is not a sync repo.
Offline
I've tried using pacman -U and i get an error :
check dependices
error:failed to check transaction(could not satisfy dependices)I have all the the required dependices but it still wouldn't work.I had no problem installing the packages individuallyso im not sure whta the problem is.I'll be installing xorg soon and i would rather install it from /var/cache/pacman/pkg instead of having to re-download it
Please paste the whole command and it's entire output, otherwise we have no idea what you're doing.
//github/
Offline
"pacman -Us <packagefile>" will make pacman try to install deps from the repos.
Offline
Offline
Argh... crap... you are right. pacman does it automatically if deps are available in the repos
Offline
uniix, in case the above rambling is unclear to you: if you wish to install packages and their dependencies from your pacman cache using pacman -U, you need to make the cache into a repo using repo-add, and then add that repo to your pacman.conf.
Offline
Ok, now i'm confused.
If I pacman -U a package that requires (uninstalled) foo and bar from, say, [core] and [extra]. Will the new pacman behavior not add those targets?
If if those (uninstalled) package-versions also happen to still be in my cache, won't pacman use the cached packages rather than re-downloading?
And isn't that what's desired here?
//github/
Offline
As of pacman 3.4, -U is handled much like -S and will pull in necessary dependencies. To test:
# pacman -Sdw couchdb
< stuff happens >
# pacman -U /var/cache/pacman/pkg/couchdb-1.0.1-2-i686.pkg.tar.xz
resolving dependencies...
looking for inter-conflicts...
Targets (3): erlang-R14B-1 spidermonkey-1.7.0-3 couchdb-1.0.1-2
Total Download Size: 36.52 MB
Total Installed Size: 125.93 MB
Proceed with installation? [Y/n]
If you were to cancel out of this operation after the download but before the install and repeat, it'll happily pull in the cached packages.
Offline
Good, so all the OP should have to do is -U his cached package. Unless he actually wants a not-found error rather that pulling non-cached deps from actual repos...
I still think something else is going on causing irresolvable deps. Won't know till he answered #7.
//github/
Offline
Pages: 1