LinuxQuestions.org
Visit Jeremy's Blog.
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 02-05-2022, 01:51 PM   #16
CMartin
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 48

Rep: Reputation: 22

Quote:
Originally Posted by khronosschoty View Post
You can blacklist php via /etc/slackpkg/blacklist
Certainly, but it's not supposed to be like that. Slackpkg should upgrade to php-7, not downgrade it back to php-5.
 
Old 02-05-2022, 01:57 PM   #17
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
what happens when you run slackpkg upgrade and select php? whats the ouput?
 
Old 02-05-2022, 02:13 PM   #18
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,938

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
php-5.6.40-x86_64-1 is in pasture. Did you change PRIORITY in slackpkg.conf ?
 
Old 02-05-2022, 02:16 PM   #19
CMartin
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 48

Rep: Reputation: 22
Quote:
Originally Posted by Petri Kaukasoina View Post
php-5.6.40-x86_64-1 is in pasture. Did you change PRIORITY in slackpkg.conf ?
This is from my new slackpkg.conf of Slackware 15.0:

# Default value: patches %PKGMAIN extra pasture testing
PRIORITY=( patches %PKGMAIN extra pasture testing )
 
Old 02-05-2022, 02:17 PM   #20
CMartin
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 48

Rep: Reputation: 22
Quote:
Originally Posted by khronosschoty View Post
what happens when you run slackpkg upgrade and select php? whats the ouput?
Nothing happens:
Code:
root@caribou:/tmp# slackpkg search php

Looking for php in package list. Please wait... DONE

The list below shows all packages with name matching "php".

[ installed ] - kdev-php-21.12.1-x86_64-1
[  upgrade  ] - php-5.6.40-x86_64-1 --> php-7.4.27-x86_64-1
[uninstalled] - php80-8.0.15-x86_64-1
[uninstalled] - php81-8.1.2-x86_64-1
#############################################################

If I try to uppgrade:

Code:
root@caribou:/tmp# slackpkg upgrade-all

Checking local integrity... DONE
Looking for packages to upgrade. Please wait... DONE

No packages match the pattern for upgrade. Try:

        /usr/sbin/slackpkg install|reinstall

I removed php-5 and tried to install php anew with updated list of Slackware 15.0, and I get this, see the attachment:

Code:
root@caribou:/tmp# slackpkg install php
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20220205_120623.png
Views:	32
Size:	4.6 KB
ID:	38280  
 
Old 02-05-2022, 02:50 PM   #21
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by CMartin View Post
Nothing happens:
Code:
root@caribou:/tmp# slackpkg search php

Looking for php in package list. Please wait... DONE

The list below shows all packages with name matching "php".

[ installed ] - kdev-php-21.12.1-x86_64-1
[  upgrade  ] - php-5.6.40-x86_64-1 --> php-7.4.27-x86_64-1
[uninstalled] - php80-8.0.15-x86_64-1
[uninstalled] - php81-8.1.2-x86_64-1
#############################################################

If I try to uppgrade:

Code:
root@caribou:/tmp# slackpkg upgrade-all

Checking local integrity... DONE
Looking for packages to upgrade. Please wait... DONE

No packages match the pattern for upgrade. Try:

        /usr/sbin/slackpkg install|reinstall

I removed php-5 and tried to install php anew with updated list of Slackware 15.0, and I get this, see the attachment:

Code:
root@caribou:/tmp# slackpkg install php
what mirror are you using?
 
Old 02-05-2022, 02:59 PM   #22
CMartin
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 48

Rep: Reputation: 22
Quote:
Originally Posted by khronosschoty View Post
what mirror are you using?
I tried:
http://mirrors.us.kernel.org/slackwa...ckware64-15.0/
http://mirrors.xmission.com/slackware/slackware64-15.0/
http://slackware.mirrors.tds.net/pub...ckware64-15.0/

Updated the list of pkgs each time, no difference. When php-7 is manually installed (slackpkg can not install php-7), slackpkg wants to downgrade it to php-5.
 
Old 02-05-2022, 03:02 PM   #23
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
try clearing out anything slackpkg related and restore defaults, including the gpg key, then remove php manually as well. Then re-run slackpkg from a fresh slate and installing php... thats the only suggestion I can make... its just hunch / something I might try. Sorry I'm not more help
 
Old 02-05-2022, 03:11 PM   #24
CMartin
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 48

Rep: Reputation: 22
Quote:
Originally Posted by khronosschoty View Post
try clearing out anything slackpkg related and restore defaults, including the gpg key, then remove php manually as well. Then re-run slackpkg from a fresh slate and installing php... thats the only suggestion I can make... its just hunch / something I might try. Sorry I'm not more help
I already did it several times by now, and I suspect it's one of reasons there are or were two different Slackware 15.0 ISOs, not only to fix some notes.

Last edited by CMartin; 02-05-2022 at 03:17 PM.
 
Old 02-05-2022, 03:31 PM   #25
tadgy
Member
 
Registered: May 2018
Location: UK
Distribution: Slackware (servers), Void (desktop/laptop)
Posts: 304

Rep: Reputation: 409Reputation: 409Reputation: 409Reputation: 409Reputation: 409
Quote:
Originally Posted by CMartin View Post
I already did it several times by now, and I suspect it's one of reasons there are or were two different Slackware 15.0 ISOs, not only to fix some notes.
No packages *at all* were changed between the two ISOs.

There were ONLY minor documentation changes made - otherwise the trees are identical.
 
  


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
LXer: Microsoft has signed up to the Open Invention Network. We repeat. Microsoft has signed up to the OIN LXer Syndicated Linux News 0 10-11-2018 09:02 AM
SSL - Signed vs non-Signed wh33t Linux - Security 8 06-20-2014 12:59 PM
how to create signed (not self signed) certificate for Apache ? dlugasx Linux - Server 4 12-16-2011 10:08 AM
Trying to upload manually signed packages to PPA that are showing up as not signed. Kenny_Strawn Ubuntu 3 10-14-2010 05:54 PM
Problem with sending a signed int to another signed int. Almost random number given. RHLinuxGUY Programming 8 08-15-2006 11:38 AM

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

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