LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-01-2009, 12:01 AM   #16
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 111Reputation: 111

Quote:
Package managements need roots privilege. You can use either "sudo" or "kdesu" for running the application. For example: kdesu slackpack. You will then need to provide the root's password.
To install or remove something, sure.. but if all you want to do is look through the package database, it really should be able to do so without becoming superuser. I personally just open up a text editor to the appropriate file in /var/log/packages, but YMMV.

MysticalGroovy: perhaps you can think about using src2pkg as a backend for the .deb and .rpm conversions, since it's gained a lot of knowledge on how to make sure the conversion creates a valid package with files conforming to Slackware conventions.
 
Old 10-01-2009, 05:11 AM   #17
MysticalGroovy
Member
 
Registered: Sep 2009
Location: Greece
Distribution: Slackware
Posts: 106

Original Poster
Rep: Reputation: 21
@tommcd:
probably not in the next few months m8, I currently not have the time or the knowledge to port Slackpack to 64bit slackware
Ill add it as a feature request on Slackpack sourceforge site so i wont forget it

@mostlyharmless
Slackpack 1.1.5 is written on Qt4, so the latest Slackware 13.0(using KDE4/Qt4) is required to run Slackpack 1.1.5, theoretically speaking Slackpack 1.1.5 could run on an oldest version of Slackware if you have Qt4.5 installed.

@bgeddy:
currently you cannot use regular expressions on the search box but ill add it as a feature request in sourceforge project site so i wont forget to implement to the next slackpack release
(btw the search box is currently a bit beta as a feature)

thank you all for your answers ,
recently I got an email and a nice fellow called mr. Robby Workmanwho contributed alot to the Slackware community and he suggested me to add a source code control system for Slackpack, so basically Im working on it right now Ill post here for updates
 
Old 10-01-2009, 05:12 AM   #18
MysticalGroovy
Member
 
Registered: Sep 2009
Location: Greece
Distribution: Slackware
Posts: 106

Original Poster
Rep: Reputation: 21
@tuxdev,

hmm why not, thx for the suggestion
 
Old 10-01-2009, 07:11 AM   #19
alphad
LQ Newbie
 
Registered: Sep 2009
Location: Abidan, Côte d'Ivoire
Distribution: slackware - sidux - Frugalware - Paldo
Posts: 3

Rep: Reputation: 0
Ok i will test it this afternoon, but it, should be easy if it ask (graphically) for root password and load.
 
Old 10-01-2009, 07:41 AM   #20
escaflown
Member
 
Registered: Apr 2009
Location: Canada
Distribution: Slackware
Posts: 237

Rep: Reputation: 30
Quote:
Originally Posted by tuxdev View Post
To install or remove something, sure.. but if all you want to do is look through the package database, it really should be able to do so without becoming superuser. I personally just open up a text editor to the appropriate file in /var/log/packages, but YMMV.
You're completely right. I was talking about the installation and remove part of the process.
 
Old 10-01-2009, 06:07 PM   #21
alphad
LQ Newbie
 
Registered: Sep 2009
Location: Abidan, Côte d'Ivoire
Distribution: slackware - sidux - Frugalware - Paldo
Posts: 3

Rep: Reputation: 0
Works fine using kdesu, thank you very much for your hard work
 
Old 10-01-2009, 06:22 PM   #22
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
To install or remove something, sure.. but if all you want to do is look through the package database, it really should be able to do so without becoming superuser.
Yes - I agree with this. The application could check if the user is root when he requests an operation requiring root privileges or perhaps disable such options when the user is not root. As it is the app checks on entry for root status and exits if not found.
@MysticalGroovy : I know this may be a pain but the above mentioned functionality change would be very useful. It's nice to be able to browse packages as a normal user.
 
Old 10-02-2009, 01:16 AM   #23
MysticalGroovy
Member
 
Registered: Sep 2009
Location: Greece
Distribution: Slackware
Posts: 106

Original Poster
Rep: Reputation: 21
@bgeddy:

good morning m8
yeah i think it should be possible to browse the packages without becoming a superuser and i can implement it too in Slackpack, but do you really think its necessary?

I mean that the usage of a package manager is to update/install/remove etc packages from the system, to do this in slackware you need root access, if you cant get root access why do you want to use Slackpack for? you wont be able to process packages, you'll be able to only see the installed packages on the system, and if you cant process the installed packages, why you would want to..see them?

