Решено: Место хранения пакетов и базы данных пакетов.

Модератор: Модераторы разделов

Аватара пользователя
jojahti
Сообщения: 310

Решено: Место хранения пакетов и базы данных пакетов.

Сообщение jojahti »

Нужно перенести пакеты на другую машину.
А отсюда такие вопросы:
Где хранятся сами пакеты?
Где хранится их база?
Достаточно ли их просто скопировать?

АГА(P.S.)
Пакеты /var/cache/pacman/pkg/ а где база х.з.
Спасибо сказали:
dhampire
Сообщения: 409
ОС: arch x86_64

Re: Решено: Место хранения пакетов и базы данных пакетов.

Сообщение dhampire »

jojahti писал(а):
18.05.2010 11:58
Нужно перенести пакеты на другую машину.
А отсюда такие вопросы:
Где хранятся сами пакеты?
Где хранится их база?
Достаточно ли их просто скопировать?

АГА(P.S.)
Пакеты /var/cache/pacman/pkg/ а где база х.з.

распакованные тары c базой - /var/lib/pacman

а вообще man же есть

Код: Выделить всё


....
RootDir = path/to/root
           Set the default root directory for pacman to install to. This option is used if you want to install a package on a temporary mounted partition which is "owned" by another system, or for a
           chroot install.  NOTE: If database path or logfile are not specified on either the command line or in pacman.conf(5), their default location will be inside this root path.

       DBPath = path/to/db/dir
           Overrides the default location of the toplevel database directory. A typical default is “/var/lib/pacman/”. Most users will not need to set this option.  NOTE: if specified, this is an
           absolute path and the root path is not automatically prepended.

       CacheDir = path/to/cache/dir
           Overrides the default location of the package cache directory. A typical default is “/var/cache/pacman/pkg/”. Multiple cache directories can be specified, and they are tried in the order
           they are listed in the config file. If a file is not found in any cache directory, it will be downloaded to the first cache directory with write access.  NOTE: this is an absolute path, the
           root path is not automatically prepended.

       LogFile = /path/to/file
           Overrides the default location of the pacman log file. A typical default is “/var/log/pacman.log”. This is an absolute path and the root directory is not prepended.
.....
Спасибо сказали:
Аватара пользователя
shevan
Сообщения: 992
ОС: Debian, Puppy

Re: Решено: Место хранения пакетов и базы данных пакетов.

Сообщение shevan »

pacman.conf обследуй
Спасибо сказали:
Аватара пользователя
jojahti
Сообщения: 310

Re: Решено: Место хранения пакетов и базы данных пакетов.

Сообщение jojahti »

Сэнкс. :)
Спасибо сказали: