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. |
installpkg package_name.tgz (they should end in tgz, not in tg and not in gz)
|
Quote:
|
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. |
thanks for the quick respsones, i'll give that a try.
|
All times are GMT -5. The time now is 12:47 AM. |