p.s: sry for my bad english btw
 
Old 10-02-2009, 01:53 AM   #24
MysticalGroovy
Member
 
Registered: Sep 2009
Location: Greece
Distribution: Slackware
Posts: 106

Original Poster
Rep: Reputation: 21
ok, mr Robby Workman just confirmed that Slackpack builds and runs fine on x86_64 so it doesn't need no porting at all
 
Old 10-02-2009, 09:30 AM   #25
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
@MysticalGroovy: Thanks for the quick reply. Your English is great BTW - no problems !
Quote:
yeah i think it should be possible to browse the packages without becoming a superuser and i can implement it too in Slackpack, but do you really think its necessary?
This is possibly me just being lazy. I always operate as a normal user (not root) and don't like going to root unless neccesary. I'm used to using Kpackage in KDE3 which allows me to browse the installed packages list and look at what files are in a package without being root. In that application it's not till I want to do something that needs root privileges that I have to give the root password.
This is just a small observation and not really a "make or break" aspect of the application - just a little convenience.
I'm really appreciative of your work on this and think the application is great ! Good work.

Last edited by bgeddy; 10-02-2009 at 09:49 AM.
 
Old 10-02-2009, 09:39 AM   #26
MysticalGroovy
Member
 
Registered: Sep 2009
Location: Greece
Distribution: Slackware
Posts: 106

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by bgeddy View Post
....Kpackage in KDE3 which allows me to browse the installed packages list and look at what files are in a package without being root.....
not a bad idea!
I should implement a feature where the user will be able to see files in the selected package like in KPackage! (yes, without being root )

thx bgeddy !
 
Old 10-02-2009, 09:40 AM   #27
MysticalGroovy
Member
 
Registered: Sep 2009
Location: Greece
Distribution: Slackware
Posts: 106

Original Poster
Rep: Reputation: 21
btw gentlemen, i would like to ask you if you have any feature request you should add them here:
http://sourceforge.net/tracker/?func...9&atid=1031794
so i wont forget them

Last edited by MysticalGroovy; 10-02-2009 at 09:41 AM.
 
Old 10-02-2009, 09:55 AM   #28
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
Good work! It's nice to have a GUI sometimes and my wife will be glad she doesn't have to mess with that "text thingy" anymore.
 
Old 10-02-2009, 10:54 AM   #29
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,374

Rep: Reputation: 164Reputation: 164
I downloaded the source, and after editing the makefile, I recompiled the source to work in Slackware64. That said, it has no package afterwards to install. However, I can run the binary in the bin directory using kdesu. It came up clean and seems ready to go. The app looks very nice with a straightforward ui that is very user friendly.

I'm going to create a menu entry to make it easier to call up by kdesu. I sure wish I knew more on how to write code!

Thanks, MysticalGroovy - well done!
 
Old 10-02-2009, 10:54 AM   #30
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,374

Rep: Reputation: 164Reputation: 164
I downloaded the source, and after editing the makefile, I recompiled the source to work in Slackware64. That said, it has no package afterwards to install. However, I can run the binary in the bin directory using kdesu. It came up clean and seems ready to go. The app looks very nice with a straightforward ui that is very user friendly.

I'm going to create a menu entry to make it easier to call up by kdesu. I sure wish I knew more on how to write code!

Thanks, MysticalGroovy - well done!

I have included the makefile for others to see and comment.
Attached Files
File Type: txt Makefile.txt (9.0 KB, 12 views)

Last edited by mlangdn; 10-02-2009 at 10:59 AM. Reason: I uploaded the edited makefile for perusal by others
 
  


Reply

Tags
manager, package, slackware, tgz, txz


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
Adept package installer not working if not launched by package manager iqbala Ubuntu 3 11-29-2008 06:32 AM
LXer: Simple Package management with Synaptic Package Manager LXer Syndicated Linux News 0 12-05-2006 06:33 PM
latex2e package unavailable in package manager or apt-get cesine Debian 2 07-11-2006 02:31 PM
Poll: Yast Package Manager vs. Smart Package Manager in 10.1 agentchange Suse/Novell 6 06-02-2006 08:29 AM
synaptic package manager forcing me to delete a broken package mbman Linux - Software 6 04-25-2006 09:30 AM


All times are GMT -5. The time now is 08:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration