LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-28-2017, 01:52 PM   #31
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51

Quote:
Originally Posted by montagdude View Post
If you want something to "reduce bugs and bad programming practices," C++ is already better than C. And Poettering is a C programmer, so that part of your post is nonsensical. In short, your post was flaming and devoid of any useful content. We are all dumber for having read it. I award you no points, and may God have mercy on your soul.

hahaha, maybe I boiled in too many ideas in one sentence.
Don't feel dumb.
I am programmed to be nonsensical as well as making you feel dumb.

GOD===RMS,Linus,PAT
My holy trinity
 
Old 02-12-2018, 05:45 AM   #32
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Please Check the slackpkg-plus-plus-0.0.1/

Need your suggestions.

Happy Slacking...
 
1 members found this post helpful.
Old 02-13-2018, 02:09 AM   #33
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
NO README.txt

I have had to dig in the archive to have an idea what I should do after compiling.

why you don't use autoconf or a similar tool.
You assume clang is already installed, not a C++ compiler.

How am going to test without breaking my install of slackware??

Is it going to clash with pkgtools??
 
Old 02-13-2018, 02:10 AM   #34
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
slackpkg++ --help does not work either
 
Old 02-13-2018, 02:11 AM   #35
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
Code:
slackpkg++  update
error: slackpkg++: /etc/slackpkg++/sources/: No such file or directory
is this a problem
 
Old 02-13-2018, 02:33 AM   #36
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
I now realise I had to do a


Code:
make remove
This is the first time, I saw a syntax like that, great initiative but I do not think it will be picked up.

Code:
 make 
/usr/bin/clang++ -g -lncurses -o slackpkg++ slackpkg++.cpp
/usr/bin/clang++ -g -lncurses -o source-filter source-filter.cpp
root@****:~/build/svn/slackpkg-plus-plus-code/slackpkg_plus_plus-0.0.1# make install
chmod a+x refresh-cache source-filter update-helper verify-packages verify-update file-search-tool new-config-script
mkdir -p /var/tmp/slackpkg++ /var/lib/slackpkg++ /usr/libexec/slackpkg++ /etc/slackpkg++
cp -iv refresh-cache source-filter update-helper verify-packages verify-update file-search-tool new-config-script /usr/libexec/slackpkg++
'refresh-cache' -> '/usr/libexec/slackpkg++/refresh-cache'
'source-filter' -> '/usr/libexec/slackpkg++/source-filter'
'update-helper' -> '/usr/libexec/slackpkg++/update-helper'
'verify-packages' -> '/usr/libexec/slackpkg++/verify-packages'
'verify-update' -> '/usr/libexec/slackpkg++/verify-update'
'file-search-tool' -> '/usr/libexec/slackpkg++/file-search-tool'
'new-config-script' -> '/usr/libexec/slackpkg++/new-config-script'
cp -ir ./etc/* /etc/slackpkg++
touch /var/lib/slackpkg++/tasklist /etc/slackpkg++/blacklist
cp -fv slackpkg++ /usr/local/bin
'slackpkg++' -> '/usr/local/bin/slackpkg++'

Code:
slackpkg++ update
/usr/libexec/slackpkg++/refresh-cache: line 79: /tmp/slackpkg++.0s9epO/tag*/pkglist.source: No such file or directory
cut: tag*/pkglist: No such file or directory

  **  Processing : alien  **

Downloading: alien/ChangeLog.txt
URL: http://bear.alienbase.nl/mirrors/people/alien/sbrepos/ChangeLog.txt
##################################################################################################################################################################### 100.0%

  alien/ChangeLog.txt differ...
it is updating, I have no idea at which speed, the files are being download, and where they are being downloaded, I could use axel in some scenarios to accelerate the download .

I also don't know why the error tag*/pkglist appeared.
 
Old 02-13-2018, 07:16 AM   #37
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jheengut View Post
How am going to test without breaking my install of slackware??

Is it going to clash with pkgtools??
This tool uses upgradepkg --install-new --reinstall and removepkg as low level utility.

This tool is in alpha stage, packages consistancy checking is not implemented yet.
But this tool will not break your system.
 
Old 02-13-2018, 07:19 AM   #38
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jheengut View Post
slackpkg++ --help does not work either
'--help' option is working properly on my system.
Please provide the more details for testing.

In my previous post, I had provided details about functioning of tool.
 
Old 02-13-2018, 07:19 AM   #39
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
slackpkg++, version:0.0.1

Usage:
slackpkg++ {install|reinstall|remove|upgrade|search|info} [OPTIONS] <package> {package ...}
slackpkg++ {update|upgrade-all|clean-system|changelog|tasklist|new-config|trigger} [OPTIONS]
slackpkg++ file-search [ -s source_name ] -e regexp [ -e regexp .. ]

Options:
--checkgpg=on/off
--checkmd5=on/off
--verify
-s, --source <source_name>
-e, --regexp <regexp>
-h, --help
-v, --version
 
1 members found this post helpful.
Old 02-13-2018, 07:25 AM   #40
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jheengut View Post
Code:
slackpkg++ update
/usr/libexec/slackpkg++/refresh-cache: line 79: /tmp/slackpkg++.0s9epO/tag*/pkglist.source: No such file or directory
cut: tag*/pkglist: No such file or directory
it is updating, I have no idea at which speed, the files are being download, and where they are being downloaded, I could use axel in some scenarios to accelerate the download .

I also don't know why the error tag*/pkglist appeared.
Issue about refresh-cache error: This is first time run issue.
This is implementation issue. I am working on it.
Thanks for your replay.

This tool is using 'curl' command line tool (not curl library) to download the files.

According my idea I am trying to follow UNIX philosophy (or I am lazy programmer).
 
Old 02-13-2018, 07:52 AM   #41
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
Code:
sudo slackpkg++
Above command start in ncurses mode.
Use ^@ to switch between window.
 
Old 02-21-2018, 12:09 AM   #42
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
(Slack) attitude: New Package management tool for Slackware (Under Development)

Slacker,

Just rename the tool.

Please check the slack-attitude.

Please read the README file for details.

Before moving further I need your suggestion.
What option/functionality you expect from new package management tool.

Thanks
 
Old 02-21-2018, 10:32 PM   #43
linuxxr
LQ Newbie
 
Registered: Sep 2006
Posts: 14

Rep: Reputation: 0
Exclamation hmmm

hmmmmm.
 
Old 10-24-2018, 05:18 AM   #44
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 257

Original Poster
Rep: Reputation: Disabled
(Slack) attitude : Binary package management tool (alpha) release

Slackers,

I have update for this tool.

I am now actively working on this tool.

I have tested the tool on Slackware64 14.2 installation.
attitude and nattitude works properly.

I have issue with ncurses package available on Slackware64 Current.
This issue because of different version of ncurses.
I am working on it.

** New Feactures added **

1 . (Optional) Priority based package source selection
I have added priorirty based package source selection.
During installation, packages are selected as per assigned priority (if any specific package source is not provided on command line).
It means, user can override on automatic package source selection.

2. Curl based package/update download.
I have implemented wrapper for curl to download the files.

3. ./configure script is added.

4. SlackBuild script is added.

** Fucture Plans **
1. Implement attitude-installer own package installation tool.

2. Multilib support.

** Known Issue **
1. I had recently finished the curl wrapper implemention.
Some times (not always) download may pause at end of download.
I am working on it.

2. nattitude : ncurses based interface get Segmentation fault error with latest ncurses package available on Slackware64 current.


Please try this tool at OWN risk.

Need suggestion for future developement.

Thanks for trying this tool.....
 
Old 10-25-2018, 10:02 AM   #45
linuxxr
LQ Newbie
 
Registered: Sep 2006
Posts: 14

Rep: Reputation: 0
hmmmm.
 
  


Reply

Tags
package management, slackare



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] Slackware ARM 14.1 slackpkg file at the root of the package Linux.tar.gz Slackware - ARM 3 10-04-2016 06:21 AM
LXer: APT - Advanced Package Management tool for Debian Based Systems LXer Syndicated Linux News 0 05-25-2016 06:12 AM
Package Management Tool does not display imujjwal Linux - Newbie 10 09-09-2015 02:38 AM
What is the package management tool of your choice sahko Linux - General 26 03-18-2013 07:33 AM
Package Management tool doesn't see installed packages (FC1) pekkerhed Fedora 5 06-04-2004 03:56 PM

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

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