LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   how do you keep up with slackware-current? (https://www.linuxquestions.org/questions/slackware-14/how-do-you-keep-up-with-slackware-current-320279/)

cavalier 05-07-2005 04:41 PM

Not related to which tool to use, but for those of you that use slackpkg - how do you get it to upgrade everything that you have installed that has an update available?

For example, if I want to update xine-lib, I type
Code:

slackpkg upgrade xine-lib
and it does what needs doing.

Is there a simple one-liner that will tell slackpkg to look at my /var/log/packages (or whatever) and update everything that's updatable?

detpenguin 05-07-2005 06:18 PM

you can update by folder...such as:

slackpkg upgrade a

and it will let you know of all packages in "a" that are available for upgrading...it also works for extra, too.

it lists available updates, and you can choose to have it update them, or you can cancel out and just update the ones you wish to.

GrayGhost 05-07-2005 06:51 PM

If your tracking Slackware current use slackpkg upgrade slackware to upgrade all installed packages (that would be in the slackware directory) Use slackpkg upgrade extra to upgrade packages that are in the extra directory.
If you track a stable release( EG 10.1) you would use slackpkg upgrade patches because updated packages are kept in the patches directory

cavalier 05-07-2005 11:21 PM

Quote:

Originally posted by GrayGhost
If your tracking Slackware current use slackpkg upgrade slackware to upgrade all installed packages (that would be in the slackware directory) Use slackpkg upgrade extra to upgrade packages that are in the extra directory.
If you track a stable release( EG 10.1) you would use slackpkg upgrade patches because updated packages are kept in the patches directory

Thanks for this. It's exactly what I was looking for. I had already upgraded everything by going through the disk sets (a through xap), but didn't realize you could do the same with the whole slackware directory.


All times are GMT -5. The time now is 03:38 PM.