Pagina 3 di 7

Re: [RC] slackpkg+ releasing

Inviato: mar apr 30, 2013 16:41
da ponce
ho provato l'ultima versione:

- anche a me da errori con un repository ufficiale locale (raggiunto tramite la sintassi "file://...")

- ti chiederei il favore di togliere i riferimenti ai miei repository per la 13.37, perche' non supportati ;)

- ho provato a usare questo slackpkgplus.conf

Codice: Seleziona tutto

SLACKPKGPLUS=on
PKGS_PRIORITY=( multilib:.* )
REPOPLUS=( alienbob ponce restricted )
MIRRORPLUS['multilib']=http://taper.alienbase.nl/mirrors/people/alien/multilib/current/
MIRRORPLUS['ponce']=http://ponce.cc/slackware/slackware64-current/packages/
MIRRORPLUS['restricted']=http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.0/x86_64/


- quando do' slackpkg update (ho importato la mia chiave con un "gpg --import GPG-KEY" da root) questo e' il risultato

Codice: Seleziona tutto

Updating the package lists...
   Downloading...
--2013-04-30 16:33:21--  http://ponce.cc/mirrors/slackware/slackware64-current/ChangeLog.txt
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 656 [text/html]
Saving to: ‘/tmp/slackpkg.zJHjgP/ChangeLog.txt’

     0K                                                       100% 72.6M=0s

2013-04-30 16:33:21 (72.6 MB/s) - ‘/tmp/slackpkg.zJHjgP/ChangeLog.txt’ saved [656/656]

--2013-04-30 16:33:21--  http://packages.txt/
Resolving packages.txt (packages.txt)... failed: Name or service not known.
wget: unable to resolve host address ‘packages.txt’
--2013-04-30 16:33:21--  http://ponce.cc/slackware/slackware64-current/packages/PACKAGES.TXT
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 253805 (248K) [text/plain]
Saving to: ‘/tmp/slackpkg.zJHjgP/ChangeLog.txt-tmp’

     0K .......... .......... .......... .......... .......... 20%  236K 1s
    50K .......... .......... .......... .......... .......... 40%  291K 1s
   100K .......... .......... .......... .......... .......... 60%  189K 0s
   150K .......... .......... .......... .......... .......... 80%  208K 0s
   200K .......... .......... .......... .......... .......   100%  228K=1.1s

2013-04-30 16:33:22 (226 KB/s) - ‘/tmp/slackpkg.zJHjgP/ChangeLog.txt-tmp’ saved [253805/253805]

--2013-04-30 16:33:23--  http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.0/x86_64/PACKAGES.TXT
Resolving taper.alienbase.nl (taper.alienbase.nl)... 98.158.153.254
Connecting to taper.alienbase.nl (taper.alienbase.nl)|98.158.153.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4020 (3.9K) [text/plain]
Saving to: ‘/tmp/slackpkg.zJHjgP/ChangeLog.txt-tmp’

     0K ...                                                   100% 19.1K=0.2s

2013-04-30 16:33:23 (19.1 KB/s) - ‘/tmp/slackpkg.zJHjgP/ChangeLog.txt-tmp’ saved [4020/4020]

--2013-04-30 16:33:23--  http://taper.alienbase.nl/mirrors/people/alien/multilib/current/PACKAGES.TXT
Resolving taper.alienbase.nl (taper.alienbase.nl)... 98.158.153.254
Connecting to taper.alienbase.nl (taper.alienbase.nl)|98.158.153.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 107669 (105K) [text/plain]
Saving to: ‘/tmp/slackpkg.zJHjgP/ChangeLog.txt-tmp’

     0K .......... .......... .......... .......... .......... 47% 45.8K 1s
    50K .......... .......... .......... .......... .......... 95% 56.1K 0s
   100K .....                                                 100% 1.55M=2.0s

2013-04-30 16:33:26 (53.0 KB/s) - ‘/tmp/slackpkg.zJHjgP/ChangeLog.txt-tmp’ saved [107669/107669]


      No changes in ChangeLog.txt between your last update and now.
      Do you really want to download all other files (y/N)?
      List of all files
--2013-04-30 16:33:27--  http://ponce.cc/mirrors/slackware/slackware64-current/patches/MANIFEST.bz2
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 656 [text/html]
Saving to: ‘/tmp/slackpkg.zJHjgP/patches-MANIFEST.bz2’

     0K                                                       100% 61.7M=0s

2013-04-30 16:33:27 (61.7 MB/s) - ‘/tmp/slackpkg.zJHjgP/patches-MANIFEST.bz2’ saved [656/656]

