You are not logged in.

#1 2007-08-15 02:21:17

MW
Member
Registered: 2007-07-27
Posts: 127

Local repository installation

I have read all the wiki articles and also found this post:
http://bbs.archlinux.org/viewtopic.php?id=30431

For some reason I cannot install form the local repository in /va/cache/pacman/pkg for the life of me!

Every time I try and install something, like KDE-mod it constantly tries to connect to the internet and download the pacage although it is in /var/cache/pacman/pkg:

[root@carley carley]# pacman -S kdemod-complete
:: group kdemod-complete:
    kdemod-arts  kdemod-kde-common  kdemod-kdeaccessibility  kdemod-kdeaddons-base
    kdemod-kdeaddons-knewsticker-scripts  kdemod-kdeaddons-ksig
    ...............
    kdemod-theme  kdemod-ui-kdemod  qt-enhanced
:: Install whole content? [Y/n] y
resolving dependencies... done.
looking for inter-conflicts... done.

Targets: kdemod-kde-common-3.5.7-7  qt-enhanced-3.3.8-11  kdemod-arts-1.5.7-5
         kdemod-kdelibs-3.5.7-13  hwinfo-13.28-1  kdemod-ui-kdemod-1.0-1
         kdemod-kdebase-3.5.7-17  kdemod-kdeaccessibility-3.5.7-2
         kdemod-kdepim-base-3.5.7-4  kdemod-kdemultimedia-base-3.5.7-4
         kdemod-kdeaddons-base-3.5.7-4  kdemod-kdeaddons-knewsticker-scripts-3.5.7-2
         ...........................
     
Total Package Size:   276.07 MB
Total Installed Size:   527.28 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from kdemod...
error: failed retrieving file 'kdemod-kdelibs-3.5.7-13-i686.pkg.tar.gz' from kdemod.ath.cx : Transient resolver failure
error: failed retrieving file 'kdemod-ui-kdemod-1.0-1-i686.pkg.tar.gz' from kdemod.ath.cx : Transient resolver failure
error: failed retrieving file 'kdemod-kdebase-3.5.7-17-i686.pkg.tar.gz' from kdemod.ath.cx : Transient resolver failure
error: failed retrieving file 'kdemod-kdepim-base-3.5.7-4-i686.pkg.tar.gz' from kdemod.ath.cx : Transient resolver failure
error: failed retrieving file 'kdemod-kdepim-akregator-3.5.7-3-i686.pkg.tar.gz' from kdemod.ath.cx : Transient resolver failure
error: failed retrieving file 'kdemod-kdevelop-3.4.1-3-i686.pkg.tar.gz' from kdemod.ath.cx : Transient resolver failure
warning: failed to retrieve some files from kdemod
error: failed to commit transaction (unexpected error)

pacman keeps trying to connect to the internet to install!

Is there an option I should pass to force it to install from the local cache?

I can install with pacman -U /package but this will take ages for all the kde-mod packages.

sad

Last edited by MW (2007-08-15 02:28:58)

Offline

#2 2007-08-15 05:46:52

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Local repository installation

pacman should automatically use the packages in the cache unless they are older than the ones in the repo.

Offline

#3 2007-08-15 08:33:41

MW
Member
Registered: 2007-07-27
Posts: 127

Re: Local repository installation

The packages in the cache is up to date, of that I'm 100% sure.

Offline

#4 2007-08-15 11:19:50

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Local repository installation

Could you paste the above pacman output with --debug flag ?
And also maybe output of ls -l /var/cache/pacman/pkg


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB