Swaret.

Postate qui se avete consigli per migliorare i pacchetti disponibili in questo sito o se avete problemi con installazione, funzionamento o altro.

Moderatore: Staff

Regole del forum
1) Citare in modo preciso il nome del pacchetto.
2) Specificare se discussione/suggerimento o richiesta d'aiuto.
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
Filippo Gennari
Linux 0.x
Linux 0.x
Messaggi: 26
Iscritto il: sab 15 nov 2008, 21:09
Slackware: 13.37
Kernel: 2.6.37.6-smp
Desktop: kde 4.5.5

Swaret.

Messaggio da Filippo Gennari »

Ciao Ragazzi,

Ho sempre usato swaret per installare e aggiornare il software fornito da http://www.slacky.eu
Ora, non mi funziona più.

Copio sotto il mio file /etc/swaret.conf :

Codice: Seleziona tutto


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


#########

#REPOS_ROOT=Slacky%http://slack.isper.sk/pub/slackware-13.0/
REPOS_ROOT=Slacky%http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-13.0/
Mi sono perso qualcosa per strada?
Ringrazio fin da ora chi volesse ripondermi.

Ciao.
GnuPG key id: 0x98B22570

Avatar utente
Blallo
Packager
Packager
Messaggi: 3302
Iscritto il: ven 12 ott 2007, 11:37
Nome Cognome: Savino Liguori
Slackware: 14.2 / 12.2
Kernel: 4.4.14-smp
Desktop: DWM
Località: Torino / Torremaggiore (FG)
Contatta:

Re: Swaret.

Messaggio da Blallo »

Offtopic: per facilitare la lettura metti il testo del conf tra i tag code

Avatar utente
Vito
Staff
Staff
Messaggi: 4182
Iscritto il: mar 5 dic 2006, 17:28
Nome Cognome: Vito
Desktop: MacOS
Località: Monaco (DE)
Contatta:

Re: Swaret.

Messaggio da Vito »

Non mi pare che swaret supporti i .txz ..
"Stat rosa pristina nomina, nomina nuda tenemus." [ Umberto Eco - Il nome della rosa]

"Faber est suae quisque fortunae ." [ Appio Claudio Cieco]

Avatar utente
navajo
Staff
Staff
Messaggi: 3884
Iscritto il: gio 8 gen 2004, 0:00
Nome Cognome: Massimiliano
Slackware: 13.37 (x86_64)
Kernel: 2.6.37.6
Desktop: KDE 4.7.0 (Alien)
Località: Roma

Re: Swaret.

Messaggio da navajo »

Allora...
Come ha detto Vito, swaret non supporta i nuovi formati di slackware.
Tieni conto che inoltre è un progetto non più supportato. Ti conviene passare a un tool più moderno, slackyd oppure slapt-get. Io personalmente uso slackyd e mi ci trovo alla grande.
ciao

lgiancri
Linux 0.x
Linux 0.x
Messaggi: 35
Iscritto il: gio 22 set 2005, 20:00

Re: Swaret.

Messaggio da lgiancri »

Salve. Anche a me ha fatto andare in bestia la prematura fine di swaret. Ho provato gli altri tools, ma, sinceramente, sono più macchinosi. Ieri sera (era domenica) ho scritto un programma nel c++ da bestia che sono capace di produrre. Assomiglia vagamente a swaret e funziona con slacware 13. Punta solo al repository di Slacky. Se volete provarlo, l'unica cosa che dovete fare è creare una directory chiamata /var/LG_scarica e lanciare il programma (LG_scarica) con le opzioni disponibili (innanzitutto ./LG_scarica --update). Atenzione però che se va via la luce, esplode la casa del vicino, arrivano le cavallette, ecc. ecc. io non vi conosco.
Se volete scaricarlo è al sito gnx.homepc.it al menu "studenti e docenti-->programmazionec++-->LG_scarica.
Luigi

Meskalamdug
Iper Master
Iper Master
Messaggi: 3965
Iscritto il: ven 14 mag 2004, 0:00

Re: Swaret.

Messaggio da Meskalamdug »

Swaret è da considerare abbandonato ormai.
Al suo posto usa slackpkg per i pacchetti ufficiali

Codice: Seleziona tutto

slackpkg update
slackpkg upgrade-all
e slackyd per quelli non ufficiali.

Codice: Seleziona tutto

slackyd -u
slackyd -U

lion1810v
Linux 0.x
Linux 0.x
Messaggi: 24
Iscritto il: mer 24 mar 2004, 0:00

Re: Swaret.

Messaggio da lion1810v »

scusate ma è possibile utilizzarli in modo analogo:

http://pollycoke.wordpress.com/2006/07/ ... ianubuntu/

a casa ho una connessione lenta (56k)e li scaricherei dall'ufficio

Avatar utente
navajo
Staff
Staff
Messaggi: 3884
Iscritto il: gio 8 gen 2004, 0:00
Nome Cognome: Massimiliano
Slackware: 13.37 (x86_64)
Kernel: 2.6.37.6
Desktop: KDE 4.7.0 (Alien)
Località: Roma

Re: Swaret.

Messaggio da navajo »

tenendo conto del seguenti fatti:
1) non so cosa usi in ufficio, presubilmente windows
2)slacky non è apt-get
la Risposta è comunque si. o meglio, puoi scaricare i pacchetti che ti interessano, metterli in un cd o in una penna, portarli a casa e installarli a mano con

Codice: Seleziona tutto

# installpkg nomepacchetto.txz
spero di aver capito bene la domanda :D
ciao

lion1810v
Linux 0.x
Linux 0.x
Messaggi: 24
Iscritto il: mer 24 mar 2004, 0:00

Re: Swaret.

Messaggio da lion1810v »

1) non so cosa usi in ufficio, presubilmente windows
si
2)slacky non è apt-get
oramai non ho più tanta esperienza con la slacca .. però fin qua .. :doubt:

:D
puoi scaricare i pacchetti che ti interessano
è questo il problema generare un fiele testo tipo quello generato da apt .. il riultato è una cosa simile(poi naturalmente dipende da cosa si passa ad apt)

http://ftp.it.debian.org/debian/pool/ma ... -1_all.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... -1_all.deb
http://ftp.it.debian.org/debian/pool/ma ... -2_all.deb
http://ftp.it.debian.org/debian/pool/ma ... -1_all.deb
http://ftp.it.debian.org/debian/pool/ma ... -5_all.deb
http://ftp.it.debian.org/debian/pool/ma ... -2_all.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... -1_all.deb
http://ftp.it.debian.org/debian/pool/ma ... .1_all.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb
http://ftp.it.debian.org/debian/pool/ma ... -1_all.deb
http://ftp.it.debian.org/debian/pool/ma ... -1_all.deb
http://ftp.it.debian.org/debian/pool/ma ... _amd64.deb

Avatar utente
navajo
Staff
Staff
Messaggi: 3884
Iscritto il: gio 8 gen 2004, 0:00
Nome Cognome: Massimiliano
Slackware: 13.37 (x86_64)
Kernel: 2.6.37.6
Desktop: KDE 4.7.0 (Alien)
Località: Roma

Re: Swaret.

Messaggio da navajo »

Se ho capito il tuo discorso, vorresti gestire un repository di pacchetti in locale giusto ?
Slackyd non so se ancora lo supporta, prova a vedere con slapt-get. sono un paio di anni che non lo uso quindi non ricordo bene.

lion1810v
Linux 0.x
Linux 0.x
Messaggi: 24
Iscritto il: mer 24 mar 2004, 0:00

Re: Swaret.

Messaggio da lion1810v »

Se ho capito il tuo discorso, vorresti gestire un repository di pacchetti in locale giusto ?
non proprio .. anzi praticamente no

facciamo un'esempio pratico.

voglio installare :-k wine

e faccimo caso che wine dipende da pippo pluto topolino

con atp do

apt-get -qq --print-uris install wine| cut -d\' -f 2 > urilist.txt

il file generato (urilist.txt) conterrà semplicemente l'idirzzo del mio pachetto + tutte le dipendenze necessarie per installarlo

http://www.quellocheè.boh/versione/w/wine.deb
http://www.quellocheè.boh/versione/p/pippo.deb
http://www.quellocheè.boh/versione/p/pluto.deb
http://www.quellocheè.boh/versione/t/topolino.deb


tramite wget o similare in un qualsiasi altro sistema con una connessione veloce scarico quello che mi serve per installare wine
.. è una cosa mooolto semplice

Avatar utente
navajo
Staff
Staff
Messaggi: 3884
Iscritto il: gio 8 gen 2004, 0:00
Nome Cognome: Massimiliano
Slackware: 13.37 (x86_64)
Kernel: 2.6.37.6
Desktop: KDE 4.7.0 (Alien)
Località: Roma

Re: Swaret.

Messaggio da navajo »

Ora mi è chiaro.,, non ti seguivo, perchè su slackware un discorso simile non l´ho mai affrontato.
Per quanto riguarda slackyd sono sicuro che non implementa una funzione del genere, non so se si puo fare con slapt-get.
Sorry.

lion1810v
Linux 0.x
Linux 0.x
Messaggi: 24
Iscritto il: mer 24 mar 2004, 0:00

Re: Swaret.

Messaggio da lion1810v »

navajo ha scritto:Ora mi è chiaro.,, non ti seguivo, perchè su slackware un discorso simile non l´ho mai affrontato.
Per quanto riguarda slackyd sono sicuro che non implementa una funzione del genere, non so se si puo fare con slapt-get.
Sorry.

:doubt:

che peccato!!!

Rispondi