Pagina 1 di 1

download pacchetti da aggiornare

Inviato: sab 26 gen 2008, 12:18
da Crow
ciao a tutti allora visto che non vorrei usare swaret e slapt-get per alcuni motivi avrei deciso di scaricare i pacchetti e di aggiornarli con upgradepkg
il mio dubbio è questo ho dato

Codice: Seleziona tutto

 swaret --list -u
swaret 1.6.3-2

Tutti i Pacchetti...
Nuovo: bind-9.4.1_P1-i486-1_slack12.0 (1956 kB) - Installato: bind-9.4.1-i486-1
Nuovo: cairo-1.4.12-i486-1_slack12.0 (425 kB) - Installato: cairo-1.4.10-i486-1
Nuovo: cups-1.2.11-i486-2_slack12.0 (2814 kB) - Installato: cups-1.2.11-i486-1
Nuovo: gimp-2.2.17-i486-1_slack12.0 (10844 kB) - Installato: gimp-2.2.15-i486-1
Nuovo: glibc-zoneinfo-2.5-noarch-7_slack12.0 (599 kB) - Installato: glibc-zoneinfo-2.5-noarch-4
Nuovo: jre-6u2-i586-1 (33253 kB) - Installato: jre-6u1-i586-1
Nuovo: libpng-1.2.23-i486-1_slack12.0 (465 kB) - Installato: libpng-1.2.18-i486-1
Nuovo: mkinitrd-1.1.3-i486-4_slack12.0 (387 kB) - Installato: mkinitrd-1.1.2-i486-3
Nuovo: openssh-4.7p1-i486-1_slack12.0 (779 kB) - Installato: openssh-4.6p1-i486-1
Nuovo: php-5.2.5-i486-1_slack12.0 (7773 kB) - Installato: php-5.2.3-i486-2
Nuovo: poppler-0.6.2-i486-1_slack12.0 (768 kB) - Installato: poppler-0.5.4-i486-1
Nuovo: qt-3.3.8-i486-5_slack12.0 (16611 kB) - Installato: qt-3.3.8-i486-4
Nuovo: rsync-2.6.9-i486-2_slack12.0 (207 kB) - Installato: rsync-2.6.9-i486-1
Nuovo: samba-3.0.28-i486-1_slack12.0 (22355 kB) - Installato: samba-3.0.25b-i486-1
Nuovo: tcpdump-3.9.7-i486-1_slack12.0 (488 kB) - Installato: tcpdump-3.9.6-i486-1
Nuovo: xf86-video-intel-2.1.0-i486-1 (165 kB) - Installato: xf86-video-intel-2.0.0-i486-1
Nuovo: xf86-video-nv-2.1.2-i486-1 (76 kB) - Installato: xf86-video-nv-2.0.96-i486-1
adesso volevo chiedere per scaricarli tutti di un colpo nella mia home ci sta un medoto efficacie, cioe per aggironare sti pacchetti devo obligatoriamente scaricare il singolo pacchetto e poi aggiornarlo?
e poi volevo chiedere io ho installato fgrlx dal sito ati ho una scheda ati x700, e mi chiedo perchè ho sti due pacchetti installati

Codice: Seleziona tutto

Nuovo: xf86-video-intel-2.1.0-i486-1 (165 kB) - Installato: xf86-video-intel-2.0.0-i486-1
Nuovo: xf86-video-nv-2.1.2-i486-1 (76 kB) - Installato: xf86-video-nv-2.0.96-i486-1
li posso disinstallare o sono importanti.

grazie in anticipo per la vostra disponibilità.

Re: download pacchetti da aggiornare

Inviato: sab 26 gen 2008, 12:40
da conraid
Crow© ha scritto: adesso volevo chiedere per scaricarli tutti di un colpo nella mia home ci sta un medoto efficacie, cioe per aggironare sti pacchetti devo obligatoriamente scaricare il singolo pacchetto e poi aggiornarlo?

Codice: Seleziona tutto

#swaret --get -u
così ti dovrebbe scaricare quei pacchetti senza installarli.

Successivamente vai nella dir di swaret /var/swaret e li metti dove vuoi tu, possibilmente in una dir vuota, senza altri pacchetti, puoi anche lasciarli li se hai solamente quelli
e dopo fai

Codice: Seleziona tutto

#upgradepkg *.tgz
Crow© ha scritto: e poi volevo chiedere io ho installato fgrlx dal sito ati ho una scheda ati x700, e mi chiedo perchè ho sti due pacchetti installati

Codice: Seleziona tutto

Nuovo: xf86-video-intel-2.1.0-i486-1 (165 kB) - Installato: xf86-video-intel-2.0.0-i486-1
Nuovo: xf86-video-nv-2.1.2-i486-1 (76 kB) - Installato: xf86-video-nv-2.0.96-i486-1
li posso disinstallare o sono importanti.
Perché hai installato tutti i pacchetti di Xorg, adesso Xorg ha un pacchetto per ogni driver, puoi lasciare solamente quello che ti serve ed al massimo vesa, ma non ti occupano molto spazio comunque

Re: download pacchetti da aggiornare

Inviato: sab 26 gen 2008, 14:15
da Crow
grazie mille conraid sei stato gentilissimo
ho dovuto modificare il post ho dei problemi

Codice: Seleziona tutto

# swaret --get -u 
swaret 1.6.3-2

Tutti i Pacchetti...


Pacchetti salvati in: /var/swaret!
Pacchetti del Repository salvati in: /var/swaret/repos/NOMEREPOSITORY!
ma i pacchetti non ci sono! .......mmmmmmm........bho
questo è il mio 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=12.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=0
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 ###
cache_dir è impostata /var/swaret

e poi perchè in exclude è settato questo

Codice: Seleziona tutto

EXCLUDE=kernel alsa lilo
EXCLUDE=swaret
EXCLUDE=aaa_
EXCLUDE=MANIFEST.bz2$
EXCLUDE=.*dl$ .*PACKAGER$ .*MYBUILD$
#
perchè escludere sti pacchetti

Re: download pacchetti da aggiornare

Inviato: dom 27 gen 2008, 1:41
da aLvArO
può essere che nn li ha scaricati.
comunque puoi anche fare così
swaret --upgrade
e lui ti scarica i pakketti poi ti chiede aggiorno bind-232322 a bind-434343
e tu gli dici di no a tutti e poi te li installi con upgradepkg come suggerito da conraid o nell'ordine che preferisci.

Re: download pacchetti da aggiornare

Inviato: dom 27 gen 2008, 6:01
da Crow

Codice: Seleziona tutto

swaret --upgrade
e lui ti scarica i pakketti poi ti chiede aggiorno bind-232322 a bind-434343
e tu gli dici di no a tutti e poi te li installi con upgradepkg come suggerito da conraid o nell'ordine che preferisci.
ciao alvaro e grazie per l'aiuto, il problema e sempre lo stesso i pacchetti da aggiornare anche se metto no non li scarica da nessuna parte.

p.s. ho notato una cosa in /vat/swaret ci sono tre directory nascoste in una di queste ci :excludeci sono un sacco .tar.gz.exclude, .tgz.exclude e exclude.install e vanno dalla a alla z e tra cui vedo anche i nomi dei pacchetti che sto cercando di aggiornare :-k
che ne dite, li posso cancellare e provo a dareun swaret --update e swaret --upgrade pe vedere che succede o no?
e poi come si spiega questa anomalia.

Re: download pacchetti da aggiornare

Inviato: dom 27 gen 2008, 11:41
da aLvArO
si puoi provare nn credo tu possa provare danni.
al massimo se nemmeno così va ti passo uno swaret.conf
io nella directory nascosta .exclude ho solo i pack del kernel, alsa ecc. com'è giusto che sia

Re: download pacchetti da aggiornare

Inviato: dom 27 gen 2008, 11:48
da Crow
ho provato di tutto e mannaggia niente dare devo per forza usare swaret per aggiornare, cavolo non riesco a scaricare sti pacchetti in un directory mannaggia :evil:
ragazzi qualche idea per favore sto impazzendo poi in aggiunta ci si mette anche xfce che rompe un pò

Re: download pacchetti da aggiornare

Inviato: dom 27 gen 2008, 12:21
da conraid
Non so cosa dirti a questo punto, prova a vedere se c'è spazio, l'unica che mi viene.
Crow ha scritto: e poi perchè in exclude è settato questo

Codice: Seleziona tutto

EXCLUDE=kernel alsa lilo
EXCLUDE=swaret
EXCLUDE=aaa_
EXCLUDE=MANIFEST.bz2$
EXCLUDE=.*dl$ .*PACKAGER$ .*MYBUILD$
#
perchè escludere sti pacchetti
Perchè è meglio non lasciarli aggiornare a swaret, anzi, io ci aggiungerei glibc

Re: download pacchetti da aggiornare

Inviato: lun 28 gen 2008, 9:50
da Crow
Perchè è meglio non lasciarli aggiornare a swaret, anzi, io ci aggiungerei glibc
dici che è meglio?

comunque il fatto è questo quando faccio swaret --upgrade nalla directory /var/swaret ci sono i pacchetti che devo aggiornare con stensione .tgz.tmp che sarebbe temporanei, se faccio swaret --get -u mi dice tutti i pacchetti......
sta un pò e poi mi dice
pacchetti del repository salvati in: /var/swaret/repos/NOMEREPOSITORY
ma ho notato che nella directory /var/swaret non viene scaricato nulla in questo argo di tempo
e nemmeno in /var/swaret/repos come dice lui?

mi chiedo è un bug di swaret, ma alla fine un bug solo per me? è possibile che nessun altro a trovato questo problema, ci sta soluzione ci sono tentativi da are per scoprire il problema?

edit:
ho provato a consultare il log in /var/log/swaret
ecco

Codice: Seleziona tutto

lun gen 28 09:45:37 CET 2008: [ GLOBAL ] - swaret --get -u
niente di niente dopo il --get -u

Re: download pacchetti da aggiornare

Inviato: lun 28 gen 2008, 11:55
da conraid
Crow ha scritto:
Perchè è meglio non lasciarli aggiornare a swaret, anzi, io ci aggiungerei glibc
dici che è meglio?
Premettendo che io non lascerei fare niente a swaret, direi... NI
Nel senso che il problema di Swaret è proprio che non installa per prime le glibc quando ci sono da aggiornare. Ma escluderle potrebbe farti pensare che non siano a aggiornare. mmm...

Se tu lo usi solo per scaricare puoi anche togliere tutto

Per il resto non lo so, non uso molto swaret

Re: download pacchetti da aggiornare

Inviato: lun 28 gen 2008, 13:31
da Crow

Codice: Seleziona tutto

Se tu lo usi solo per scaricare puoi anche togliere tutto
si io lo uso solo per vedere i nuovi paccheti che si devono aggiornare e per scaricarli tutti di un colpo.
e allora l'alternativa qual'e sarebbe slapt-get, o altro?

Re: download pacchetti da aggiornare

Inviato: lun 28 gen 2008, 14:15
da conraid
Crow ha scritto:

Codice: Seleziona tutto

Se tu lo usi solo per scaricare puoi anche togliere tutto
si io lo uso solo per vedere i nuovi paccheti che si devono aggiornare e per scaricarli tutti di un colpo.
e allora l'alternativa qual'e sarebbe slapt-get, o altro?
wget :-)

Non ci vuole molto per farli scaricare la directory delle patch.

Al limite con rsync ti sincronizzi una tua dir con quella, e li hai sempre aggiornati