LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackpkg-15.0 (https://www.linuxquestions.org/questions/slackware-14/slackpkg-15-0-a-4175690110/)

3rensho 02-08-2021 04:18 AM

Slackpkg-15.0
 
Did the upgrade today including the new slackpkg-15.0 and have some questions about how the new slackpkg works. Perhaps I'm a bit dense but the following things make no sense to me -

1) With the previous version I would run slackpkg update and it would cycle thru the sources (I have slackpkg+ installed too) checking for updates. If I ran slackpkg update again it would check and then stop and tell me that there are no new packages and ask do I want to download the package list again. With the new version it simply runs thru the whole list again ignoring the fact that there were no changes since the previous check.

2) I read about the new blacklist syntax and uncommented the lines pertaining to kernel updates since I always build the packages myself. That said, when I run slackpkg upgrade-all it still offers to install kernel-huge-5.10.14-x86_64-1.txz. Is that supposed to happen?

3) I had several SBo packages blacklisted and with the old slackpkg that worked fine. With the new version it still offers to update them even though I have changed the syntax as far as I understand it.

Thanks for un-confusing this old brain.

3rensho 02-08-2021 05:49 AM

Cleared up item 2. Pkgtool claimed that kernel-huge-5.10.1 was installed even though it wasn't. Used removepkg on it and kernel-huge-5.10.14 is no longer offered when I run "slackpkg upgrade-all". Am tempted at this point to remove slackpkg and installed pkg lists in /var/log and attempt to start over BUT I don't want leave myself marooned with no ability to install packages again.

gegechris99 02-08-2021 05:50 AM

All points are related to the use of slackpkg+ which is not fully compatible with slackpkg-15 as reported in this thread slackpkg+ 1.8

If you disable use of slackpkg+ by making the following change in /etc/slackpkg/slackpkgplus.conf:
Code:

# Enable (on) / Disable (off) slackpkg+
SLACKPKGPLUS=off

you'd notice that slackpkg blacklist works as advertised.

Petri Kaukasoina 02-08-2021 05:53 AM

I have another observation: the default uncommented mirror line in /etc/slackpkg/mirrors.new (copied from /usr/doc/slackpkg-15.0/mirrors-x86*.sample) uses a 14.2 mirror instead of the -current one.

3rensho 02-08-2021 06:36 AM

That did the trick gegechris99. Thanks for pointing that out. Everything works as advertised now.

Yes, I noticed the default uncommented line in mirrors and fixed that straight away Petri.

hitest 02-08-2021 09:24 AM

Quote:

Originally Posted by Petri Kaukasoina (Post 6217731)
I have another observation: the default uncommented mirror line in /etc/slackpkg/mirrors.new (copied from /usr/doc/slackpkg-15.0/mirrors-x86*.sample) uses a 14.2 mirror instead of the -current one.

I did a clean install today using the Feb. 8th Slackware64-current ISO (thank you, Eric!). I was surprised that a 14.2 mirror was uncommented when I ran slackpkg update gpg. Once I commented out the 14.2 mirror and added my usual slackware64-current mirror all worked as expected.

Chuck56 02-08-2021 10:54 AM

Even with SLACKPKGPLUS=off, slackpkg-15 doesn't honor the blacklist when multiple kernel packages are installed on my system

marav 02-08-2021 11:36 AM

Quote:

Originally Posted by Chuck56 (Post 6217842)
Even with SLACKPKGPLUS=off, slackpkg-15 doesn't honor the blacklist when multiple kernel packages are installed on my system

The behavior is curious
The blacklist seems to work on a slackpkg search
But not on a slackpkg install or upgrade-all

Code:

root:slackpkg/ # slackpkg
slackpkg - version 15.0

root:slackpkg/ # echo "sddm-.*" >> blacklist                                                                                                                  [18:33:32]
root:slackpkg/ # slackpkg search sddm
Looking for sddm in package list. Please wait... DONE
No package name matches the pattern.

root:slackpkg/ # slackpkg install sddm
Looking for sddm in package list. Please wait... DONE
Preparing list      [2/2]
Choose packages to install:                                        │ 
                                                │ ┌────────────────────────────────────────────────────────────────┐ │ 
                                                │ │[*] sddm-0.19.0-x86_64-5.txz      slackware64          │ │ 
                                                │ │[*] sddm-kcm-5.20.5-x86_64-2.txz  slackware64          │


EDIT : sorry, my slackpkgplus was "on"

zerouno 02-08-2021 11:49 AM

to fix slackpkg+ blacklist, or report bugs please:
https://www.linuxquestions.org/quest...2/#post6217862
https://www.linuxquestions.org/quest...1/#post6217871

garpu 02-08-2021 12:00 PM

So for those of us on multilib: update glibc, update slackpkg, update aaa_libraries, then everything else? (Assuming since slackpkg+ isn't working with slackpkg 15 that everything will be done manually?)

zerouno 02-08-2021 12:14 PM

if your problem is slackpkg+ do not post here.
otherwise I don't understand the question.

If you want multilib without slackpkg+ then upgrade the system with
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
then read official instructions
https://slackware.nl/people/alien/multilib/README


All times are GMT -5. The time now is 06:19 PM.