LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-01-2020, 05:08 PM   #1
ganjaplanet
LQ Newbie
 
Registered: Feb 2016
Location: Jince, Czech Republic
Distribution: Slackware, openSUSE, Debian
Posts: 28
Blog Entries: 1

Rep: Reputation: 1
Setting slackpkg+ repository priority


Hi!

I'm using slackware-current. I've just mirrored Dropline GNOME packages for version 3.38 locally and created
a slackpkg+ repository from it using the `gen_repos_files.sh` tools. Everything works fine except upgrading the packages. To keep Dropline GNOME working, i want to upgrade its packages (pattern `[0-9]+dl`) with packages coming from the same repository only, to prevent upgrading Dropline packages with packages of the same name coming from the slackware-current repository.
Is that possible in `slackpkg.conf` or `slackpkgplus.conf`?

thx
 
Old 12-01-2020, 10:02 PM   #2
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 443

Rep: Reputation: 229Reputation: 229Reputation: 229
That is what I have been trying to work on with Saxa but I have been really busy with work and family that I haven't completed the Changelog file or any of the other files needed to make it slackpkg+ complaint.

I have a partial Changelog.txt file if you would like to take a look at it and complete as much as you can.

my personal e-mail address is naterussell83@gmail.com, I can send you the files that I have currently done. One thing I am missing is like i said a complete changelog and a GPG-KEY.
 
Old 12-02-2020, 02:07 AM   #3
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
Quote:
Originally Posted by ganjaplanet View Post
Hi!

I'm using slackware-current. I've just mirrored Dropline GNOME packages for version 3.38 locally and created
a slackpkg+ repository from it using the `gen_repos_files.sh` tools. Everything works fine except upgrading the packages. To keep Dropline GNOME working, i want to upgrade its packages (pattern `[0-9]+dl`) with packages coming from the same repository only, to prevent upgrading Dropline packages with packages of the same name coming from the slackware-current repository.
Is that possible in `slackpkg.conf` or `slackpkgplus.conf`?

thx
Have you added your local repository?

Here is my slackpkgplus.conf, applicable lines on how I would achieve this. I use gen_repos_files.sh on my local nonslack repository. I have removed some of my entries to avoid confusion.

Code:
PKGS_PRIORITY=( slackware64:id3lib ) # Added 2018-01-09, also in alienbob
# I put dropline where I would most likely put it. 
PKGS_PRIORITY+=( nonslack slackpkgplus multilib dropline restricted alienbob )

REPOPLUS=( nonslack slackpkgplus multilib dropline restricted alienbob )

MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+dev/
MIRRORPLUS['nonslack']=file://home/non-slack/slackbuilds/
MIRRORPLUS['multilib']=file://home/non-slack/multilib/current/
MIRRORPLUS['alienbob']=file://home/non-slack/alienbob/
MIRRORPLUS['restricted']=file://home/non-slack/alienbob_restricted/
# dropline GNOME local mirror were I would place it. Fix it for yours.
MIRRORPLUS['dropline']=file://home/non-slack/dropline-gnome/
It would be nice to see your slackpkgplus.conf though, so I can see what you are doing.
 
Old 12-02-2020, 03:03 AM   #4
ganjaplanet
LQ Newbie
 
Registered: Feb 2016
Location: Jince, Czech Republic
Distribution: Slackware, openSUSE, Debian
Posts: 28

Original Poster
Blog Entries: 1

Rep: Reputation: 1
Quote:
Originally Posted by chrisretusn View Post
Have you added your local repository?

Here is my slackpkgplus.conf, applicable lines on how I would achieve this. I use gen_repos_files.sh on my local nonslack repository. I have removed some of my entries to avoid confusion.

Code:
PKGS_PRIORITY=( slackware64:id3lib ) # Added 2018-01-09, also in alienbob
# I put dropline where I would most likely put it. 
PKGS_PRIORITY+=( nonslack slackpkgplus multilib dropline restricted alienbob )

REPOPLUS=( nonslack slackpkgplus multilib dropline restricted alienbob )

MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+dev/
MIRRORPLUS['nonslack']=file://home/non-slack/slackbuilds/
MIRRORPLUS['multilib']=file://home/non-slack/multilib/current/
MIRRORPLUS['alienbob']=file://home/non-slack/alienbob/
MIRRORPLUS['restricted']=file://home/non-slack/alienbob_restricted/
# dropline GNOME local mirror were I would place it. Fix it for yours.
MIRRORPLUS['dropline']=file://home/non-slack/dropline-gnome/
It would be nice to see your slackpkgplus.conf though, so I can see what you are doing.

Hi chrisretusn

yes, i have added my local deopline repo, this is my slackpkgplus.conf file (at least the parts that i've changed:

Code:
# i do not use priority yet
#PKGS_PRIORITY=( dropline )
REPOPLUS=( slackpkgplus alienbob restricted dropline )
MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+/
MIRRORPLUS['alienbob']=http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/x86_64/
MIRRORPLUS['restricted']=http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/current/x86_64/
MIRRORPLUS['dropline']=file://home/tbazant/dev/dropline/mirror/3.38/
the problem is that `slackpkg upgrade-all` still wants to upgrade for example NetworkManager-openvpn from dropline to slackware64, which might break
functionality. I want dropline packages to remain dropline's :-)

thx

Tomáš
 
Old 12-02-2020, 03:15 AM   #5
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

In your slackpkgplus.conf, uncomment the line :
Code:
#PKGS_PRIORITY=( dropline )
Then, run 'slackpkg update'. Once done, 'slackpkg upgrade-all' should no longer suggest to upgrade the dropline packages with slackware packages.

--
SeB
 
Old 12-02-2020, 03:38 AM   #6
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
What @phenixia2003 said.
 
Old 12-02-2020, 04:12 AM   #7
ganjaplanet
LQ Newbie
 
Registered: Feb 2016
Location: Jince, Czech Republic
Distribution: Slackware, openSUSE, Debian
Posts: 28

Original Poster
Blog Entries: 1

Rep: Reputation: 1
i did the changes but the ncurses list opened by `upgrade-all` still offers to upgrade dl packages to slackware64 :-(
 
Old 12-02-2020, 04:37 AM   #8
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by ganjaplanet View Post
i did the changes but the ncurses list opened by `upgrade-all` still offers to upgrade dl packages to slackware64 :-(
Can you attach a copy of the following files :
Code:
/var/lib/slackpkg/CHECKSUMS.md5
/var/lib/slackpkg/pkglist
--
SeB
 
Old 12-02-2020, 04:48 AM   #9
ganjaplanet
LQ Newbie
 
Registered: Feb 2016
Location: Jince, Czech Republic
Distribution: Slackware, openSUSE, Debian
Posts: 28

Original Poster
Blog Entries: 1

Rep: Reputation: 1
hmmm, when trying to attach them, LQ says 'invalid file', how to do that properly?
 
Old 12-02-2020, 04:51 AM   #10
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by ganjaplanet View Post
hmmm, when trying to attach them, LQ says 'invalid file', how to do that properly?
an extension .txt should do the trick.

--
SeB
 
Old 12-02-2020, 09:04 AM   #11
ganjaplanet
LQ Newbie
 
Registered: Feb 2016
Location: Jince, Czech Republic
Distribution: Slackware, openSUSE, Debian
Posts: 28

Original Poster
Blog Entries: 1

Rep: Reputation: 1
CHECKSUMS.md5 and pkglist

i managed to attach the files you wanted :-)
it took longer than install Slackware.....

* remove the .txt suffix and you got a normal gzipped text file
* i had to split the CHECKSUMS into 3 files, so concatenate them in order once you ungzip them

good luck!
Attached Files
File Type: txt pkglist.gz.txt (37.4 KB, 7 views)
File Type: txt CHECKSUMS.md5.1.gz.txt (183.5 KB, 4 views)
File Type: txt CHECKSUMS.md5.2.gz.txt (175.4 KB, 5 views)
File Type: txt CHECKSUMS.md5.3.gz.txt (158.2 KB, 6 views)
 
Old 12-02-2020, 10:28 AM   #12
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by ganjaplanet View Post
i managed to attach the files you wanted :-)
it took longer than install Slackware.....

* remove the .txt suffix and you got a normal gzipped text file
* i had to split the CHECKSUMS into 3 files, so concatenate them in order once you ungzip them

good luck!
slackpkg+ suggets to upgrade NetworkManager-openvpn to the stock slackware version because it is no longer in the dropline repository:

Code:
$ grep NetworkManager-openvpn ganja-CHECKSUMS.md5

7f9109cfa14146ea1f8cfeb928359da8  ./slackware64/xap/NetworkManager-openvpn-1.8.12-x86_64-1.txt
fa19fd991e7bac367cd13556a4467a77  ./slackware64/xap/NetworkManager-openvpn-1.8.12-x86_64-1.txz
d4a13ea52b97ceb9f726d97a599d268d  ./slackware64/xap/NetworkManager-openvpn-1.8.12-x86_64-1.txz.asc
e8b1210011ece18d0278310fbff45af5  ./source/xap/NetworkManager-openvpn/NetworkManager-openvpn-1.8.12.tar.xz
260c64d752ec029efb6ebfaccd6bb5d1  ./source/xap/NetworkManager-openvpn/NetworkManager-openvpn.SlackBuild
fa129c36f8ea3ea7da3d113b3877fb4c  ./source/xap/NetworkManager-openvpn/openvpn.nobody.nogroup.diff.gz
afe25bd51cef5f987990bb2ddd0b126d  ./source/xap/NetworkManager-openvpn/slack-desc

$ grep NetworkManager-openvpn ganja-pkglist
slackware64 NetworkManager-openvpn 1.8.12 x86_64 1 NetworkManager-openvpn-1.8.12-x86_64-1 ./slackware64/xap txz

It was present in 3.36 (1st in the list), but is no longer part of 3.38.

Must be same reason for the other installed dropline packages that slackpkg suggests to upgrade with stock slackware packages.

Here is the list of dropline packages 3.36 which are no longer present in 3.38 (unless I'm mistaken) :
Code:
NetworkManager-openvpn
appstream-glib
avahi
brasero
cantarell-fonts
clutter
clutter-gst
clutter-gtk
cogl
colord
colord-gtk
cppunit
exempi
five-or-more
folks
fractal
gcab
geoclue2
geocode-glib
ghex
gnome-autoar
gnome-color-manager
gnome-font-viewer
gnome-menus
gnome-mines
gnome-online-miners
gnome-user-share
gnome-video-effects
gnome-weather
graphene
gsound
gst-transcoder
gstreamer-editing-services
gtk-vnc
gtkspell3
jack2
jq
libcdr
libchamplain
libdaemon
libgda
libgee
libgit2
libgtop
libgweather
libgxps
libmediaart
libmspack
libmusicbrainz5
libportal
libwnck3
libzapojit
mozjs68
nanomsg
p7zip
rest
rhythmbox
sassc
template-glib
totem-pl-parser
upower
vinagre
vino
x264-20191217
ytnef
Hope this helps.

--
SeB

Last edited by phenixia2003; 12-02-2020 at 10:34 AM.
 
3 members found this post helpful.
Old 12-02-2020, 12:38 PM   #13
ganjaplanet
LQ Newbie
 
Registered: Feb 2016
Location: Jince, Czech Republic
Distribution: Slackware, openSUSE, Debian
Posts: 28

Original Poster
Blog Entries: 1

Rep: Reputation: 1
Thanks for the analysis, i have just let slackpkg upgrade it and no malfunction is happening afterwards.
 
Old 12-03-2020, 11:30 AM   #14
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
I came up with a way to install and update using slackpkg w/slackpkg+ on a clean install of slackware64-current. See here.
 
  


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
[SOLVED] sbotools and slackpkg+ -- repo priority Gerard Lally Slackware 24 07-31-2016 06:55 AM
how to give priority to local repository abd_bela Debian 1 04-07-2011 06:51 AM
X: warning; priority set to -1 instead of requested priority 0 HitmanX Linux - Newbie 5 12-13-2010 11:09 AM
priority in apt-get for repository abd_bela Debian 1 09-19-2007 09:24 AM
process priority,nice -- small question regarding high/low priority values beeblequix Linux - Newbie 1 10-11-2006 10:22 AM

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

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