--2013-04-30 16:33:27--  http://ponce.cc/mirrors/slackware/slackware64-current/slackware64/MANIFEST.bz2
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 656 [text/html]
Saving to: ‘/tmp/slackpkg.zJHjgP/slackware64-MANIFEST.bz2’

     0K                                                       100% 59.2M=0s

2013-04-30 16:33:28 (59.2 MB/s) - ‘/tmp/slackpkg.zJHjgP/slackware64-MANIFEST.bz2’ saved [656/656]

--2013-04-30 16:33:28--  http://ponce.cc/mirrors/slackware/slackware64-current/extra/MANIFEST.bz2
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 656 [text/html]
Saving to: ‘/tmp/slackpkg.zJHjgP/extra-MANIFEST.bz2’

     0K                                                       100% 72.3M=0s

2013-04-30 16:33:28 (72.3 MB/s) - ‘/tmp/slackpkg.zJHjgP/extra-MANIFEST.bz2’ saved [656/656]

--2013-04-30 16:33:28--  http://ponce.cc/mirrors/slackware/slackware64-current/pasture/MANIFEST.bz2
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 656 [text/html]
Saving to: ‘/tmp/slackpkg.zJHjgP/pasture-MANIFEST.bz2’

     0K                                                       100% 71.5M=0s

2013-04-30 16:33:28 (71.5 MB/s) - ‘/tmp/slackpkg.zJHjgP/pasture-MANIFEST.bz2’ saved [656/656]

--2013-04-30 16:33:28--  http://ponce.cc/mirrors/slackware/slackware64-current/testing/MANIFEST.bz2
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 656 [text/html]
Saving to: ‘/tmp/slackpkg.zJHjgP/testing-MANIFEST.bz2’

     0K                                                       100% 67.6M=0s

2013-04-30 16:33:29 (67.6 MB/s) - ‘/tmp/slackpkg.zJHjgP/testing-MANIFEST.bz2’ saved [656/656]

--2013-04-30 16:33:29--  http://manifest.bz2/
Resolving manifest.bz2 (manifest.bz2)... failed: Name or service not known.
wget: unable to resolve host address ‘manifest.bz2’
--2013-04-30 16:33:29--  http://ponce.cc/slackware/slackware64-current/packages/MANIFEST.bz2
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 674445 (659K) [application/x-bzip]
Saving to: ‘/tmp/slackpkg.zJHjgP/slackpkgplus_ponce-MANIFEST.bz2’

     0K .......... .......... .......... .......... ..........  7%  213K 3s
    50K .......... .......... .......... .......... .......... 15%  232K 3s
   100K .......... .......... .......... .......... .......... 22%  270K 2s
   150K .......... .......... .......... .......... .......... 30%  304K 2s
   200K .......... .......... .......... .......... .......... 37%  243K 2s
   250K .......... .......... .......... .......... .......... 45%  351K 1s
   300K .......... .......... .......... .......... .......... 53%  386K 1s
   350K .......... .......... .......... .......... .......... 60%  641K 1s
   400K .......... .......... .......... .......... .......... 68%  462K 1s
   450K .......... .......... .......... .......... .......... 75%  590K 0s
   500K .......... .......... .......... .......... .......... 83%  380K 0s
   550K .......... .......... .......... .......... .......... 91%  196K 0s
   600K .......... .......... .......... .......... .......... 98% 8.46M 0s
   650K ........                                              100% 54.3M=1.9s

2013-04-30 16:33:31 (339 KB/s) - ‘/tmp/slackpkg.zJHjgP/slackpkgplus_ponce-MANIFEST.bz2’ saved [674445/674445]

--2013-04-30 16:33:31--  http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.0/x86_64/MANIFEST.bz2
Resolving taper.alienbase.nl (taper.alienbase.nl)... 98.158.153.254
Connecting to taper.alienbase.nl (taper.alienbase.nl)|98.158.153.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20313 (20K) [application/x-bzip2]
Saving to: ‘/tmp/slackpkg.zJHjgP/slackpkgplus_restricted-MANIFEST.bz2’

     0K .......... .........                                  100% 44.2K=0.4s

2013-04-30 16:33:32 (44.2 KB/s) - ‘/tmp/slackpkg.zJHjgP/slackpkgplus_restricted-MANIFEST.bz2’ saved [20313/20313]

--2013-04-30 16:33:32--  http://taper.alienbase.nl/mirrors/people/alien/multilib/current/MANIFEST.bz2
Resolving taper.alienbase.nl (taper.alienbase.nl)... 98.158.153.254
Connecting to taper.alienbase.nl (taper.alienbase.nl)|98.158.153.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 254918 (249K) [application/x-bzip2]
Saving to: ‘/tmp/slackpkg.zJHjgP/slackpkgplus_multilib-MANIFEST.bz2’

     0K .......... .......... .......... .......... .......... 20% 46.3K 4s
    50K .......... .......... .......... .......... .......... 40% 46.0K 3s
   100K .......... .......... .......... .......... .......... 60% 46.6K 2s
   150K .......... .......... .......... .......... .......... 80% 52.3K 1s
   200K .......... .......... .......... .......... ........  100% 59.2K=5.0s

2013-04-30 16:33:37 (49.6 KB/s) - ‘/tmp/slackpkg.zJHjgP/slackpkgplus_multilib-MANIFEST.bz2’ saved [254918/254918]

      Checksums
--2013-04-30 16:33:37--  http://ponce.cc/mirrors/slackware/slackware64-current/CHECKSUMS.md5
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 656 [text/html]
Saving to: ‘/tmp/slackpkg.zJHjgP/CHECKSUMS.md5’

     0K                                                       100% 59.7M=0s

2013-04-30 16:33:37 (59.7 MB/s) - ‘/tmp/slackpkg.zJHjgP/CHECKSUMS.md5’ saved [656/656]

--2013-04-30 16:33:37--  http://checksums.md5/
Resolving checksums.md5 (checksums.md5)... failed: Name or service not known.
wget: unable to resolve host address ‘checksums.md5’
--2013-04-30 16:33:37--  http://ponce.cc/slackware/slackware64-current/packages/CHECKSUMS.md5
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 112706 (110K) [text/plain]
Saving to: ‘/tmp/slackpkg.zJHjgP/CHECKSUMS.md5-ponce’

     0K .......... .......... .......... .......... .......... 45%  418K 0s
    50K .......... .......... .......... .......... .......... 90%  469K 0s
   100K ..........                                            100%  922K=0.2s

2013-04-30 16:33:38 (464 KB/s) - ‘/tmp/slackpkg.zJHjgP/CHECKSUMS.md5-ponce’ saved [112706/112706]

--2013-04-30 16:33:38--  http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.0/x86_64/CHECKSUMS.md5
Resolving taper.alienbase.nl (taper.alienbase.nl)... 98.158.153.254
Connecting to taper.alienbase.nl (taper.alienbase.nl)|98.158.153.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2282 (2.2K) [text/plain]
Saving to: ‘/tmp/slackpkg.zJHjgP/CHECKSUMS.md5-restricted’

     0K ..                                                    100% 1.69M=0.001s

2013-04-30 16:33:38 (1.69 MB/s) - ‘/tmp/slackpkg.zJHjgP/CHECKSUMS.md5-restricted’ saved [2282/2282]

--2013-04-30 16:33:38--  http://taper.alienbase.nl/mirrors/people/alien/multilib/current/CHECKSUMS.md5
Resolving taper.alienbase.nl (taper.alienbase.nl)... 98.158.153.254
Connecting to taper.alienbase.nl (taper.alienbase.nl)|98.158.153.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 67345 (66K) [text/plain]
Saving to: ‘/tmp/slackpkg.zJHjgP/CHECKSUMS.md5-multilib’

     0K .......... .......... .......... .......... .......... 76% 43.7K 0s
    50K .......... .....                                      100% 42.1K=1.5s

2013-04-30 16:33:40 (43.3 KB/s) - ‘/tmp/slackpkg.zJHjgP/CHECKSUMS.md5-multilib’ saved [67345/67345]

--2013-04-30 16:33:40--  http://ponce.cc/mirrors/slackware/slackware64-current/CHECKSUMS.md5.asc
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 656 [text/html]
Saving to: ‘/tmp/slackpkg.zJHjgP/CHECKSUMS.md5.asc’

     0K                                                       100% 65.7M=0s

2013-04-30 16:33:40 (65.7 MB/s) - ‘/tmp/slackpkg.zJHjgP/CHECKSUMS.md5.asc’ saved [656/656]


      ERROR: Verification of the  gpg signature on CHECKSUMS.md5
             failed! This could mean that the file is out of date
             or has been tampered with.



senza il controllo della GPG in slackpkg.conf sembra finire di scaricare gli indici, ma da' comunque degli errori come sopra che non riesce a scaricare url "strani", come "http://checksums.md5/"...

Re: [RC] slackpkg+ releasing

Inviato: mar apr 30, 2013 16:55
da ZeroUno
hai "alienbob" non definito.

MIRRORPLUS['alienbob']=http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.0/x86_64/

questo è un altro controllo che devo aggiungere.

Re: [RC] slackpkg+ releasing

Inviato: mar apr 30, 2013 17:10
da ponce
oops, sistemato e senza controllo GPG funziona (ho provato il search e l'upgrade) :)

Re: [RC] slackpkg+ releasing

Inviato: mer mag 01, 2013 23:46
da ZeroUno
rc3 released: slackpkg+-0.9rc3-noarch-1mt.txz

fixato il bug del gpg e del repository locale.
inoltre adesso se ti dimentichi di mettere il repository in REPOPLUS ce lo aggiunge lui automaticamente (in coda).
REPOPLUS quindi è ora usata solo per scegliere la precedenza a livello di repository.
Notare che i repository ufficiali slackware hanno precedenza sui repository di terze parti mentre PKGS_PRIORITY ha precedenza su tutto.

Inoltre ho spostato slackpkg+ su http://slakfinder.org/slackpkg+/

Re: [RC] slackpkg+ releasing

Inviato: gio mag 02, 2013 7:17
da ponce
ho scoperto che il check della firma GPG non puo' funzionare col mio repository,questo perche' dentro /usr/libexec/slackpkg/core-functions.sh c'e' questo blocco

Codice: Seleziona tutto

# Set ARCH, SLACKKEY and others by slackware port
#
if [ "$ARCH" = "" ]; then
    ARCH=$(uname -m)
fi
case $ARCH in
    i386|i486|i586|i686)
        ARCH=[i]*[3456x]86[^_]*
        SLACKKEY=${SLACKKEY:-"Slackware Linux Project <security@slackware.com>"}
        PKGMAIN=${PKGMAIN:-slackware}
    ;;
    x86-64|x86_64|X86-64|X86_64)
        ARCH=x86[_64]*
        SLACKKEY=${SLACKKEY:-"Slackware Linux Project <security@slackware.com>"}
        PKGMAIN=${PKGMAIN:-slackware64}
    ;;
    s390)
        ARCH=s390
        # Slack390 didn't have signed packages
        CHECKGPG=off
        PKGMAIN=${PKGMAIN:-slackware}
    ;;
    arm*)
        ARCH=arm[v5tel]*
        SLACKKEY=${SLACKKEY:-"ARMedslack Security (ARMedslack Linux Project Security) <security@armedslack.org>"}
        PKGMAIN=${PKGMAIN:-slackware}
    ;;
    powerpc|ppc)
        ARCH=powerpc
        SLACKKEY=${SLACKKEY:-"Slackintosh-Project Sign <slackdev@workaround.ch>"}
        PKGMAIN=${PKGMAIN:-slackintosh}
    ;;
    *)
    ARCH=none
    ;;
esac

e la mia chiave non e' firmata da "Slackware Linux Project <security@slackware.com>" (quella di Alien Bob si).

forse e' meglio se togli completamente il mio repo da /etc/slackpkg/slackpkgplus.conf.

Re: [RC] slackpkg+ releasing

Inviato: gio mag 02, 2013 10:20
da ZeroUno
l'import della chiave è effettuato da slackpkg+, non da slackpkg. slackpkg+ skippa quel blocco.

A me però qualcos'altro non mi torna. Ho fatto tutto il giro a mano.

Codice: Seleziona tutto

$ wget http://ponce.cc/slackware/slackware64-current/packages/GPG-KEY
--2013-05-02 10:04:08--  http://ponce.cc/slackware/slackware64-current/packages/GPG-KEY
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3279 (3.2K) [application/octet-stream]
Saving to: 'GPG-KEY'

100%[===========================================================================================================>] 3,279       --.-K/s   in 0s

2013-05-02 10:04:08 (208 MB/s) - 'GPG-KEY' saved [3279/3279]

$ gpg --import GPG-KEY
gpg: keyring `/home/matteo/.gnupg/secring.gpg' created
gpg: key 02BEF947: public key "Matteo Bernardini (ponce) <matteo.bernardini@gmail.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
matteo@matteo:~$ wget http://ponce.cc/slackware/slackware64-current/packages/CHECKSUMS.md5
--2013-05-02 10:04:46--  http://ponce.cc/slackware/slackware64-current/packages/CHECKSUMS.md5
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 112706 (110K) [text/plain]
Saving to: 'CHECKSUMS.md5'

100%[===========================================================================================================>] 112,706      216KB/s   in 0.5s

2013-05-02 10:04:47 (216 KB/s) - 'CHECKSUMS.md5.1' saved [112706/112706]

$ wget http://ponce.cc/slackware/slackware64-current/packages/CHECKSUMS.md5.asc
--2013-05-02 10:04:56--  http://ponce.cc/slackware/slackware64-current/packages/CHECKSUMS.md5.asc
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK                                                                                                       
Length: 490 [application/octet-stream]                                                                                                               
Saving to: 'CHECKSUMS.md5.asc'                                                                                                                       
                                                                                                                                                     
100%[===========================================================================================================>] 490         --.-K/s   in 0s       
                                                                                                                                                     
2013-05-02 10:04:57 (55.8 MB/s) - 'CHECKSUMS.md5.asc' saved [490/490]                                                                               
                                                                                                                                                     
$ gpg --verify CHECKSUMS.md5.asc CHECKSUMS.md5                                                                                       
gpg: Signature made Sun 28 Apr 2013 01:37:14 PM CEST using RSA key ID 36287643                                                                       
gpg: Can't check signature: public key not found

$ md5sum CHECKSUMS.md5 CHECKSUMS.md5.asc GPG-KEY                                                                                     
a7ef4ddf0814e64b26cd97b31ca3b36f  CHECKSUMS.md5
9cfabe02d983ced2e5e8ed5222c0e49e  CHECKSUMS.md5.asc
940fb1cf56443443cd732b83877555aa  GPG-KEY

$ gpg --list-keys
/home/matteo/.gnupg/pubring.gpg
-------------------------------
pub   4096R/02BEF947 2010-11-28
uid                  Matteo Bernardini (ponce) <matteo.bernardini@gmail.com>
sub   4096R/8DF5B035 2010-11-28


non sono un esperto di gpg e non so verificare che chiave si aspetta CHECKSUMS.md5.asc
puoi fare qualche verifica?


Se proprio vuoi io il repository lo tolgo dai file di configurazione di default; se proprio vuoi lo tolgo anche dalla documentazione, ma sarebbe un peccato, e non risolverebbe comunque il problema.

Re: [RC] slackpkg+ releasing

Inviato: gio mag 02, 2013 13:15
da ponce
per la chiave GPG ora e' tutto a posto: ho fatto io una super-cazzata negli ultimi tempi avendo nelle impostazioni dentro ~/.gnupg/gpg.conf di firmare di default con una chiave vecchia (corrispondente al mio account del lavoro), anche se poi veniva esportata la nuova (quella con l'indirizzo di gmail). #-o
grazie per aver insistito senno' saddio quando me ne sarei accorto. ;)

se riprovi adesso col repository di 64-current dovrebbe funzionare anche a te. :)
presto aggiornero' anche gli altri.

invece ho notato adesso un erroruccio (innocuo) che mi sembra relativo al fatto che prova ad accedere alla directory ./pasture (che non c'e' in slackware64-current): ti riporto il log completo:

Codice: Seleziona tutto

# slackpkg update

Updating the package lists...
   Downloading...
‘/spazio/slackware/slackware64-current/ChangeLog.txt’ -> ‘/tmp/slackpkg.QJkcgu/ChangeLog.txt’
--2013-05-02 13:09:37--  http://ponce.cc/slackware/slackware64-current/packages/PACKAGES.TXT
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 253805 (248K) [text/plain]
Saving to: ‘/tmp/slackpkg.QJkcgu/ChangeLog.txt-tmp’

     0K .......... .......... .......... .......... .......... 20%  402K 0s
    50K .......... .......... .......... .......... .......... 40%  754K 0s
   100K .......... .......... .......... .......... .......... 60%  981K 0s
   150K .......... .......... .......... .......... .......... 80% 1.16M 0s
   200K .......... .......... .......... .......... .......   100% 1.96M=0.3s

2013-05-02 13:09:38 (806 KB/s) - ‘/tmp/slackpkg.QJkcgu/ChangeLog.txt-tmp’ saved [253805/253805]

--2013-05-02 13:09:38--  http://taper.alienbase.nl/mirrors/people/alien/multilib/current/PACKAGES.TXT
Resolving taper.alienbase.nl (taper.alienbase.nl)... 98.158.153.254
Connecting to taper.alienbase.nl (taper.alienbase.nl)|98.158.153.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 107669 (105K) [text/plain]
Saving to: ‘/tmp/slackpkg.QJkcgu/ChangeLog.txt-tmp’

     0K .......... .......... .......... .......... .......... 47% 80.7K 1s
    50K .......... .......... .......... .......... .......... 95%  123K 0s
   100K .....                                                 100% 9814G=1.0s

2013-05-02 13:09:39 (103 KB/s) - ‘/tmp/slackpkg.QJkcgu/ChangeLog.txt-tmp’ saved [107669/107669]


      No changes in ChangeLog.txt between your last update and now.
      Do you really want to download all other files (y/N)?
      List of all files
‘/spazio/slackware/slackware64-current/patches/MANIFEST.bz2’ -> ‘/tmp/slackpkg.QJkcgu/patches-MANIFEST.bz2’
‘/spazio/slackware/slackware64-current/slackware64/MANIFEST.bz2’ -> ‘/tmp/slackpkg.QJkcgu/slackware64-MANIFEST.bz2’
‘/spazio/slackware/slackware64-current/extra/MANIFEST.bz2’ -> ‘/tmp/slackpkg.QJkcgu/extra-MANIFEST.bz2’
cp: cannot stat ‘/spazio/slackware/slackware64-current/pasture/MANIFEST.bz2’: No such file or directory
‘/spazio/slackware/slackware64-current/testing/MANIFEST.bz2’ -> ‘/tmp/slackpkg.QJkcgu/testing-MANIFEST.bz2’
--2013-05-02 13:09:58--  http://ponce.cc/slackware/slackware64-current/packages/MANIFEST.bz2
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 674448 (659K) [application/x-bzip]
Saving to: ‘/tmp/slackpkg.QJkcgu/slackpkgplus_ponce-MANIFEST.bz2’

     0K .......... .......... .......... .......... ..........  7%  418K 1s
    50K .......... .......... .......... .......... .......... 15%  835K 1s
   100K .......... .......... .......... .......... .......... 22%  946K 1s
   150K .......... .......... .......... .......... .......... 30% 1.83M 1s
   200K .......... .......... .......... .......... .......... 37% 1.03M 1s
   250K .......... .......... .......... .......... .......... 45% 1.73M 0s
   300K .......... .......... .......... .......... .......... 53% 3.06M 0s
   350K .......... .......... .......... .......... .......... 60% 1.35M 0s
   400K .......... .......... .......... .......... .......... 68% 2.03M 0s
   450K .......... .......... .......... .......... .......... 75% 1.93M 0s
   500K .......... .......... .......... .......... .......... 83% 1.45M 0s
   550K .......... .......... .......... .......... .......... 91% 1.97M 0s
   600K .......... .......... .......... .......... .......... 98% 2.18M 0s
   650K ........                                              100% 3.06M=0.5s

2013-05-02 13:09:58 (1.24 MB/s) - ‘/tmp/slackpkg.QJkcgu/slackpkgplus_ponce-MANIFEST.bz2’ saved [674448/674448]

--2013-05-02 13:09:58--  http://taper.alienbase.nl/mirrors/people/alien/multilib/current/MANIFEST.bz2
Resolving taper.alienbase.nl (taper.alienbase.nl)... 98.158.153.254
Connecting to taper.alienbase.nl (taper.alienbase.nl)|98.158.153.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 254918 (249K) [application/x-bzip2]
Saving to: ‘/tmp/slackpkg.QJkcgu/slackpkgplus_multilib-MANIFEST.bz2’

     0K .......... .......... .......... .......... .......... 20% 78.3K 3s
    50K .......... .......... .......... .......... .......... 40%  121K 2s
   100K .......... .......... .......... .......... .......... 60%  249K 1s
   150K .......... .......... .......... .......... .......... 80% 1.30M 0s
   200K .......... .......... .......... .......... ........  100%  247K=1.5s

2013-05-02 13:10:00 (168 KB/s) - ‘/tmp/slackpkg.QJkcgu/slackpkgplus_multilib-MANIFEST.bz2’ saved [254918/254918]

      Checksums
‘/spazio/slackware/slackware64-current/CHECKSUMS.md5’ -> ‘/tmp/slackpkg.QJkcgu/CHECKSUMS.md5’
--2013-05-02 13:10:00--  http://ponce.cc/slackware/slackware64-current/packages/CHECKSUMS.md5
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 112706 (110K) [text/plain]
Saving to: ‘/tmp/slackpkg.QJkcgu/CHECKSUMS.md5-ponce’

     0K .......... .......... .......... .......... .......... 45%  434K 0s
    50K .......... .......... .......... .......... .......... 90%  779K 0s
   100K ..........                                            100% 3.08M=0.2s

2013-05-02 13:10:01 (603 KB/s) - ‘/tmp/slackpkg.QJkcgu/CHECKSUMS.md5-ponce’ saved [112706/112706]

--2013-05-02 13:10:01--  http://taper.alienbase.nl/mirrors/people/alien/multilib/current/CHECKSUMS.md5
Resolving taper.alienbase.nl (taper.alienbase.nl)... 98.158.153.254
Connecting to taper.alienbase.nl (taper.alienbase.nl)|98.158.153.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 67345 (66K) [text/plain]
Saving to: ‘/tmp/slackpkg.QJkcgu/CHECKSUMS.md5-multilib’

     0K .......... .......... .......... .......... .......... 76% 61.1K 0s
    50K .......... .....                                      100% 1.20M=0.8s

2013-05-02 13:10:02 (79.2 KB/s) - ‘/tmp/slackpkg.QJkcgu/CHECKSUMS.md5-multilib’ saved [67345/67345]

‘/spazio/slackware/slackware64-current/CHECKSUMS.md5.asc’ -> ‘/tmp/slackpkg.QJkcgu/CHECKSUMS.md5.asc’
--2013-05-02 13:10:02--  http://ponce.cc/slackware/slackware64-current/packages/CHECKSUMS.md5.asc
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 836 [application/octet-stream]
Saving to: ‘/tmp/slackpkg.QJkcgu/CHECKSUMS.md5-ponce.asc’

     0K                                                       100% 76.2M=0s

2013-05-02 13:10:02 (76.2 MB/s) - ‘/tmp/slackpkg.QJkcgu/CHECKSUMS.md5-ponce.asc’ saved [836/836]

--2013-05-02 13:10:02--  http://taper.alienbase.nl/mirrors/people/alien/multilib/current/CHECKSUMS.md5.asc
Resolving taper.alienbase.nl (taper.alienbase.nl)... 98.158.153.254
Connecting to taper.alienbase.nl (taper.alienbase.nl)|98.158.153.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 198 [text/plain]
Saving to: ‘/tmp/slackpkg.QJkcgu/CHECKSUMS.md5-multilib.asc’

     0K                                                       100% 16.2M=0s

2013-05-02 13:10:02 (16.2 MB/s) - ‘/tmp/slackpkg.QJkcgu/CHECKSUMS.md5-multilib.asc’ saved [198/198]

      Package List
‘/spazio/slackware/slackware64-current/FILELIST.TXT’ -> ‘/tmp/slackpkg.QJkcgu/FILELIST.TXT’
      Package descriptions
‘/spazio/slackware/slackware64-current/patches/PACKAGES.TXT’ -> ‘/tmp/slackpkg.QJkcgu/patches-PACKAGES.TXT’
‘/spazio/slackware/slackware64-current/slackware64/PACKAGES.TXT’ -> ‘/tmp/slackpkg.QJkcgu/slackware64-PACKAGES.TXT’
‘/spazio/slackware/slackware64-current/extra/PACKAGES.TXT’ -> ‘/tmp/slackpkg.QJkcgu/extra-PACKAGES.TXT’
cp: cannot stat ‘/spazio/slackware/slackware64-current/pasture/PACKAGES.TXT’: No such file or directory
‘/spazio/slackware/slackware64-current/testing/PACKAGES.TXT’ -> ‘/tmp/slackpkg.QJkcgu/testing-PACKAGES.TXT’
--2013-05-02 13:10:03--  http://ponce.cc/slackware/slackware64-current/packages/PACKAGES.TXT
Resolving ponce.cc (ponce.cc)... 46.105.102.104
Connecting to ponce.cc (ponce.cc)|46.105.102.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 253805 (248K) [text/plain]
Saving to: ‘/tmp/slackpkg.QJkcgu/slackpkgplus_ponce-PACKAGES.TXT’

     0K .......... .......... .......... .......... .......... 20%  452K 0s
    50K .......... .......... .......... .......... .......... 40%  548K 0s
   100K .......... .......... .......... .......... .......... 60% 1.43M 0s
   150K .......... .......... .......... .......... .......... 80% 1.12M 0s
   200K .......... .......... .......... .......... .......   100% 1.38M=0.3s

2013-05-02 13:10:03 (790 KB/s) - ‘/tmp/slackpkg.QJkcgu/slackpkgplus_ponce-PACKAGES.TXT’ saved [253805/253805]

--2013-05-02 13:10:03--  http://taper.alienbase.nl/mirrors/people/alien/multilib/current/PACKAGES.TXT
Resolving taper.alienbase.nl (taper.alienbase.nl)... 98.158.153.254
Connecting to taper.alienbase.nl (taper.alienbase.nl)|98.158.153.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 107669 (105K) [text/plain]
Saving to: ‘/tmp/slackpkg.QJkcgu/slackpkgplus_multilib-PACKAGES.TXT’

     0K .......... .......... .......... .......... .......... 47% 74.1K 1s
    50K .......... .......... .......... .......... .......... 95%  133K 0s
   100K .....                                                 100% 1.15M=1.1s

2013-05-02 13:10:05 (99.6 KB/s) - ‘/tmp/slackpkg.QJkcgu/slackpkgplus_multilib-PACKAGES.TXT’ saved [107669/107669]

   Formatting lists to slackpkg style...
      Package List: using CHECKSUMS.md5 as source
      Package descriptions
cat: /tmp/slackpkg.QJkcgu/pasture-PACKAGES.TXT: No such file or directory

Re: [RC] slackpkg+ releasing

Inviato: gio mag 02, 2013 13:39
da ZeroUno
Non ti ci metto la mano sul fuoco (in questo momento non posso testare, ma dopo lo faccio), ma se disabiliti slackpkg+ l'errore dovrebbe rimanere, appunto perchè pasture non esiste.

Re: [RC] slackpkg+ releasing

Inviato: gio mag 02, 2013 15:50
da ponce
no, senza slackpkg+ non da nessuno dei due errori sopra (uno col cp e l'altro col cat).

comunque penso di aver capito dove sta l'inghippo: l'errore del cp l'ho risolto cosi'

Codice: Seleziona tutto

--- slackpkgplus.sh.orig        2013-05-01 23:31:48.000000000 +0200
+++ slackpkgplus.sh     2013-05-02 15:48:40.263911867 +0200
@@ -84,7 +84,7 @@
     
     if echo $URLFILE | grep -q "^file://" ; then
       URLFILE=${URLFILE:6}
-      cp -v $URLFILE $2
+      [ -f $URLFILE ] && cp -v $URLFILE $2
     else
       $DOWNLOADER $2 $URLFILE
     fi

per correggere l'errore in fondo invece bisognerebbe modificare un file di slackpkg

Codice: Seleziona tutto

--- core-functions.sh.orig      2013-02-10 11:11:57.000000000 +0100
+++ core-functions.sh   2013-05-02 16:06:50.201866030 +0200
@@ -1104,7 +1104,7 @@
        #
        echo -e "\t\tPackage descriptions"
        for i in $DIRS; do
-               cat $TMPDIR/${i}-PACKAGES.TXT >> $TMPDIR/PACKAGES.TXT
+               [ -f $TMPDIR/${i}-PACKAGES.TXT ] && cat $TMPDIR/${i}-PACKAGES.TXT >> $TMPDIR/PACKAGES.TXT
        done
        cp $TMPDIR/PACKAGES.TXT ${WORKDIR}/PACKAGES.TXT
 

anche se forse non e' la soluzione appropriata...

Re: [RC] slackpkg+ releasing

Inviato: gio mag 02, 2013 16:09
da ZeroUno
Si, in effetti ho notato che slackpkg fa il controllo if [ -e $1 ]; then

lo metto nella prossima release.

Re: [RC] slackpkg+ releasing

Inviato: gio mag 02, 2013 16:12
da ponce
mentre scrivevi ho editato il messaggio sopra con la modifica a core-functions.sh ;)

Re: [RC] slackpkg+ releasing

Inviato: gio mag 02, 2013 16:33
da ZeroUno
core-functions.sh non lo tocco. Ma so già cosa fare. Però domani

Re: [RC] slackpkg+ releasing

Inviato: ven mag 03, 2013 17:17
da ponce
ponce ha scritto:

Codice: Seleziona tutto

--- slackpkgplus.sh.orig        2013-05-01 23:31:48.000000000 +0200
+++ slackpkgplus.sh     2013-05-02 15:48:40.263911867 +0200
@@ -84,7 +84,7 @@
     
     if echo $URLFILE | grep -q "^file://" ; then
       URLFILE=${URLFILE:6}
-      cp -v $URLFILE $2
+      [ -f $URLFILE ] && cp -v $URLFILE $2
     else
       $DOWNLOADER $2 $URLFILE
     fi

te l'ho mandata come pull request su github ;)

Re: [RC] slackpkg+ releasing

Inviato: ven mag 03, 2013 17:35
da ZeroUno
ho visto, ma non è sufficiente.

Visto che non è un fatal (mi sembra che il problema è solo il messaggio "file not found") posso aspettare. Oggi non ho molto tempo

Re: [RC] slackpkg+ releasing

Inviato: ven mag 03, 2013 17:42
da ZeroUno
ho pushato la fix corretta