LinuxQuestions.org
Help answer threads with 0 replies.
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 08-11-2018, 09:35 AM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,396

Rep: Reputation: 120Reputation: 120
slackpkg upgrade-all questions


Coupla questions ... in /etc/slackpkg/blacklist I had 'libreoffice', yet when I ran slackpkg upgrade-all I got:
Code:
libreoffice-5.4.2-x86_64-1alien
libreoffice-6.0.2-x86_64-1alien
libreoffice-dict-en-5.4.2-x86_64-1alien
libreoffice-dict-en-6.0.2-x86_64-1alien
libreoffice-kde-integration-5.4.2-x86_64-1alien
libreoffice-kde-integration-6.0.2-x86_64-1alien
and the question asking me whether I wanted to blacklist, ignore, etc. I also tried 'libreoffice*' and '[0-9]+alien', still I got the question. So, I answered "Blacklist" and it made the following entries in /etc/slackpkg/blacklist:
Code:
libreoffice
libreoffice-dict-en
libreoffice-kde-integration
I don't see why none of my blacklist specifications worked, esp. the 1st one with just 'libreoffice' since it added that same string automatically. Why the 'dict..' and 'kde..' suffixes? Shouldn't the string 'libreoffice' be a wildcard for anything containing that string?

Question 2:

I upgraded several Slackware64 14.2 systems at the beginning of July and the kernel was upgraded to 4.4.132. I had one more system to go which I just did today (Aug 11), yet it did not upgrade the kernel. This system is still at 4.4.88. The kernel is not blacklisted in /etc/slackpkg/blacklist. Why?

Last edited by mfoley; 08-11-2018 at 09:37 AM.
 
Old 08-12-2018, 03:56 AM   #2
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 785

Rep: Reputation: 284Reputation: 284Reputation: 284
Quote:
Originally Posted by mfoley View Post
Coupla questions ... in /etc/slackpkg/blacklist I had 'libreoffice', yet when I ran slackpkg upgrade-all I got:
Code:
libreoffice-5.4.2-x86_64-1alien
libreoffice-6.0.2-x86_64-1alien
libreoffice-dict-en-5.4.2-x86_64-1alien
libreoffice-dict-en-6.0.2-x86_64-1alien
libreoffice-kde-integration-5.4.2-x86_64-1alien
libreoffice-kde-integration-6.0.2-x86_64-1alien
Are you using slackpkg+ with slackpkg?

Are you using Alien Bob's repository?

What you have is two of each package installed. At some point you must have ran installpkg with libreoffice. You need to run removepkg on one of the set. Alternatively you should be able to run 'slackpkg remove libreoffice' and then select which packages to remove. I'd go with the older version, then run 'slackpkg reinstall libreoffice' for the newer packages.

Quote:
and the question asking me whether I wanted to blacklist, ignore, etc. I also tried 'libreoffice*' and '[0-9]+alien', still I got the question. So, I answered "Blacklist" and it made the following entries in /etc/slackpkg/blacklist:
Code:
libreoffice
libreoffice-dict-en
libreoffice-kde-integration
Well that is what you told slackpkg to do, so it blacklisted libreoffice.

The first libreoffice is enough to blacklist the last two.

Quote:
I don't see why none of my blacklist specifications worked, esp. the 1st one with just 'libreoffice' since it added that same string automatically. Why the 'dict..' and 'kde..' suffixes? Shouldn't the string 'libreoffice' be a wildcard for anything containing that string?
Slackpkg made the blacklist entries based on what was shown where your were given the option to blacklist, it took the three base package names and blacklist them as requested. Slackpkg does not know your eventual intentions, so it took care of all by blacklisting as requested. When I run in to this situation, I just ignore, you will be dropped out of slackpkg so you can handle the situation.

Question 2:

Quote:
I upgraded several Slackware64 14.2 systems at the beginning of July and the kernel was upgraded to 4.4.132. I had one more system to go which I just did today (Aug 11), yet it did not upgrade the kernel. This system is still at 4.4.88. The kernel is not blacklisted in /etc/slackpkg/blacklist. Why?
Not enough information to answer. If the default kernel entries (commented out) in blacklist are not commented out then slackpkg should have upgraded the kernel packages.

What does 'slackpkg search kernel' ouutput?
 
Old Yesterday, 08:26 AM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,396

Original Poster
Rep: Reputation: 120Reputation: 120
On thing at a time:
Quote:
Originally Posted by chrisretusn View Post
If the default kernel entries (commented out) in blacklist are not commented out then slackpkg should have upgraded the kernel packages.

What does 'slackpkg search kernel' ouutput?
Output of 'slackpkg search kernel' is:
Code:
# slackpkg search kernel

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

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

[uninstalled] - kernel-firmware-20180727_b01151b-noarch-1
[uninstalled] - kernel-generic-4.4.144-x86_64-1
[uninstalled] - kernel-headers-4.4.144-x86-1
[uninstalled] - kernel-huge-4.4.144-x86_64-1
[uninstalled] - kernel-modules-4.4.144-x86_64-1
[uninstalled] - kernel-source-4.4.144-noarch-1
[uninstalled] - kernel-module-ecryptfs-4.4.14-x86_64-1
My /etc/slackpkg/blacklist is:
Code:
#kernel-firmware
#kernel-generic
#kernel-generic-smp
#kernel-headers
#kernel-huge
#kernel-huge-smp
#kernel-modules
#kernel-modules-smp
#kernel-source

[0-9]+_SBo
[0-9]+alien
libreoffice
libreoffice-dict-en
libreoffice-kde-integration
Which *should* mean my kernel gets updated. However, when I run 'slackpkg ugrade-all' I get:
Code:
# 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
So, what's going on?

Last edited by mfoley; Yesterday at 08:27 AM.
 
Old Yesterday, 09:21 AM   #4
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 811

Rep: Reputation: 657Reputation: 657Reputation: 657Reputation: 657Reputation: 657Reputation: 657
Hello,

Can you post the output of :
Code:
$ ls /var/log/packages/kernel*

$ ls /var/log/packages/slackpkg*
--
SeB
 
Old Yesterday, 09:49 AM   #5
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,327

Rep: Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260
Quote:
Originally Posted by mfoley View Post
Output of 'slackpkg search kernel' is:
Code:
# slackpkg search kernel

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

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

[uninstalled] - kernel-firmware-20180727_b01151b-noarch-1
[uninstalled] - kernel-generic-4.4.144-x86_64-1
[uninstalled] - kernel-headers-4.4.144-x86-1
[uninstalled] - kernel-huge-4.4.144-x86_64-1
[uninstalled] - kernel-modules-4.4.144-x86_64-1
[uninstalled] - kernel-source-4.4.144-noarch-1
if it's uninstalled it cannot be upgraded, right?
 
Old Yesterday, 04:06 PM   #6
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,396

Original Poster
Rep: Reputation: 120Reputation: 120
Quote:
Originally Posted by phenixia2003 View Post
Hello,

Can you post the output of :
Code:
$ ls /var/log/packages/kernel*

$ ls /var/log/packages/slackpkg*
Code:
# ls /var/log/packages/kernel*
/bin/ls: cannot access '/var/log/packages/kernel*': No such file or directory

# ls /var/log/packages/slackpkg*
/var/log/packages/slackpkg-2.82.1-noarch-3
Quote:
Originally Posted by ponce View Post
if it's uninstalled it cannot be upgraded, right?
I regularly update half-a-dozen or more Slackware computers quarterly, sometimes, but not always, updating the kernel -- which I do simply by commenting out the kernel modules in the blacklist file. My logfiles on this particular computer indicate I updated from kernel 4.4.75 to 4.4.88 last October, so this has worked before. Not sure what's up this time.

You're right about the uninstalled/upgrade thing. Doing the same search on another computer gives:
Code:
> slackpkg search kernel

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

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

[  upgrade  ] - kernel-firmware-20170914git-noarch-1 --> kernel-firmware-20180727_b01151b-noarch-1
[  upgrade  ] - kernel-generic-4.4.88-x86_64-1 --> kernel-generic-4.4.144-x86_64-1
[  upgrade  ] - kernel-headers-4.4.88-x86-1 --> kernel-headers-4.4.144-x86-1
[  upgrade  ] - kernel-huge-4.4.88-x86_64-1 --> kernel-huge-4.4.144-x86_64-1
[  upgrade  ] - kernel-modules-4.4.88-x86_64-1 --> kernel-modules-4.4.144-x86_64-1
[  upgrade  ] - kernel-source-4.4.88-noarch-1 --> kernel-source-4.4.144-noarch-1
[uninstalled] - kernel-module-ecryptfs-4.4.14-x86_64-1
and the 4.4.88 packages *are* in /var/log/packages on that machine.

Perhaps things are out-of-wack for some reason. Maybe I should just manually install the 4.4.144 kernel modules and I should be back on track?

Last edited by mfoley; Yesterday at 04:14 PM.
 
Old Yesterday, 04:19 PM   #7
Gordie
Member
 
Registered: Aug 2007
Posts: 385

Rep: Reputation: 119Reputation: 119
THIS WORKS, for me at least. When changing mirrors OR when experiencing problems, empty this directory
Code:
rm /var/lib/slackpkg/*
 
  


Reply

Tags
blacklist, slackpkg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What have I done. slackpkg upgrade-all evanmars Linux - Laptop and Netbook 2 12-04-2017 09:22 AM
Further slackpkg questions Josh000 Slackware 6 02-21-2011 07:54 PM
[SOLVED] After upgrade all using slackpkg upgrade, configuration is failed to read ethereal1m Linux - Newbie 3 04-28-2010 01:03 AM
slackpkg upgrade-all does not show an upgrade sycamorex Slackware 6 11-03-2009 05:29 AM
Slackpkg questions jerf Slackware 1 03-25-2008 08:41 AM

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

All times are GMT -5. The time now is 01:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration