LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   RemovePkg Recursively? (https://www.linuxquestions.org/questions/slackware-14/removepkg-recursively-326140/)

Kenji Miyamoto 05-23-2005 02:06 AM

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?

Shade 05-23-2005 02:35 AM

Yes. It'd be something like:
Code:

removepkg kde-i18n*.tgz
--Shade

Kenji Miyamoto 05-23-2005 08:19 AM

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.

wpyh 05-23-2005 08:33 AM

Maybe

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


All times are GMT -5. The time now is 12:57 PM.