LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can I just remove the *.tgz I don't wanna before upgrade? (https://www.linuxquestions.org/questions/slackware-14/can-i-just-remove-the-%2A-tgz-i-dont-wanna-before-upgrade-641248/)

vvoody 05-10-2008 04:18 AM

Can I just remove the *.tgz I don't wanna before upgrade?
 
Hello, guys!

I don't wanna install some pkgs like e/*, n/ipw*, n/iwl*. And I don't wanna write a bash script to exclude the pkgs.

So, can I just remove the *.tgz that I don't wanna in the slackware directory, and the run upgradepkg --install-new ?

BTW, I have downloaded the whole slackware-12.1/slackware to my disk. And I have never upgraded slackware.

saulgoode 05-10-2008 08:46 AM

Quote:

Originally Posted by vvoody (Post 3148992)
So, can I just remove the *.tgz that I don't wanna in the slackware directory, and the run upgradepkg --install-new ?

'upgradepkg' requires that you pass it at least one package name -- "upgradepkg --install-new" would do nothing. Deleting the packages you don't wish upgraded would of course work if you subsequently performed an "upgradepkg *.tgz --install-new".

vvoody 05-10-2008 09:04 AM

Quote:

Originally Posted by saulgoode (Post 3149105)
'upgradepkg' requires that you pass it at least one package name -- "upgradepkg --install-new" would do nothing. Deleting the packages you don't wish upgraded would of course work if you subsequently performed an "upgradepkg *.tgz --install-new".

I forgot the *.tgz :( Yes, I mean 'upgradepkg *.tgz --install-new'.

Thanks:)

vvoody 05-10-2008 09:15 AM

So, how about removing the packages below?

Quote:

n/ipw2100-fw: Added ipw2100 firmware.
n/ipw2200-fw: Added ipw2200 firmware.
n/iwlwifi-3945-ucode: Added Intel 3945 wireless firmware.
n/iwlwifi-4965-ucode: Added Intel 4965 wireless firmware.
x/scim: Added.
x/scim-anthy: Added.
x/scim-bridge: Added.
x/scim-hangul: Added.
x/scim-m17n: Added.
x/scim-pinyin: Added.
x/scim-tables: Added.
e/*

saulgoode 05-10-2008 10:22 AM

You should not encounter any problems leaving out the Emacs packages (unless you happen to live near Richard Stallman).

You could probably be able to remove the SCIM packages. On my system, I have installed the SCIM packages but have disabled the executables ("chmod -x /usr/bin/scim*"). This seems to have worked well.

I can't imagine that excluding the firmware packages would matter -- unless you had such devices on your system.

Of course, I can only speak from my own experience.

shadowsnipes 05-10-2008 10:59 AM

Alternatively, you can use slackpkg on your local mirror and simply blacklist those packages or deselect them. For information on this and other upgrade related tasks, please refer to the HowTo: Upgrade Slackware 12.0 to 12.1.

mcnalu 05-10-2008 11:38 AM

Quote:

I forgot the *.tgz Yes, I mean 'upgradepkg *.tgz --install-new'.
The args must come before the packages, i.e. upgradepkg --install-new *.tgz

My slack 11 install's /sbin/upgradepkg contains this comment:
Code:

# Arg processing loop.  These must come before any packages are listed.
I found this out the hard way using the -root arg in installpkg - ouch.

saulgoode 05-10-2008 08:41 PM

Listen to mcnalu, for he is wise.

vvoody 05-11-2008 08:50 AM

Thanks all! And thanks shadowsnips specially for your great post.

I used a bash script following the one in UPGRADE.TXT.

Actually, I use Emacs very much:-) I didn't install the e/*, because I have compiled one in my system.

My 3945 wireless card works well now, so I don't wanna install the iwl*/ipw* packages.


All times are GMT -5. The time now is 01:24 AM.