You are not logged in.

#1 2004-08-06 19:58:52

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

errors/warns while upgrading to 2.8.3-2 & the install is

Has anyone ever seen this (and can explain it - I can't)?

# pacman -Syu
:: Synchronizing package databases...
 current                  [################] 100%      37K     8.4K/s  00:00:04
 extra                    [################] 100%     147K    12.4K/s  00:00:11

:: pacman has detected a newer version of the "pacman" package.
:: It is recommended that you allow pacman to upgrade itself
:: first, then you can re-run the operation with the newer version.
::
:: Upgrade pacman first? [Y/n] y

Targets: pacman-2.8.3-2

Proceed with upgrade? [Y/n] y

:: Retrieving packages from current...
 pacman-2.8.3-2           [################] 100%     334K    15.0K/s  00:00:22

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
upgrading pacman... done.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

# pacman -Qi pacman
Name           : pacman
Version        : 2.8.3-2
Groups         : None
Packager       : Arch Linux (http://www.archlinux.org)
URL            : http://www.archlinux.org/pacman
...

These are the packages I haven't upgraded yet (there might be a connection, I don't know):

# pacman -Su

Targets: cvsup-16.1h-2 glibc-2.3.3-1 hotplug-2004_04_01-2 libpng-1.2.5-3
         libtar-1.2.11-2 mozilla-firefox-0.9.3-1 mozilla-thunderbird-0.7.3-1
         putty-0.55-1

Offline

#2 2004-08-06 20:21:49

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: errors/warns while upgrading to 2.8.3-2 & the install is

Those getcwd errors usually occur when your Current Working Directory has been removed from out under you.  Your shell still thinks that's the current directory, but when it tries to traverse relative pathnames (ie, ../over/here) it gets confused because .. is gone.

Offline

#3 2004-08-06 22:03:53

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: errors/warns while upgrading to 2.8.3-2 & the install is

Hmm.. maybe. I don't remember exactly where I was when I entered the commands.
It's kind of strange though, I though pacman doesn't interact with the shell while running (=I thought getcwd is somehow called by pacman). The shell could have given a warning/error when the command ended (just like when a process terminates).

Offline

Board footer

Powered by FluxBB