Re: F20: yum update does not automatically update grub2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 23 Dec 2013 18:53:40 +0100 Michael Schwendt
<mschwendt@xxxxxxxxx> wrote:

> On Mon, 23 Dec 2013 08:20:53 -0600, Ranjan Maitra wrote:
> 
> > > You could become superuser root, then run exactly the kernel-install
> > > command found above, and check the exit return code and watch out for
> > > any warning/error it might print.
> > 
> > Thanks! 
> > $ sudo rpm -q --scripts kernel|tail -2
> > posttrans scriptlet (using /bin/sh):
> > /bin/kernel-install add
> > 3.12.5-302.fc20.x86_64 /boot/vmlinuz-3.12.5-302.fc20.x86_64 || exit $?
> > 
> > This is all I get.
> 
> You've only queried the kernel package for its scriptlets section.
> You haven't tried to execute the command you can see in there.

sudo /bin/kernel-install add
3.12.5-302.fc20.x86_64 /boot/vmlinuz-3.12.5-302.fc20.x86_64 || exit $?
grubby fatal error: unable to find a suitable template

I looked around, but almost all the discussion on the web seems to be
circa 2011 when grub moved to grub2 so I am not sure that these seem
relevant. (In any case, most of them say run grub2-mkconfig but I was
trying to get a more long-term solution.) 

> > Not sure what it means/how to check the exit return code. 
> 
> By evaluating/examining the $? variable after running a program.
> 
> > How does one debug the /bin/kernel-install script?
> 
> It's better to stop here right away, since I had assumed you would
> either be capable of performing a few trouble-shooting tasks or be
> interested enough to want to learn about it.

I guess I am trying to learn by taking the first step of finding the
process of getting to it? Hence the questions. Perhaps the background
needed is too much to figure out on one's own. 

Thanks for your time and patience, though!
Best wishes,
Ranjan

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux