{"id":10,"date":"2008-10-05T13:06:45","date_gmt":"2008-10-05T01:06:45","guid":{"rendered":"http:\/\/www.mdickinson.dnsalias.org\/php\/wordpress\/?p=10"},"modified":"2009-05-29T19:22:38","modified_gmt":"2009-05-29T07:22:38","slug":"a-bad-day-with-the-package-manager","status":"publish","type":"post","link":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/?p=10","title":{"rendered":"A bad day with the package manager"},"content":{"rendered":"<p>Did I mention in one of my earlier posts that opensolaris is definately not yet ready for the home user ?.<br \/>\nI&#8217;d like to re-inforce that one again.<br \/>\n<b><br \/>\nAnd yes I know I keep harping on about it. But opensolaris 200805 installs with gnome, games, office tools etc., but no server\/development tools like gcc, java SDK, apache, mysql; so is obviously targeted at home desktop users rather than the geeks who want to play with zones and zfs at home.<br \/>\n<\/b><br \/>\nIts just the underlying OS is not suitable\/manageable for home users unless they all want to become solaris administrators, and would make most home users go out and buy Vista.<\/p>\n<hr \/>\n<p>Anyway, on the home front, I finally had opensolaris going just the way I liked, although having the firefox update option greyed out was a pain as obviously I&#8217;m not getting security updates.<\/p>\n<p>Anyway, thought I would go back into package manager and pull down lots more packages. That turns out to have been a mistake.<br \/>\nIt pulled down all the packages I wanted but seemed to hang halfway through the installation of the packages. Having lots of experience with  solaris 8 I knew some of these would take a while, so I left it overnight. In the morning, still hung at the same place.<br \/>\nSo I rebooted, with difficulty as the menu &#8216;system\/shutdown-reboot&#8217; option was doing nothing, tried it multiple times and even kill -9&#8217;ed the apps that were running apart from the terminal. So, &#8216;sync;sync;sync;reboot&#8217;.<br \/>\nIt never came back; lots of messages saying it couldn&#8217;t find the kernel, but the last message always being depress any key to reboot.<br \/>\nManaged to get it into single-user\/maintenance-mode. A zpool scrub, and mounted the zfs root filesystem and had a look. Well, ok, the kernel it was saying it couldn&#8217;t find truely was not there ??.<br \/>\nFunny thing is I was only pulling down application packages, what happened to my kernel ?.<\/p>\n<p>Yes, I did have an old snapshot. From the initial install, with none of my customisations; bugger.<\/p>\n<hr \/>\n<p>So I have gone with a complete re-install of opensolaris, which is happening as I type.<\/p>\n<p>When done I will take it as far as it was stable last time<\/p>\n<ul>\n<li>manually install the network drivers again<\/li>\n<li>customise it all up again and get it networked<\/li>\n<li>reinstall the gcc compilers I need<\/li>\n<li>get down all the firefox plugins<\/li>\n<li>maybe look for apache and mysql as well this time<\/li>\n<li><b>take a snapshot<\/b><\/li>\n<li><b>clone the rootfs into another bootable image<\/b><\/li>\n<li>make the cloned image the default and play with that<\/li>\n<\/ul>\n<p>From take a snapshot down is just something a home user is not going to be able to do.<\/p>\n<p>I almost just installed FC9 again, I had the kickstart CD in my hand. But I thought I&#8217;ll give it one more go.<br \/>\nAfter all, it was my fault I didn&#8217;t have recent a snapshot to roll back from this time.<\/p>\n<p><b>Hmm, on my todo list<\/b>. Trawl the web and see if mkCDrec runs under opensolaris, or if there is something similar. Whats needed is a bootable recovery image that can restore the entire system tothe state it was in at the time the backup was taken.<br \/>\nI guess thats onother area that probably needs work as it would need to backup all the unmounted rpool zfs filesystems as well as the current one.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Did I mention in one of my earlier posts that opensolaris is definately not yet ready for the home user ?. I&#8217;d like to re-inforce that one again. And yes I know I keep harping on about it. But opensolaris &hellip; <a href=\"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/?p=10\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-my-nux-thoughts-and-notes"],"_links":{"self":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":0,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"wp:attachment":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}