slackbuild sbopkg

Aperto da trigg, Sabato 29 Aprile 2017, 20:53:45

Discussione precedente - Discussione successiva

Superciuk

Ehi trigg, io e te dobbiamo metterci d'accordo!...
Leggi con attenzione quello che ti dico e sforzati di essere preciso e puntuale nella risposta, sennò finiamo nel pantano...

C'è un motivo se ti ho chiesto di postarlo tutto intero l'output del file. Su, dai, non essere pigro!  :)


trigg

scusa , volevo solo semplificare
bash-4.3$ cat /etc/slackpkg/slackpkgplus.conf
# Configuration for slackpkg+. See /usr/doc/slackpkg+-*/README for more details
# Please read manpage: "man slackpkgplus.conf" and documentation /usr/doc/slackpkg+-*/README

# 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"

# If you want replace wget with another downloader search DOWNLOADCMD in documentation
# at /usr/doc/slackpkg+-*/README
#DOWNLOADCMD="wget -O"

# Defines if the changelog of any 3rd party repository must be searched in parent URL when not found in base URL.
# Can be set to "on" or "off" (default)
SEARCH_CLOG_INPARENT=on

# Use the cache for metadata files (CHECKSUMS.md5,...). Enable it (on) to speedup the slackpkg update
# process by downloading just new files (see README). Disabled by default (off)
CACHEUPDATE=off

# You can download-only by setting DOWNLOADONLY to 'on'. You may (you should) also use it in commandline
# for example: "DOWNLOADONLY=on slackpkg upgrade-all". Useful for large upgrades.
#DOWNLOADONLY=off

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

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

# Defines if commands 'search' and 'file-search' are case-sensitive (on) or not (off). Default to "on"
SENSITIVE_SEARCH=on

# Defines if command 'file-search' does search Wole Word (on) of accept partial words (off). Note that
# you may obtains many many results searching a short partial word
WW_FILE_SEARCH=on

# Select the show order in dialogbox. Available "package" "repository" "tag" "path" "arch"
SHOWORDER=package

# Allow to show more details of the package in slackpkg info <package>. Accept "none", "basic", "filelist"
DETAILED_INFO=none

# Enable (on) / Disable (off) a Strict GPG Check. A repository should contains packages signed
# with the only original GPG-KEY. In some custom repository may be wanted to mix heterogeneous
# packages; to use that repository set Strict GPG Check to off. P.S: a repository can
# contain just ONE gpg-key; you may manually import the other.
STRICTGPG=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 DO NOT MISS to read special instruction on /usr/doc/slackpkg+-*/repositories.txt
#
# If you want a multilib system, uncomment the multilib repository and set:
#PKGS_PRIORITY=( multilib )
#
# (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 restricted alienbob slacky )
REPOPLUS=( slackpkgplus restricted alienbob )


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

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

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

# use the development branch to use the mainline version and help develop by reporting bugs.
#MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+dev/


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

# Local repository:
#MIRRORPLUS['alienbob']=file://repositories/alien/sbrepos/14.2/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):
#

#slackpkgplus:  http://slakfinder.org/slackpkg+{,dev,1.6,1.7}/
#multilib:      http://bear.alienbase.nl/mirrors/people/alien/multilib/{14.0,14.1,14.2,current}/
#alienbob:      http://bear.alienbase.nl/mirrors/people/alien/sbrepos/{14.0,14.1,14.2,current}/{x86,x86_64}/
#ktown:         http://bear.alienbase.nl/mirrors/alien-kde/{14.1,14.2,current}/{latest,testing}/{x86,x86_64}/
#restricted:    http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/{14.0,14.1,14.2,current}/{x86,x86_64}/
#slacky:        http://repository.slacky.eu/slackware{,64}-{14.0,14.1,14.2}/
#mleddesktop:   http://www.microlinux.fr/microlinux/desktop-{14.1,14.2}-{32,64}bit/
#mledextras:    http://www.microlinux.fr/microlinux/extras-{14.1,14.2}-{32,64}bit/
#mles:          http://www.microlinux.fr/microlinux/server-{14.0,14.1,14.2}-{32,64}bit/
#msb:           http://slackware.uk/msb/{14.0,14.1,14.2,current}/{1.6,1.8,1.10,1.12,1.14,1.15,1.15-gtk3,latest}/{x86,x86_64}/
#csb:           http://slackware.uk/csb/{14.1,14.2}/{x86,x86_64}/
#slackers:      http://slack.conraid.net/repository/slackware64-current/
#slacke18:      http://ngc891.blogdns.net/pub/slacke18/slackware{,64}-{14.1,14.2}/
#studioware:    http://studioware.org/files/packages/slackware{,64}-{14.0,14.1,14.2}/
#slackonly:     http://panos.slackonly.com/pub/packages/{14.1,14.2,current}-{x86,x86_64}/
#rlworkman:     http://rlworkman.net/pkgs/{14.0,14.1,14.2,current}/
#slackel:       http://www.slackel.gr/repo/{i486,x86_64}/current/
#connochaetos:  http://connochaetos.org/slack-n-free/slack-n-free{,64}-{14.1,14.2}/
#slint:         http://slint.fr/packages/{14.0,14.1,14.2}-{i486,x86_64}/
#salixos:       http://download.salixos.org/{i486,x86_64}/{14.0,14.1,14.2}/
bash-4.3$

se hai paura di far domande...
                                             ...hai paura d'imparare
     ... non si finisce mai d'imparare...

Superciuk

Va bene, non ti preoccupare, basta che ci capiamo... ;)


Adesso dovrai impostare la priorità (sugli altri) del repo "restricted",

trova queste righe
# Examples:
#PKGS_PRIORITY=( restricted:vlc )


e modificale come ho fatto io (ho tolto il # e ho eliminato vlc con i due punti), guarda sotto.

# Examples:
PKGS_PRIORITY=( restricted )


Salva e chiudi il file.

Adesso dai in sequenza questi comandi:

slackpkg update gpg

slackpkg update

slackpkg install-new

slackpkg upgrade-all

Quando hai fatto fammi sapere com'è andata...


Non abbiamo ancora finito ma ci siamo quasi.





trigg

che significa ?
ho sbagliato qualcosa??

bash-4.3# slackpkg install-new

Looking for NEW packages to install. Please wait... DONE

No packages match the pattern for install. Try:

/usr/sbin/slackpkg upgrade|reinstall
se hai paura di far domande...
                                             ...hai paura d'imparare
     ... non si finisce mai d'imparare...

Superciuk

No, significa solo che non ci sono pacchetti candidati. E' tutto normale e va tutto bene.


dai l'ultimo comando...

trigg

ok sto facendo slackpkg upgrade-all
se hai paura di far domande...
                                             ...hai paura d'imparare
     ... non si finisce mai d'imparare...

trigg

fatto
domanda ho fatto bene a sceglire O ? Some packages had new configuration files installed.
You have four choices:

(K)eep the old files and consider .new files later

(O)verwrite all old files with the new ones. The
   old files will be stored with the suffix .orig

(R)emove all .new files

(P)rompt K, O, R selection for every single file

What do you want (K/O/R/P)?
o

bash-4.3#


vabbè al massimo lo dirai dopo prendilo come un promemoria
se hai paura di far domande...
                                             ...hai paura d'imparare
     ... non si finisce mai d'imparare...

Superciuk

E' una bella domanda. Io scelgo "P" e poi vedo voce per voce... Vai a vedere  adesso... (non preoccuparti troppo però  ;) )

Adesso posta l'output di:

ls /tmp

P.S.
hai aggiornato anche il kernel adesso?

trigg

bash-4.3# ls /tmp
Istantanea_2017-04-30_10-49-16.png  ksocket-hp
Istantanea_2017-04-30_10-52-19.png  libgksu-wv00Fq
Istantanea_2017-04-30_20-08-45.png  mozilla_hp0
Istantanea_2017-04-30_20-09-59.png  orbit-hp
Istantanea_2017-04-30_20-10-54.png  plugtmp
Istantanea_2017-04-30_21-57-32.png  pulse-2L9K88eMlGn7
Istantanea_2017-04-30_22-38-54.png  pulse-PKdhtXMmr18n
Istantanea_2017-04-30_23-10-56.png  qtsingleapp-smplay-ca73-3e8-lockfile
SBo                ssh-EN1ySUcpYpFi
Screenshot_2017-04-29_18-06-30.png  vbox-runner-0.3.3-x86_64-1_SBo.tgz
Slimjet                vboxdrv-Module.symvers
acpica-20161222-x86_64-1_SBo.tgz    virtualbox-extension-pack-5.0.30-x86_64-1_SBo.tgz
firefox_hp             virtualbox-kernel-5.0.30_4.4.14-x86_64-1_SBo.tgz
gpg-3JYexM             yajl-2.1.0-x86_64-2_SBo.tgz
kde-hp
bash-4.3#
se hai paura di far domande...
                                             ...hai paura d'imparare
     ... non si finisce mai d'imparare...

Superciuk

Ok. Io solitamente installo tutto il repo "restricted" sono tre 3 o 4 pacchetti, tra cui Vlc, ffmpeg e handbrake (conversioni video).
Ti conviene farlo e poi facciamo l'ultimissima cosa...

slackpkg install restricted

Dimmi quando hai fatto...

trigg

se hai paura di far domande...
                                             ...hai paura d'imparare
     ... non si finisce mai d'imparare...

Superciuk

Adesso da root inserisci questo comando:

nano /etc/slackpkg/blacklist

Aprirai questo testo:

# This is a blacklist file. Any packages listed here won't be
# upgraded, removed, or installed by slackpkg.
#
# The correct syntax is:
#
# To blacklist the package xorg-server-1.6.3-x86_64-1 the line will be:
# xorg-server
#
# DON'T put any space(s) before or after the package name or regexp.
# If you do this, the blacklist will NOT work.

#
# Automated upgrade of kernel packages aren't a good idea (and you need to
# run "lilo" after upgrade). If you think the same, uncomment the lines
# below
#
#kernel-firmware
#kernel-generic
#kernel-generic-smp
#kernel-headers
#kernel-huge
#kernel-huge-smp
#kernel-modules
#kernel-modules-smp
#kernel-source

#
# aaa_elflibs should NOT be blacklisted!
#
                                                                                                                                                                                                         
# You can blacklist using regular expressions.                                                                                                                                                           
#                                                                                                                                                                                                         
# Don't use *full* regex here, because all of the following                                                                                                                                               
# will be checked for the regex: series, name, version, arch,                                                                                                                                             
# build and fullname.                                                                                                                                                                                     
#                                                                                                                                                                                                         
# This one will blacklist all SBo packages:                                                                                                                                                               
#[0-9]+_SBo 


Vai all'ultimo rigo e togli il # di inizio rigo, diventa così:

[0-9]+_SBo

Salva e chiudi. Abbiamo finito.

Adesso sbopkg e slackpkg (slackpkgplus) sono autonomi e non possono darsi fastidio l'un l'altro.

trigg

se hai paura di far domande...
                                             ...hai paura d'imparare
     ... non si finisce mai d'imparare...

Superciuk

#28
Se vuoi installare pepperflash inserisci:

slackpkg search pepper

copia la stringa del pacchetto e mettila dopo:

slackpkg install ...


ti verrà fuori più o meno una cosa così:

slackpkg install chromium-pepperflash-plugin-25.0.0.148-x86_64-1alien

Buon divertimento  ;)




:D