You are not logged in.

#1 2002-08-13 08:24:51

tohdol
Member
From: South Korea
Registered: 2002-08-13
Posts: 6

pkg cache directory does not exist

at the very firts time when 'pacman --sync' is issued
pacman complains that cache dir doesn't exist in /var/cache/pacman
it would be configured by default for a newbie like me smile


[root@pacman root]# pacman --sync xautolock

Targets: xautolock-2.1-1

Do you want to install/upgrade these packages? [Y/n]

:: Downloading packages...
warning: no /var/cache/pacman/pkg cache exists.  creating...
warning: couldn't create package cache, using /tmp instead
xautolock-2.1-1.pkg.tar. [#################################] 100% |     13K
checking for conflicts... done.
installing xautolock... done.

Offline

#2 2002-08-13 08:33:30

ody
Member
From: Manchester, UK
Registered: 2002-08-12
Posts: 216
Website

Re: pkg cache directory does not exist

What version of AL / pacman are you running and what install procedure did you follow?

Offline

#3 2002-08-13 09:09:37

tohdol
Member
From: South Korea
Registered: 2002-08-13
Posts: 6

Re: pkg cache directory does not exist

pacman version is 2.0 with AL 0.3(stock kernel 2.4.19)

[root@pacman rc.d]# pacman --version

.--.                    Pacman v2.0
/ _.-' .-.  .-.  .-.     Copyright (C) 2002 Judd Vinet <jvinet@zeroflux.org>
   '-. '-'  '-'  '-'   
  '--'                    This program may be freely redistributed under
                           the terms of the GNU GPL

[root@pacman rc.d]# uname -a
Linux pacman 2.4.19 #1 SMP Mon Aug 5 21:50:31 PDT 2002 i686 unknown

i installed AL 0.3 with cdrom image

ody wrote:

What version of AL / pacman are you running and what install procedure did you follow?

Offline

#4 2002-08-13 09:38:22

ody
Member
From: Manchester, UK
Registered: 2002-08-12
Posts: 216
Website

Re: pkg cache directory does not exist

ok try running:

pacman -Syu

let me know how it goes.

Offline

#5 2002-08-13 10:47:54

Guest
Guest

Re: pkg cache directory does not exist

i issued the command as like "pacman -Syu"
several packages have been updated including pacman itself
no problem cuz i did it after i made the cache folder on which pacman complained

after pacman updated, i gave a try to remove  cache dir of pacman, which i made of and reran the pacman
pacman complained again.. trying to store the downloaded pkg into /tmp
after all pkg was installed, there was nothing in /tmp



ody wrote:

ok try running:

pacman -Syu

let me know how it goes.

#6 2002-08-13 10:53:44

ody
Member
From: Manchester, UK
Registered: 2002-08-12
Posts: 216
Website

Re: pkg cache directory does not exist

dont remove the cache dir then? wink

Offline

#7 2002-08-13 11:25:20

Guest
Guest

Re: pkg cache directory does not exist

ok! pacman works as expected

ody wrote:

dont remove the cache dir then? wink

#8 2002-08-13 16:54:30

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: pkg cache directory does not exist

The  /var/cache portion of the path must already exist, which means the filesystem package must be installed.  From there, pacman should automatically create /var/cache/pacman/pkg if it does not already exist.

- J

Offline

#9 2002-08-14 05:11:54

tohdol
Member
From: South Korea
Registered: 2002-08-13
Posts: 6

Re: pkg cache directory does not exist

you're right. pacman trys to create "pkg" dir in /var/cache/pacman if it isn't there
but pacman fails to do
see my log above, the first thread

apeiro wrote:

The  /var/cache portion of the path must already exist, which means the filesystem package must be installed.  From there, pacman should automatically create /var/cache/pacman/pkg if it does not already exist.

- J

Offline

#10 2002-08-14 06:57:58

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: pkg cache directory does not exist

It could fail for two common reasons:  a) it was on a read-only filesystem; or b) /var/cache didn't exist beforehand.

Offline

#11 2019-06-07 00:28:00

damachine
Member
From: Frankfurt, Germany
Registered: 2018-04-06
Posts: 20

Re: pkg cache directory does not exist

tohdol wrote:

at the very firts time when 'pacman --sync' is issued
pacman complains that cache dir doesn't exist in /var/cache/pacman
it would be configured by default for a newbie like me smile


[root@pacman root]# pacman --sync xautolock

Targets: xautolock-2.1-1

Do you want to install/upgrade these packages? [Y/n]

:: Downloading packages...
warning: no /var/cache/pacman/pkg cache exists.  creating...
warning: couldn't create package cache, using /tmp instead
xautolock-2.1-1.pkg.tar. [#################################] 100% |     13K
checking for conflicts... done.
installing xautolock... done.

Offline

#12 2019-06-07 00:30:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: pkg cache directory does not exist

Wow! A 17 year necrobump with an empty post. That's some record breaking cretinism, right there...

https://wiki.archlinux.org/index.php/Co … bumping.22
https://wiki.archlinux.org/index.php/Co … mpty_posts



Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB