LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-29-2014, 06:02 AM   #1
TonyErwood
LQ Newbie
 
Registered: Feb 2010
Location: Shetland Islands. U.K.
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
Bash upgradepkg does not install correctly


Following recent concerns about bash security, I have tried to apply the patch but I get the error message below.
Any help with this gratefully received.

root@watt:~# upgradepkg bash-3.1.017-i486-1%bash-3.1.018-i486-1_slack13.0.txz
+==============================================================================
| Upgrading bash-3.1.017-i486-1 package using ./bash-3.1.018-i486-1_slack13.0.txz.tgz
+==============================================================================
Pre-installing package bash-3.1.018-i486-1_slack13.0.txz...
ERROR: Package ./bash-3.1.018-i486-1_slack13.0.txz.tgz did not install correctly. You may need to reinstall your old packageto avoid problems. Make sure the new package is not corrupted.
root@watt:~#
 
Old 09-29-2014, 07:12 AM   #2
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
Quote:
Originally Posted by TonyErwood View Post
+==============================================================================
| Upgrading bash-3.1.017-i486-1 package using ./bash-3.1.018-i486-1_slack13.0.txz.tgz
+==============================================================================
Looks like upgradepkg is confused about the extension.

Dave
 
Old 09-29-2014, 07:59 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,257

Rep: Reputation: Disabled
Also, when using upgradepkg, the % symbol should only be used when the old and the new packages do not have the same base name.

This is not the case here, so just type
Code:
upgredepkg bash-3.1.018-i486-1_slack13.0.txz
 
Old 09-29-2014, 11:01 AM   #4
TonyErwood
LQ Newbie
 
Registered: Feb 2010
Location: Shetland Islands. U.K.
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the comments received so far.

I just found out that the machine in question is running Slackare12.0 and not Slackware13.0 as I originally thought. There is no patch for bash for Slackware12.0 . I tried fetching the patch for 13.0 again since it has changed from version 018 to 019 in the last few days but when typing

# upgradepkg bash-3.1.019-i486-1_slack13.0.txz

I get the error message

Error: Incoming package ./bash-3.1.019-i486-1_slack13.0.txz.tgz not found

It looks like this older version of upgradepkg is expecting a .tgz file.

Two other machines I have runing Slackware13.0 and Slackware14.1, both 64 bit, upgraded with their respective patches without any problem.

Maybe the only soluion is to upgrade this Slackware12.0 machine to Slackware13.0 ?
 
Old 09-29-2014, 12:11 PM   #5
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Best to upgrade the os as 12 is not supported.
 
Old 09-29-2014, 02:17 PM   #6
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
Quote:
Originally Posted by TonyErwood View Post
Following recent concerns about bash security, I have tried to apply the patch but I get the error message below.
Any help with this gratefully received.
Hi. Check the post I just wrote about getting the latest Bash 3.1 security patches for Slackware 12.0, 12.1, and 12.2.

--mancha
 
Old 09-30-2014, 05:46 AM   #7
TonyErwood
LQ Newbie
 
Registered: Feb 2010
Location: Shetland Islands. U.K.
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
Mancha, thank you, that worked and installed patch 020.

That buys me some time before upgadeing to Slackware13 or higher - I need to resolve some compatability issues with the driver in xawtv which is used with a Conexant 878A based video capture card.
 
  


Reply

Tags
bash, upgradepkg


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
upgrade with upgradepkg --install-new why? boneyard Slackware 8 09-11-2010 06:02 PM
[SOLVED] Wicd won't install correctly/run correctly (64-bit Slackware 13) bgraybr Slackware 3 04-01-2010 07:57 PM
can not get bash work out correctly in pendrivelinux, help!!! kallekula Linux - Newbie 2 10-15-2009 04:29 AM
[SOLVED] [bash] find -exec does not execute correctly... RaptorX Programming 3 09-11-2009 06:33 PM
why my bash doesn't work correctly? icoming Linux From Scratch 4 11-28-2004 08:59 AM

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

All times are GMT -5. The time now is 04:18 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