Re: dselect error (Was: Access to NFS-Server)
On Thu, 6 Mar 1997, Ronald van Loon wrote:
> 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}'`;
This helps to *get* all files I want to install :-), but the problem
while installing remains :-((.
OK, the problem of free disk space was solved and I suggest to
insert the '-P' option in the install script.
But what about the other problem? I had the hope that it would disapear
but after
Do you want to install the files fetched [y]:
I got:
Installing files...
dpkg: error processing debian/stable/binary-i386/admin/acct_6.2-2.deb (--install):
failed to rmdir/unlink `/var/lib/dpkg/tmp.ci': File exists
dpkg: error processing debian/stable/binary-i386/admin/adjtimex_1.2-5.deb (--install):
failed to rmdir/unlink `/var/lib/dpkg/tmp.ci': File exists
dpkg: error processing debian/stable/binary-i386/admin/at_2.9b-1.deb (--install):
failed to rmdir/unlink `/var/lib/dpkg/tmp.ci': File exists
dpkg: error processing debian/stable/binary-i386/admin/cpio_2.4.2-8.deb (--install):
failed to rmdir/unlink `/var/lib/dpkg/tmp.ci': File exists
....
(and so on -- now I have some more files than before got by ftp)
....
dpkg: too many errors, stopping
Errors were encountered while processing:
debian/stable/binary-i386/admin/acct_6.2-2.deb
debian/stable/binary-i386/admin/adjtimex_1.2-5.deb
debian/stable/binary-i386/admin/at_2.9b-1.deb
debian/stable/binary-i386/admin/cpio_2.4.2-8.deb
....
Processing was halted because there were too many errors.
DPKG ERROR
I can't imagine any reason for this behaviour. What the hell is the
task of the files in tmp.ci? An `ls -l' says:
drwxr-xr-x root root tmp.ci
I had the supposition that dselect
uses some quite different rights from root but this makes no sense at all.
This supposition is provided by the following fact. Former I mounted only
/var/lib on the HP-server. Now I tar-ed the complete /var-tree, mounted
/var on the HP-server and un-tar-ed it. I've got some mysterious error
messages from tar when unpacking the *.deb files:
tar: cannot chown file var/debian/stable/binary-i386/<abc>.deb to uid 47653 gid 64696
tar: cannot chown file var/debian/stable/binary-i386/<xyz>.deb to uid 2282 gid 64976
The "possibility" of the second uid/gid combination was much higher (1:5)
but it seems to be randomly if a *.deb package failed to chown to one or
the other user. What about this uid/gid numbers. May be the root of my
problem is here.
Any more ideas to fix this bug out there? Without any clue
Andreas.
Reply to: