Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange issue with alternate roots. #8

Open
brisingraerowing opened this issue Mar 4, 2015 · 1 comment
Open

Strange issue with alternate roots. #8

brisingraerowing opened this issue Mar 4, 2015 · 1 comment

Comments

@brisingraerowing
Copy link

I am using the -r option on Pacman to install to a different root (some Mingw stuff), as well as the -b and --logfile options to point to the default pacman stuff ('/var/lib/pacman'). For some reason Pacman cannot find that directory.

Command line used:

pacman -S --debug -r /mingw64-mono-llvm -b /var/lib/pacman --logfile /var/log/pacman.log mingw-w64-x86_64-gtk3

Output from the --debug switch is below

debug: pacman v4.2.1-197-g7e109-dirty - libalpm v9.0.1
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: arch: x86_64
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'mingw32'
debug: config file /etc/pacman.conf, line 73: including /etc/pacman.d/mirrorlist.mingw32
debug: config: new section 'mingw64'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist.mingw64
debug: config: new section 'msys'
debug: config file /etc/pacman.conf, line 79: including /etc/pacman.d/mirrorlist.msys
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
error: failed to initialize alpm library
(could not find or read directory: /var/lib/pacman)
@Alexpux
Copy link
Owner

Alexpux commented Mar 4, 2015

4 марта 2015 г., в 21:32, Brisingr Aerowing [email protected] написал(а):

I am using the -r option on Pacman to install to a different root (some Mingw stuff), as well as the -b and --logfile options to point to the default pacman stuff ('/var/lib/pacman'). For some reason Pacman cannot find that directory.

Command line used:

pacman -S --debug -r /mingw64-mono-llvm -b /var/lib/pacman --logfile /var/log/pacman.log mingw-w64-x86_64-gtk3
Output from the --debug switch is below

debug: pacman v4.2.1-197-g7e109-dirty - libalpm v9.0.1
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: arch: x86_64
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'mingw32'
debug: config file /etc/pacman.conf, line 73: including /etc/pacman.d/mirrorlist.mingw32
debug: config: new section 'mingw64'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist.mingw64
debug: config: new section 'msys'
debug: config file /etc/pacman.conf, line 79: including /etc/pacman.d/mirrorlist.msys
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
error: failed to initialize alpm library
(could not find or read directory: /var/lib/pacman)

First you need create /var/lib/pacman in new root, then synchronize database in new root.
And next install package in new root.

Regards,
Alexey.


Reply to this email directly or view it on GitHub #8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants