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

Bug#255023: absurd df output - suspect dependency problem between libc6-sparc64 and fileutils



Package: libc6-sparc64
Version: 2.3.2.ds1-12

I am using Debian woody on a sparc64 system, running a 2.4.26 kernel.
Having a need to upgrade to a later version of jigdo-file (0.7.0-2 from
testing), various other packages had to be upgraded to the versions in
testing.  I've included a log of this upgrade at the bottom of this
message.

Following this, I find that the output from 'df' becomes absurd, e.g.:

rejs@galadriel:~$ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/md2             31272770170 18797442380 10860710973  64% /
/dev/md4                  2015       490      1422  26% /usr
/dev/md6             460916294757 104075740425 333426542785  24% /var
/dev/md7             460916294757 7551248273 429951034937   2% /tmp
/dev/md8             62795475463332 13967826000543 45637788803400  24% /data
rejs@galadriel:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md2               29T   18T   10T  64% /
/dev/md4              2.0M  490k  1.3M  26% /usr
/dev/md6              429T   97T  310T  24% /var
/dev/md7              429T  7.1T  400T   2% /tmp
/dev/md8               57P   13P   41P  24% /data

(my md devices are actually created from two 80G drives)

This problem is not fixed by a reboot but is cured by upgrading
fileutils - df then reports correctly.  I assume there is a missing
dependency here?

galadriel:~# apt-get -t testing install fileutils
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  coreutils libacl1 libattr1
The following NEW packages will be installed:
  coreutils libacl1 libattr1
1 packages upgraded, 3 newly installed, 0 to remove and 201  not upgraded.
Need to get 2475kB of archives. After unpacking 5231kB will be used.
Do you want to continue? [Y/n]
Get:1 http://mirror.ox.ac.uk testing/main libattr1 2.4.16-1 [7542B]
Get:2 http://mirror.ox.ac.uk testing/main libacl1 2.2.23-1 [13.7kB]
Get:3 http://mirror.ox.ac.uk testing/main coreutils 5.0.91-2 [2446kB]
Get:4 http://mirror.ox.ac.uk testing/main fileutils 5.0.91-2 [7676B]
Fetched 2475kB in 0s (5809kB/s)
Selecting previously deselected package libattr1.
(Reading database ... 21563 files and directories currently installed.)
Unpacking libattr1 (from .../libattr1_2.4.16-1_sparc.deb) ...
Setting up libattr1 (2.4.16-1) ...
 
Selecting previously deselected package libacl1.
(Reading database ... 21569 files and directories currently installed.)
Unpacking libacl1 (from .../libacl1_2.2.23-1_sparc.deb) ...
Setting up libacl1 (2.2.23-1) ...
 
Selecting previously deselected package coreutils.
(Reading database ... 21575 files and directories currently installed.)
Unpacking coreutils (from .../coreutils_5.0.91-2_sparc.deb) ...
Replacing files in old package textutils ...
Replacing files in old package fileutils ...
Replacing files in old package shellutils ...
Replacing files in old package debianutils ...
Setting up coreutils (5.0.91-2) ...
 
(Reading database ... 21671 files and directories currently installed.)
Preparing to replace fileutils 4.1-10 (using
.../fileutils_5.0.91-2_all.deb) ...Unpacking replacement fileutils ...
Setting up fileutils (5.0.91-2) ...
galadriel:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md2                248847    147094     88905  63% /
/dev/md4               4127040   1005828   2911568  26% /usr
/dev/md6               1003960    229300    723660  25% /var
/dev/md7               1003960     16428    936532   2% /tmp
/dev/md8             136780032  30424480  99407452  24% /data




For information, log of original libc6 change:

galadriel:~# apt-get -t testing install jigdo-file
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  fakeroot gcc-3.3-base lib64gcc1 libc6 libc6-dev libc6-dev-sparc64
  libc6-sparc64 libdb1-compat libdb3 libgcc1 libstdc++5 linux-kernel-headers
  locales
The following packages will be REMOVED:
  gcc-3.0 libnss-db
The following NEW packages will be installed:
  gcc-3.3-base lib64gcc1 libdb1-compat libstdc++5 linux-kernel-headers
9 packages upgraded, 5 newly installed, 2 to remove and 202  not upgraded.
Need to get 19.1MB of archives. After unpacking 1217kB will be used.
Do you want to continue? [Y/n]
Get:1 http://mirror.ox.ac.uk testing/main libdb1-compat 2.1.3-7 [30.3kB]
Get:2 http://mirror.ox.ac.uk testing/main libc6-dev-sparc64 2.3.2.ds1-12 [1817kB]
Get:3 http://mirror.ox.ac.uk testing/main libc6-dev 2.3.2.ds1-12 [2836kB]
Get:4 http://mirror.ox.ac.uk testing/main linux-kernel-headers 2.5.999-test7-bk-16 [1514kB]
Get:5 http://mirror.ox.ac.uk testing/main locales 2.3.2.ds1-12 [3978kB]
Get:6 http://mirror.ox.ac.uk testing/main libgcc1 1:3.3.4-1 [75.2kB]
Get:7 http://mirror.ox.ac.uk testing/main lib64gcc1 1:3.3.4-1 [78.9kB]
Get:8 http://mirror.ox.ac.uk testing/main gcc-3.3-base 1:3.3.4-1 [146kB]
Get:9 http://mirror.ox.ac.uk testing/main libstdc++5 1:3.3.4-1 [275kB]
Get:10 http://mirror.ox.ac.uk testing/main fakeroot 0.9.5 [89.4kB]
Get:11 http://mirror.ox.ac.uk testing/main libc6-sparc64 2.3.2.ds1-12 [3650kB]
Get:12 http://mirror.ox.ac.uk testing/main libc6 2.3.2.ds1-12 [4138kB]
Get:13 http://mirror.ox.ac.uk testing/main libdb3 3.2.9-20 [248kB]
Get:14 http://mirror.ox.ac.uk testing/main jigdo-file 0.7.0-2 [192kB]
Fetched 19.1MB in 2s (6983kB/s)

