LinuxQuestions.org
Review your favorite Linux distribution.
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-10-2008, 04:18 AM   #1
vvoody
Member
 
Registered: Apr 2007
Location: Shanghai,China || Sweden
Distribution: Slackware
Posts: 43

Rep: Reputation: 1
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.
 
Old 05-10-2008, 08:46 AM   #2
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 288

Rep: Reputation: 155Reputation: 155
Quote:
Originally Posted by vvoody View Post
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".
 
Old 05-10-2008, 09:04 AM   #3
vvoody
Member
 
Registered: Apr 2007
Location: Shanghai,China || Sweden
Distribution: Slackware
Posts: 43

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by saulgoode View Post
'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
 
Old 05-10-2008, 09:15 AM   #4
vvoody
Member
 
Registered: Apr 2007
Location: Shanghai,China || Sweden
Distribution: Slackware
Posts: 43

Original Poster
Rep: Reputation: 1
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/*
 
Old 05-10-2008, 10:22 AM   #5
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 288

Rep: Reputation: 155Reputation: 155
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.
 
Old 05-10-2008, 10:59 AM   #6
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
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.
 
Old 05-10-2008, 11:38 AM   #7
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware current
Posts: 423

Rep: Reputation: 73
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.
 
Old 05-10-2008, 08:41 PM   #8
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 288

Rep: Reputation: 155Reputation: 155
Listen to mcnalu, for he is wise.
 
Old 05-11-2008, 08:50 AM   #9
vvoody
Member
 
Registered: Apr 2007
Location: Shanghai,China || Sweden
Distribution: Slackware
Posts: 43

Original Poster
Rep: Reputation: 1
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.
 
  


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
apt-get upgrade stopped, how can I remove packages before continuing upgrade? [KIA]aze Linux - Newbie 4 05-31-2007 07:49 AM
upgrade packages, remove old? pyre Linux - Newbie 6 11-10-2006 10:27 AM
Hint: Wanna try Linux, so wanna rig your Windows system to dual-boot? sundialsvcs Linux - Newbie 2 08-16-2005 02:56 PM
tgz file doesn't end in .tgz? detpenguin Slackware 4 05-15-2004 07:13 PM
X Sever crash after xset.tgz & vg16.tgz install lachlan Slackware 0 08-13-2003 02:48 AM

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

All times are GMT -5. The time now is 12:41 AM.

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