LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-17-2020, 10:01 AM   #1
jrch
Member
 
Registered: Mar 2006
Posts: 158

Rep: Reputation: 15
How to 'upgradepkg' following security advisory instrux


Please forgive my ignorance. I have asked this before but never got a specific answer, only suggestions for 'upgrading entire system'. That is not what I want to do.

The latest 'security advisory', 3/13/2020 for mozilla-thunderbird-68.6.0-i686-1_slack14.2.txz, for slackware64 14.2, has the following specific instructions:

------------------------------------------------------------
Installation instructions:
+------------------------+

Upgrade the package as root:
# upgradepkg mozilla-thunderbird-68.6.0-i686-1_slack14.2.txz
------------------------------------------------------------

Rebooted, logged in as root, online, opened cmd window, entered command above: result, nothing. cursor drops to next line, blank.

Before: my thunderbird --version: Thunderbird 60.8.0

After: my thunderbird --version: Thunderbird 60.8.0

My /etc/slackpkg/mirrors has, for US, slackware64 14.2, uncommented:

http:////ftp.osuosl.org/.2/slackware/slackware64-14.2/

Near top of 'mirrors' file, instruction says to use only http, not ftp.

I've followed instructions exactly. What am I missing here?

Is this patch/update ONLY for 32-bit systems maybe? If so, my bad.

Well, maybe I missed the '64' needed to modify instruction line? Again, my bad. Going back to change it.. will report results.

Thanks, jrc

Last edited by jrch; 03-17-2020 at 10:04 AM.
 
Old 03-17-2020, 10:25 AM   #2
jrch
Member
 
Registered: Mar 2006
Posts: 158

Original Poster
Rep: Reputation: 15
Well, at least that got some action when I did, as root:

# upgradepkg mozilla-thunderbird-68.6.0-x86_64-1_slack14.2.txz

but result is: "file not found".

This is the problem I had trying to do this a couple years ago. It would seem the instruction is incomplete. Somehow, the file needs to be downloaded to my machine, I guess. But how, and to where? I'm not familiar with all the 'get' commands,

OK - got it down with Firefox -simple. But not sure where it should go -
 
Old 03-17-2020, 10:47 AM   #3
keeneadt
Member
 
Registered: Feb 2020
Distribution: Slackware
Posts: 56

Rep: Reputation: Disabled
If your intention is just upgrade thunderbird, you should execute
Code:
slackpkg upgrade thunderbird
and hit OK in dialog menu.
In this case slackpkg will automatically download and install an appropriate version of specified package (thunderbird) from an uncommented mirror.
 
1 members found this post helpful.
Old 03-17-2020, 10:56 AM   #4
jrch
Member
 
Registered: Mar 2006
Posts: 158

Original Poster
Rep: Reputation: 15
Smile solved - did it.

OK thanks for patience to anyone who is irritated.

