[SOLVED] slackpkg upgrade-all: highlight a package, not showing "currently installed version"
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
slackpkg upgrade-all: highlight a package, not showing "currently installed version"
Seems to me I encountered this before, and mentioned it in a thread somewhere/sometime but now I cannot remember what that thread was. I'm not sure that the last time, I wasn't imagining things...
Anyhow, I'm pretty sure, after 3+ years of using slackpkg, that it *usually* shows an informational line at the bottom of the console/terminal, such that, when using "upgrade-all", you can see on the status line the currently installed version of the package you've got highlighted. And using that information, you can see whether or not you're actually upgrading to a newer version, or an older version, of the package.
I am not seeing any such information line now. Someone tell me that it *is* supposed to be there!? Or has it 'gone away', or was it never there???
I'm running mostly -current64 at this moment ('mostly' == all but Xorg & Xorg-mouse|keyboard), and slackpkg shows its version as 2.80.2 (same version as last time I asked about this :/). Everything is working great otherwise... It's just, I'm sure there is usually a line there telling the currently installed version.
I ran slackpkg in Eterm, xterm, and rxvt to make sure it wasn't a particular terminal.
Thanks! I never noticed it, but yes you are correct, at the bottom of the screen the currently installed package is shown when highlighting a proposed "upgrade".
P.S. There is some wierdness going on with the current updates. The packages seem to have made the mirrors, but for many of the mirrors the the changelogs do not reflect the changes. I had to switch to the tds mirrors to get the right changelog+packages.
Hmm, no I haven't tried that.. But I cannot see what influence that might have on things? I'll try slackpkg from a VT and see how that goes.
As for the changelog situation -- thanks for mentioning that; I have been wondering, since I *thought* that there had been some changes lately. I'm currently using osuosl but may try another mirror or two. EDIT #2: @ damgar, thanks again for that-- I just changed mirrors and have all sorts of fun things to upgrade again
EDIT #1: Just tried slackpkg in a VT -- same thing, no information line at the bottom but it'll have to wait till next time I log out, to try with X not running.. Never know, I've already found one thing that doesn't work right when X is running (mc in a VT is screwed when X is running) so who knows..
Last edited by GrapefruiTgirl; 04-04-2010 at 12:11 AM.
That is just odd, It also works here with an up to date -current. The only things I can see that may be causing it are: dialog somehow broken, some kind of UTF issue, or /bin/sh symlinked to a incompatible shell. If you can run slackpkg upgrade-all and open a second console and copy the dialog.tmp file out of /tmp/slackpkg-<somehash> (not 100% sure on the name and path) and post it online.
Interestingly, after updating freshly from another mirror and installing some stuff, it now works correctly but I have no idea why. I'm going to have to keep watch on this and see if I can figure out when/why it doesn't work, and what then makes it work correctly again. I am not sure if simply updating from the other mirror fixed it, or installing/upgrading something fixed it (forgot to pay attention at that point :/ ).
Slackpkg doesn't show the current version of the package if there are many packages to upgrade (like at March 1st, when we had a whole bunch of updates).
This is set somewhere in the code of Slackpkg, probably to speed up things or something.
Things will upgrade normally though, and you can make smaller selections by using "slackpkg upgrade kernel" etc...
But it doesn't seem to jive with what I was seeing: for example, before I actually changed mirrors and GOT a new selection of stuff that needed to be upgraded, I had only three things in my "slackpkg upgrade-all" menu, which I had been opting not to update, for a couple weeks now. I would think that, if what you say applies, then having only 3 items in the list, I would have the information line at the bottom.
Any further thought in this direction are welcome! Thanks.
Hmm.. Great niels, thanks; maybe I am just seeing 'normal' behavior, but I only occasionally notice that the informational line is missing and it sets me off
As for 2.81beta of slackpkg.. something tells me that I *did* have it running at one point, but evidently for some reason I've reverted back to 2.80.2 -- and I think I know why: probably after my first totally screwed upgrade to -current, having used my installation DVD and whatever else to repair the damage, I reinstalled the previous version along with everything else that was restored to the previous version. I'll look into that again.
I think I'm satisfied enough to [SOLVED] this thread (if I discover anything that changes that, I'll un-SOLVED it); and thanks again for that info about the info line not showing when there's a large amount of pending upgrades. I didn't know that.
Last edited by GrapefruiTgirl; 04-04-2010 at 01:21 PM.
Reason: typo : neils
That's handy to know, niels.
Something to keep in mind for personal use (I don't think I'll have a memory problem..), and which I may just do when I get around to hacking at slackpkg a bit to see if I can de-Bashism it. (I looked briefly one day some time ago, with that in mind, and decided it could definitely wait for some other time! )
Anyhow, I love slackpkg, but it could use a turbo-boost and a few hacks (someone else posted a thread a few months or so ago, about making slackpkg faster I believe.. If I'm remembering right.... I must look that up as well.)