I use Windows computers every day, I run my home stuff on a Mac and I want to continue to develop my Linux skills – so, I decided to build a Linux server at home. Out came my Red Hat Enterprise Linux 5 installation DVD and a short while later I had a working server. Great. Next, I wanted to customise the installed packages (the installer had given me the option to customise later, which I had accepted) – I fired up the Package Manager and…
…that’s right, a big empty white space in the browse list – the only listed packages were those that had been installed at setup time.
It seems that
pirut cannot read the RHEL installation DVD. After some googling, I decided to set up a new repository and created a file in /etc/yum.repos.d called rhel-dvd.repo, the contents of which were:
name=DVD for RHEL5
mediaid=1170972069.396645 line is the first line from the .discinfo file on the RHEL DVD, based on a comment on Jeremy Katz’s site.)
It seemed to recognise my DVD as an installation source but not as a valid repository, so after digging a little deeper I found that
mediaid= requires yum 3.1.2 or later and I ended up in dependency hell (exactly what
rpm is supposed to avoid).
This is crazy – it seems that Red Hat expect me to install everything from the Red Hat Network (RHN) – what about servers that do not have a connection to the Internet (or to an RHN proxy/satellite server)? Surely installation from the RHEL DVD should be an option (I suppose it is, technically, if I know what every RPM is for – that’s where the
pirut browse capability is so useful).
For once, I give in. I could spend hours on this issue (I’ve already spent a few too many) but it’s Friday evening now and my bad IT day has turned into a bad IT week. I need to put the kids to bed and then have a quiet evening in with a large glass (or two) of wine.
In the meantime, if anyone has any ideas on how to get
pirut to recognise a CD/DVD as valid installation media, please leave a comment.