[fedora-arm] Fedora-Minimal-armhfp-21_Beta-TC4 -- yum update failed becuase partition not expanded

Robert Moskowitz rgm at htt-consult.com
Thu Oct 23 12:37:32 UTC 2014


On my Cubietruck.  It is up and running (separate message on progress 
later), I did a 'yum update' and it got the errors:

   Updating   : 
glibc-common-2.20.90-6.fc22.armv7hl                       36/633
/usr/sbin/build-locale-archive: cannot add to locale archive: No such 
file or directory
/usr/sbin/build-locale-archive: cannot add to locale archive: No such 
file or directory
   Updating   : 
glibc-2.20.90-6.fc22.armv7hl                              37/633
Error unpacking rpm package glibc-2.20.90-6.fc22.armv7hl
error: unpacking of archive failed on file /etc/ld.so.conf;5448f05d: 
cpio: write
   Updating   : 
xz-libs-5.1.2-15alpha.fc22.armv7hl                        38/633
Error unpacking rpm package xz-libs-5.1.2-15alpha.fc22.armv7hl
error: glibc-2.20.90-6.fc22.armv7hl: install failed
error: unpacking of archive failed on file 
/usr/lib/liblzma.so.5.0.99;5448f05d: cpio: write
   Updating   : 
libstdc++-4.9.1-11.fc22.armv7hl                           39/633
Error unpacking rpm package libstdc++-4.9.1-11.fc22.armv7hl
error: xz-libs-5.1.2-15alpha.fc22.armv7hl: install failed
error: unpacking of archive failed on file 
/usr/lib/libstdc++.so.6.0.20;5448f05d: cpio: write
   Updating   : 
ncurses-libs-5.9-17.20140906.fc22.armv7hl                 40/633
Error unpacking rpm package ncurses-libs-5.9-17.20140906.fc22.armv7hl
error: libstdc++-4.9.1-11.fc22.armv7hl: install failed
error: unpacking of archive failed on file 
/usr/lib/libform.so.5.9;5448f05d: cpio: write
   Updating   : 
bash-4.3.30-2.fc22.armv7hl                                41/633
Error unpacking rpm package bash-4.3.30-2.fc22.armv7hl
error: ncurses-libs-5.9-17.20140906.fc22.armv7hl: install failed
error: unpacking of archive failed on file 
/etc/skel/.bash_logout;5448f05d: cpio: write
   Updating   : 
libsepol-2.3-4.fc22.armv7hl                               42/633
Error unpacking rpm package libsepol-2.3-4.fc22.armv7hl
error: bash-4.3.30-2.fc22.armv7hl: install failed
error: unpacking of archive failed on file /lib/libsepol.so.1;5448f05d: 
cpio: write
   Updating   : 
pcre-8.36-1.fc22.armv7hl                                  43/633
Error unpacking rpm package pcre-8.36-1.fc22.armv7hl
error: libsepol-2.3-4.fc22.armv7hl: install failed
error: unpacking of archive failed on file 
/usr/lib/libpcre.so.1.2.4;5448f05d: cpio: write
Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/yum/rpmtrans.py", line 456, in 
callback
     self._instCloseFile(  bytes, total, h )
   File "/usr/lib/python2.7/site-packages/yum/rpmtrans.py", line 524, in 
_instCloseFile
     self._scriptout(txmbr.po)
   File "/usr/lib/python2.7/site-packages/yum/rpmtrans.py", line 258, in 
_scriptout
     self.base.history.log_scriptlet_output(data, msgs)
   File "/usr/lib/python2.7/site-packages/yum/history.py", line 983, in 
log_scriptlet_output
     self._commit()
   File "/usr/lib/python2.7/site-packages/yum/history.py", line 742, in 
_commit
     return self._conn.commit()
sqlite3.OperationalError: database or disk is full
FATAL ERROR: python callback <bound method RPMTransaction.callback of 
<yum.rpmtrans.RPMTransaction instance at 0xb3a79238>> failed, aborting!

So I looked, and the auto partition expand did not work.

# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/mmcblk0p3  1.3G  1.3G     0 100% /
devtmpfs        986M     0  986M   0% /dev
tmpfs          1008M     0 1008M   0% /dev/shm
tmpfs          1008M  192K 1008M   1% /run
tmpfs          1008M     0 1008M   0% /sys/fs/cgroup
/dev/mmcblk0p1  457M  143M  310M  32% /boot
tmpfs           202M     0  202M   0% /run/user/0

And this is on a 16Gb SD card.  So I will pull the drive and use gparted 
to expand the partition on this notebook, then try a 
yum-complete-transaction.




More information about the arm mailing list