You are not logged in.

#1 2012-04-10 10:24:22

sheomualjy
Member
Registered: 2011-12-23
Posts: 37

strange error when doing anything with yaourt

Hi

I have just installed yaourt from the AUR on my arch install (with LXDE, if that makes a difference) and whenever I do anything with it, it gives me the following error:

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

This will happen whenever I run any command to do with yaourt, such as:

yaourt -s virtualbox

Normally, I only get one error, and then the command continues as normal. It does not appear to be affecting yaourt in any way. However, if I run the command as root, with sudo, I get many errrors. This is the output from running "sudo yaourt -s virtualbox":

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Basically, my question is whether or not this is 'normal', and whether or not it would be ok to just ignore it. It is quite annoying, so can anyone see a way to stop it?
Thanks

Offline

#2 2012-04-10 11:20:34

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: strange error when doing anything with yaourt

It's not normal.  You seem to be running yaourt from a directory which no longer exists.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2012-04-10 11:24:24

sheomualjy
Member
Registered: 2011-12-23
Posts: 37

Re: strange error when doing anything with yaourt

Hmmm... I haven't done anything, except maybe update the mirrors with pacman -Syy, and now the problem is gone. I don't know how I fixed it!
Sorry for any inconvenience.

Would I mark the thread as solved? Because it wasn't really solved, the problem merely 'disappeared'. What should I do?

Offline

#4 2012-05-02 18:39:37

gColossus
Member
From: over a giant double rainbow
Registered: 2012-05-02
Posts: 7

Re: strange error when doing anything with yaourt

As loafer said, you was running yaourt from a directory that no longer exists. I bumped into the same problem before.

Offline

Board footer

Powered by FluxBB