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 12-12-2018, 03:37 PM   #31
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 linuxxer View Post
@bassmadrigal

I tried to follow Slackware package naming convention (like tag name) and Official Slackware repository structure.

Please Suggest.....
I'm not sure what to suggest without knowing how your program handles repos. If you look at slackpkg for an example, it has you list the specific repo containing the specific versions of programs you want (so you'd list a repo for 64bit 14.2). And it lets you set priority of mirrors. See this blog entry by Alien Bob for more details.

Regular slackpkg has support for the various additional folders in a stock mirror that may contain files like extra/, patches/, pasture/, and testing/. This allows you to place priority of one specific repo, like testing/ over patches/, if you want to ensure you don't accidentally overwrite packages.

You could even add a list where you can prioritize certain packages with certain repos, like if you want to use the alsa-only versions out of extra/, but don't want any other programs in there, you could have extra/ as a lower priority than the main repo (and patches) and only specify certain packages and the repos you'd like to prioritize them from.

There's lots of ways to handle it, you just need to decide how you want to. Depending on how it is handled may determine whether it is a useful program for many or only a few.
 
Old 12-13-2018, 09:24 PM   #32
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by DaBrze View Post
Code:
warning: attitude-installer: kernel-generic-4.19.8-x86_64-1: : Package NOT Found.
This error is generated because package may not be downloaded (NOT available) in /var/cache/packages/ directory.

Please check.

Thanks for trying the package and reporting the issue.
 
Old 12-13-2018, 09:32 PM   #33
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
You could even add a list where you can prioritize certain packages with certain repos
I am working on it.
During the development I found that, NOT all repositories follow the official Slackware repository similar structure because of this reason I have not implemented priority to sub-branches. I want to handle all the repository in same way.
But each repository had assigned different priority.

Thanks
 
Old 12-13-2018, 09:35 PM   #34
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Slackers,

Now working on assigning priority to sub-branches and multi-lib functionality.

Thanks
 
Old 12-23-2018, 05:37 AM   #35
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
My attitude repolist
NAME=slackware
IDNUM=431940
DESC="Slackware Official Repository"
SOURCE=ftp://krishna.linuxxlab.org/slackware/slackware64-14.2 patches slackware64 extra testing
ARCH=x86_64
TAG=_slack
PRIORITY=99
CHECKGPG=on
CHECKMD5=on

NAME=slackware.x86
IDNUM=429434
DESC="Slackware Official Repository"
SOURCE=ftp://krishna.linuxxlab.org/slackware/slackware-14.2 patches slackware extra testing
ARCH=x86
TAG=_slack
PRIORITY=98
CHECKGPG=on
CHECKMD5=on

NAME=linuxxlab
IDNUM=431943
DESC="Linuxxlab SlackBuilds repository"
SOURCE=ftp://krishna.linuxxlab.org/slackware/slackbuilds
ARCH=x86_64
TAG=_Lab
PRIORITY=85
CHECKGPG=on
CHECKMD5=on

NAME=alien
IDNUM=431950
DESC="Eric's Official repository"
SOURCE=http://bear.alienbase.nl/mirrors/people/alien/sbrepos/14.2/x86_64
CHANGELOG=http://bear.alienbase.nl/mirrors/people/alien/sbrepos
ARCH=x86_64
TAG=alien
PRIORITY=80
CHECKGPG=on
CHECKMD5=on

NAME=alien-compat32
IDNUM=431951
DESC="Eric's multilib compat32 repository"
SOURCE=http://bear.alienbase.nl/mirrors/people/alien/multilib/14.2 slackware64-compat32
ARCH=x86_64
TAG=compat32
PRIORITY=75
CHECKGPG=on
CHECKMD5=on

NAME=alien-multilib
IDNUM=429451
DESC="Eric's multilib repository"
SOURCE=http://bear.alienbase.nl/mirrors/people/alien/multilib 14.2
ARCH=x86_64
TAG=alien
PRIORITY=75
CHECKGPG=on
CHECKMD5=on

NAME=alien-ktown
IDNUM=429398
DESC="Eric's KDE Restricated repository"
SOURCE=http://bear.alienbase.nl/mirrors/alien-kde/14.2/5/x86_64
CHANGELOG=http://bear.alienbase.nl/mirrors/people/alien/sbrepos
ARCH=x86_64
TAG=alien
PRIORITY=72
CHECKGPG=on
CHECKMD5=on

NAME=alien-restricted
IDNUM=431948
DESC="Eric's Restricated repository"
SOURCE=http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.2/x86_64
CHANGELOG=http://bear.alienbase.nl/mirrors/people/alien/sbrepos
ARCH=x86_64
TAG=alien
PRIORITY=70
CHECKGPG=on
CHECKMD5=on

NAME=rlworkman
IDNUM=431938
DESC="Rlworkman's repositrory"
SOURCE=http://rlworkman.net/pkgs/14.2 x86_64
ARCH=x86_64
TAG=_rlw
PRIORITY=50
CHECKGPG=on
CHECKMD5=on

NAME=slackonly
IDNUM=431939
DESC="SlackOnly Repository"
SOURCE=https://slackonly.com/pub/packages/14.2-x86_64
ARCH=x86_64
TAG=_slonly
PRIORITY=40
CHECKGPG=on
CHECKMD5=on

NAME=msb
IDNUM=431937
DESC="MATE Slack Build"
SOURCE=http://slackware.uk/msb/14.2/latest/x86_64 base deps extra
ARCH=x86_64
TAG=_msb
PRIORITY=30
CHECKGPG=on
CHECKMD5=on
 
Old 12-23-2018, 05:54 AM   #36
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Slackers,

I am working complete priority based package management tool plus multilib functionality and which will also work with the alien repository.

Please check the above configuration changes.

As per above changes I am successfully able to collect the repository data, It means attitude update command.

In order to work with alien multiple repositories I have added IDNUM configuration.

To enable multilib functionality I have configured alien repository two time one with alien tag and another with compat32 tag.

I am also working on priority assignment for sub-braches so that It will better work with Slackware official repositories.

I trying to implement complete priority based tools. It means as per priority packages get selected for upgrade.
If priority get changed then package will be upgraded from another package source.

It will completely changes the code.

Suggestions are welcome.

Thanks
 
Old 12-23-2018, 06:26 AM   #37
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Slackers,

It will be completely priority based package management system, not TAG based.

Need to be discuss......

Thanks
 
Old 12-23-2018, 07:53 AM   #38
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Slackers,

I am thinking about handling alien multiple repository as extend branches.
And allow override using preference rules which are added into package information which stored in /var/log/packages.

Thanks
 
Old 01-04-2019, 08:34 AM   #39
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Slackers,

There is an update, call for testing.
Please check for update(Slack) attitude.

Recently I have added multilib functionality, and added support for aliens multiple repository which having same TAG.
Added priority handling for different branches in Slackware official repository structure.


NOTE : This is completely priority based system.

To verify, change the SOURCE PRIORITY and run upgrade-all command.
Packages get selected as per new configuration.

Few changes in configuration file:
added IDNUM= field to identify multiple repository those uses same tags.
For proper functioning, never changes this field after assignment.
Any interger number can be used for this field.
I used configuration file inode number for this field.

And for multilib functionality, added ARCH= field.

This new release uses gdbm for maintaining package information.
Now this tool uses two databases one is text file and gdbm database (which are imported from text files).
New functionality works on gdbm database.
I am working on to remove text file functionality.

Now kernel packages are selected to INSTALL (NOT UPGRADE) in upgrade-all command.

As per recent changes use .x86 suffix to install 32 bit packages on 64 bit system.
for example:

Quote:
attitude install less.x86
This is alpha release, so few messages are enabled for testing purpose.


Here is my attitude repolist output:
Quote:
NAME=slackware
IDNUM=431952
DESC="Slackware Official Repository"
SOURCE=ftp://krishna.linuxxlab.org/slackware/slackware64-14.2 slackware64 patches extra testing
TAG=_slack
PRIORITY=99
CHECKGPG=on
CHECKMD5=on

NAME=slackware.x86
IDNUM=431955
DESC="Slackware Official Repository"
SOURCE=ftp://krishna.linuxxlab.org/slackware/slackware-14.2 slackware patches extra testing
ARCH=x86
TAG=_slack
PRIORITY=98
CHECKGPG=on
CHECKMD5=on

NAME=alien
IDNUM=431936
DESC="Eric's Official repository"
SOURCE=http://bear.alienbase.nl/mirrors/people/alien/sbrepos/14.2/x86_64
CHANGELOG=http://bear.alienbase.nl/mirrors/people/alien/sbrepos
TAG=alien
PRIORITY=80
CHECKGPG=on
CHECKMD5=on

NAME=alien-compat
IDNUM=431943
DESC="Eric's multilib repository"
SOURCE=http://bear.alienbase.nl/mirrors/people/alien/multilib/14.2 slackware64-compat32
TAG=compat32
PRIORITY=76
CHECKGPG=on
CHECKMD5=on

NAME=alien-multilib
IDNUM=431949
DESC="Eric's multilib repository"
SOURCE=http://bear.alienbase.nl/mirrors/people/alien/multilib 14.2
TAG=alien
PRIORITY=75
CHECKGPG=on
CHECKMD5=on

NAME=alien-ktown
IDNUM=429454
DESC="Eric's KDE Restricated repository"
SOURCE=http://bear.alienbase.nl/mirrors/alien-kde/14.2/5/x86_64
CHANGELOG=http://bear.alienbase.nl/mirrors/people/alien/sbrepos
TAG=alien
PRIORITY=72
CHECKGPG=on
CHECKMD5=on

NAME=alien-restricted
IDNUM=429451
DESC="Eric's Restricated repository"
SOURCE=http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.2/x86_64
CHANGELOG=http://bear.alienbase.nl/mirrors/people/alien/sbrepos
TAG=alien
PRIORITY=70
CHECKGPG=on
CHECKMD5=on

NAME=rlworkman
IDNUM=431937
DESC="Rlworkman's repositrory"
SOURCE=http://rlworkman.net/pkgs/14.2 x86_64
TAG=_rlw
PRIORITY=50
CHECKGPG=on
CHECKMD5=on

NAME=slackonly
IDNUM=431938
DESC="SlackOnly Repository"
SOURCE=https://slackonly.com/pub/packages/14.2-x86_64
TAG=_slonly
PRIORITY=40
CHECKGPG=on
CHECKMD5=on

NAME=msb
IDNUM=431947
DESC="MATE Slack Build"
SOURCE=http://slackware.uk/msb/14.2/latest/x86_64
TAG=_msb
PRIORITY=30
CHECKGPG=on
CHECKMD5=on
NOTE : search, file-search, info functionality is broken and replace is not required. I am working on it.

Suggestion are welcome.

Thanks

Last edited by linuxxer; 01-04-2019 at 09:31 AM.
 
Old 01-25-2019, 09:28 PM   #40
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Slackers,

There is an update, please check for update.

Just now I finished the search and file-search implementation, but browse is broken (I am working on it).

Call for testing.

Suggestions and feedback is welcome.

Thanks
 
Old 01-25-2019, 09:34 PM   #41
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Slackers,

NOW Logging in enabled.

By default LOG_USER and LOG_INFO is used for syslogd logging.
And /var/log/attitude.log file used to store local loggs.

Thanks
 
Old 02-15-2019, 11:45 AM   #42
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Slackers,

Here is an update, please check https://sourceforge.net/projects/slack-attitude/.

Added Package TAG support. Try search.

browse functionality is still broken. I am working on it.

Call for testing. Suggestions are welcome.

Thanks
 
Old 02-15-2019, 11:47 AM   #43
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Slacker,

NOTE: Please DELETE all directories in /var/lib/attitude, before running update.

Thanks
 
Old 02-16-2019, 04:21 AM   #44
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Slacker,

The browse issue (which is known issue) is resolved.

Please check (Slack) Attitude for an update.

Thanks
 
Old 02-16-2019, 05:30 AM   #45
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Slackers,

Please try ncurses mode with nattitude. For example:
Code:
nattitude browse
Thanks
 
  


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
slackpkg++ : New Package management tool for Slackware (Under Development) linuxxer Slackware 50 01-04-2019 08:36 AM
[SOLVED] Binary package repositories for Slackware linuxxer Slackware 5 08-28-2017 02:10 PM
How to make a Slackware package out of a binary release of an application... Alexvader Slackware 8 11-23-2009 01:04 PM
Package Mangement Ideas fatsheep Linux From Scratch 1 06-10-2007 11:22 PM
MS starting to change his attitude (Open source MS tool) moeminhtun General 15 04-09-2004 10:40 AM

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

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