FS#35762 - Non-critical Error When installing packages in a FUSE directory

Attached to Project: Pacman
Opened by Bryce Guinta (azrathud) - Wednesday, 12 June 2013, 05:52 GMT
Task Type Bug Report
Category Output
Status Unconfirmed
Assigned To No-one
Architecture x86_64
Severity Very Low
Priority Normal
Reported Version 4.1.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Summary and Info:

Pacman outputs 'error: could not get current working directory' when trying to install packages from a repository in a FUSE root directory. Note that this error is only cosmetic and the program correctly installs.

Steps to Reproduce:

1. Mount a filesystem using sshfs

sshfs foo@bar:baz baz

2. cd FUSE root directory.

cd baz

3. Install a package

pacman -S foo

Example output:

$ sudo pacman -S freerdp
resolving dependencies...
looking for inter-conflicts...

Packages (1): freerdp-1.0.2-2

Total Installed Size: 2.20 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [#####################] 100%
(1/1) checking package integrity [#####################] 100%
(1/1) loading package files [#####################] 100%
(1/1) checking for file conflicts [#####################] 100%
(1/1) checking available disk space [#####################] 100%
error: could not get current working directory
(1/1) installing freerdp [#####################] 100
This task depends upon

Loading...