Slacky & Swaret

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
susumella
Linux 2.x
Linux 2.x
Messaggi: 459
Iscritto il: mar 25 mag 2004, 0:00

Slacky & Swaret

Messaggio da susumella »

Ciao a tutti
<BR>ho provato a cercare sul forum, ma niente mi è stato d´aiuto. La domanda è semplice: perchè non riesco a scaricare i pacchetti presenti su Slacky tramite swaret? Le istruzioni le ho seguite, l´update crea i file, ma quando faccio la ricerca non trova assolutamente nulla!
<BR>
<BR>Help me<br>

mitico
Linux 0.x
Linux 0.x
Messaggi: 57
Iscritto il: gio 3 feb 2005, 0:00

Slacky & Swaret

Messaggio da mitico »

non so io l´ho fatto oggi ed ha funzionato<br>

susumella
Linux 2.x
Linux 2.x
Messaggi: 459
Iscritto il: mar 25 mag 2004, 0:00

Slacky & Swaret

Messaggio da susumella »

Potresti postarmi lo swaret.conf? Che versione usi?<br>

Avatar utente
Harp
Staff
Staff
Messaggi: 1424
Iscritto il: sab 17 apr 2004, 0:00
Nome Cognome: Franco Fiorin
Slackware: 13.0
Kernel: 2.6.29
Desktop: KDE 4.2.4
Località: Vittorio Veneto (TV)
Contatta:

Slacky & Swaret

Messaggio da Harp »

RET EXAMPLE CONFIGURATION FILE ###
<BR>#
<BR># Define a valid Slackware Linux Version.
<BR># (Used for Dependency Support and other Features)
<BR>#
<BR># NOTE: If you want to use Slackware Linux Current,
<BR># set VERSION to ´current´ (VERSION=current).
<BR>#
<BR>VERSION=current
<BR>#
<BR># Define the language for status and error messages
<BR>LANGUAGE=ITALIANO
<BR>#
<BR># ----------------------------------------------------------
<BR># Define Slackware (8.1 or Higher or Current) Linux Mirrors.
<BR># (Used for Official Slackware Linux Packages)
<BR># (Slackware Linux Mirrors available at <a href="http://www.slackware.com" target="_blank" target="_new">http://www.slackware.com</a>)
<BR>#
<BR># Syntax: ROOT=PROTOCOL:URL
<BR>#
<BR># NOTE: swaret will use the order of the specified ROOT URL´s.
<BR>#
<BR>#ROOT=file:/mnt/cdrom
<BR>#ROOT=file:/mnt/dvdrom
<BR>#ROOT=file:/mnt/usbmemstick
<BR>ROOT=ftp://ftp.nluug.nl/pub/os/Linux/distr/s ... e-$VERSION
<BR>ROOT=http://sunsite.cnlab-switch.ch/ftp/mirr ... e-$VERSION
<BR>ROOT=ftp://ftp.slackware.no/pub/linux/slackw ... e-$VERSION
<BR>ROOT=http://www.slackware.no/slackware/slackware-$VERSION
<BR>ROOT=ftp://ftp.slackware.at/slackware-$VERSION
<BR>ROOT=http://www.slackware.at/data/slackware-$VERSION
<BR>ROOT=ftp://ftp.planetmirror.com/pub/slackwar ... e-$VERSION
<BR>ROOT=http://ftp.planetmirror.com/pub/slackwa ... e-$VERSION
<BR>#ROOT=rsync://rsync.slackware.no/slackware/slackware-$VERSION
<BR>#ROOT=rsync://rsync.slackware.at/slackware/slackware-$VERSION
<BR>#ROOT=file:/pub/slackware
<BR>#ROOT=file:/mnt/nfsshare/slackware
<BR>#ROOT=file:/mnt/sambashare/slackware
<BR>#
<BR># -----------------------------------------------------------
<BR># Define Repository URL´s with Slackware Linux Packages.
<BR># (Used for Repository Slackware Linux Packages)
<BR># (Repository URL´s available at <a href="http://www.swaret.org/?menu=sp" target="_blank" target="_new">http://www.swaret.org/?menu=sp</a>)
<BR>#
<BR># NOTE 1: To use a Local Repository or Remote Repository,
<BR># be sure it contains the following Files:
<BR># - CHECKSUMS.md5 (For MD5 Sum, REQUIRED)
<BR># - FILELIST.TXT (For Package Name + Size, REQUIRED)
<BR># - PACKAGES.TXT (For Package Description, NOT REQUIRED)
<BR># - MANIFEST.bz2 (For Dependency Support, NOT REQUIRED)
<BR># NOTE 2: To create your own Repository, use ´swaret-tools´.
<BR># You can get ´swaret-tools´ at <a href="http://www.swaret.org" target="_blank" target="_new">http://www.swaret.org</a>!
<BR>#
<BR># Syntax: REPOS_ROOT=REPOSITORYNAME%PROTOCOL:URL
<BR>#
<BR># NOTE 1: The REPOSITORY NAME can only be ONE Keyword!
<BR># NOTE 2: swaret will use the order of the specified REPOS_ROOT URL´s.
<BR>#
<BR>REPOS_ROOT=BlazeBox%http://users.lichtsnel.nl/pub/slackware
<BR>REPOS_ROOT=CuoreDOTORG%http://heart.cuore.org/packages/slackware
<BR>REPOS_ROOT=LinuxPackagesDOTNET.FTP%ftp://ftp3.linuxpackages.net/pub/Slackware-10.0
<BR>REPOS_ROOT=LinuxPackagesDOTNET.HTTP%http://www2.linuxpackages.net/Slackware-10.0
<BR>REPOS_ROOT=SlackPack%http://packs.slack.it/
<BR>REPOS_ROOT=GurnoDOTCOM%http://gurno.com/adam/slack/
<BR>REPOS_ROOT=Slacky.it%http://www.slacky.it/download
<BR>#
<BR># ------------------------------------------------------------
<BR># Define Libraries (8.1 or Higher or Current) List Mirrors.
<BR># (Used for Dependency Support)
<BR>#
<BR># NOTE 1: You need to specify a Libraries List Mirror which
<BR># contains a ´libraries-VERSION´ File.
<BR>#
<BR># NOTE 2: To create the Libraries List, use ´swaret-tools´.
<BR># You can get ´swaret-tools´ at <a href="http://www.swaret.org" target="_blank" target="_new">http://www.swaret.org</a>!
<BR># You can also clear all DEP_ROOT Variable(s) which will
<BR># allow swaret to create the Libraries List for you
<BR># during Dependency Check using the defined ROOT Variable(s) above.
<BR>#
<BR># Syntax: DEP_ROOT=PROTOCOL:URL
<BR>#
<BR># NOTE: swaret will use the order of the specified DEP_ROOT URL´s.
<BR>#
<BR>#DEP_ROOT=file:/mnt/cdrom
<BR>#DEP_ROOT=file:/mnt/dvdrom
<BR>#DEP_ROOT=file:/mnt/usbmemstick
<BR>DEP_ROOT=http://www.swaret.org/swaret
<BR>DEP_ROOT=ftp://ftp.swaret.org/swaret
<BR>#DEP_ROOT=rsync://rsync.swaret.org/swaret
<BR>#DEP_ROOT=file:/pub/swaret
<BR>#DEP_ROOT=file:/mnt/nfsshare/swaret
<BR>#DEP_ROOT=file:/mnt/sambashare/swaret
<BR>#
<BR># ----------------------------------------------------------
<BR># General Settings
<BR>#
<BR># Do you want swaret to use Random Slackware Linux Mirrors?
<BR># -> 1 for yes, 0 for no.
<BR>#
<BR>RANDOMR=0
<BR>#
<BR># Do you want swaret to parse all the Package Descriptions?
<BR># -> If set to 1, swaret will also match Packages whose Description
<BR># is matching the Keyword(s) you specify after --ACTION.
<BR># NOTE: swaret will parse all the Package Descriptions for this,
<BR># and might slow down swaret when using an older System.
<BR># -> If set to 0, swaret will not use Package Descriptions
<BR># to match one or more Packages.
<BR>#
<BR>USEPKGDESC=0
<BR>#
<BR># If you don´t want swaret to Upgrade, Install, Re-Install, Download,...
<BR># some Packages, add the KEYWORDS to the EXCLUDE Variable.
<BR># To disable Exclude Method: swaret --exclude -off
<BR># To enable Exclude Method: swaret --exclude -on
<BR>#
<BR># NOTE: You can add ANY EXTENDED REGEXP (Regular Expression) to the EXCLUDE Variable(s)
<BR>#
<BR># Basic Exclude
<BR>#
<BR>EXCLUDE=kernel
<BR>EXCLUDE=lilo swaret
<BR>EXCLUDE=MANIFEST.bz2$
<BR>EXCLUDE=.*dl$ .*PACKAGER$ .*MYBUILD$
<BR>#EXCLUDE=kde*
<BR>EXCLUDE=xine*
<BR>EXCLUDE=qt-*
<BR>EXCLUDE=j2sdk
<BR>EXCLUDE=lopster
<BR># Advanced Exclude
<BR># Syntax: KEYWORD[DONT_EXCLUDE_ME_KEYWORD1,DONT_EXCLUDE_ME_KEYWORD2,...]
<BR># Example: kde-i18n[nl,en_GB] koffice-i18n[nl,en_GB]
<BR>#
<BR>#
<BR># Do you want to enable Dependency Check?
<BR># -> If set to 1, swaret will start the Dependency Check after
<BR># every Upgrade, Install and Re-Install Procedure.
<BR># -> If set to 0, swaret will not start the Dependency Check
<BR># after any Procedure.
<BR>#
<BR>DEPENDENCY=1
<BR>#
<BR># Do you want swaret to Search for missing Libraries (and Fix)
<BR># which could be found on your System, but not tracked by ldconfig?
<BR># -> 1 for yes, 0 for no.
<BR>#
<BR>DSEARCHLIB=1
<BR>#
<BR># Set to 1, if you want swaret to use the ´slocate´ program
<BR># to Search for missing Libraries.
<BR># (be sure to issue the ´updatedb´ Command regularly!)
<BR># If DSEARCHM is set to 0, swaret will use
<BR># the ´find´ program to locate missing Libraries.
<BR># -> 1 for yes, 0 for no.
<BR>#
<BR>DSEARCHM=0
<BR>#
<BR># Start MD5 Check after Fetching Packages, Patches and Sources?
<BR># -> 1 for yes, 0 for no.
<BR>#
<BR>MD5CHECK=1
<BR>#
<BR># Start GPG Signature Check after Fetching Packages, Patches and Sources?
<BR>#
<BR># NOTE: Check out F.A.Q. (--faq gpg) how to Import a Public GPG Key which
<BR># will be used by the GPG Signature Check.
<BR>#
<BR># -> 1 for yes, 0 for no.
<BR>#
<BR>GPGCHECK=0
<BR>#
<BR># Show Description for Packages during
<BR># Upgrade, Install, Re-Install,... Procedures?
<BR># -> If set to 0, you will not see a Description.
<BR># -> If set to 1, you will see a Description.
<BR>#
<BR>DESC=0
<BR>#
<BR># Cache Directory for (Repository) Packages and Sources.
<BR>#
<BR>CACHE_DIR=/var/swaret
<BR>#
<BR># Enable Logging?
<BR># -> 1 for yes, 0 for no.
<BR>#
<BR>LOG=1
<BR>#
<BR># swaret Log File
<BR>#
<BR>LOG_FILE=/var/log/swaret
<BR>#
<BR># Show Warnings?
<BR># -> 1 for yes, 0 for no.
<BR>#
<BR>WARNINGS=1
<BR>#
<BR># Show Information?
<BR># -> 1 for yes, 0 for no.
<BR>#
<BR>INFORMATION=1
<BR>#
<BR># -------------------------------------------------------------
<BR># Network Settings
<BR>#
<BR># Network Interface
<BR># Use this if you have a Network Interface.
<BR>#
<BR>NIC=eth0
<BR>#
<BR># Local Interface
<BR># Use this if you do not have a Network Interface.
<BR>#
<BR># For Example (CD-ROM):
<BR># You got a Slackware Linux CD-ROM,
<BR># mount the CD-ROM to /mnt/cdrom and
<BR># set ROOT to ´file:/mnt/cdrom´ in /etc/swaret.conf.
<BR># Also, set NIC to ´lo´ (Local Loop Device).
<BR>#
<BR># NIC=lo
<BR>#
<BR># Progress
<BR># If set to 0, swaret will use the ´%´ Download Interface.
<BR># If set to 1, swaret will use the ´size´ Download Interface.
<BR># If set to 2, swaret will use the ´wget/rsync´ Download Interface.
<BR>#
<BR>PROGRESS=1
<BR>#
<BR># Timeout for wget and/or rsync.
<BR># -> Number of seconds for Timeout
<BR>#
<BR>TIMEOUT=35
<BR>#
<BR># Retries for wget and/or rsync.
<BR># -> Number of Retries
<BR>#
<BR>RETRIES=5
<BR>#
<BR># Behind a Firewall? Using FTP Mirrors?
<BR># -> 1 for yes, 0 for no
<BR>#
<BR>PASSIVE_FTP=1
<BR>#
<BR># If you want HTTP or FTP Proxy Support,
<BR># uncomment and Setup the following Variable:
<BR>#
<BR># WGET_PROXY=http://IP or HOST:PORT
<BR>#
<BR># If you want RSYNC Proxy Support,
<BR># uncomment and Setup the following Variable:
<BR>#
<BR># RSYNC_PROXY=IP or HOST:PORT
<BR>#
<BR>### /etc/swaret.conf - SWARET EXAMPLE CONFIGURATION FILE ###
<BR><br>

