LinuxQuestions.org
Review your favorite Linux distribution.
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 09-23-2017, 12:45 PM   #16
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106

Quote:
Originally Posted by BW-userx View Post
Pat needs to slap-get his butt up in a chair and behind the keyboard and fix that.
The pkgtools work like this by design. No need to fix anything.
 
Old 09-23-2017, 12:47 PM   #17
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
I use sbopkg ncurses (I think) manager similar in looks to pkgtool. I've never had downgrades with it. It will tell me if I have a newer package. Occasionally I'll install a newer package than what is available at Slackbuilds. It has a queue where you adjust order and decide if packages will be upgraded or not. If a mistake happens it is user error. https://sbopkg.org/

It also lets you edit build scripts. It saves a local copy for later use. You can delete it the local copy too. It provides all the information available from Slackbuilds. I also have created a few directories with sources and Slackbuilds with some custom edits.
 
Old 09-23-2017, 01:30 PM   #18
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Alien Bob View Post
The pkgtools work like this by design. No need to fix anything.
everything works by design unless it doesn't, if something is designed not to do something it will not, and visa versa.
 
Old 09-23-2017, 01:45 PM   #19
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 BW-userx View Post
everything works by design unless it doesn't, if something is designed not to do something it will not, and visa versa.
What are you talking about? It is well known that upgradepkg doesn't do anything more than to verify the package versions are different (or at least the build number at the end). You can use it to upgrade or downgrade packages.

As 55020 mentioned, freetype was recently "downgraded" in -current from 2.8.1 to 2.8. upgradepkg will "upgrade" the 2.8.1 package with the 2.8 package without any hesitation. It is how it was designed.

It is working exactly as it is supposed to.
 
Old 09-23-2017, 02:29 PM   #20
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by bassmadrigal View Post
What are you talking about? It is well known that upgradepkg doesn't do anything more than to verify the package versions are different (or at least the build number at the end). You can use it to upgrade or downgrade packages.

As 55020 mentioned, freetype was recently "downgraded" in -current from 2.8.1 to 2.8. upgradepkg will "upgrade" the 2.8.1 package with the 2.8 package without any hesitation. It is how it was designed.

It is working exactly as it is supposed to.
missing leading function name
 
Old 09-23-2017, 03:03 PM   #21
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 BW-userx View Post
missing leading function name
You're upgrading the package installed on the computer with the one you want to install. It could be a newer or older version.

If it were to manage version numbers and only install them if they're newer, how is it supposed to differentiate between to commit IDs on which on is newer? cf142a4 could be a newer or older version of 4fd95a2. Or to know if 2.7.9 is newer or older than 2.7.10? Or when they throw letters in it like OpenSSL. Could you imagine trying to build the regex to figure all that out?

Rather than adding all the complexity to the program, upgradepkg is used to upgrade the package that is installed with the one you want to install, no matter what the versions are.
 
1 members found this post helpful.
Old 09-23-2017, 03:46 PM   #22
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by bassmadrigal View Post
You're upgrading the package installed on the computer with the one you want to install. It could be a newer or older version.

If it were to manage version numbers and only install them if they're newer, how is it supposed to differentiate between to commit IDs on which on is newer? cf142a4 could be a newer or older version of 4fd95a2. Or to know if 2.7.9 is newer or older than 2.7.10? Or when they throw letters in it like OpenSSL. Could you imagine trying to build the regex to figure all that out?

Rather than adding all the complexity to the program, upgradepkg is used to upgrade the package that is installed with the one you want to install, no matter what the versions are.
it all started with sbotools when someone posted the docs to it, showing within the docs the upgrade all so I did it just to see what I'd see and it said blender upgrade y ? so I said why not maybe that one finally updated it page on slackbilds so I said y and I noticed it put me back a version, and well I posted it, and here we are ....
 
Old 09-23-2017, 04:49 PM   #23
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 BW-userx View Post
it all started with sbotools when someone posted the docs to it, showing within the docs the upgrade all so I did it just to see what I'd see and it said blender upgrade y ? so I said why not maybe that one finally updated it page on slackbilds so I said y and I noticed it put me back a version, and well I posted it, and here we are ....
It works the same as Slackware's upgradepkg, so there's nothing wrong with it. Just because you expect something different doesn't mean the program isn't working as it was designed to.
 
Old 09-23-2017, 05:28 PM   #24
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by bassmadrigal View Post
It works the same as Slackware's upgradepkg, so there's nothing wrong with it. Just because you expect something different doesn't mean the program isn't working as it was designed to.
the scapegoat phrase, it is designed to work that way .. I was merrily pointing out that to the one that is trying to upgrade something that it doesn't necessary upgrade because it downgrades too ...

so obviously the name upgradepkg is misleading
 
Old 09-23-2017, 05:44 PM   #25
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 BW-userx View Post
so obviously the name upgradepkg is misleading
As I said earlier...

Quote:
You're upgrading the package installed on the computer with the one you want to install. It could be a newer or older version.
 
Old 09-23-2017, 05:47 PM   #26
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by bassmadrigal View Post
As I said earlier...
it is not upgrading when you downgrade .. you can say that all day long to me and It is still not upgrading when you're.

yeah I upgraded to a 1809 used car from my 2017 one. .. its ok it is designed to not turn corners like my other one.the door falls off too but that is ok it is not designed to last that long.

I am not that gullible

Last edited by BW-userx; 09-23-2017 at 05:52 PM.
 
Old 09-23-2017, 06:07 PM   #27
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by BW-userx View Post
the scapegoat phrase, it is designed to work that way .. I was merrily pointing out that to the one that is trying to upgrade something that it doesn't necessary upgrade because it downgrades too ...

so obviously the name upgradepkg is misleading
Get over it.
 
2 members found this post helpful.
Old 09-23-2017, 09:11 PM   #28
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 BW-userx View Post
it is not upgrading when you downgrade .. you can say that all day long to me and It is still not upgrading when you're.
It is not the form of upgrading that you're used to, but Merriam-Webster defines an upgrade as an improvement. If the newer package is broken, then the improvement/upgrade would be to use a lower version.

There's multiple meanings to a word.
 
2 members found this post helpful.
Old 09-23-2017, 09:16 PM   #29
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Alien Bob View Post
Get over it.
you and the others are the ones trying to push a lie onto me and keep posting to me on this, I'm just replying, and calling a function with the word upgrade in it when it is installing everything no matter what version it is regardless of what version is already install, it not upgrading when it is a lesser version being replaced.

period.

saying it is designed to do what it does, really?

I can write a function and call it update_everything() then have it delete whatever I want while updating something else, and tell people their is nothing wrong with it, it is designed like that , no need to fit it, same thing.

upgradepkg is misleading because it can downgrade as well, I post a true and you're defending a lie. upgrade is upgrade and downgrade is downgrade. designed to do something is something anyone can do and have it NOT do what the name clearly suggest it does then take your stance on it. but why should I be that?

get over it? what do I have to get over? I am not the one trying to make you believe upgrading is the same as downgrading.

Last edited by BW-userx; 09-23-2017 at 09:34 PM.
 
Old 09-23-2017, 10:16 PM   #30
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 BW-userx View Post
you and the others are the ones trying to push a lie onto me and keep posting to me on this, I'm just replying, and calling a function with the word upgrade in it when it is installing everything no matter what version it is regardless of what version is already install, it not upgrading when it is a lesser version being replaced.
You're not wrong that an upgrade can be a version that has a higher number than the older one. But, as I posted above, there's more than one meaning to the word. You're understanding of the word upgrade is limited. You specifically state a lower version number is a lesser version? What if the new one broke something? If you're replacing something that is broken with something that isn't, is the broken one the "greater" version and the working one is the "lesser" version? How many people refused newer versions of Windows because they were lesser quality than the version they're currently using? (A lot.) You just need to understand that it is using a different meaning of the word than you are expecting.

I don't see this as any different from the people who think a fully patched 14.2 install is "current". While it is correct in one form, it is incorrect in the sense that Slacwkare's development branch is -current.

Is there a better word that could be used for upgradepkg? Probably. Is using upgrade in upgradepkg incorrect? No. Is it worth it to try and replace upgradepkg with something else? Probably not. There's far too many things out there that rely on it and most people quickly learn that "upgrade" can mean more than just a newer version. But who knows, maybe you could request Pat to change it in future releases (although, I don't suspect this would happen).
 
  


Reply

Tags
slackbuilds, updates



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
Clamav has upgraded from 0.98.1 to 0.98.3 How to update Slackbuilds? The GNUinator Slackware 12 06-18-2014 02:21 AM
announcement: sbotools - scripts to interface with slackbuilds.org d4wnr4z0r Slackware 0 06-01-2012 05:45 PM
Updating Slackbuilds.org scripts. Etiquette? Gavin Harper Slackware 7 03-29-2011 11:33 PM
[SOLVED] Slackware 13 64bit: First time using SlackBuilds and unable to install programs. Switch7 Slackware 19 10-08-2009 09:26 AM
Programs installed with package manager aren't recognised by other programs fraserm Linux - Software 3 04-21-2007 12:38 PM

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

All times are GMT -5. The time now is 02:02 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