Титла: Slackware 10.0 -> 10.1 Публикувано от: p_penchev в Apr 08, 2005, 11:16 Здравейте,
Имам инсталиран Slackware 10.0 и инстал диск 1 на Slackware 10.1. Как мога да упгрейдна някои пакети като php например? Единствения начин, който ми идва на ум е като изтрия пакета и като инсталирам новия чрез installpkg или KPackages. Има ли друг начин? Благодаря предварително! Титла: Slackware 10.0 -> 10.1 Публикувано от: philip в Apr 08, 2005, 11:46 Титла: Slackware 10.0 -> 10.1 Публикувано от: p_penchev в Apr 08, 2005, 17:11 Благодаря, още веднъж!
Титла: Slackware 10.0 -> 10.1 Публикувано от: lamby в Apr 09, 2005, 00:02 root@darkstar:/usr/sbin# upgradepkg
Usage: upgradepkg newpackage [newpackage2 ... ] upgradepkg oldpackage%newpackage [oldpackage2%newpackage2 ... ] Upgradepkg upgrades a Slackware .tgz package from an older version to a newer one. It does this by INSTALLING the new package onto the system, and then REMOVING any files from the old package that aren't in the new package. If the old and new packages have the same name, a single argument is all that is required. If the packages have different names, supply the name of the old package followed by a percent symbol (%), then the name of the new package. Do not add any extra whitespace between pairs of old/new package names. Before upgrading a package, save any configuration files (such as in /etc) that you wish to keep. Sometimes these will be preserved, but it depends on the package structure. If you want to force new versions of the config files to be installed, remove the old ones manually prior to running upgradepkg. To upgrade in a directory other than / (such as /mnt): ROOT=/mnt upgradepkg package.tgz Ако имаш интернет може да пробаваш с Swaret, Slapt-get,Slackcheck |