Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-20-2004, 09:08 AM
|
#1
|
|
Member
Registered: Apr 2003
Location: Laval, Quebec, Canada
Distribution: Ubuntu
Posts: 121
Rep:
|
Removing multiple packages
As i saw from the KDE3.3, we need to remove theses packages before installing 3.3...
How can we remove all kde* related packages?
Since the command "removepkg" don't accept wildcards (*)...!!!
And i don`t want to do them one by one!... That's absurd for an advanced system...
Regards,
Ti-Paul.
|
|
|
|
08-20-2004, 09:10 AM
|
#2
|
|
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577
Rep:
|
upgradepkg
this will remove and install at the same time.
|
|
|
|
08-20-2004, 03:32 PM
|
#3
|
|
Senior Member
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253
Rep:
|
You could also remove a group of selected packages with pkgtool - if you weren't upgrading them and just wanted to remove them.
|
|
|
|
08-21-2004, 06:17 AM
|
#4
|
|
Member
Registered: Aug 2004
Distribution: Slack10 & curr. tried numerous
Posts: 189
Rep:
|
Use this site's search and look for 'diskset' w/o '. Feedback here or at my original post would be appreciated.
ppd
|
|
|
|
08-21-2004, 07:03 AM
|
#5
|
|
Member
Registered: Jul 2004
Distribution: Slackware
Posts: 310
Rep:
|
Quote:
Originally posted by Franklin
You could also remove a group of selected packages with pkgtool - if you weren't upgrading them and just wanted to remove them.
|
Do what he says ^^^
Or if you have swaret just type 'swaret --remove kde' and it will prompt you for a yes or no with any packages that are related to kde.
|
|
|
|
08-21-2004, 08:32 AM
|
#6
|
|
Member
Registered: Apr 2003
Location: Laval, Quebec, Canada
Distribution: Ubuntu
Posts: 121
Original Poster
Rep:
|
pkgtool
Some didn't look carefully at my post...
I asked for a way of doing it NOT ONE BY ONE...
In pkgtool, you MUST select them one by one also...
The best answer so far is for swaret... I'll use it for "group packaging"... That seem to be the answer...
Thanks,
|
|
|
|
08-21-2004, 09:41 AM
|
#7
|
|
Member
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453
Rep:
|
I take no responsibility if you screw up your install but you could use simple command substitution:
Code:
removepkg -warn $(ls /var/log/packages/kde*)
this will dump what would be deleted to the screen. remove -warn to actually do the removal.
|
|
|
|
08-21-2004, 09:43 AM
|
#8
|
|
Member
Registered: Jul 2004
Distribution: Slackware
Posts: 310
Rep:
|
Re: pkgtool
Quote:
Originally posted by tipaul
Some didn't look carefully at my post...
I asked for a way of doing it NOT ONE BY ONE...
In pkgtool, you MUST select them one by one also...
The best answer so far is for swaret... I'll use it for "group packaging"... That seem to be the answer...
Thanks,
|
You said in your initial post you didnt want to remove them one by one, not select them one by one, Big difference. But anyway.......Im going back to reading. 
|
|
|
|
08-21-2004, 09:45 AM
|
#9
|
|
Member
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453
Rep:
|
You could in a similar manner just upgrade all the kde packages. Simply have them in one directory and do
Code:
upgradepkg --dry-run $(ls /directory/containing/the/packages/*.tgz)
removing --dry-run to do it for real.
EDIT added .tgz to the end of the ls statement.
Last edited by Mephisto; 08-21-2004 at 09:48 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:28 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|