You are not logged in.

#1 2013-02-21 14:21:43

student975
Member
From: Russian Federation
Registered: 2011-03-05
Posts: 613

[solved] why does pacman scan alien directories?

Look at the pacman output fragment:

...
(3/3) loading package files                                                                                                  [############################################################################] 100%
(3/3) checking for file conflicts                                                                                            [############################################################################] 100%
warning: could not get filesystem information for /wrk/nas/media: No such file or directory
(3/3) checking available disk space                                                                                          [############################################################################] 100%
(1/3) upgrading...

/wrk/nas/media is cifs mounted by autofs. NAS was rebooting at the monent pacman was doing upgrade. At such moments (mount point is unavailable) pacman hangs beore "warning: could not get.." message during rather long timeout. Why? What does it want from absolutely alien (not system in any sense) directory?

Last edited by student975 (2013-02-21 15:12:24)


"I exist" is the best myth I know..

Offline

#2 2013-02-21 14:26:03

progandy
Member
Registered: 2012-05-17
Posts: 5,192

Re: [solved] why does pacman scan alien directories?

Do you have symlinks or bind-mounts to your nas somewhere in the system-paths?


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2013-02-21 14:31:38

student975
Member
From: Russian Federation
Registered: 2011-03-05
Posts: 613

Re: [solved] why does pacman scan alien directories?

I haven't.


"I exist" is the best myth I know..

Offline

#4 2013-02-21 14:34:13

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: [solved] why does pacman scan alien directories?

I believe it's because of the 'CheckSpace' option in pacman.conf. I'm not 100% sure, though.

Scott

Offline

#5 2013-02-21 14:37:52

student975
Member
From: Russian Federation
Registered: 2011-03-05
Posts: 613

Re: [solved] why does pacman scan alien directories?

Yes, this option is on. But this fact doesn't answer the question smile


"I exist" is the best myth I know..

Offline

#6 2013-02-21 15:04:16

progandy
Member
Registered: 2012-05-17
Posts: 5,192

Re: [solved] why does pacman scan alien directories?

student975 wrote:

Yes, this option is on. But this fact doesn't answer the question smile

Pacman 4.0 scans all mounted file systems, with 4.1 that will change.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#7 2013-02-21 15:11:04

student975
Member
From: Russian Federation
Registered: 2011-03-05
Posts: 613

Re: [solved] why does pacman scan alien directories?

Thanks for the clarification!


"I exist" is the best myth I know..

Offline

#8 2013-02-21 15:47:02

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [solved] why does pacman scan alien directories?

I'd figure pacman didn't care what it was writing to the filesystem.  It's job is to load package databases, download the packages and then install them.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#9 2013-02-21 15:50:44

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,858
Website

Re: [solved] why does pacman scan alien directories?

^ There's no point trying to install something if the partition it's installing to doesn't have enough free space for the extracted packages. Better to check that before you start, rather than 99 packages into a 100 package operation.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#10 2013-02-21 15:52:31

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [solved] why does pacman scan alien directories?

WorMzy wrote:

^ There's no point trying to install something if the partition it's installing to doesn't have enough free space for the extracted packages. Better to check that before you start, rather than 99 packages into a 100 package operation.

I didn't mean the check disk space, I meant as to the general function of pacman.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB