I am trying to upgrade from 7.6 to 7.7.  The sysupdate looks like it succeeded,

  $ uname -a
  OpenBSD AddisAbaba 7.7 GENERIC.MP#625 amd64

  $ 

but the package update failed.  Here is an excerpt from the "pkg_add -u"
output:

  adwaita-icon-theme-47.0p0:gtk4-update-icon-cache-4.14.5->4.18.3: ok
  adwaita-icon-theme-47.0p0:adwaita-icon-theme-legacy-46.2->46.2p0: ok
  adwaita-icon-theme-46.2->47.0p0: ok8%%%%                   | 49%
  Error: /dev/sd0a on / is not large enough (/etc/rc.d/messagebus)
  /dev/sd0h on /usr/local: -29056130 bytes (highwater 472591799 bytes)
  Delete older packages first ? [y/N/a] y
  Error: /dev/sd0a on / is not large enough (/etc/rc.d/messagebus)
  /dev/sd0h on /usr/local: -33092436 bytes (highwater 472591799 bytes)
  Can't install at-spi2-core-2.54.1 because of libraries

This is the first occurrence of an error for sd0a.  sd0a is reported as being
full

  $ df -h
  Filesystem     Size    Used   Avail Capacity  Mounted on
  /dev/sd0a      986M    941M   -4.8M   101%    /
  /dev/sd0l      295G    6.8G    274G     3%    /home
  /dev/sd0m      1.4T    864G    500G    64%    /mnt/nfs
  /dev/sd0d      3.9G   20.0K    3.7G     1%    /tmp
  /dev/sd0f     29.1G    1.7G   26.0G     6%    /usr
  /dev/sd0g      986M    331M    605M    36%    /usr/X11R6
  /dev/sd0h     19.4G    2.2G   16.2G    13%    /usr/local
  /dev/sd0k      5.8G    2.0K    5.5G     1%    /usr/obj
  /dev/sd0j      2.9G    2.0K    2.8G     1%    /usr/src
  /dev/sd0e     34.3G   20.3M   32.6G     1%    /var
  /dev/sd1d      1.4T   1014G    305G    77%    /mnt/lacie/d
  /dev/sd1e      456G    4.0K    433G     1%    /mnt/lacie/e

  $

But is it?

  $ sudo du -chxd 1 /
  4.0K    /home
  26.0K   /mnt
  2.0K    /tmp
  2.0K    /usr
  2.0K    /var
  2.0K    /altroot
  7.1M    /bin
  42.0K   /dev
  53.0M   /etc
  1.2M    /root
  17.0M   /sbin
  175M    /
  175M    total

  $ 

There don't seem to be any enormous files in / (similar results obtain for all
other types too)

  $ sudo find -x / -type f -size +$(( 1024 * 1024 * 40 ))c

  $ sudo find -x / -type f -size +$(( 1024 * 1024 * 30 ))c
  /bsd
  /bsd.sp
  /bsd.booted

  $

I have successfully upgraded this system and packages from 7.5 to 7.6.  Any
ideas about what's going on with sd0a, and how to straighten it out so I can
update packages?

Reply via email to