Preconfiguring packages ...
Selecting previously deselected package libdb1-compat.
(Reading database ... 21287 files and directories currently installed.)
Unpacking libdb1-compat (from .../libdb1-compat_2.1.3-7_sparc.deb) ...
Replacing files in old package libc6 ...
(Reading database ... 21290 files and directories currently installed.)
Removing libnss-db ...
(Reading database ... 21277 files and directories currently installed.)
Preparing to replace libc6-dev-sparc64 2.2.5-11.5 (using .../libc6-dev-sparc64_2.3.2.ds1-12_sparc.deb) ...
Unpacking replacement libc6-dev-sparc64 ...
Preparing to replace libc6-dev 2.2.5-11.5 (using .../libc6-dev_2.3.2.ds1-12_sparc.deb) ...
Unpacking replacement libc6-dev ...
Selecting previously deselected package linux-kernel-headers.
Unpacking linux-kernel-headers (from .../linux-kernel-headers_2.5.999-test7-bk-16_sparc.deb) ...
Preparing to replace locales 2.2.5-11.5 (using .../locales_2.3.2.ds1-12_all.deb) ...
Unpacking replacement locales ...
Preparing to replace libgcc1 1:3.0.4-7 (using .../libgcc1_1%3a3.3.4-1_sparc.deb) ...
Unpacking replacement libgcc1 ...
Selecting previously deselected package lib64gcc1.
Unpacking lib64gcc1 (from .../lib64gcc1_1%3a3.3.4-1_sparc.deb) ...
(Reading database ... 21536 files and directories currently installed.)
Removing gcc-3.0 ...
Selecting previously deselected package gcc-3.3-base.
(Reading database ... 21490 files and directories currently installed.)
Unpacking gcc-3.3-base (from .../gcc-3.3-base_1%3a3.3.4-1_sparc.deb) ...
Selecting previously deselected package libstdc++5.
Unpacking libstdc++5 (from .../libstdc++5_1%3a3.3.4-1_sparc.deb) ...
Preparing to replace fakeroot 0.4.4-9.2 (using .../fakeroot_0.9.5_sparc.deb) ...Unpacking replacement fakeroot ...
dpkg: warning - unable to delete old file `/usr/lib/64/libfakeroot': Directory not empty
Preparing to replace libc6-sparc64 2.2.5-11.5 (using .../libc6-sparc64_2.3.2.ds1-12_sparc.deb) ...
Unpacking replacement libc6-sparc64 ...
Preparing to replace libc6 2.2.5-11.5 (using .../libc6_2.3.2.ds1-12_sparc.deb) ...
 
Name Service Switch has changed in the C Library: pre-installation question.
Running programs may not be able to do NSS lookups until they are
restarted (for services such as ssh, this can affect your ability to
login).
Note: restarting sshd/telnetd should not affect any existing connections.
 
The services detected are: inetd apache cron ssh exim
 
If other services begin to fail mysteriously after this upgrade,
it may be necessary to restart them too.  We strongly recommend
you to reboot your machine to avoid the NSS related trouble.
 
Do you wish to Restart Services? [Y/n]
 
Restarting services possibly affected by the upgrade:
  inetd: stopping...starting...done.
  apache: stopping...starting...done.
  cron: stopping...starting...done.
  ssh: stopping...starting...done.
  exim: stopping...starting...done.
 
Services restarted successfully.
 
Current default timezone: 'Europe/London'.
Local time is now:      Thu Jun 17 18:23:07 BST 2004.
Universal Time is now:  Thu Jun 17 17:23:07 UTC 2004.
Run 'tzconfig' if you wish to change it.
 
Setting up libdb1-compat (2.1.3-7) ...
 
(Reading database ... 21555 files and directories currently installed.)
Preparing to replace libdb3 3.2.9-16 (using .../libdb3_3.2.9-20_sparc.deb) ...
Unpacking replacement libdb3 ...
Preparing to replace jigdo-file 0.6.5-2 (using .../jigdo-file_0.7.0-2_sparc.deb) ...
Unpacking replacement jigdo-file ...
Setting up linux-kernel-headers (2.5.999-test7-bk-16) ...
Setting up libc6-dev (2.3.2.ds1-12) ...
Setting up locales (2.3.2.ds1-12) ...
Installing new version of config file /etc/locale.alias ...
Generating locales...
Generation complete.
 
Setting up libgcc1 (3.3.4-1) ...
 
Setting up gcc-3.3-base (3.3.4-1) ...
Setting up libstdc++5 (3.3.4-1) ...
 
Setting up fakeroot (0.9.5) ...
Setting up libdb3 (3.2.9-20) ...
 
Setting up jigdo-file (0.7.0-2) ...
 
Setting up libc6-sparc64 (2.3.2.ds1-12) ...
 
Setting up libc6-dev-sparc64 (2.3.2.ds1-12) ...
Setting up lib64gcc1 (3.3.4-1) ...
 
galadriel:~#



-- 
--------------- Robin Stevens  <robin.stevens@oucs.ox.ac.uk> -----------------
Oxford University Computing Services ----------- Web: http://www.cynic.org.uk/
------- (+44)(0)1865: 273212 (work) 273275 (fax)  Mobile: 07776 235326 -------



Reply to: