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 11-28-2007, 10:39 AM   #1
m3lkor001
LQ Newbie
 
Registered: Jun 2006
Location: Elk Grove, CA
Distribution: Slackware 12.0
Posts: 27

Rep: Reputation: 15
help with upgrade pkg problem


hello

tryin out linux again and was going by a howto for updating my files.
was working great until i tried upgradepkg on something that i didn't realize hadn't been fully downloaded.
so it error'd out, and when i tried it again after it fully downloaded it said that there was no package there to upgrade. and said i might have to re-install the package.
did it twice

one was the php .tz or .tg and forgot the other (am at work atm)

just wondering what i'm going to have to do to fix it, appreciate the help.
 
Old 11-28-2007, 10:46 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
installpkg package_name.tgz (they should end in tgz, not in tg and not in gz)
 
Old 11-28-2007, 10:49 AM   #3
m3lkor001
LQ Newbie
 
Registered: Jun 2006
Location: Elk Grove, CA
Distribution: Slackware 12.0
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien_Hominid View Post
installpkg package_name.tgz (they should end in tgz, not in tg and not in gz)
so i can use installpkg that with the file i downloaded to upgrade?
 
Old 11-28-2007, 10:59 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Some nice situations can jump at your face when playing around with install/upgradepkg and "failing" with them in some way. For example I accidentally installpkg'd a package that I actually should have upgradepkg'd, and as a result had two different versions of the same package installed. Ok, it worked, but pkgtool showed me the two different versions, and refused to remove the older one (that got overwritten, but package name still left behind). Solution was to remove both versions of the package (run removepkg on the package twice in a row), and then installpkg the newer version again..trickier than one might think. Especially if you thought that installpkg on a package that is already installed would cause upgradepkg actions..no

So try installpkg if it works, and if not, you can always removepkg = make sure the package is completely removed, and then install it again.
 
Old 11-28-2007, 11:02 AM   #5
m3lkor001
LQ Newbie
 
Registered: Jun 2006
Location: Elk Grove, CA
Distribution: Slackware 12.0
Posts: 27

Original Poster
Rep: Reputation: 15
thanks for the quick respsones, i'll give that a try.
 
  


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
slapt-get error 404 on 1 pkg stops upgrade farpoint Slackware 2 05-11-2005 02:28 PM
PKG config problem ? fatum Linux - Software 2 10-03-2004 06:52 PM
pkg config problem fatum Linux - General 0 10-01-2004 02:22 PM
pkg-config problem pasalacqua128 Linux - Software 1 06-02-2004 07:31 AM
pkg-config problem sandy Linux - Newbie 8 03-07-2003 01:39 PM

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

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