yum install tries to install onto a read-only filesystem

Issues related to applications and software problems
Post Reply
User avatar
poltr1
Posts: 25
Joined: 2020/01/03 21:43:57
Location: Dayton OH USA

yum install tries to install onto a read-only filesystem

Post by poltr1 » 2022/07/07 15:36:03

I'm trying to install the vtk-devel package for one of my users who requested the package. When I perform the yum install, it gets the dependencies, and asks me to proceed. When I say yes, it does a transaction check on the package, and fails, because it's trying to install onto a drive on my app server that's mounted read-only (/apps/global). Why is this happening for this package, and is there a way to override it? I've already rebuilt the yum database.

Code: Select all

Running transaction check
Running transaction test


Transaction check error:
  installing package vtk-devel-6.1.0-5.el7.x86_64 needs 616MB on the /apps/global filesystem

Error Summary
-------------
Disk Requirements:
  At least 616MB more space needed on the /apps/global filesystem.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum install tries to install onto a read-only filesystem

Post by TrevorH » 2022/07/07 16:56:24

At a guess, you've created a symlink or bind mounted it to the location(s) of some of the files in that package. From rpm -ql that seems to be mostly /usr/include/vtk and some paths under /usr/lib64.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
poltr1
Posts: 25
Joined: 2020/01/03 21:43:57
Location: Dayton OH USA

Re: yum install tries to install onto a read-only filesystem

Post by poltr1 » 2022/08/30 13:52:18

Thanks for the pointer. I looked at the files in /usr/include/vtk and vtlgk.h had these lines:

Code: Select all

//DO NOT EDIT!
//This file was created with ../../bin/vtkParseOGLExt-6.0
//from /root/Desktop/work/VTK-Build/Rendering/OpenGL /apps/global/oss/vtk/VTK6.0.0/Utilities/ParseOGLExt/headers/glext.h /apps/global/oss/vtk/VTK6.0.0/Utilities/ParseOGLExt/headers/glxext.h 
/apps/global/oss/vtk/VTK6.0.0/Utilities/ParseOGLExt/headers/wglext.h
These look like comment lines to me. They appear to reference three include files on our shared apps drive. I'll have to dig in and find out exactly OpenGL was installed or implements on the system.

Post Reply