Now that we've talked about installing software packages with IPS, let's look a little bit at troubleshooting software update issues. Now while this is a very easy cut and dried process sometimes installation of software packages can go wrong. Now it may be a bad package itself but it also is typically a bad Internet or network connection. It also could be dependencies. There may be software that needs to be installed before the software package that you're trying to get installed on there. Now typically the Package Manager will let you know if there are dependencies that have to be installed first and it'll go ahead and install them automatically for the most part. But every now and again there may be a dependency that's not being met, maybe you've uninstalled a piece of software manually or it's been accidentally deleted or it's corrupted and that maybe an issue. The other issue that can happen is incompatible software and there could be software that even if it's in a valid Solaris 11 repository, may not be exactly for your system for various reasons. Maybe there's a hardware issue, maybe there's a versioning issue with software you've already got installed on your system and all that could lead that to incompatible software and errors. Now Package Manager usually gives you some pretty good information about bad installations when you do get them which is not very often. And it may tell you what you can do or give you an idea. It will at least give you a good start. Some other things that you can do to troubleshoot are run the Package Commands from the Command Line interface. And some really common ones that'll just give you information about the package itself, that may give you clues to troubleshoot are Package Info, Package Contents which tells you what the contents of the package actually is. The Package History of a particular package, maybe you've installed different versions before and there's a versioning issue and ultimately you can do a Package Uninstall and get rid of the offending package and maybe try to reinstall it again or get it from a different repository. There are some times where packages could be corrupt on the repositories themselves. Let's go ahead and take a look at a couple of things with the Package Manager GUI and with the Command Line interface to help you troubleshoot a little bit. Okay. We're looking at Package Manager and what I want to do is install a package for you and see if we have any issues with it. I'm going to use the SFE, the Open Indiana Publisher that we installed previously in a different session. And I've looked through there and I've saw some applications I want to get from that particularly repository, abiword which is an older word processing system that's been used in Linux for quite a number of years. And it's imported to several other platforms as well. Let's go ahead and install and update that real quick and see what we get out of it. So it's telling us a little bit about it, it's a fast featured word processor, let's go ahead and get it going. And unfortunately we have errors. Now why are we getting errors? And you can see that this is where there maybe issues with the package itself or there may be incompatible issues and so forth. And basically the error message is telling us that there's no matching version of the desktop word processor abiword can be installed. And it's telling us why and it looks like a dependency, all acceptable versions of required dependency on package so and so, so and so are obsolete and of course you can read which package which is, Library, Gnome Print and so forth. And it's rejecting this because of the dependency issues. And it looks like those are versioning issues with the dependencies. So at this point you could go find a different word processor or you could try to resolve the dependency issues with abiword by going and looking and these particular packages. Maybe updating these packages, it looks like Pearl is out of date and it looks like the Gnome Print Package is out of date. So you would probably have to go and update those two packages first and then be able to install abiword. That's probably the right solution but I will tell you that abiword's an older program and even though it's very good, there are more, more current more full featured programs out there that you could use. So sometimes it may or may not be worth it to troubleshoot, you may just want to go find a different package. Okay. Let's cancel out of this and let's drop to the Command Line interface for a moment. And what I've done is I've pulled up the Package Commands and I want to point out a few of them to you and there's so many different options with the Package Command that you can use to troubleshoot with. And we mentioned a few of them on the screen, earlier on the slide. We've got Refresh, Uninstall obviously and we can look at Package Version. Of course if we suspect version issues. Here's some advanced commands, getting the package info and the contents. We can also verify packages and when we verify them we can verify their installation and their digital signatures if they have one. We can also do a package fix or package revert. And package revert may go back to a previous version of the package. So that's one thing you can do to troubleshoot package installation issues. And there are a few other ones that we won't go through but you can go ahead and read through the documentation and figure out what some of them are. And then in some cases they may or may not help you troubleshoot but they might. So it's a good idea to get familiar with the Package Command Set. And that's the basics of troubleshooting package installation and software update issues on Solaris 11.
| Course: | Oracle Solaris 11 System Administration - Exam 1Z0-821 |
| Author: | Bobby Rogers |
| SKU: | 34398 |
| ISBN: | 978-1-61866-083-1 |
| Release Date: | 2012-12-24 |
| Duration: | 8 hrs / 92 lessons |
| Work Files: |
Yes |
| Captions: | No |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |