[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dselect error (Was: Access to NFS-Server)



|" JG>Sounds like dselect is df-ing the /var to figure out if there is file space.
|" JG>That's a bug in my opinion.  It should probably also check to see if you
|" JG>have a remote mounted /var/lib or /var/lib/dpkg or /var/lib/dpkg/methods/ or
|" JG> /var/lib/dpkg/methods/ftp etc.
|"I tried to verify this idea by moving the complete /var-tree to the
|"HP-machine. I thought it wouldn't be a good idea because of the low speed
|"of NFS-access, but now I tested this.

Try adding the -P option to the df command in
/usr/lib/dpkg/methods/ftp/install:

line 230:

my $avsp = `df -P -k $::dldir| awk '/\\// { print \$4}'`;

line 236:

$avsp = `df -P -k $::dldir| awk '/\\// { print \$4}'`;

-- 
Ronald van Loon (ronald@and.nl)

"I am waiting as fast as I can! I want patience, and I want it *NOW*!"
                                                     - Bethany J. Parkhurst


Reply to: