S4D - 13. Aggiornare Slackware: differenze tra le versioni

Da Slacky.eu.
(13.2.1 Che cos'è Swaret)
(13.2.2 Configurare Swaret)
(Nessuna differenza)

Versione delle 03:30, 11 gen 2008

apropos

L'aggiornamento del software presente sul nostro computer è una prassi necessaria, impariamo come farlo in sicurezza.



13. Aggiornare Slackware

prenotato da "inux"

13.1 Regole generali

prenotato e tradotto da "inux"

13.2 Swaret

prenotato da "inux"

13.2.1 what is swaret

Swaret (Slackware tool) is rapidly emerging as the most popular and functional, so that there is the translation into various languages, as well as some GUI: Kswaret (based sulleQT) KDE (downloadable to addresses: http://freshmeat. net / projects / kswaret and http://kswaret.sourceforge.net, although at the time the project seems abandoned)Gswaret (based on ncurses), a project but at the moment seems abandoned.Zswaret (based on Zenith), but that project currently looks abandoned Qtswaret (http://qtswareIn any case, it is extremely easy to manage the program line comando.Slackware not install swaret default, and even the package, found in / extra up to version 9.1, has actually been removed, it is downloadable at http: / / swaret.sourceforge.net.swaret èin can handle dependencies and (through 1dd) "track and fix" missing library, which is not the same but always a comprehensive resolution of dependencies, which in some cases are not libraries, but other packages. Moreover swaret not fulfilled the upgrade package Dropline Gnome, which is effected by the dropline-installer.Currently is developing a new branch (2) written in perl (1 branch is simply a bash script).

13.2.2 Configure Swaret

After installing Swaret, you must configure / etc / swaret.conf.new renamed after / etc / swaret.conf (beginner uncertain about setting for this and for all the configuration file, rename it should not mv but with cp: in this way the original file remains in case of errors can be restored). We have to check with an editor that at least the following lines, the most important of those that define the various options are as described below (see the 1.6.3test3 version of swaret now - and for a long time-last stable): VERSION = 10: to determine the version we want aggornare slackware.La version in / etc / swaret.conf is now obsolete, 10.Se the system is installed slackware 11.0, it must necessarily set a current, because otherwise swaret not find any package more recent ones already present. ENGLISH LANGUAGE =: specific language messages swaret. It should be amended inITALIANO.Then are inserted mirror Slackware, if we want to add to those already present by default, with the following syntax: ROOT = PROTOCOL: URL For example: ROOT $ VERSION = ftp://ftp.slackware.at/slackware- The protocols are: File = retrieve packages from a support as a CD-ROM, unDVD, another magnetic media oanche a network share. Ftp = retrieve packages from an FTP server. Http = retrieve packages from an Internet site. Synchronize = retrieve packages through an rsync. In this section you can add additional parameters: PACKAGES = 1 or 0: perform or less the search only standard packages in Slackware mirror. PATCHES OR 1 = 0: perform or less research patches in the mirror Slackware. EXTRA = 1 or 0: perform or less the search for extra packages in Slackware mirror. Finally, the repositories should be listed we are concerned with the syntax:

REPOS_ROOT = NOME_REPOSITORY% PROTOCOL: URL

For example:

REPOS_ROOT = Slacky.it% http://www.slacky.it/download Under GENERAL SETTINGS are the following options: RANDOMR = 0: set to 1, uses mirror Slackware at random, instead of from below in the order specified. USEPKGDESC = 0: set to 1, also seeks packages the description of which appears keywords specified after the - ACTION. EXCLUDE: Excludes packages listed by the auto and some, such as the Kernel and lilo are of default.Can then add other.Is can also exclude a number of packages except one or more providing a keyword, with the following syntax : EXCLUDE = package [not exclude keyword_1, not exclude keyword_2 ,...] For example, if we exclude all packages languages KDE and KOffice, except that the Italian will be installed instead, we can write: EXCLUDE = kde-i18n [it] koffice-i18n [it] DEPENDENCY = 1: This setting controls dependencies, while the 0 = escluderebbe.Sebbene swaret is not always infallible in managing dependencies, in most cases produces good results. DSEARCHLIB = 1: makes research libraries missing. DSEARCHM = 0: set to 1 will make Swaret recourse to slocate program searches for the missing libraries (and requires frequent updating deldatabase internal packages, with command updatedb-uv). Set to 0 with the search-find. MD5CHEK = 0: set to 1, controlling MD5SUM package. GPGCHECK = 0: set to 1, check the digital signature package (and assumes that the signatures are already in the system keyring). DESC = 0: set to 1, shows the description of packages during installation. CACHE-DIR = / var / swaret: Sets the cache directory. LOG = 1: enables the scruttura a log file. LOG_FILE = / var / log / swaret: Sets directory of the log file. WARNINGS = 1: enables warning messages to the screen. INFORMATION = 1: enables the display of information to the screen. Under Network Settings are the following options: NIC = eth0: Indicates card rete.Questa voice, enabled by default, be amended if it has a connection to the Internet otherwise. NIC = lo: servant to install by unCD-ROM (active service loopback) PROGRESS = 1: Select the type of interface to indicate download. TIMEOUT = 35: Sets the time out for wget and / or rsync. PASSIVE_FTP = 1: active passive mode FTP (useful if you have a firewall). WGET_PROXY = http://IP or HOST: PORT: If you want to support proxy protocols. HTTP or FTP, this line goes decommentata and should set its variable. RSYNC_PROXY = IP or HOST: PORT: If you want to support prxy RSYNC protocol, this line goes decommentata and should set its variable.

13.2.3 Aggiornare con Swaret

prenotato da "inux"

13.3 Slapt-get

prenotato da "inux"

13.4 Emerde

prenotato da "inux"

13.5 Slackupdate

prenotato da "inux"

13.6 Aggiornare la versione precedente alla successiva

prenotato da "inux"

13.7 Aggiornare alla current

prenotato da "inux"

13.8 Creare un DVD della current

prenotato da "inux"




LINKS

Ritorna alla pagina principale del progetto

Autore: Danix85