Any way to shorten <uname> 4.1.15-4.1.14-4.1.12-3.16.0-4-amd64?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299
Rep:
Any way to shorten <uname> 4.1.15-4.1.14-4.1.12-3.16.0-4-amd64?
Hi, Recently upgraded to longterm 4.1.15, this is how "$kernel" shows up in conky making it wide as a barn door. Tried renaming the modules after compilation before installing didn't work. Tried editing /proc/version, it reverts back..
(Btw how is it "longterm" if they keep changing it every other week, it not even 2 weeks since 4.1.14 replaced 4.1.13 in the archives..)
Not that i am complaining, i am sure there are tons of improvements under the hood that i have no idea about..as long as my CPU and HDD temperatures look safe, and i have no problems with sound or graphics, and nothing freezes, i couldn't be happier.
The 'long-term' means it will be supported with patches and updates long-term.
I haven't used Conky in years, but there should be a way to use only the first x characters in a string. I don't really remember how string manipulation work in Conky.
Thanks for the link, however it'd be much simpler to just avoid the variable and put 4.1.15 as text which i did. It's pointless now tho', conky freezes with the new upgrade, googled it extensively, exhausted all possibilities including resetting hwclock with ntpdate from pool.ntp.org and sync'ing it thus:
Code:
hwclock --systohc --localtime
, got rid of the conky and lua clocks, even tried booting back into the old kernel. No joy, so until the next upgrade it's back to gkrellm for me (room temp. here is 30C on average so i need to keep an eye on CPU/HDD temps.). On the bright side, i have not experienced any of the other malaises like freezing of system, mouse or keyboard, screen, etc. accompanying the conky freeze that i found so many people lamenting about when i googled the issue, it's just conky.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
If you're running Sid then why not just use the kernel Sid is using? I was compiling my own version of the latest stable kernel from https://www.kernel.org/ but Sid has just moved to 4.3.3 anyhow so I don't need to do that any more to track the latest stable kernel. Of course, if you want to compile your own kernel then do so as it can be useful for enabling options or just a bit of fun but the Sid kernel is now newer than the one you're tracking. As mentioned long term does not mean no updates it mean updates will be forthcoming for a long time so whichever kernel you track there will be updates but if you use the default in Sid it will be much quicker to update as the Debian developers have compiled it for you.
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299
Original Poster
Rep:
Does make sense to have the latest stable, however debian developers don't seem to have done a very good job of compiling it as far as my hardware is concerned, and apparently i am not the only one who's having issues with it; http://www.linuxquestions.org/questi...es-4175561250/. Ever since the first time i did a dist-upgrade after pointing sources.list to Sid and botched that installation i've made it a point to only do plain upgrades. However, now that you've pointed out what "longterm" actually means i will go for the latest stable but only by compiling it from source.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by mzsade
Does make sense to have the latest stable, however debian developers don't seem to have done a very good job of compiling it as far as my hardware is concerned, and apparently i am not the only one who's having issues with it; http://www.linuxquestions.org/questi...es-4175561250/. Ever since the first time i did a dist-upgrade after pointing sources.list to Sid and botched that installation i've made it a point to only do plain upgrades. However, now that you've pointed out what "longterm" actually means i will go for the latest stable but only by compiling it from source.
Why not at least try the Debian kernel 4.3 because if it works you're saving yourself time?
If you don't want things to keep breaking then it may be easiest not to use Sid and use something like Linux Mint Debian Edition instead. Without dist-upgrading you're not really running Sid anyhow (as shown by not running the 4.3 kernel) and I can't help thinking you could end up with other issues further down the line if you're not dist-upgrading on a regular basis.
Edit: Did the sensible thing, compiled the latest stable, thank you for prodding me to do it, took commitment, Respect! There's a couple of things on which i do beg to differ, albeit with my glaringly limited knowledge;
It was my understanding that besides the longterm support that you mentioned a longterm kernel also meant that it was one that had been tested and 'bug-fixed' by all major distributions and that only minor bug fixes and patches would be applied to it. That of course, went down the toilet with those biweekly upgrades to it.
Secondly, how can you say that i am not using Sid if i don't do dist-upgrades. Simple upgrades do the same thing except for automatically installing a new kernel, and buggering up my system. In fact i found apt-get judiciously holds back upgrades which could cause problems which aptitude (synaptic) does not (that happened only recently with the audacious plugin upgrade and a few others with it). I get the same new packages in my repository and in addition i have the option to not have them installed automatically. Unless i am very much mistaken apt-get has come a long way and takes care of dependencies very well so i don't have any misgivings about not doing the dist-upgrades, let's see how it goes. Anyhoo, i am very happy with my kernel upgrade so thanks again..conky still skips update_intervals, btw.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.