FS#24241 - [packagekit] faulty cache dir use

Attached to Project: Community Packages
Opened by Ike Devolder (BlackEagle) - Thursday, 12 May 2011, 12:51 GMT
Last edited by Jonathan Conder (PirateJonno) - Friday, 13 May 2011, 14:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jonathan Conder (PirateJonno)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

it seems like the following needs to be changed:
PK_BACKEND_DEFAULT_CACHEDIR = $(localstatedir)/cache/pacman/pkg
to
PK_BACKEND_DEFAULT_CACHEDIR = $(localstatedir)/cache/pacman/pkg/


problem was solved by editing /etc/PackageKit/alpm.d/pacman.conf
adding: CacheDir = /var/cache/pacman/pkg/

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:

use packagekit to install packages

this is there for a long time yet, just didnt notice it before


# pwd
/var/cache/pacman

#ls
pkg pkgkdegames-libkdegames-4.6.3-2-x86_64.pkg.tar.xz pkgogmrip-0.13.6-2-x86_64.pkg.tar.xz
pkga52dec-0.7.4-5-x86_64.pkg.tar.xz pkgkdegraphics-gwenview-4.6.2-1-x86_64.pkg.tar.xz pkgopenexr-1.7.0-1-x86_64.pkg.tar.xz
...
This task depends upon

Closed by  Jonathan Conder (PirateJonno)
Friday, 13 May 2011, 14:33 GMT
Reason for closing:  Fixed
Comment by Jonathan Conder (PirateJonno) - Friday, 13 May 2011, 13:14 GMT
Nice catch, thanks! I sometimes wondered why I seemed to be downloading packages I already had in the cache. I'll upload a new package soon

Loading...