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 01-31-2021, 06:50 AM   #16
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,863

Rep: Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525

Quote:
Originally Posted by igadoter View Post
What about packages marked as Rebuilt? How slackpkg treat such packages?
Like "Upgraded". slackpkg upgrade-all will upgrade rebuilt packages, if you already have different versions of those packages installed, but will ignore them otherwise.
 
Old 01-31-2021, 06:51 AM   #17
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by Petri Kaukasoina View Post
It's slackpkg install PATTERN:
Code:
        slackpkg [OPTIONS] {install|remove|search|file-search|
                            upgrade|reinstall|blacklist} {PATTERN|FILE}
PATTERN matches names. There is no package which contains *slackware*. I mean it is way most people thinks about patterns.
 
Old 01-31-2021, 06:59 AM   #18
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,863

Rep: Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525
Quote:
Originally Posted by igadoter View Post
PATTERN matches names. There is no package which contains *slackware*. I mean it is way most people thinks about patterns.
The path name of the file contains "slackware". Just like on slackware-stable, you can use "slackpkg update && slackpkg upgrade patches" to keep the system current. "patches" is in the path. Or you can "slackpkg remove kde" to remove the kde stuff.
 
Old 01-31-2021, 07:14 AM   #19
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
So name of package is eg. slackware/a/elilo*.txz? Ok this again clarifies things.

Edit: I am happy to announce I am posting this from Slackware -current. Just fixed missing huge kernel. Great thanks to Petri_Kaukasoina. All packages are now installed. So it is definitely solved.

Last edited by igadoter; 01-31-2021 at 12:00 PM.
 
Old 02-01-2021, 05:05 PM   #20
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 igadoter View Post
So name of package is eg. slackware/a/elilo*.txz? Ok this again clarifies things.

Edit: I am happy to announce I am posting this from Slackware -current. Just fixed missing huge kernel. Great thanks to Petri_Kaukasoina. All packages are now installed. So it is definitely solved.
PATTERN can be slackware/slackware64 (32bit/64bit), which consists of every package in the slackware{64} directory (won't include testing/ or patches/). It can also be set to packages sets (ie. kde, xap, ap, etc), individual packages, or multiple packages matching the PATTERN. You can also set PATTERN to testing, patches, and extra, covering those directories on the mirror. For packages, you only need to include the package name and don't need to include the package set, version, arch, or even the extension (.txz), so with your above excample, you could just use slackpkg {install,remove,upgrade,reinstall} elilo, specifying the desired action.

So, on a 32bit Slackware, you can simply run slackpkg install slackware and it will install everything that resides in the "slackware/" folder on the mirror. On a 64bit Slackware, you'd use slackpkg install slackware64, since all those packages reside under the slackware64/ folder on the mirror.

If you choose "install", it will prompt to install any and all packages under that PATTERN, upgrade will prompt to only upgrade existing packages under that PATTERN, reinstall will prompt to reinstall any package already installed (but won't install ones that aren't installed) under that PATTERN, and remove will prompt remove all packages under that PATTERN.
 
2 members found this post helpful.
  


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
SARPI on Pi3 - Ran slackpkg update & slackpkg upgrade-all and now won't boot, can't find init petejc Slackware - ARM 11 03-25-2020 04:30 AM
[SOLVED] Slackpkg upgrade-all returns 'no packages to upgrade' after slackpkg-update has downloaded files san2ban Slackware 8 11-01-2019 05:44 AM
[SOLVED] [ENCHANCEMENT] slackpkg+: do not show the notices "pkglist is older than 24h..." and "remember to re-run 'slackpkg update''..."... yars Slackware 1 01-09-2016 09:56 AM
slackpkg upgrade-all does not show an upgrade sycamorex Slackware 6 11-03-2009 05:29 AM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM

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

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