LinuxQuestions.org
Help answer threads with 0 replies.
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-05-2018, 06:46 AM   #1
PreguntoYo
Member
 
Registered: Jan 2012
Distribution: openSUSE, Gentoo, Slackware
Posts: 73

Rep: Reputation: 15
Question intel-microde: INSTALLED PACKAGE IS NEWER THAN REPO


Hello:

I noticed this message today, while trying to update the intel-microcode SBo package in my Slackware 64 14.2 stable.

I thought I had the most up to-date version:

intel-microcode-20180108-noarch-1_SBo

But sbopkg proposes updating to an older version?:

intel-microcode-20171117-noarch-1_SBo

Is this correct?. Have I missed something?
 
Old 03-05-2018, 06:55 AM   #2
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Intel recalled the 0108 package as it was causing issues, so most people (including SBo it seems) reverted to the 1117 release: which is still listed as the latest version on the intel download page.
 
Old 03-05-2018, 07:02 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
I am not sure what command you typed, but any application that relies on upgradepkg will just replace an installed package by another one found proposed for "upgrade", as long as the short name is the same but the versions or build tags differ.

upgradepkg neither knows nor cares which is newer between the two, and the newer is not always the better, as Gazl just posted while I was still writing. That's your task, as a user, to know what you are doing.

This has been stated in several thread in this forum.

Last edited by Didier Spaier; 03-05-2018 at 07:08 AM. Reason: Reworded to enhance accuracy
 
Old 03-05-2018, 07:17 AM   #4
PreguntoYo
Member
 
Registered: Jan 2012
Distribution: openSUSE, Gentoo, Slackware
Posts: 73

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Didier Spaier View Post
I am not sure what command you typed, but any application that relies on upgradepkg will just replace an installed package by another one found in the source repository, as long as the short name is the same but the versions or build tags differ.

upgradepkg neither knows nor cares which is newer between the two, and the newer is not always the better, as Gazl just posted while I was still writing. That's your task, as a user, to know what you are doing.

This has been stated in several thread in this forum.
I just let Sbopkg check if there were any updates to my installed packages. I found something that seemed "strange" to me and decided to ask before typing anything else. I thought other people could have the same doubt.

How may I say it... it's difficult to keep with the news lately; Meltdown, Spectre, kernel upgrades, Intel microcode (reverting to an older version)...

I know that Slackware can let you revert to older versions of packages, but I haven't done this many times since I started with Slackware.
 
Old 03-05-2018, 07:27 AM   #5
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
PreguntoYo - it was a good question, and Gazl had the answer as to why it was different. If all of us knew what we were doing, we wouldn't need Linuxquestions. I would have asked too.
 
Old 03-05-2018, 07:43 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by PreguntoYo View Post
I found something that seemed "strange" to me and decided to ask before typing anything else. I thought other people could have the same doubt.
And rightly so. Sorry if my previous answer looked harsh.
 
Old 03-05-2018, 09:13 AM   #7
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
I am not sure what command you typed
I'd guess it was 'sbopkg -c'.
 
Old 03-05-2018, 04:07 PM   #8
PreguntoYo
Member
 
Registered: Jan 2012
Distribution: openSUSE, Gentoo, Slackware
Posts: 73

Original Poster
Rep: Reputation: 15
Closing thread

Quote:
Originally Posted by Didier Spaier View Post
And rightly so. Sorry if my previous answer looked harsh.
No problem.

I let upgradepkg revert to the older version (I still had the package around):

Code:
# upgradepkg intel-microcode-20180108-noarch-1_SBo%intel-microcode-20171117-noarch-1_SBo.tgz
I think my command could be simplified, anyway it worked to me.

Thanks for your help.
 
Old 03-05-2018, 06:44 PM   #9
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 PreguntoYo View Post
Code:
# upgradepkg intel-microcode-20180108-noarch-1_SBo%intel-microcode-20171117-noarch-1_SBo.tgz
I think my command could be simplified, anyway it worked to me.
The only time you need to run the upgradepkg command like that is when the package names have changed. This allows upgradepkg to know what the old package name is so it can upgrade it with the new one.

In this case, all you needed to run was the following, but your method still works, it's just more typing

Code:
upgradepkg /location/to/intel-microcode-20171117-noarch-1_SBo.tgz
 
  


Reply

Tags
intel



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
Veritying non-breakage in a Python 3 library installed as a distro repo package (Debian Testing) MickeyLater Programming 1 02-27-2018 02:36 PM
Would it be safe to 'unblacklist' intel-microde once after upgrade mzsade Debian 4 07-19-2016 11:14 AM
[SOLVED] how to pin a package to be installed from specific repo? tripialos Linux - Newbie 5 07-03-2015 05:45 AM
Which yum repo was a package installed from? arizonagroovejet Linux - General 1 08-25-2008 08:58 AM
Yum Error: Transaction Check Error package x(which is newer than package y)... godsk Linux - Newbie 0 06-05-2006 07:13 AM

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

All times are GMT -5. The time now is 11:14 AM.

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