1. Got the package down from osu by entering full patch name, (ftp://ftp... from the advisory) into the top URL line in Firefox, <RETURN>. This results in a save/execute dialog with which I can save the patch anywhere.

2. Read the 'upgradepkg' man page which includes the 'percent syntax' just as in the Slack Book.

3. Logged in as root; copied the patch to '/', so won't need to wonder what will happen if in some other touchy directory.

4. Found old package name in /var/log/packages - need FULL name, ie thunderbird is 'mozilla-thunderbird...'

5. As root, execute '%' syntax as in man page or slack book:

# upgradepkg old_name%new_name

done - takes a couple minutes but works fine.

Thanks again for patience. Hope this might help some other person.

jrc
 
Old 03-17-2020, 01:06 PM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by jrch View Post
OK thanks for patience to anyone who is irritated.

1. Got the package down from osu by entering full patch name, (ftp://ftp... from the advisory) into the top URL line in Firefox, <RETURN>. This results in a save/execute dialog with which I can save the patch anywhere.

2. Read the 'upgradepkg' man page which includes the 'percent syntax' just as in the Slack Book.

3. Logged in as root; copied the patch to '/', so won't need to wonder what will happen if in some other touchy directory.

4. Found old package name in /var/log/packages - need FULL name, ie thunderbird is 'mozilla-thunderbird...'

5. As root, execute '%' syntax as in man page or slack book:

# upgradepkg old_name%new_name

done - takes a couple minutes but works fine.

Thanks again for patience. Hope this might help some other person.

jrc
Just to simplify and hopefully explain a few things...

upgradepkg and installpkg only work on files that are local, meaning they are downloaded to your system. You need to provide either the relative path or absolute path. They do not download packages from remote servers. That can be done via slackpkg once configured properly.

Also, in regards to using the percent sign for upgradepkg... this is only needed when the package name has changed. In this case, since both packages were called mozilla-thunderbird, it is not needed and you only need to specify the new package that you want to upgrade.

I would highly suggest looking into slackpkg and learning to use it. It will allow you to simply update your Slackware to the latest patches that Pat has put out. Word of caution, make sure you select the right Slackware version for your mirror. Since you're on 14.2, you'll want to make sure you select a 14.2 mirror, not a "current" mirror, as that is the development version of Slackware that will eventually lead to 15.0.

Once slackpkg is configured, you can easily update the system via the following commands:

Code:
slackpkg update-gpg # Only needed the first time after selecting a mirror
slackpkg update
slackpkg install-new
slackpkg upgrade-all
See the Configure a Package Manager section of SlackDocs for more detail
 
1 members found this post helpful.
Old 03-20-2020, 09:23 AM   #6
jrch
Member
 
Registered: Mar 2006
Posts: 158

Original Poster
Rep: Reputation: 15
Smile upgrade pkg per instrux

> Bass...

Thanks for your helpful comments.

As I said early on, my intent was not to upgrade the whole system.
The instrux ON THE ADVISORY say to do it, for that specific advisory, with the simple command,

Upgrade the package as root:
# upgradepkg sudo-1.8.31-i586-1_slack14.2.txz

(understood that the version - or 64 - or whatever is
appropriate in the list of patches - should be inserted...)

I had wanted to do this for a single update, not for the whole system. I'm sure (now) whoever wrote that assumed that we would all "understand" that the package had to be downloaded first. I didn't, I do now. So maybe some of the simpler commands suggested by others above make more sense.

Actually, I'm very grateful to those who donate their effort and skills to the 'Slackware Documentation Project'. I'm not always sure where to find the latest versions of specific titles; I've always purchased (or downloaded) the 'Slackware Book' whenever an update is available or during version changes, etc; but it is not very 'deep'. As with any project, 'documentation' (or manual-writing) is not a popular pastime. Well-written software (and other) 'manuals' are extremely rare. FM's and TM's come to mind from the prehistoric past.

I'm sorry if it's not clear, but I'm also grateful to those, like yourself, who take a few minutes to explain things. You and others, like Didier, upnort, etc, have provided a number of very helpful insights for me.

I may even get to like piano concertos over time.

jrc
 
Old 03-20-2020, 10:26 AM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by jrch View Post
As I said early on, my intent was not to upgrade the whole system.
The instrux ON THE ADVISORY say to do it, for that specific advisory, with the simple command,
I'm not sure if there's a misunderstanding or you're trying to accomplish a specific thing, but "upgrading the whole system" would consist of installing all the patches that Pat has put out, which would include mostly security advisories (although there's other important updates like glibc-zoneinfo, which updates timezones for the system). There's been 568 security fixes pushed for 14.2 (although some are for the same program like Firefox and Thunderbird). I wasn't suggesting upgrading the system to -current, just automating downloading and installing the patches that Pat puts out for 14.2.

If you haven't installed all the security fixes for 14.2, then your system could be quite vulnerable to attack. Also, all packages that are submitted to SBo are tested against the latest patched version of Slackware at that time. There's a possibility that some packages may not build if you're not fully patched.
 
1 members found this post helpful.
Old 03-23-2020, 10:45 AM   #8
jrch
Member
 
Registered: Mar 2006
Posts: 158

Original Poster
Rep: Reputation: 15
problem, now ... tbird update failed...

Well, I may now be in just the situation you speak of, bass.

Installed slack64 14.2 on another machine - relatively new, lots memory, HD, etc.
Tried to update Thunderbird via single procedure as I described here - it seemed to install but failed to run.

I'll switch to another post, 'Thunderbird won't run after update', to give details. You will probably find plenty to comment on, thanks in advance if you can help.

jrc
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
actually while debugging an assembly language i have got the following error can any body figure out how i can rectify the following error niranjan1609 Linux - Newbie 3 06-03-2018 05:21 PM
LXer: Following TrueCrypt’s bombshell advisory, developer says fork is “impossible” LXer Syndicated Linux News 0 06-20-2014 09:31 AM
i use the following way to install vlc in cent os but i got the following error praveenkalam Linux - Software 6 12-21-2009 03:49 AM
Slackware Security Advisory php Linux - Security 0 11-04-2003 09:44 PM
Red Hat Security Advisory Aussie Linux - Security 0 02-28-2002 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration