Slackpkg download/install paketa

Uputstva, saveti i trikovi

Moderator: Urednik

Post Reply

offline

Post Napisano: 25 Feb 2010, 16:14


Desava se da za trenutnu verziju dolaze noviji paketi koji imaju ispravljene sigurnosne propuste, a evo primera kako ih jednostavno preuzeti i instalirati
Pravi alat za ovo dolazi uz slackware >>> slackpkg.
Vazno je podesiti mirror koji ce slackpkg da koristi /etc/slackpkg/mirrors (moguce je izabrati samo jedan, i oprez kod odabira postoje adrese za vise verzija, 13.37, 14.0, -current, -current64... )
npr.
Provera update-a

Code: Select all

# slackpkg update
Upgrade svih instaliranih paketa ako se novije verzije nalaze na mirror-u

Code: Select all

# slackpkg upgrade-all
Preuzimanje i instalacija paketa

Code: Select all

# slackpkg install <ime_paketa> 
Deinstalacija paketa

Code: Select all

# slackpkg remove <ime_paketa>
Reinstalacija paketa

Code: Select all

# slackpkg reinstall <ime_paketa>
Informacije o paketima

Code: Select all

# slackpkg info <ime_paketa>
Pretraga file-ova koji su deo nekog paketa

Code: Select all

# slackpkg search <file>
Instalacija novih paketa koji nisu trenutno instalirani (kasnije su dodati u slackware stablo, upgrade na noviju verziju, ili kad se koristi -current)

Code: Select all

# slackpkg install-new 
Pretraga novih config file-ova i manipulacija istim

Code: Select all

# slackpkg new-config
Spisak opcija mozete dobiti samo izvrsavanjem

Code: Select all

# slackpkg 
Nadam se da nisam sta pogresio (tek od skoro koristim ovaj alat tako da izvinite ako ima gresaka :( )
Last edited by branko on 18 Oct 2010, 16:45, edited 1 time in total.



Administrator
Administrator
offline
User avatar

Posts: 4590
Joined: 04 Feb 2011, 20:32
Location: Beograd
Contact:

Post Napisano: 16 Dec 2011, 09:18


Igrao sam se malo sa slackpkg ovih dana. Vrlo koristan dodatak.

Recimo, moguće je instalirati bazični sistem pomoću Slack instalacionog CD-a i onda dodavati pakete naknadno pomoću slackpkg. Recimo slackpkg install n će vam dati meni sa izborom paketa iz /n direktorijuma. Moguće je selektivno izabrati pakete.
Last edited by bocke on 16 Dec 2011, 09:19, edited 1 time in total.



Poznata ličnost
Poznata ličnost
offline
User avatar

Posts: 181
Joined: 17 Jul 2015, 17:09
Location: Levo od Albukerkija

Post Napisano: 10 Dec 2015, 16:13


Pozdrav!
Nadam se da pitanje postavljam na pravom mestu.
Zapravo, prijavljujem mali bag.
Pokušavam već treći put u prethodnih 4-5 dana i dešava se ista stvar.
Nakon unosa komande 'slackpkg update gpg' skoro minut nema nikakvog odziva u terminalu.
Zatim još toliko traje potvrda.
Sledi ''slackpkg update' i tu nastaje gnjavaža od nekoliko minuta, koja se završava ovako:

Code: Select all

Files /var/lib/slackpkg/ChangeLog.txt and /tmp/slackpkg.U3fU7w/ChangeLog.txt differ

		List of all files
2015-12-10 15:54:20 URL:http://slakfinder.org/slackpkg+/MANIFEST.bz2 [498/498] -> "/tmp/slackpkg.U3fU7w/SLACKPKGPLUS_slackpkgplus-MANIFEST.bz2" [1]
2015-12-10 15:54:22 URL:http://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/MANIFEST.bz2 [257751/257751] -> "/tmp/slackpkg.U3fU7w/SLACKPKGPLUS_multilib-MANIFEST.bz2" [1]
2015-12-10 15:54:23 URL:http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86_64/MANIFEST.bz2 [20406/20406] -> "/tmp/slackpkg.U3fU7w/SLACKPKGPLUS_restricted-MANIFEST.bz2" [1]
2015-12-10 15:54:25 URL:http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86_64/MANIFEST.bz2 [739831/739831] -> "/tmp/slackpkg.U3fU7w/SLACKPKGPLUS_alienbob-MANIFEST.bz2" [1]
2015-12-10 15:54:31 URL:http://repository.slacky.eu/slackware64-14.1/MANIFEST.bz2 [503991/503991] -> "/tmp/slackpkg.U3fU7w/SLACKPKGPLUS_slacky-MANIFEST.bz2" [1]
		Checksums
2015-12-10 15:55:54 URL:http://slakfinder.org/slackpkg+/CHECKSUMS.md5.asc [473/473] -> "/tmp/slackpkg.U3fU7w/CHECKSUMS.md5-slackpkgplus.asc" [1]
2015-12-10 15:55:54 URL:http://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/CHECKSUMS.md5.asc [181/181] -> "/tmp/slackpkg.U3fU7w/CHECKSUMS.md5-multilib.asc" [1]
2015-12-10 15:55:55 URL:http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86_64/CHECKSUMS.md5.asc [181/181] -> "/tmp/slackpkg.U3fU7w/CHECKSUMS.md5-restricted.asc" [1]
2015-12-10 15:55:55 URL:http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86_64/CHECKSUMS.md5.asc [181/181] -> "/tmp/slackpkg.U3fU7w/CHECKSUMS.md5-alienbob.asc" [1]
2015-12-10 15:55:56 URL:http://repository.slacky.eu/slackware64-14.1/CHECKSUMS.md5.asc [473/473] -> "/tmp/slackpkg.U3fU7w/CHECKSUMS.md5-slacky.asc" [1]

		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.
Postoji li neko objašnjenje/info o ovome?
Priznajem da nemam dovoljno vremena za čitanje po netu, a ovo mi se prvi put dešava.
Konekcija radi ok, na pregledačima, stream servisima i sl. tako da isključujem tu mogućnost.

Hvala! :beer:

DOPUNA: 18h
Pokušao nadogradnju libpng, ali nakon ukucane komande 'slackpkg upgrade libpng',
dobijam ovaj ispis:

Code: Select all

You need the GPG key of Slackware Linux Project <security@slackware.com>.
To download and install that key, run:

	# slackpkg update gpg
Već sam opisao da tu ima neke gnjavaže, ali izveštaj kaže da nema promena.
Završni redovi izgledaju ovako:

Code: Select all

015-12-10 17:59:47 URL:http://repository.slacky.eu/slackware64-14.1/GPG-KEY [1760/1760] -> "/tmp/slackpkg.wOHLSZ/gpgkey-tmp" [1]
gpg: key D153E90E: "Slacky.eu packagers (packages by Slacky.eu) <packages@slacky.it>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

Ne razumem, kako mi je pukao GPG key, niti kapiram kako da ga sredim?
WTF? :question:



Administrator
Administrator
offline
User avatar

Posts: 4590
Joined: 04 Feb 2011, 20:32
Location: Beograd
Contact:

Post Napisano: 13 Dec 2015, 22:30


Ništa se tu konkretno ne vidi.

Postavi /etc/slackpkg/mirrors, /etc/slackpkg/slackpkg.conf i /etc/slackpkg/slackpkgplus.conf.



Poznata ličnost
Poznata ličnost
offline
User avatar

Posts: 181
Joined: 17 Jul 2015, 17:09
Location: Levo od Albukerkija

Post Napisano: 14 Dec 2015, 17:51


Hej, Bocke!

Nisam osvežio post na vreme, pa ću sad pomenuti šta sam pokušao u međuvremenu.
Naime, pojavio mi se ispis o grešci kod md5sum (nažalost, nisam ga sačuvao :-/ ),
pa sam listajući dokumentaciju, radio po sledećem redosledu:

a)

Code: Select all

wget  http://slackware.com/gpg-key
--2015-12-14 17:37:27--  http://slackware.com/gpg-key
Resolving slackware.com (slackware.com)... 64.57.102.36
Connecting to slackware.com (slackware.com)|64.57.102.36|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.slackware.com/gpg-key [following]
--2015-12-14 17:37:27--  http://www.slackware.com/gpg-key
Resolving www.slackware.com (www.slackware.com)... 79.101.14.42, 79.101.14.67, 2a00:e90:0:13::4f65:e43, ...
Connecting to www.slackware.com (www.slackware.com)|79.101.14.42|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1358 (1.3K) [text/plain]
Saving to: ‘gpg-key.1’

100%[======================================>] 1,358       --.-K/s   in 0s      

2015-12-14 17:37:28 (79.4 MB/s) - ‘gpg-key.1’ saved [1358/1358]
b)

Code: Select all

gpg --import gpg-key
gpg: key 40102233: "Slackware Linux Project <security@slackware.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
Nakon toga pokušao sam 'slackpkg update gpg' i ništa se nije promenilo u odnosu
na opis iz prvog posta.

Evo i datoteka koje si pomenuo.

/etc/slackpkg/mirrors

Code: Select all

# Slackware64-14.1
#----------------------------------------------------------------
# USE MIRRORS.SLACKWARE.COM (FINDS A NEARBY MIRROR)
# ftp://mirrors.slackware.com:/slackware/slackware64-14.1/
# http://mirrors.slackware.com/slackware/slackware64-14.1/
# AUSTRALIA (AU)
# ftp://ftp.cc.swin.edu.au/slackware/slackware64-14.1/
# http://ftp.cc.swin.edu.au/slackware/slackware64-14.1/
# ftp://ftp.iinet.net.au/pub/slackware/slackware64-14.1/
# http://ftp.iinet.net.au/pub/slackware/slackware64-14.1/
# ftp://mirror.aarnet.edu.au/pub/slackware/slackware64-14.1/
# http://mirror.aarnet.edu.au/pub/slackware/slackware64-14.1/
# ftp://mirror.as24220.net/pub/slackware/slackware64-14.1/
# http://mirror.as24220.net/pub/slackware/slackware64-14.1/
# ftp://mirror.internode.on.net/.pub2/slackware/slackware64-14.1/
# http://mirror.internode.on.net/pub/slackware/slackware64-14.1/
# http://mirror.primusdatacentre.com.au/slackware/slackware64-14.1/
# AUSTRIA (AT)
# ftp://ftp.slackware.at/slackware64-14.1/
# http://ftp.slackware.at/data/slackware64-14.1/
# ftp://gd.tuwien.ac.at/opsys/linux/freesoftware.com/slackware64-14.1/
# http://gd.tuwien.ac.at/opsys/linux/freesoftware.com/slackware64-14.1/
# BELARUS (BY)
# ftp://mirror.datacenter.by/pub/slackware/slackware64-14.1/
# http://mirror.datacenter.by/pub/slackware/slackware64-14.1/
# BRAZIL (BR)
# ftp://ftp.slackware-brasil.com.br/slackware64-14.1/
# http://ftp.slackware-brasil.com.br/slackware64-14.1/
# BULGARIA (BG)
# ftp://mirrors.unixsol.org/slackware/slackware64-14.1/
# http://mirrors.unixsol.org/slackware/slackware64-14.1/
# CANADA (CA)
# ftp://mirror.csclub.uwaterloo.ca/slackware/slackware64-14.1/
# http://mirror.csclub.uwaterloo.ca/slackware/slackware64-14.1/
# ftp://mirror.its.dal.ca/slackware/slackware64-14.1/
# http://mirror.its.dal.ca/slackware/slackware64-14.1/
# CHINA (CN)
# http://mirror.bjtu.edu.cn/slackware/slackware64-14.1/
# http://mirrors.163.com/slackware/slackware64-14.1/
# http://mirrors.ustc.edu.cn/slackware/slackware64-14.1/
# COSTA RICA (CR)
# ftp://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware64-14.1/
# http://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware64-14.1/
# CZECH REPUBLIC (CZ)
# http://ftp.slackware.cz/slackware/slackware64-14.1/
# ftp://odysseus.linux.cz/pub/linux/slackware/slackware64-14.1/
# http://odysseus.linux.cz/pub/linux/slackware/slackware64-14.1/
# DENMARK (DK)
# ftp://mirrors.dotsrc.org/.disk1/slackware/slackware64-14.1/
# http://mirrors.dotsrc.org/.disk1/slackware/slackware64-14.1/
# FINLAND (FI)
# ftp://elektroni.phys.tut.fi/slackware64-14.1/
# FRANCE (FR)
# ftp://mirror.ovh.net/mirrors/ftp.slackware.com/slackware64-14.1/
# http://mirror.ovh.net/mirrors/ftp.slackware.com/slackware64-14.1/
# ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-14.1/
# http://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-14.1/
# GERMANY (DE)
# ftp://ftp.fu-berlin.de/unix/linux/slackware/slackware64-14.1/
# ftp://ftp.gwdg.de/pub/linux/slackware/slackware64-14.1/
# http://ftp.gwdg.de/pub/linux/slackware/slackware64-14.1/
# ftp://ftp.tu-chemnitz.de/.SAN0/pub/linux/slackware/slackware64-14.1/
# http://ftp.tu-chemnitz.de/pub/linux/slackware/slackware64-14.1/
# ftp://sunsite.informatik.rwth-aachen.de/pub/comp/Linux/slackware/slackware64-14.1/
# http://sunsite.informatik.rwth-aachen.de/ftp/pub/comp/Linux/slackware/slackware64-14.1/
# ftp://wrz1013.rz.uni-wuerzburg.de/pub/MIRROR/slackware/slackware64-14.1/
# http://wrz1013.rz.uni-wuerzburg.de/pub/MIRROR/slackware/slackware64-14.1/
# GREECE (GR)
# ftp://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware64-14.1/
# http://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware64-14.1/
# ftp://ftp.otenet.gr/pub/linux/slackware/slackware64-14.1/
# http://ftp.otenet.gr/linux/slackware/slackware64-14.1/
# ftp://patroklos.noc.ntua.gr/pub/linux/slackware/slackware64-14.1/
# http://patroklos.noc.ntua.gr/pub/linux/slackware/slackware64-14.1/
# HUNGARY (HU)
# ftp://ftp.freepark.org/pub/linux/distributions/slackware/slackware64-14.1/
# http://ftp.freepark.org/pub/linux/distributions/slackware/slackware64-14.1/
# INDONESIA (ID)
# http://kambing.ui.ac.id/slackware/slackware64-14.1/
# http://repo.ukdw.ac.id/slackware/slackware64-14.1/
# IRELAND (IE)
# ftp://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware64-14.1/
# http://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware64-14.1/
# ITALY (IT)
# ftp://mirror2.mirror.garr.it/pub/1/slackware/slackware64-14.1/
# http://mirror2.mirror.garr.it/pub/1/slackware/slackware64-14.1/
# JAPAN (JP)
# ftp://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware64-14.1/
# http://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware64-14.1/
# ftp://ftp-srv2.kddilabs.jp/032/Linux/packages/Slackware/slackware64-14.1/
# http://ftp-srv2.kddilabs.jp/032/Linux/packages/Slackware/slackware64-14.1/
# ftp://riksun.riken.go.jp/Linux/slackware/slackware64-14.1/
# http://riksun.riken.go.jp/Linux/slackware/slackware64-14.1/
# LATVIA (LV)
# ftp://perkons.linux.edu.lv/mirrors/ftp.slackware.com/slackware64-14.1/
# MACEDONIA (MK)
http://slackware.blizoo.mk/slackware/slackware64-14.1/
# NETHERLANDS (NL)
# ftp://ftp.nluug.nl/vol/4/slackware/slackware64-14.1/
# http://ftp.nluug.nl/os/Linux/distr/slackware/slackware64-14.1/
# ftp://mirror.nl.leaseweb.net/slackware/slackware64-14.1/
# http://mirror.nl.leaseweb.net/slackware/slackware64-14.1/
# http://taper.alienbase.nl/mirrors/slackware/slackware64-14.1/
# NORWAY (NO)
# ftp://ftp1.uninett.no/slackware/slackware64-14.1/
# http://ftp1.uninett.no/slackware/slackware64-14.1/
# POLAND (PL)
# ftp://ftp.man.szczecin.pl/pub/Linux/slackware/slackware64-14.1/
# ftp://ftp.pwr.wroc.pl/pub/linux/slackware/slackware64-14.1/
# http://ftp.pwr.wroc.pl/pub/linux/slackware/slackware64-14.1/
# ftp://ftp.slackware.pl/pub/slackware/slackware64-14.1/
# http://ftp.slackware.pl/pub/slackware/slackware64-14.1/
# ftp://gepard.pbone.net/mirror/ftp.slackware.com/slackware64-14.1/
# ftp://piotrkosoft.net/pub/mirrors/ftp.slackware.com/pub/slackware/slackware64-14.1/
# http://piotrkosoft.net/pub/mirrors/ftp.slackware.com/pub/slackware/slackware64-14.1/
# ftp://sunsite.icm.edu.pl/vol/rzm1/linux-slackware/slackware64-14.1/
# http://sunsite.icm.edu.pl/packages/linux-slackware/slackware64-14.1/
# ftp://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware64-14.1/
# http://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware64-14.1/
# PORTUGAL (PT)
# ftp://darkstar.ist.utl.pt/pub/slackware/slackware64-14.1/
# http://darkstar.ist.utl.pt/pub/slackware/slackware64-14.1/
# RUSSIA (RU)
# http://mirror.rol.ru/slackware/slackware64-14.1/
# ftp://mirror.yandex.ru/slackware/slackware64-14.1/
# http://mirror.yandex.ru/slackware/slackware64-14.1/
# SERBIA (RS)
# ftp://mirror2.etf.bg.ac.rs/slackware/slackware64-14.1/
# http://mirror2.etf.bg.ac.rs/slackware/slackware64-14.1/
# SOUTH AFRICA (ZA)
# ftp://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware64-14.1/
# http://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware64-14.1/
# ftp://ftp.wa.co.za/pub/slackware/slackware64-14.1/
# http://ftp.wa.co.za/pub/slackware/slackware64-14.1/
# ftp://slackware.mirror.ac.za/slackware64-14.1/
# http://slackware.mirror.ac.za/slackware64-14.1/
# SWEDEN (SE)
# ftp://ftp.df.lth.se/pub/slackware/slackware64-14.1/
# http://ftp.df.lth.se/pub/slackware/slackware64-14.1/
# ftp://ftp.sunet.se/pub/os/Linux/distributions/slackware/slackware64-14.1/
# http://ftp.sunet.se/pub/os/Linux/distributions/slackware/slackware64-14.1/
# SWITZERLAND (CH)
# ftp://mirror.switch.ch/mirror/slackware/slackware64-14.1/
# http://mirror.switch.ch/ftp/mirror/slackware/slackware64-14.1/
# TAIWAN (TW)
# ftp://ftp.isu.edu.tw/pub/Linux/Slackware/slackware64-14.1/
# http://ftp.isu.edu.tw/pub/Linux/Slackware/slackware64-14.1/
# ftp://ftp.twaren.net/pub/Linux/Slackware/slackware64-14.1/
# http://ftp.twaren.net/Linux/Slackware/slackware64-14.1/
# TURKEY (TR)
# ftp://ftp.linux.org.tr/slackware/slackware64-14.1/
# http://ftp.linux.org.tr/slackware/slackware64-14.1/
# UKRAINE (UA)
# ftp://mirrors.mithril.org.ua/linux/slackware/slackware64-14.1/
# http://mirrors.mithril.org.ua/linux/slackware/slackware64-14.1/
# UNITED KINGDOM (UK)
# ftp://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware64-14.1/
# http://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware64-14.1/
# ftp://mirror.bytemark.co.uk/slackware/slackware64-14.1/
# http://mirror.bytemark.co.uk/slackware/slackware64-14.1/
# UNITED STATES (US)
# ftp://carroll.aset.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/
# http://carroll.aset.psu.edu/pub/linux/distributions/slackware/slackware64-14.1/
# ftp://ftp.gtlib.gatech.edu/nv/ao2/lxmirror/ftp.slackware.com/slackware64-14.1/
# ftp://ftp.osuosl.org/.2/slackware/slackware64-14.1/
# http://ftp.osuosl.org/.2/slackware/slackware64-14.1/
# ftp://hpc-mirror.usc.edu/pub/linux/distributions/slackware/slackware64-14.1/
# http://hpc-mirror.usc.edu/pub/linux/distributions/slackware/slackware64-14.1/
# ftp://marmot.tn.utexas.edu/pub/slackware/slackware64-14.1/
# http://marmot.tn.utexas.edu/slackware/slackware64-14.1/
# ftp://mirror.cs.princeton.edu/pub/mirrors/slackware/slackware64-14.1/
# http://mirror.metrocast.net/slackware/slackware64-14.1/
# ftp://mirrors.easynews.com/linux/slackware/slackware64-14.1/
# http://mirrors.easynews.com/linux/slackware/slackware64-14.1/
# http://mirrors.kingrst.com/slackware/slackware64-14.1/
# ftp://mirrors.us.kernel.org/slackware/slackware64-14.1/
# http://mirrors.us.kernel.org/slackware/slackware64-14.1/
# ftp://mirrors.xmission.com/slackware/slackware64-14.1/
# http://mirrors.xmission.com/slackware/slackware64-14.1/
# http://slackbuilds.org/mirror/slackware/slackware64-14.1/
# http://slackware.cs.utah.edu/pub/slackware/slackware64-14.1/
# http://slackware.mirrorcatalogs.com/slackware64-14.1/
# http://slackware.mirrors.pair.com/slackware64-14.1/
# ftp://slackware.mirrors.tds.net/pub/slackware/slackware64-14.1/
# http://slackware.mirrors.tds.net/pub/slackware/slackware64-14.1/
# ftp://slackware.virginmedia.com/mirrors/ftp.slackware.com/slackware64-14.1/
# http://slackware.virginmedia.com/slackware64-14.1/
# ftp://spout.ussg.indiana.edu/linux/slackware/slackware64-14.1/
# http://spout.ussg.indiana.edu/linux/slackware/slackware64-14.1/
# ftp://teewurst.cc.columbia.edu/pub/linux/slackware/slackware64-14.1/
# http://teewurst.cc.columbia.edu/pub/linux/slackware/slackware64-14.1/
/etc/slackpkg/slackpkg.conf

Code: Select all

#
# slackpkg.conf - Configuration for SlackPkg
# v2.8
#

#
# SlackPkg - An Automated packaging tool for Slackware Linux
# Copyright (C) 2003-2011 Roberto F. Batista, Evaldo Gardenali
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
# Project Page: http://slackpkg.org/
# Roberto F. Batista (aka PiterPunk) piterpunk@slackware.com
# Evaldo Gardenali (aka UdontKnow) evaldogardenali@fasternet.com.br
#

# For configuration options that have only two states, possible values are
# either "on" or "off"

# Remember, the only official Slackware ports are x86, s390 and arm, and
# slackpkg developers don't have s390 boxes for testing.  If you are
# testing/using other architectures and have suggestions or patches, 
# please let me know (piterpunk@slackware.com)
#
# Select the architecture of your system. Valid values are: 
#	i#86 (where # is 3, 4, 5 or 6)
#	x86_64
#	s390
#	arm* (* can be v4, v5tejl, and other ARM versions) 
#	powerpc
#
# The line is commented because slackpkg will try to find your 
# architecture automagically.  If you want to override what slackpkg
# finds, put the value after the = and uncomment this line
#ARCH=

# The default PKGMAIN is "slackware", but some derived distros use other
# names as the main directory.  PKGMAIN is the place with the slackware
# package series (a, ap, n, ... ).
#
# Usually slackpkg can automagically discover this variable.  If you want
# to override the discovered variable, then uncomment this line and change
# it to reflect the correct value of PKGMAIN
#PKGMAIN=slackware

# Slackware packages are signed by project key.  Slackpkg uses this key
# to check if the packages downloaded are valid, so remember to set 
# CHECKGPG to "on". 
# 
# Usually slackpkg can automagically discover this variable. If you want
# to override the discovered variable, then uncomment this line and edit
# as needed
#SLACKKEY="Slackware Linux Project <security@slackware.com>"

# Downloaded files will be in directory below:
TEMP=/var/cache/packages

# Package lists, file lists, and others will be at WORKDIR:
WORKDIR=/var/lib/slackpkg

# Special options for wget (default is WGETFLAGS="--passive-ftp")
WGETFLAGS="--passive-ftp"

# If DELALL is "on", all downloaded files will be removed after install.
DELALL=on

# If CHECKMD5 is "on", the system will check the md5sums of all packages before
# install/upgrade/reinstall is performed.
CHECKMD5=on

# If CHECKGPG is "on", the system will verify the GPG signature of each package
# before install/upgrade/reinstall is performed.
CHECKGPG=on

# If CHECKSIZE is "on", the system will check if we have sufficient disk
# space to install selected package. This make upgrade/install safer, but slow
# upgrade/install process.
CHECKSIZE=off

# PRIORITY sets the download priority. slackpkg will try to found the
# package first in the first value, then the second one, through all
# values in list.
# 
# Default value: patches %PKGMAIN extra pasture testing
PRIORITY=( patches %PKGMAIN extra pasture testing )

# Enables (on) or disables (off) slackpkg's post-installation features, such
# as checking for new (*.new) configuration files and new kernel images, and
# prompts you for what it should do.  Default=on
POSTINST=on

# Post-installation features, by default, search all of /etc for .new files.
# This is the safe option: with it, you won't have any unmerged .new files
# to cause problems.  Even so, some people prefer that only the .new files 
# installed by the current slackpkg session be checked.
# If this is your case, change ONLY_NEW_DOTNEW to "on".
# Default=off
ONLY_NEW_DOTNEW=off

# The ONOFF variable sets the initial behavior of the dialog interface.
# If you set this to "on" then all packages will be selected by default.
# If you prefer the opposite option (all unchecked), then set this to "off".
ONOFF=on

# If this variable is set to "on", all files will be downloaded before the
# requested operation (install or upgrade) is performed.   If set to "off",
# then the files will be downloaded and the operation (install/upgrade)
# performed one by one.  Default=on
DOWNLOAD_ALL=on

# Enables (on) or disables (off) the dialog interface in slackpkg.  Default=on
DIALOG=on

# Enables (on) or disables (off) the non-interactive mode.  If set to "on",
# slackpkg will run without asking the user anything, and answer all questions
# with DEFAULT_ANSWER.  If you do any upgrades using this mode, you'll need to
# run "slackpkg new-config" later to find and merge any .new files.
BATCH=off

# Default answer to slackpkg questions. Can be "y" or "n".
DEFAULT_ANSWER=n

# Slackpkg allows a template to "include" the packages specified in another
# template.  This option enables (on) or disables (off) the parsing of
# any "#include" directives in template files.  Default=on
USE_INCLUDES=on

# Enables a spinning bar as visual feedback when slackpkg is making its
# internal lists and some other operations.  Default=on
SPINNING=on

# Max number of characters that "dialog" command can handle.
# If unset, this variable will be 19500 (the number that works on
# Slackware 10.2)
DIALOG_MAXARGS=139000

#
# The MIRROR is set from /etc/slackpkg/mirrors
# You only need to uncomment the selected mirror. 
# Uncomment one mirror only.
#
/etc/slackpkg/slackpkgplus.conf

Code: Select all

# Configuration for slackpkg+. See /usr/doc/slackpkg+-*/README for more details

# Enable (on) / Disable (off) slackpkg+
SLACKPKGPLUS=on

# set to '0' to never show the download progress bar
# set to '1' to show the bar only in download packages (default)
# set to '2' to always show the download bar
# set to '3' for a debug mode
VERBOSE=1

# By default slackpkg+ deny to install 32bit packages.
#
# Set this flag to 'on' allow slackpkg+ to install 32bit packages on a 64bit slackware 
# installation (possibly unsafe). Please, do not install both 32 and 64bit of the same 
# package to avoid problems, and NEVER upgrade existant 64bit packages with relative 32bit package.
# Do not forget to install the multilibs.
ALLOW32BIT=off

# Enable (1) / Disable (0) the official slackpkg blacklist. May be useful to temporarily skip
# the slackware blacklist. You can also override it from command line:
# 'USEBL=0 slackpkg upgrade-all'
USEBL=1

# Add custom option to 'wget'.
# You can solve the repository indisponibility issue by set a timeout here
WGETOPTS="--timeout=20 --tries=2"

# Enable (on) / Disable (off) notification events (see notifymsg.conf)
#ENABLENOTIFY=off

# Enable (on) / Disable (off) the greylist feature. See /etc/slackpkg/greylist
GREYLIST=on

# If two or more repositories contains some same packages, you can specify
# from which repository you prefer to search it.
# The syntax is "<repository_name>:<package_name>"
# Accepts regular expressions. To give priority to an entire repository use "<repository_name>"

# Examples:
#PKGS_PRIORITY=( restricted:vlc )
# OR
#PKGS_PRIORITY=( myrepo )
# 
# if you have two reporitories to give priority you must set both in the same line
#PKGS_PRIORITY=( myrepo restricted:vlc )
#
# if you want to install 'ktown' repository you must set it here
#PKGS_PRIORITY=( ktown )
# and read special instruction on /usr/doc/slackpkg+-*/repositories.txt
#
# If you want a multilib system, uncomment the multilib repository and set:
PKGS_PRIORITY=( multilib:.* restricted:.* )
#
# (Use /usr/doc/slackpkg+-*/setupmultilib.sh to setup a multilib configuration)
#
# For both multilib and ktown set
#PKGS_PRIORITY=( multilib ktown )

# Otherwise you can try to upgrade a package from a repository that contains a package with the
# same tag of the already installed package. Tipically that means to upgrade a package from the
# same author of the already installed package.
# Note that this method may not works properly where two repositories contains a package with the
# same tag.
# Set TAG_PRIORITY to 'on' to enable this function
TAG_PRIORITY=off

# List repositories you want to use (defined below)
# remember to launch 'slackpkg update' if you modify that row.
REPOPLUS=( slackpkgplus multilib restricted alienbob )


# Define mirrors (uncomment one or more mirror; remember to add it to REPOPLUS)
# GPG Note: after adding a repository, you must to run 'slackpkg update gpg'
#           some repositories as salixos or slackel, have a partial GPG support;
#           for that repositories you may need to run slackpkg with 'slackpkg -checkgpg=off ...'

# Slackware 14.1 - x86_64
MIRRORPLUS['multilib']=http://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/
MIRRORPLUS['alienbob']=http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86_64/
MIRRORPLUS['restricted']=http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86_64/
MIRRORPLUS['slacky']=http://repository.slacky.eu/slackware64-14.1/

# use this to keep the slackpkg+ package updated
MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+/

# Slackware current - x86_64
#MIRRORPLUS['multilib']=http://taper.alienbase.nl/mirrors/people/alien/multilib/current/

# Local repository:
#MIRRORPLUS['alienbob']=file://repositories/alien/sbrepos/14.1/x86/
#
# Local packages (you do not need metadata nor 'slackpkg update' command):
#MIRRORPLUS['myrepo']=dir://repositories/mypackages/


#
# Supported Repositories (see /usr/doc/slackpkg+-* for details and notes):
#

#Supports GPG
#slackpkgplus:  http://slakfinder.org/slackpkg+/
#multilib:      http://taper.alienbase.nl/mirrors/people/alien/multilib/{13.37,14.0,14.1,current}/
#alienbob:      http://taper.alienbase.nl/mirrors/people/alien/sbrepos/{13.37,14.0,14.1,current}/{x86,x86_64}/
#ktown:         http://taper.alienbase.nl/mirrors/alien-kde/{13.37,14.0,14.1,current}/{latest,testing}/{x86,x86_64}/
#restricted:    http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/{13.37,14.0,14.1,current}/{x86,x86_64}/
#slacky:        http://repository.slacky.eu/slackware{,64}-{13.37,14.0,14.1}/
#mled-desktop:  http://www.microlinux.fr/microlinux/desktop-14.1-{32,64}bit/
#mled-extras:   http://www.microlinux.fr/microlinux/extras-14.1-{32,64}bit/
#mles:          http://www.microlinux.fr/microlinux/server-{14.0,14.1}-{32,64}bit/
#msb:           http://slackware.org.uk/msb/{14.0,14.1}/{1.6,1.8,1.10}/{x86,x86_64}/
#slackers:      http://ponce.cc/slackers/repository/
#slacke18:      http://ngc891.blogdns.net/pub/slacke18/slackware{,64,arm}-14.1/
#studioware:    http://studioware.org/files/packages/slackware{,64}-{13.37,14.0,14.1}/
#slackonly:	 http://slackonly.com/pub/packages/{14.1,current}-{x86,x86_64}/
#rlworkman:     http://rlworkman.net/pkgs/{13.37,14.0,14.1}/
#
#Does NOT support GPG
#salixos(*):    http://download.salixos.org/{i486,x86_64}/{13.37,14.0,14.1}/
#slackel(*):    http://www.slackel.gr/repo/{i486,x86_64}/{current,kde5}/
Hvala! :beer:



Stalni član
Stalni član
offline
User avatar

Posts: 34
Joined: 01 Dec 2014, 13:36

Post Napisano: 15 Dec 2015, 00:27


Zakomentiraj liniju:

Code: Select all

WGETOPTS="--timeout=20 --tries=2"
u /etc/slackpkg/slackpkgplus.conf i onda uradi:

Code: Select all

slackpkg update gpg
slackpkg update



Poznata ličnost
Poznata ličnost
offline
User avatar

Posts: 181
Joined: 17 Jul 2015, 17:09
Location: Levo od Albukerkija

Post Napisano: 15 Dec 2015, 15:41


Hvala na savetu, Vision, ali tek sad ne radi. :-/

Skoro 5 minuta od promene u /etc/slackpkg/slackpkgplus.conf

Code: Select all

# WGETOPTS="--timeout=20 --tries=2"
i ništa se ne dešava. Terminal ćuti...

Prekidam radnju i bacam se na dodatno istraživanje.

Možda se javi još neko sa idejom.
:beer:

DOPUNA 17:00

Vratio sam /etc/slackpkg/slackpkgplus.conf na prethodno podešavanje,
ukucao 'slackpkg update gpg' i trajalo je oko minut, kao što sam već opisao,
uz 'konstataciju' da nema izmena GPG-a.
Zatim sam ukucao ''slackpkg update' i evo šta se tu dešava.
Ovog puta izabrao sam opciju 'Y' na pitanje:
"Do you really want to download all other files (y/N)? y"

Code: Select all

2015-12-15 15:47:46 URL:http://slakfinder.org/slackpkg+/GPG-KEY [1823/1823] -> "/tmp/slackpkg.7FnndI/gpgkey-tmp" [1]
gpg: key ED123FBC: "Matteo Rossini <zerouno@slacky.it>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
2015-12-15 15:47:46 URL:http://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/GPG-KEY [11137/11137] -> "/tmp/slackpkg.7FnndI/gpgkey-tmp" [1]
gpg: key A75CBDA0: "Eric Hameleers <alien@slackware.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
2015-12-15 15:47:47 URL:http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86_64/GPG-KEY [11465/11465] -> "/tmp/slackpkg.7FnndI/gpgkey-tmp" [1]
gpg: key A75CBDA0: "Eric Hameleers <alien@slackware.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
2015-12-15 15:47:47 URL:http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86_64/GPG-KEY [11465/11465] -> "/tmp/slackpkg.7FnndI/gpgkey-tmp" [1]
gpg: key A75CBDA0: "Eric Hameleers <alien@slackware.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
2015-12-15 15:47:48 URL:http://repository.slacky.eu/slackware64-14.1/GPG-KEY [1760/1760] -> "/tmp/slackpkg.7FnndI/gpgkey-tmp" [1]
gpg: key D153E90E: "Slacky.eu packagers (packages by Slacky.eu) <packages@slacky.it>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
Updating the package lists...
	Downloading...
2015-12-15 15:48:29 URL:http://slakfinder.org/slackpkg+/CHECKSUMS.md5 [1237/1237] -> "/tmp/slackpkg.7FnndI/CHECKSUMS.md5-slackpkgplus" [1]
2015-12-15 15:48:30 URL:http://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/CHECKSUMS.md5 [98484/98484] -> "/tmp/slackpkg.7FnndI/CHECKSUMS.md5-multilib" [1]
2015-12-15 15:48:31 URL:http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86_64/CHECKSUMS.md5 [2587/2587] -> "/tmp/slackpkg.7FnndI/CHECKSUMS.md5-restricted" [1]
2015-12-15 15:48:32 URL:http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86_64/CHECKSUMS.md5 [174266/174266] -> "/tmp/slackpkg.7FnndI/CHECKSUMS.md5-alienbob" [1]
2015-12-15 15:48:33 URL:http://repository.slacky.eu/slackware64-14.1/CHECKSUMS.md5 [156555/156555] -> "/tmp/slackpkg.7FnndI/CHECKSUMS.md5-slacky" [1]

		No changes in ChangeLog.txt between your last update and now.
		Do you really want to download all other files (y/N)? y

		List of all files
2015-12-15 15:52:11 URL:http://slakfinder.org/slackpkg+/MANIFEST.bz2 [498/498] -> "/tmp/slackpkg.7FnndI/SLACKPKGPLUS_slackpkgplus-MANIFEST.bz2" [1]
2015-12-15 15:52:12 URL:http://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/MANIFEST.bz2 [257751/257751] -> "/tmp/slackpkg.7FnndI/SLACKPKGPLUS_multilib-MANIFEST.bz2" [1]
2015-12-15 15:52:13 URL:http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86_64/MANIFEST.bz2 [20406/20406] -> "/tmp/slackpkg.7FnndI/SLACKPKGPLUS_restricted-MANIFEST.bz2" [1]
2015-12-15 15:52:15 URL:http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86_64/MANIFEST.bz2 [739831/739831] -> "/tmp/slackpkg.7FnndI/SLACKPKGPLUS_alienbob-MANIFEST.bz2" [1]
2015-12-15 15:52:17 URL:http://repository.slacky.eu/slackware64-14.1/MANIFEST.bz2 [503991/503991] -> "/tmp/slackpkg.7FnndI/SLACKPKGPLUS_slacky-MANIFEST.bz2" [1]
		Checksums
2015-12-15 15:53:39 URL:http://slakfinder.org/slackpkg+/CHECKSUMS.md5.asc [473/473] -> "/tmp/slackpkg.7FnndI/CHECKSUMS.md5-slackpkgplus.asc" [1]
2015-12-15 15:53:40 URL:http://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/CHECKSUMS.md5.asc [181/181] -> "/tmp/slackpkg.7FnndI/CHECKSUMS.md5-multilib.asc" [1]
2015-12-15 15:53:41 URL:http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86_64/CHECKSUMS.md5.asc [181/181] -> "/tmp/slackpkg.7FnndI/CHECKSUMS.md5-restricted.asc" [1]
2015-12-15 15:53:41 URL:http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86_64/CHECKSUMS.md5.asc [181/181] -> "/tmp/slackpkg.7FnndI/CHECKSUMS.md5-alienbob.asc" [1]
2015-12-15 15:53:41 URL:http://repository.slacky.eu/slackware64-14.1/CHECKSUMS.md5.asc [473/473] -> "/tmp/slackpkg.7FnndI/CHECKSUMS.md5-slacky.asc" [1]

		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.
Možda je neki prethodni upgrade zeznuo stvar?
Sad 'vraćam film' unazad i kapiram da se problem pojavio nedugo nakom sigurnosnih nadogradnji nekoliko paketa.
Mislim da sam to uradio dan nakon poslednje objave u temi Sigurnosne nadogradnje, odnosno, početkom ovog meseca.

Raspored iz 'history' fajla: slackpkg upgrade = mozilla-thunderbird, curl, mozilla-nss, php, ntp, jasper, seamonkey, pcre.
Nadam se da će ovaj (duži) info pomoći da brže 'zgnječimo bubu'. :cheesy:



Administrator
Administrator
offline
User avatar

Posts: 4590
Joined: 04 Feb 2011, 20:32
Location: Beograd
Contact:

Post Napisano: 16 Dec 2015, 19:43


Probaj da izbaciš Slacky iz liste repoa u slackpkgplus.conf pa probaj slackpkg update ponovo. Ne koristim Slacky repo pa ne znam da li trenutno postoji neki problem. Ali ako nakon update-a sve prođe ok, onda je problem do njihovog servera.



Poznata ličnost
Poznata ličnost
offline
User avatar

Posts: 181
Joined: 17 Jul 2015, 17:09
Location: Levo od Albukerkija

Post Napisano: 16 Dec 2015, 20:25


Ok, hvala. U petak se vraćam kući, pa ću proveriti.



Administrator
Administrator
offline
User avatar

Posts: 4590
Joined: 04 Feb 2011, 20:32
Location: Beograd
Contact:

Post Napisano: 17 Dec 2015, 15:50


Takođe bi mogao da promeniš mirror ka alienbob-ovim serverima. :)

Napr, da izmeniš:

Code: Select all

MIRRORPLUS['multilib']=http://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/
MIRRORPLUS['alienbob']=http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86_64/
MIRRORPLUS['restricted']=http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86_64/
u

Code: Select all

MIRRORPLUS['multilib']=http://slackware.uk/people/alien/multilib/14.1/
MIRRORPLUS['alienbob']=http://slackware.uk/peoople/alien/sbrepos/14.1/x86_64/
MIRRORPLUS['restricted']=http://slackware.uk/people/alien/restricted_sbrepos/14.1/x86_64/
Mislim da taj server ima iritantno ograničenje brzine. A i zna ponekad da pukne.


Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests