Pagina 1 di 1

slackyd

Inviato: ven 18 dic 2009, 13:33
da tom
Ho scaricato da slacky.eu lo slackbuild+i sorgenti di slackyd, ho modificato lo slackbuild con la variabile ARCH a x86_64, creato il pacchetto ed installato. Tutto corretto, slackyd pare funzioni. a questo punto ho modificato il file /etc/slackyd/slackyd.conf:

Codice: Seleziona tutto

#
# Slacky Downloader Config File.
#
# Case insensitive.
# Comment: '#' or '!'
#

#
# Slackyd cache
#
cache = /var/slackyd

#
# Connection timeout, in seconds.
# Set to 0 for use Linux default value (very long). 
#
timeout = 15

#
# Upgrade slackware packages with unofficial packages.
#
upgrade_replacing_official = yes

#
# Using Slackware64 official mirror
#
slackware64 = yes

#
# Download with wget (proxy workaround)
#
wget = no

#
# Repository syntax:
#
# KEYWORD NAME ADDRESS
#
# - "KEYWORD" Must always be "REPOSITORY" and must always be at start of line ! 
#
# - "NAME"    Is a string (only characters, numbers, underscores or '-') to identify repository. 
#             If not specified slackyd consider repository as official slackware mirror.
#             In this case only first of the list will be used, if don't work slackyd try with second etc...
#
# - "ADDRESS" Is repository.
#
# - Only FILE/HTTP/FTP protocols are implemented yet.
#

# Slackware repositories:

# To use a directory as slackware mirror:
!repository = file://your/mirror/
# To use a directory as extra mirror:
!repository mirrorname = file://your/mirror/

# Official mirror is too slow...
!repository ftp://ftp.slackware.com/pub/slackware/slackware-13.0/

repository = ftp://ftp.slackware.org.uk/slackware/slackware64-current/
!repository = ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-13.0/
!repository = http://sunsite.cnlab-switch.ch/ftp/mirror/slackware/slackware-13.0/
!repository = ftp://ftp.slackware.no/pub/linux/slackware/slackware-13.0/
!repository = ftp://ftp.slackware.at/slackware-13.0/
!repository = http://www.slackware.at/data/slackware-13.0/

#Extra repositories:
# Slacky.eu
!repository slacky = http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-13.0/
# GSlacky
!repository gslacky http://darkstar.ist.utl.pt/slackware/addon/slacky/gnome-slacky-13.0/
# GnomeSlackBuild
!repository gsb = ftp://ftp.slackware.org.uk/gsb/gsb64-current/
# Multilib
!repository multilib = http://connie.slackware.com/~alien/multilib/

# Blacklist syntax:
#
# blacklist package1 package2 package3 ...
#
# `blacklist' keyword must be at start of line.
#  Packages can be tab, white space or comma separated.
#
# Examples:
# 1) Blacklist all packages 'xine-lib':
# blacklist ^xine-lib-.*
# 2) Blacklist _exactly_ package xine-lib
# blacklist ^xine-lib-[^-]+-[^-]+-[^-]
# 3) Blacklist xine-lib-1, xine-lib-2 and xine-lib3:
# blacklist ^xine-lib-[123]
# 4) Blacklist firefox 3 and all kernel smp:
# blacklist ^mozilla-firefox-en-us-3 ^kernel-.*_smp
#
# Use -x option to disable blacklist on run-time, and -X option to see
# all packages blacklisted.
#
Insomma, ad ora il mio repo è ftp.slackware.org.uk/slackware/slackware64-current/
Se però decommento il repo di gnomeslackbuild: ftp.slackware.org.uk/gsb/gsb64-current/ il risultato della sincronizzazione è questo:

Codice: Seleziona tutto

bash-3.1# slackyd -u

*** Warning: Broken packages list, 1 file is missing.
*** Try to force update or fix your slackyd.conf.

Repository: slackware [ftp.slackware.org.uk]
`- Downloading FILELIST.TXT [Already update]             
Repository: gsb [ftp.slackware.org.uk]
`- Downloading FILELIST.TXT [100 % @ 130.9 KB/s]         
`- Downloading PACKAGES.TXT [100 % @ 17.2 KB/s]          
`- Downloading CHECKSUMS.md5 [100 % @ 116.7 KB/s]         
`- Downloading MANIFEST.bz2 [File not found]             

bash-3.1# 
Cioè l'errore è dato dalla mancanza di quel file MANIFEST.bz2. La domanda va più sul generale: vorrei capire se, una volta che slackyd non trova qualche file come in questo caso, si limita semplicemente a darmi questa notifica oppure non vuole saperne di scaricare? perchè vorrei aggiungere altri mirror come le multilib di alien e i pacchetti di ponce

Re: slackyd

Inviato: ven 18 dic 2009, 19:24
da Dani
tasodan ha scritto: Cioè l'errore è dato dalla mancanza di quel file MANIFEST.bz2. La domanda va più sul generale: vorrei capire se, una volta che slackyd non trova qualche file come in questo caso, si limita semplicemente a darmi questa notifica oppure non vuole saperne di scaricare? perchè vorrei aggiungere altri mirror come le multilib di alien e i pacchetti di ponce
Per quanto riguarda i repository slackware il manifest.bz2 ci deve essere, al contrario nei repository extra puo' anche non esserci in quanto è l'ultimo file che si scarica, ma la funzione di ricerca delle librerie (-d) avrà minori possibilità di successo.