You are not logged in.

#1 2012-04-02 13:14:37

cercasi2
Member
From: Kreuzberg 61
Registered: 2009-02-17
Posts: 6

[SOLVED] Install over sshfs // pacman alpm problem

I'd like to install a base arch linux in a non-root directory on a remote computer.

I tried the instructions from: https://wiki.archlinux.org/index.php/In … get_system
I have my remote directory mounted and naively thought this should work as well. Both machines are X68_64

However, when performing the first pacman operation, I get

pacman -Sy -root=/mnt/remotehost/remote-dir
error: failed to initialize alpm library (could not find or read directory)

What's going on?

Any pointers are greatly appreciated.

Last edited by cercasi2 (2012-04-02 14:52:43)

Offline

#2 2012-04-02 14:52:26

cercasi2
Member
From: Kreuzberg 61
Registered: 2009-02-17
Posts: 6

Re: [SOLVED] Install over sshfs // pacman alpm problem

Oh, found out what was going on:

sshfs mounts with user permissions, so sudo pacman ... does not have read or write access. without sudo on the other hand I cannot access pacman.

Solution: sudo su, mount remote share as root and go on.


This is how I found out:

strace -e trace=file pacman -Sy -r /mnt/n04/root

Offline

Board footer

Powered by FluxBB