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 07-14-2010, 05:55 AM   #256
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470

I wish pkgtool could also display what category packages were from when doing removepkg
like if you chose remove packages, it would display them like (a), (ap), etc
so if I wanted to remove the whole D section, it would just be picking D section
and then unmarking/removing them all or one or whatever.
 
Old 07-14-2010, 06:45 AM   #257
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by linus72 View Post
I wish pkgtool could also display what category packages were from when doing removepkg
like if you chose remove packages, it would display them like (a), (ap), etc
so if I wanted to remove the whole D section, it would just be picking D section
and then unmarking/removing them all or one or whatever.
The best package management is made via ls, less, cat and grep and piping
of the /var/log/packages directory. For this particular task pkgtool is
rather poorly featured. Do you want to remove all d/*.txz packages?

Code:
# ls ./slackware/d/*.txz > foo
# for i in $(cat foo ) ; do removepkg "$i"; done
You should also have to remove suffix ".txz".
 
1 members found this post helpful.
Old 07-14-2010, 07:06 AM   #258
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,785

Rep: Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462
Quote:
Originally Posted by igadoter View Post
Do you want to remove all d/*.txz packages?

Code:
# ls ./slackware/d/*.txz > foo
# for i in $(cat foo ) ; do removepkg "$i"; done
Or just:

Code:
cd slackware/d
removepkg *.txz
 
1 members found this post helpful.
Old 07-14-2010, 07:06 AM   #259
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,
Quote:
Originally Posted by Didier Spaier View Post
Thanks BrianL.

Onebuck, you seem to be confusing verse versus prose.

And there is no need to remind us twice a rule we are aware of. I knowingly didn't satisfy it, so what ?

As a side note, Charles Baudelaire was not only one of the greatest French poets of nineteenth century, he was also the best French translator ever of Edgar Allan Poe.

Of course he could write English better than I do -- not a big challenge, alas -- and may be even better than you, who knows ?

Take care,
Yes, there is apparently as you did choose to violate flagrantly. I don't claim to be a literary scholar.

As I have every right to post my opinion as you do the same.

 
Old 07-14-2010, 07:10 AM   #260
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by brianL View Post
Yes, he doesn't know his derriere from his coude (as we say in Oldham).
Here we use 'ass' compared to a hole in the ground!

 
Old 07-14-2010, 07:24 AM   #261
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I was thinking of actually changing the interface so it would display
pkgs by category; and then you could go into that category and remove stuff seperately too

I'm gonna try to modify it...
 
Old 07-14-2010, 07:32 AM   #262
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
@Petri Kaukasoina

So simple, so beautiful
 
Old 07-14-2010, 08:18 AM   #263
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by onebuck View Post
Hi,



Here we use 'ass' compared to a hole in the ground!

Thou shalt not covet thy neighbour's ass.
 
Old 07-14-2010, 11:02 AM   #264
henkees
Member
 
Registered: Feb 2008
Location: Netherlands, Zeeland
Distribution: Slackware64 current multilib, Gentoo
Posts: 43

Rep: Reputation: 18
Onebuck and T3slider: Thanks for the clarification about the bootsplash, now I understand more about the vulnerabilities and risks. I always check 'unofficial' patches before applying them, but not everyone will do that...
 
Old 07-14-2010, 05:23 PM   #265
try-alls
Member
 
Registered: Dec 2009
Distribution: changes all the time
Posts: 79

Rep: Reputation: 15
slow-boot and 2 minute timer on lilo (as standard) i understand its a huge kernel .smp do hicky and that you need to edit the lilo config, but everything else rocks
 
Old 07-15-2010, 07:36 AM   #266
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Change to the generic kernel.
 
Old 07-15-2010, 11:43 AM   #267
try-alls
Member
 
Registered: Dec 2009
Distribution: changes all the time
Posts: 79

Rep: Reputation: 15
Quote:
Originally Posted by brianL View Post
Change to the generic kernel.
i'm looking into that, but to be honest i'm a little scared lol, but my real reason for this post is the ubuntu and fedora with their huge generic kernel still boot a heck of a lot faster.
 
Old 07-15-2010, 12:32 PM   #268
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: Pop!_OS
Posts: 945

Rep: Reputation: 297Reputation: 297Reputation: 297
Quote:
Originally Posted by try-alls View Post
i'm looking into that, but to be honest i'm a little scared lol, but my real reason for this post is the ubuntu and fedora with their huge generic kernel still boot a heck of a lot faster.
I was nervous when I first did the mkinitrd and changed the kernels, but it was all for naught. If you follow the directions step by step it is easy and fast.
 
Old 07-15-2010, 12:37 PM   #269
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by try-alls View Post
i'm looking into that, but to be honest i'm a little scared lol, but my real reason for this post is the ubuntu and fedora with their huge generic kernel still boot a heck of a lot faster.
The documentation is very clear on how to set-up an initrd and the generic kernel should you choose to do so:

http://slackware.osuosl.org/slackwar.../README.initrd
 
Old 07-19-2010, 04:04 PM   #270
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Since we speak of removal of packages,
I missed a tool to find out the larges amongst the packages installed and get rid of them;
So if crafted wg (stands short for what goes? )
Code:
#!/bin/sh
#
# (GPL) cest73@gmail.com
#
echo "wg stands for Which Goes ?"
echo "list (20?) largesst installed packages"
echo "usage : "
echo -ne "  wg [how many] [regep filter]\n\n"

N=${1:-20}
shift
G=${@:-.}

grep "UNCOMPRESSED " /var/log/packages/* \
        | grep $G \
        | sed -e s/"\/.*\/"/":"/g \
        | awk -F: '{print $4 " / " $2}' \
        | sort -b -g -r \
        | head -n $N
I doubt there is any need for commenting the code?
It's GPL so enjoy (if found usefull)
It's in my /usr/local/bin/
 
  


Reply

Tags
awesome, feedback missing, fud, slackware, slackware64, slackwarecurrent



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
Post Slackware distros Tylerious Linux - Distributions 15 02-16-2006 06:12 PM
slackware post install nicole_jeff Slackware 2 05-23-2004 06:06 AM

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

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