LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Updating packages w/out Slackpkg (http://www.linuxquestions.org/questions/slackware-14/updating-packages-w-out-slackpkg-904876/)

Konphine 09-25-2011 12:24 AM

Updating packages w/out Slackpkg
 
Hello again,

Basically I would like to update some files that my mirror does not have updated versions of.

So if I downloaded by source the program I wanted to install, or installed the tarballs of them, would it update with slackpkg if say, the mirror updated with a newer version after the version I install by myself, or would I have to do it by source for each new update on the program itself?

What I mean by this is:

slackpkg gets me version 1.0.0

I (by myself) install version 1.0.1

But eventually my slackpkg mirror updates to:

1.0.2

If I use slackpkg will it automatically update to 1.0.2 replacing the tar file (granted it has the same name), or would I have to download the slackpkg entry again myself in order to be under slackpkg?

mRgOBLIN 09-25-2011 01:20 AM

Slackpkg will bring you into line with whatever is in the mirror it is pointed at. If 1.0.2 is on the mirror then that's what you'll get.
This assumes the "package name" is not changed in some way or in the slackpkg blacklist.

ottavio 09-25-2011 08:09 AM

Quote:

Originally Posted by Konphine (Post 4481539)
Hello again,

Basically I would like to update some files that my mirror does not have updated versions of.

What I do is to use a browser to download the single packages and then use upgradepkg to upgrade. My question is: where do you get these files from? Is it an official mirror or not? You could anyway write a script to use slackpkg temporarilly from other sources using slackpkg. Check "man slackpkg.conf".

ramkatral 09-25-2011 12:16 PM

If yu do slackpkg upgrade-all, then it will show you a list of what's available and you can uncheck what you don't want.

dwblas 09-25-2011 02:40 PM

You should use the slackbuild for that package and simply change the version number, although some slackbuilds will use the tarred, gzipped/bzipped file that is in the same directory, so no change is necessary. I do it quite often. The only gottcha is that there may be dependencies that have to be upgraded as well. A search for "package-name slackbuild" will usually show a hit for slackbuilds.org or one of the official Slackware sites. After upgrading, you will get a message when you update that there is a potential downgrade, which of course you not do. An intro http://www.slackwiki.org/SlackBuild_Scripts


All times are GMT -5. The time now is 11:53 PM.