LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 05-23-2005, 02:06 AM   #1
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Rep: Reputation: 30
RemovePkg Recursively?


I want to rid of every KDE package so I can install the newer set through compilation. To save time in the initial installion, I let it install everything. This resulted in several kde-i18n packages being installed. Is it possible to remove them all with one command using the wildcard?
 
Old 05-23-2005, 02:35 AM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Yes. It'd be something like:
Code:
removepkg kde-i18n*.tgz
--Shade
 
Old 05-23-2005, 08:19 AM   #3
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Original Poster
Rep: Reputation: 30
Code:
/sbin/removepkg: line 253 [: too many arguments
/sbin/removepkg: line 261: [: too many arguments
No such Package: /var/log/packags/kde-i18n*. Can't remove.
Those errors are what make me wonder about it.
 
Old 05-23-2005, 08:33 AM   #4
wpyh
Member
 
Registered: Jun 2004
Location: Beijing
Distribution: Slackware 9.1 but FUBAR with packages I compile myself, and OpenBSD (not exactly a distro) on QEMU
Posts: 153

Rep: Reputation: 35
Maybe

for i in /var/log/packages/kde-i18n*
do
removepkg `basename $i`
done
 
  


Reply


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
removepkg: WARNING: Unique directory contains new files merchtemeagle Slackware 10 06-23-2005 08:51 AM
lowercase recursively cubax Linux - General 6 05-29-2005 04:20 PM
removepkg alternative props666999 Slackware 2 11-10-2004 12:10 AM
Upgrading to X11R6.8.0...Just a case of removepkg and make world? SBing Slackware 14 09-13-2004 02:10 AM
Package for 'installpkg,removepkg,makepkg," bongski55 Slackware 4 09-15-2003 07:00 AM


All times are GMT -5. The time now is 04:49 AM.

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