susumella
Linux 2.x
Linux 2.x
Messaggi: 459
Iscritto il: mar 25 mag 2004, 0:00

Slacky & Swaret

Messaggio da susumella »

Grazie!
<BR>Però se non ho capito male il funzionamento di swaret, con questa configurazione Slacky è l´ultimo in cui swaret vada a vedere se ci sono i file che cerchi. Se come REPOS lo lascio da solo e cerco un pacchetto presente sul sito, lui non lo trova!<br>

susumella
Linux 2.x
Linux 2.x
Messaggi: 459
Iscritto il: mar 25 mag 2004, 0:00

Slacky & Swaret

Messaggio da susumella »

E´ ufficiale... non calcola i REPOSITORY!<br>

susumella
Linux 2.x
Linux 2.x
Messaggi: 459
Iscritto il: mar 25 mag 2004, 0:00

Slacky & Swaret

Messaggio da susumella »

Dunque, ho trovato il problema, ma non me lo spiego, nè so come risolverlo... mi spiego: tutto nasce dal fatto che ho cambiato la directory di CACHE, ponendola su una partizione FAT. Ho notato che l´update produce 3 file e non 5! Quindi i pacchetti dei REPOS non mi vengono letti... qualcuno ha idea?
<BR>
<BR>Grazie
<BR>
<BR>Susu<br>

susumella
Linux 2.x
Linux 2.x
Messaggi: 459
Iscritto il: mar 25 mag 2004, 0:00

Slacky & Swaret

Messaggio da susumella »

Nessuna idea? Mi sa che sarò costretto a toglierlo... nella partizione di linux non ho molto spazio...<br>

Rispondi