OVH Community, your new community space.

Server Gentoo installare MSSQL in PHP


axelgenus
21.10.2011, 09.36
Fai così:

Codice:
cd /usr/portage/distfiles
wget http://www.zlib.net/zlib-1.2.5.tar.bz2
e riprova...

rtd srl
21.10.2011, 09.32
mi dice merge --update portage

Codice:
> emerge --update portage
Calculating dependencies  .... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 14) sys-libs/zlib-1.2.5-r2 to /
>>> Downloading 'http://mirror.ovh.net/gentoo-distfiles/distfiles/zlib-1.2.5.tar.bz2'
wget: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
>>> Downloading 'ftp://mirror.ovh.net/gentoo-distfiles/distfiles/zlib-1.2.5.tar.bz2'
wget: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
>>> Downloading 'http://www.gzip.org/zlib/zlib-1.2.5.tar.bz2'
wget: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
>>> Downloading 'http://www.zlib.net/zlib-1.2.5.tar.bz2'
wget: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
!!! Couldn't download 'zlib-1.2.5.tar.bz2'. Aborting.
 * Fetch failed for 'sys-libs/zlib-1.2.5-r2'

 * Messages for package sys-libs/zlib-1.2.5-r2:

 * Fetch failed for 'sys-libs/zlib-1.2.5-r2'

rtd srl
21.10.2011, 09.31
dato il --sync , e ora che gli dico

axelgenus
21.10.2011, 09.24
Prova a dare un emerge --sync...

rtd srl
21.10.2011, 09.23
si scusa e l'ho fatto ! ora stavo provando emerge --update portage, ma dice ....

Codice:
> emerge --update portage
Calculating dependencies  .... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 14) sys-libs/zlib-1.2.5-r2 to /
>>> Downloading 'http://mirror.ovh.net/gentoo-distfiles/distfiles/zlib-1.2.5.tar.bz2'
wget: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
>>> Downloading 'ftp://mirror.ovh.net/gentoo-distfiles/distfiles/zlib-1.2.5.tar.bz2'
wget: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
>>> Downloading 'http://www.gzip.org/zlib/zlib-1.2.5.tar.bz2'
wget: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
>>> Downloading 'http://www.zlib.net/zlib-1.2.5.tar.bz2'
wget: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
!!! Couldn't download 'zlib-1.2.5.tar.bz2'. Aborting.
 * Fetch failed for 'sys-libs/zlib-1.2.5-r2'

 * Messages for package sys-libs/zlib-1.2.5-r2:

 * Fetch failed for 'sys-libs/zlib-1.2.5-r2'

axelgenus
21.10.2011, 09.12
Guarda che non è zlib che dovevi rimuovere ma libxml2!!! Te l'ho scritto prima (primo post in questa pagina)...

rtd srl
21.10.2011, 09.10
Codice:
[ebuild     U ] sys-apps/portage-2.1.6.13 [2.1.3.19] USE="less%* -build -doc -epydoc (-selinux)" LINGUAS="-pl" 680 kB
*** Portage will stop merging at this point and reload itself,
    then resume the merge.
[ebuild     U ] app-admin/python-updater-0.9 [0.2] 8 kB
[blocks B     ] >> No packages selected for removal by unmerge
server / # emerge --unmerge zlib

--- Couldn't find 'zlib' to unmerge.

>>> No packages selected for removal by unmerge
server / # emerge --unmerge sys-libs/zlib

--- Couldn't find 'sys-libs/zlib' to unmerge.

>>> No packages selected for removal by unmerge
server / #
ma come faccio a fare l'unmerge di sto zlib ?

axelgenus
21.10.2011, 09.05
Si è normale perché PHP li ha come dipendenze quasi sicuramente: aggiorna presto portage!

rtd srl
21.10.2011, 09.04
AI AI :|

fatto "emerge --unmerge zlib" e "emerge --unmerge openssl" che bloccavano emerge --avuDN portage" e ora non mi vanno più i file in php

axelgenus
21.10.2011, 08.45
Prova prima ad aggiornare solo portage (emerge --update portage). Se hai ancora blocchi allora devi rimuovere i pacchetti che bloccano (libxml2 e openssl).

rtd srl
21.10.2011, 08.40
Codice:
server / # emerge -avuDN portage

These are the packages that would be merged, in order:

Calculating dependencies... done!

[ebuild   R   ] virtual/libintl-0  ELIBC="(glibc%*) (-uclibc)" 0 kB
[ebuild     U ] sys-libs/zlib-1.2.5-r2 [1.2.3] USE="(-build%)" 475 kB
[ebuild  NS   ] sys-devel/libtool-1.3.5  527 kB
[ebuild   R   ] virtual/libiconv-0  ELIBC="(glibc%*) (-uclibc)" 0 kB
[ebuild     U ] dev-libs/expat-2.0.1-r3 [2.0.1] 436 kB
[ebuild     U ] sys-devel/gnuconfig-20100924 [20060227] 49 kB
[ebuild     U ] app-misc/pax-utils-0.2.3 [0.1.16] USE="-caps" 0 kB
[ebuild     U ] sys-devel/automake-wrapper-5 [3-r1] 0 kB
[ebuild  N    ] virtual/libffi-0  0 kB
[ebuild   R   ] sys-devel/patch-2.5.9  USE="-static (-build%)" 198 kB
[ebuild     U ] app-misc/mime-types-8 [5] 12 kB
[ebuild     U ] sys-devel/autoconf-wrapper-10-r1 [4-r3] 0 kB
[ebuild     UD] app-shells/bash-3.1_p17 [3.2_p17] USE="nls -afs -bashlogger -vanilla" 2,518 kB
[ebuild     U ] sys-apps/sandbox-2.4 [1.2.17] USE="(multilib%*)" 337 kB
[ebuild     U ] sys-apps/less-441 [394] USE="unicode*" 495 kB
[ebuild     U ] sys-libs/readline-6.2_p1 [5.1_p4] 2,226 kB
[ebuild     U ] sys-apps/texinfo-4.13 [4.8-r5] USE="nls -static (-build%)" 1,528 kB
[ebuild     U ] sys-devel/bison-2.4.2 [2.1] USE="nls -static" 1,579 kB
[ebuild     U ] sys-apps/diffutils-3.0 [2.8.7-r1] USE="nls -static" 1,782 kB
[ebuild     U ] sys-devel/flex-2.5.35 [2.5.33-r1] USE="nls -static -test%" 1,228 kB
[ebuild     U ] sys-apps/findutils-4.4.2 [4.1.20-r2] USE="nls (-selinux) -static (-build%)" 2,100 kB
[ebuild     U ] sys-devel/binutils-config-2-r1 [1.8-r7] 0 kB
[ebuild  N    ] virtual/yacc-0  0 kB
[ebuild     U ] sys-devel/binutils-2.21.1-r1 [2.16.1-r2] USE="nls -multislot -multitarget -static-libs% -test -vanilla" 18,572 kB
[ebuild     U ] sys-devel/autoconf-2.65-r1 [2.61-r1] USE="-emacs" 1,302 kB
[ebuild  NS   ] dev-libs/openssl-0.9.8r  USE="(sse2) zlib -bindist -gmp -kerberos -test" 3,686 kB
[ebuild     U ] perl-core/Test-Harness-3.17 [2.56] USE="(-minimal%)" 206 kB
[ebuild     U ] app-admin/perl-cleaner-2.7 [1.03-r1] 6 kB
[ebuild     U ] perl-core/PodParser-1.380.0 [1.32] USE="(-minimal%)" 101 kB
[ebuild     U ] sys-apps/help2man-1.37.1 [1.33.1] USE="nls" 105 kB
[ebuild  NS   ] sys-devel/automake-1.11.1  1,042 kB
[ebuild  NS   ] sys-libs/db-4.8.30  USE="-doc -examples -java -nocxx -tcl -test" 22,351 kB
[ebuild     U ] sys-apps/attr-2.4.43 [2.4.39] USE="nls" 115 kB
[ebuild     U ] sys-libs/gdbm-1.8.3-r4 [1.8.3-r2] USE="berkdb" 224 kB
[ebuild     U ] sys-apps/sed-4.2.1 [4.1.4-r1] USE="acl%* nls (-selinux) -static (-bootstrap%) (-build%)" 879 kB
[ebuild     U ] net-misc/rsync-3.0.8 [2.6.9-r3] USE="acl iconv%* ipv6 -static -xattr% (-xinetd%)" 773 kB
[ebuild  NS   ] dev-lang/python-2.5.4-r4  USE="gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -berkdb -build -doc -examples -sqlite -tk -wininst" 9,611 kB
[ebuild     U ] sys-apps/portage-2.1.6.13 [2.1.3.19] USE="less%* -build -doc -epydoc (-selinux)" LINGUAS="-pl" 680 kB
*** Portage will stop merging at this point and reload itself,
    then resume the merge.
[ebuild     U ] app-admin/python-updater-0.9 [0.2] 8 kB
[blocks B     ] 
Ci sono due pacchetti bloccati, che faccio l'unmerge ?
L'update semplice da un " ERROR: app-misc/pax-utils-0.2.3 failed."
Codice:
server / # emerge --update portage
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 12) app-misc/pax-utils-0.2.3 to /
 * pax-utils-0.2.3.tar.xz RMD160 SHA1 SHA256 size ;-) ...                 [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking pax-utils-0.2.3.tar.xz ;-) ...                                [ ok ]

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)

>>> Unpacking source...
/usr/portage/app-misc/pax-utils/pax-utils-0.2.3.ebuild: line 25: xz: command not found
tar: Questo non sembra un archivio tar
tar: Uscita per errore ritardata dall'errore precedente
 *
 * ERROR: app-misc/pax-utils-0.2.3 failed.
 * Call stack:
 *                ebuild.sh, line 1701:  Called dyn_unpack
 *                ebuild.sh, line  817:  Called qa_call 'src_unpack'
 *                ebuild.sh, line   44:  Called src_unpack
 *   pax-utils-0.2.3.ebuild, line   25:  Called die
 * The specific snippet of code:
 *      xz -dc "${DISTDIR}/${A}" | tar xf - || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-misc/pax-utils-0.2.3/temp/build.log'.
 *

 * Messages for package app-misc/pax-utils-0.2.3:

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)
 *
 * ERROR: app-misc/pax-utils-0.2.3 failed.
 * Call stack:
 *                ebuild.sh, line 1701:  Called dyn_unpack
 *                ebuild.sh, line  817:  Called qa_call 'src_unpack'
 *                ebuild.sh, line   44:  Called src_unpack
 *   pax-utils-0.2.3.ebuild, line   25:  Called die
 * The specific snippet of code:
 *      xz -dc "${DISTDIR}/${A}" | tar xf - || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-misc/pax-utils-0.2.3/temp/build.log'.
 *

axelgenus
21.10.2011, 08.37
Prova prima con "avuDN" (così aggiorna anche le dipendenze), se hai ancora dei pacchetti in blocco fai solo l'update semplice.

rtd srl
21.10.2011, 08.36
quindi vado di "emerge -avuDN portage" o di "emerge --update portage" ?

axelgenus
21.10.2011, 08.33
Non c'entra l'unmask: devi aggiornare portage e... speriamo che stamattina ci riusciamo!

rtd srl
21.10.2011, 08.31
Buongiorno e come nuovo giorno ovviamente qualche cosa non va seguito gli ultimi comandi:
Codice:
hash -r
dispatch-conf (aggiorna il file di configurazione in elenco)
source /etc/profile
al dispatch-conf ho usato "u" di use


dopo ho ri dato "emerge util-linux" e ....
Codice:
server / # emerge util-linux
Calculating dependencies /
!!! All ebuilds that could satisfy "util-linux" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/util-linux-2.17.2 (masked by: required EAPI 2, supported EAPI 1)
- sys-apps/util-linux-2.18-r1 (masked by: required EAPI 2, supported EAPI 1)
- sys-apps/util-linux-2.19 (masked by: required EAPI 2, supported EAPI 1)
- sys-apps/util-linux-2.19.1 (masked by: required EAPI 2, supported EAPI 1)
- sys-apps/util-linux-2.19.1-r1 (masked by: required EAPI 3, supported EAPI 1)
- sys-apps/util-linux-2.20 (masked by: required EAPI 3, supported EAPI 1)
- sys-apps/util-linux-2.20-r1 (masked by: required EAPI 3, supported EAPI 1)
- sys-apps/util-linux-2.20.1 (masked by: required EAPI 3, supported EAPI 1)
- sys-apps/util-linux-9999 (masked by: required EAPI 3, supported EAPI 1)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.

server / #
Aiaiai lo provo a mettere nell'unmask

axelgenus
20.10.2011, 19.47
Citazione Originariamente Scritto da rtd srl
per ora grazie, adesso devo staccare che ci vedo doppio
Come ti capisco...

Citazione Originariamente Scritto da rtd srl
domani mattina seguo le tue ultime istruzioni
Ok. Domani poi vediamo, se c'è da lavorarci forse è meglio sentirsi in chat. Sul mio profilo c'è il contatto skype ma ci vado poco. Se vuoi ti mando via PM il mio indirizzo gmail e possiamo sentirci in gtalk (che ho sempre aperto quando sono al PC).

Citazione Originariamente Scritto da rtd srl
ti dovrò spedire minimo dei cioccolatini se risolvo
Cioccolatini?!? Meglio una bella birra!

rtd srl
20.10.2011, 19.42
per ora grazie, adesso devo staccare che ci vedo doppio domani mattina seguo le tue ultime istruzioni ti dovrò spedire minimo dei cioccolatini se risolvo

axelgenus
20.10.2011, 19.27
dispatch-conf serve per aggiornare i file di configurazione quando fai aggiornamenti. Quando hai aggiornato coreutils è rimasto un file di configurazione da aggiornare. coreutils contiene tutte le utility principali di sistema e visto che hai aggiornato da una vecchia versione ti conviene aggiornare (anche perché non influisce sui servizi tipo apache e mysql). Quando lanci il comando ti dovrebbe visualizzare l'elenco dei file di configurazione che richiedono l'aggiornamento. Seleziona l'unico in lista e renditi conto se serve aggiornarlo o meno.

rtd srl
20.10.2011, 19.24
aggiornare il filoe che vuol dire ?
trovarlo in quella lista ?

axelgenus
20.10.2011, 19.20
No prima devi aggiornare un po' di file di configurazione. Dai:

Codice:
hash -r
dispatch-conf (aggiorna il file di configurazione in elenco)
source /etc/profile
Dopodiché prova a reinstallare util-linux.

rtd srl
20.10.2011, 19.11
ok lzma-utils installato prima e coreutils installato almeno credo

Codice:
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
 * Make sure you run 'hash -r' in your active shells.
 * You should also re-source your shell settings for LS_COLORS
 *   changes, such as: source /etc/profile
>>> sys-apps/coreutils-8.5 merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * Messages for package sys-apps/coreutils-8.5:

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)
 * Make sure you run 'hash -r' in your active shells.
 * You should also re-source your shell settings for LS_COLORS
 *   changes, such as: source /etc/profile
 * Regenerating GNU info directory index...
 * Processed 118 info files.
 * IMPORTANT: 1 config files in '/etc' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.
server / #
ora devo provare a reinstallare util-linux ?

axelgenus
20.10.2011, 19.05
Ecco, lzma-utils non è installato e penso neanche xz-utils ma hai problemi ad installare quest'ultimo perché portage è vecchio. Installa lzma-utils e prova ad aggiornare coreutils.

rtd srl
20.10.2011, 18.57
Codice:
 
server / # emerge --search xz-utils
Searching...
[ Results for search key : xz-utils ]
[ Applications found : 1 ]

*  app-arch/xz-utils [ Masked ]
Traceback (most recent call last):
  File "/usr/bin/emerge", line 6518, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 6492, in emerge_main
    myopts, myfiles, spinner)
  File "/usr/bin/emerge", line 5410, in action_search
    searchinstance.output()
  File "/usr/bin/emerge", line 510, in output
    mysettings=self.settings, all=True)[1]
  File "/usr/lib64/portage/pym/portage.py", line 6627, in getfetchlist
    raise portage_exception.InvalidDependString(
portage_exception.InvalidDependString: getfetchlist(): 'app-arch/xz-utils-9999' has unsupported EAPI: '2'
server / # emerge --search lzma-utils
Searching...
[ Results for search key : lzma-utils ]
[ Applications found : 1 ]

*  app-arch/lzma-utils
      Latest version available: 4.32.7
      Latest version installed: [ Not Installed ]
      Size of files: 491 kB
      Homepage:      http://tukaani.org/lzma/
      Description:   LZMA interface made easy
      License:       LGPL-2.1

axelgenus
20.10.2011, 18.49
C'è qualcosa che non va. Ti servono i comandi "xz" e "lzma" presenti nel pacchetto xz-utils (o lzma-utils, l'altro è più recente e contiene entrambi), non li hai ma emerge ti dice che sono già installati... potresti controllare quali versioni dei due pacchetti hai installati?

rtd srl
20.10.2011, 18.43
Codice:
server / # which xz
which: no xz in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.5)
Codice:
server / # which lzma
which: no lzma in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.5)
server / #
vuol dire che non è presente ?

axelgenus
20.10.2011, 18.41
Citazione Originariamente Scritto da rtd srl
mi veniva un dubbio se adesso provassi a riavviare la macchina (anche se non lo devo fare è solo un ) avendo fatto l'unmerge di util-linux sarebbe un problema ?
Non dovrebbero esserci problemi...

Prima di riavviare mi dai l'output di "which xz" e "which lzma"?

rtd srl
20.10.2011, 18.39
mi veniva un dubbio se adesso provassi a riavviare la macchina (anche se non lo devo fare è solo un pensiero) avendo fatto l'unmerge di util-linux sarebbe un problema ?

rtd srl
20.10.2011, 18.34
si ho provato tutti e due e fa lo stesso

axelgenus
20.10.2011, 18.34
Non devi aggiornarlo ma installarlo (emerge xz-utils)...

rtd srl
20.10.2011, 18.33
Codice:
server / # emerge xz-utils
Calculating dependencies... done!
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
Codice:
server / # emerge --update xz-utils
Calculating dependencies... done!
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

axelgenus
20.10.2011, 18.30
Uhm allora installa xz-utils. Sapevo che avevano cambiato modalità di compressione ma così tagliano del tutto gli utenti con sistemi non aggiornati.

rtd srl
20.10.2011, 18.29
fra poco mi metto a imprecare non lo comprendo proprio sto emerge

Codice:
server / # emerge --update portage
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 13) app-misc/pax-utils-0.2.3 to /
 * pax-utils-0.2.3.tar.xz RMD160 SHA1 SHA256 size ;-) ...                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                              [ ok ]
 * checking auxfile checksums ;-) ...                                                             [ ok ]
 * checking miscfile checksums ;-) ...                                                            [ ok ]
 * checking pax-utils-0.2.3.tar.xz ;-) ...                                                        [ ok ]

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)

>>> Unpacking source...
/usr/portage/app-misc/pax-utils/pax-utils-0.2.3.ebuild: line 25: xz: command not found
tar: Questo non sembra un archivio tar
tar: Uscita per errore ritardata dall'errore precedente
 *
 * ERROR: app-misc/pax-utils-0.2.3 failed.
 * Call stack:
 *                ebuild.sh, line 1701:  Called dyn_unpack
 *                ebuild.sh, line  817:  Called qa_call 'src_unpack'
 *                ebuild.sh, line   44:  Called src_unpack
 *   pax-utils-0.2.3.ebuild, line   25:  Called die
 * The specific snippet of code:
 *      xz -dc "${DISTDIR}/${A}" | tar xf - || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-misc/pax-utils-0.2.3/temp/build.log'.
 *

 * Messages for package app-misc/pax-utils-0.2.3:

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)
 *
 * ERROR: app-misc/pax-utils-0.2.3 failed.
 * Call stack:
 *                ebuild.sh, line 1701:  Called dyn_unpack
 *                ebuild.sh, line  817:  Called qa_call 'src_unpack'
 *                ebuild.sh, line   44:  Called src_unpack
 *   pax-utils-0.2.3.ebuild, line   25:  Called die
 * The specific snippet of code:
 *      xz -dc "${DISTDIR}/${A}" | tar xf - || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-misc/pax-utils-0.2.3/temp/build.log'.
 *
server / #

axelgenus
20.10.2011, 18.14
Ok allora prima prova ad aggiornare portage come ti spiegavo prima (mascherando la nuova versione di bash).

EDIT: per aggiornare coreutils hai bisogno di installare il pacchetto "xz-utils". Prima aggiorna portage, poi installalo e poi riprova ad installare coreutils e util-linux (in quest'ordine).

rtd srl
20.10.2011, 18.12
e quando provo a fare
Codice:
server / # emerge util-linux
Calculating dependencies |
!!! All ebuilds that could satisfy "util-linux" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/util-linux-2.17.2 (masked by: required EAPI 2, supported EAPI 1)
- sys-apps/util-linux-2.18-r1 (masked by: required EAPI 2, supported EAPI 1)
- sys-apps/util-linux-2.19 (masked by: required EAPI 2, supported EAPI 1)
- sys-apps/util-linux-2.19.1 (masked by: required EAPI 2, supported EAPI 1)
- sys-apps/util-linux-2.19.1-r1 (masked by: required EAPI 3, supported EAPI 1)
- sys-apps/util-linux-2.20 (masked by: required EAPI 3, supported EAPI 1)
- sys-apps/util-linux-2.20-r1 (masked by: required EAPI 3, supported EAPI 1)
- sys-apps/util-linux-2.20.1 (masked by: required EAPI 3, supported EAPI 1)
- sys-apps/util-linux-9999 (masked by: required EAPI 3, supported EAPI 1)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.

server / #

rtd srl
20.10.2011, 18.11
Citazione Originariamente Scritto da axelgenus
Ok, prova così:

Codice:
emerge --unmerge util-linux
emerge --update coreutils
emerge util-linux
così dovresti toglierti un blocco.
fatto come mi dici....ma.... quando do il comando
emerge --update coreutils
Codice:
>>> Unpacking source...
>>> Unpacking coreutils-8.5.tar.gz to /var/tmp/portage/sys-apps/coreutils-8.5/work
>>> Unpacking coreutils-8.5-patches-1.tar.lzma to /var/tmp/portage/sys-apps/coreutils-8.5/work
/usr/lib64/portage/bin/ebuild.sh: line 507: lzma: command not found
tar: Questo non sembra un archivio tar
tar: Uscita per errore ritardata dall'errore precedente
 *
 * ERROR: sys-apps/coreutils-8.5 failed.
 * Call stack:
 *              ebuild.sh, line 1701:  Called dyn_unpack
 *              ebuild.sh, line  817:  Called qa_call 'src_unpack'
 *              ebuild.sh, line   44:  Called src_unpack
 *   coreutils-8.5.ebuild, line   39:  Called unpack 'coreutils-8.5.tar.gz' 'coreutils-8.5-patches-1.tar.lzma'
 *              ebuild.sh, line  508:  Called die
 * The specific snippet of code:
 *                                      assert "$myfail"
 *  The die message:
 *   failure unpacking coreutils-8.5-patches-1.tar.lzma
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/coreutils-8.5/temp/build.log'.
 *

 * Messages for package virtual/acl-0:

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)

 * Messages for package sys-libs/ncurses-5.7-r7:

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)

 * Messages for package sys-devel/gettext-0.17-r1:

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)

 * Messages for package sys-apps/acl-2.2.49:

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)

 * Messages for package sys-apps/coreutils-8.5:

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)
 *
 * ERROR: sys-apps/coreutils-8.5 failed.
 * Call stack:
 *              ebuild.sh, line 1701:  Called dyn_unpack
 *              ebuild.sh, line  817:  Called qa_call 'src_unpack'
 *              ebuild.sh, line   44:  Called src_unpack
 *   coreutils-8.5.ebuild, line   39:  Called unpack 'coreutils-8.5.tar.gz' 'coreutils-8.5-patches-1.tar.lzma'
 *              ebuild.sh, line  508:  Called die
 * The specific snippet of code:
 *                                      assert "$myfail"
 *  The die message:
 *   failure unpacking coreutils-8.5-patches-1.tar.lzma
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/coreutils-8.5/temp/build.log'.
 *
 * Regenerating GNU info directory index...
 * Processed 118 info files.

axelgenus
20.10.2011, 17.54
Per quanto riguarda il blocco di bash è un po' più complicato. Prova così:

Codice:
echo '>app-shells/bash-3.1_p17' >> /etc/portage/package.mask
emerge --update portage
Dopodiché devi editare /etc/portage/package.mask ed eliminare la riga ">app-shells/bash-3.1_p17". Infine prova ad aggiornare bash con "emerge --update bash". Se funziona ricordati di fare un logout per usare la nuova versione.

axelgenus
20.10.2011, 17.44
Ok, prova così:

Codice:
emerge --unmerge util-linux
emerge --update coreutils
emerge util-linux
così dovresti toglierti un blocco.

rtd srl
20.10.2011, 17.37
tanto per info, son proprio messo male :
Codice:
server / # emerge --update glibc
Calculating dependencies... done!
>>> Recording sys-libs/glibc in "world" favorites file...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
server / # emerge --update coreutils
Calculating dependencies... done!

!!! Error: the 
Codice:
server / # emerge --pretend coreutils

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-apps/coreutils-8.5 [6.9-r1] USE="unicode%* -caps% -gmp% -vanilla%"
[blocks B     ] 
Codice:
server / # emerge --update bash
Calculating dependencies... done!

!!! Error: the 

axelgenus
20.10.2011, 17.23
Guarda, in quei casi lì devi trovare il modo di sbrogliare le dipendenze altrimenti non c'è modo (questo è un altro dei motivi per cui consiglio di aggiornare spesso gentoo).

Prova ad aggiornare in ordine "glibc", "coreutils" e "bash". Poi riprova con portage.

rtd srl
20.10.2011, 17.21
si mi rimane molto strano questa cosa, dopo provo a fare il boot da hd e ritento.... se no non saprei proprio che fare

axelgenus
20.10.2011, 17.17
Uhm, prima hai dato un "emerge --sync"?

rtd srl
20.10.2011, 15.14
sarebbe stato bello che funzionasse subito uff ma anche questa da un errore

Codice:
server / # emerge -avuDN portage

These are the packages that would be merged, in order:

Calculating dependencies... done!

[ebuild   R   ] virtual/libintl-0  ELIBC="(glibc%*) (-uclibc)" 0 kB
[ebuild     U ] sys-libs/zlib-1.2.5-r2 [1.2.3] USE="(-build%)" 475 kB
[ebuild  NS   ] sys-devel/libtool-1.3.5  527 kB
[ebuild   R   ] virtual/libiconv-0  ELIBC="(glibc%*) (-uclibc)" 0 kB
[ebuild     U ] dev-libs/expat-2.0.1-r3 [2.0.1] 436 kB
[ebuild     U ] sys-devel/gnuconfig-20100924 [20060227] 49 kB
[ebuild     U ] app-misc/pax-utils-0.2.3 [0.1.16] USE="-caps" 0 kB
[ebuild     U ] sys-devel/automake-wrapper-5 [3-r1] 0 kB
[ebuild  N    ] virtual/libffi-0  0 kB
[ebuild   R   ] sys-devel/patch-2.5.9  USE="-static (-build%)" 198 kB
[ebuild     U ] app-misc/mime-types-8 [5] 12 kB
[ebuild     U ] sys-devel/autoconf-wrapper-10-r1 [4-r3] 0 kB
[ebuild     U ] sys-libs/ncurses-5.7-r7 [5.6-r1] USE="cxx%* gpm unicode -ada% -debug -doc -minimal -profile% -static-libs% -trace (-bootstrap%) (-build%) (-nocxx%)" 2,388 kB
[ebuild     U ] sys-apps/sandbox-2.4 [1.2.17] USE="(multilib%*)" 337 kB
[ebuild     U ] app-shells/bash-4.1_p9 [3.2_p17] USE="net%* nls -afs -bashlogger -examples% -mem-scramble% -plugins% -vanilla" 6,458 kB
[ebuild     U ] sys-apps/less-441 [394] USE="unicode*" 495 kB
[ebuild     U ] sys-libs/readline-6.2_p1 [5.1_p4] 2,226 kB
[ebuild     U ] perl-core/Test-Harness-3.17 [2.56] USE="(-minimal%)" 206 kB
[ebuild     U ] app-admin/perl-cleaner-2.7 [1.03-r1] 6 kB
[ebuild     U ] perl-core/PodParser-1.380.0 [1.32] USE="(-minimal%)" 101 kB
[ebuild  N    ] virtual/acl-0  0 kB
[ebuild     U ] sys-devel/gettext-0.17-r1 [0.16.1-r1] USE="acl%* nls openmp%* -doc -emacs -nocxx" 11,369 kB
[ebuild     U ] sys-apps/texinfo-4.13 [4.8-r5] USE="nls -static (-build%)" 1,528 kB
[ebuild     U ] sys-devel/bison-2.4.2 [2.1] USE="nls -static" 1,579 kB
[ebuild     U ] sys-apps/diffutils-3.0 [2.8.7-r1] USE="nls -static" 1,782 kB
[ebuild     U ] sys-devel/flex-2.5.35 [2.5.33-r1] USE="nls -static -test%" 1,228 kB
[ebuild     U ] sys-apps/findutils-4.4.2 [4.1.20-r2] USE="nls (-selinux) -static (-build%)" 2,100 kB
[ebuild     U ] sys-apps/help2man-1.37.1 [1.33.1] USE="nls" 105 kB
[ebuild     U ] sys-devel/autoconf-2.65-r1 [2.61-r1] USE="-emacs" 1,302 kB
[ebuild  NS   ] dev-libs/openssl-0.9.8r  USE="(sse2) zlib -bindist -gmp -kerberos -test" 3,686 kB
[ebuild     U ] sys-devel/binutils-config-2-r1 [1.8-r7] 0 kB
[ebuild  N    ] virtual/yacc-0  0 kB
[ebuild  NS   ] sys-devel/automake-1.11.1  1,042 kB
[ebuild     U ] sys-devel/binutils-2.21.1-r1 [2.16.1-r2] USE="nls -multislot -multitarget -static-libs% -test -vanilla" 18,572 kB
[ebuild  NS   ] sys-libs/db-4.8.30  USE="-doc -examples -java -nocxx -tcl -test" 22,351 kB
[ebuild     U ] sys-apps/attr-2.4.43 [2.4.39] USE="nls" 115 kB
[ebuild     U ] sys-apps/acl-2.2.49 [2.2.45] USE="nls (-nfs)" 355 kB
[ebuild     U ] sys-libs/gdbm-1.8.3-r4 [1.8.3-r2] USE="berkdb" 224 kB
[ebuild     U ] sys-apps/sed-4.2.1 [4.1.4-r1] USE="acl%* nls (-selinux) -static (-bootstrap%) (-build%)" 879 kB
[ebuild     U ] sys-apps/coreutils-8.5 [6.9-r1] USE="acl nls unicode%* -caps% -gmp% (-selinux) -static -vanilla% -xattr" 10,494 kB
[ebuild     U ] net-misc/rsync-3.0.8 [2.6.9-r3] USE="acl iconv%* ipv6 -static -xattr% (-xinetd%)" 773 kB
[ebuild  NS   ] dev-lang/python-2.5.4-r4  USE="gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -berkdb -build -doc -examples -sqlite -tk -wininst" 9,611 kB
[ebuild     U ] sys-apps/portage-2.1.6.13 [2.1.3.19] USE="less%* -build -doc -epydoc (-selinux)" LINGUAS="-pl" 680 kB
*** Portage will stop merging at this point and reload itself,
    then resume the merge.
[ebuild     U ] app-admin/python-updater-0.9 [0.2] 8 kB
[blocks B     ] 
non so se può servire nel file package.keywords ho:

Codice:
net-misc/clockspeed ~x86 ~amd64
sys-block/mpt-status ~x86 ~amd64
net-analyzer/rrdtool ~x86 ~amd64
=dev-db/mysql-5.0.21 ~x86 ~amd64
=dev-util/strace-4.5.14 ~amd64 ~x86
=app-antivirus/clamav-0.93 ~x86 ~amd64
=net-dns/bind-9.4.2_p1 ~x86 ~amd64
app-admin/webmin ~x86 ~amd64
=dev-libs/openssl-0.9.8 ~x86 ~amd64
=app-antivirus/clamav-0.93 ~x86 ~amd64
=net-dns/bind-9.4.2_p1 ~x86 ~amd64

axelgenus
20.10.2011, 15.06
Prova ad aggiornare prima solo portage (emerge -avuDN portage).

Il kernel non importa in questo caso: è un problema di EAPI.

rtd srl
20.10.2011, 15.01
intanto mille grazie per il tuo aiuto
Puo' essere un problema un netbot di ovh fatto dal loro pannello con il kernel "2.6.38.2 x86_64 & SMP & GRSEC & IPv6"
e non direttamente da hd perchè dando l'istruzione "emerge -auDNv system" restituisce questo:

Codice:
server / # emerge -auDNv system

These are the packages that would be merged, in order:

Calculating system dependencies \
!!! All ebuilds that could satisfy "~sys-libs/e2fsprogs-libs-1.41.12" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-libs/e2fsprogs-libs-1.41.12 (masked by: required EAPI 2, supported EAPI 1)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "sys-fs/e2fsprogs-1.41.12" [ebuild])



!!! Problem resolving dependencies for sys-apps/util-linux
!!! Depgraph creation failed.
server / #

axelgenus
20.10.2011, 13.51
Citazione Originariamente Scritto da rtd srl
QUesti aggiornamenti possono causare interuzione di servizi come apache e mysql o modifiche ai loro file di configurazione ? essendo un server con molti siti ho sempre paura ad aggiornare il sistema
Eh, bella domanda. Ovviamente dipende: per quanto riguarda gli aggiornamenti di sistema in linea di massima non dovrebbero esserci problemi in quanto consiste nei tool di base del sistema (compilatore, libreria C, ecc...). Quando aggiorni "world" aggiorni tutto quindi anche i servizi (apache, mysql, ecc...).

Purtroppo non c'è altra soluzione al tuo problema: se ti serve quel pacchetto devi aggiornare. Ti consiglio, ad ogni modo, come prima cosa di fare un bel backup (stage4) come indicato qui e di salvare il pacchetto sul server di backup di OVH di modo che se qualcosa dovesse andare storto puoi tornare online nel giro di pochi minuti.

Altro consiglio: aggiorna frequentemente gentoo (almeno una volta alla settimana) sia perché la compilazione tira via un sacco di risorse di sistema (e nel tuo caso ci vorrà anche un bel po' di tempo) sia per quanto riguarda la sicurezza del tuo sistema. Inoltre, aggiornando di frequente avrai meno problemi se un file di configurazione dovesse necessitare alcune modifiche.

Per quanto riguarda i file di configurazione, portage conserva i file modificati quindi vai tranquillo. Puoi successivamente usare le utility "dispatch-conf" e/o "etc-update" (vedi qui per ulteriori dettagli) per controllare quali sono le differenze apportate nei file di configurazione da parte degli sviluppatori. Con etc-update puoi unire le modifiche, sostituire i file che hai già o eliminare completamente i file che sono forniti con il pacchetto.

Spero di essere stato esaustivo: gentoo è un'ottima distribuzione ma è anche una delle più complesse da utilizzare. Fammi sapere se hai problemi.

rtd srl
20.10.2011, 12.08
QUesti aggiornamenti possono causare interuzione di servizi come apache e mysql o modifiche ai loro file di configurazione ? essendo un server con molti siti ho sempre paura ad aggiornare il sistema

axelgenus
20.10.2011, 11.49
Hai aggiornato il sistema base? Prova a vedere cosa c'è di nuovo usando "emerge -auDNv system". Se ci sono aggiornamenti importanti ci vorrà un po'.

In pratica il tuo problema, al momento, è che il tuo sistema supporta una vecchia versione di EAPI. L'unica soluzione è aggiornare.

Dopo l'aggiornamento del sistema base ti raccomando caldamente di aggiornare anche il resto: "emerge -auDNv world".

rtd srl
20.10.2011, 11.22
eccolo:

Codice:
server / # eselect profile list
Available profile symlink targets:
  [1]   default/linux/amd64/10.0
  [2]   default/linux/amd64/10.0/desktop
  [3]   default/linux/amd64/10.0/desktop/gnome
  [4]   default/linux/amd64/10.0/desktop/kde
  [5]   default/linux/amd64/10.0/developer
  [6]   default/linux/amd64/10.0/no-multilib
  [7]   default/linux/amd64/10.0/server *
  [8]   hardened/linux/amd64
  [9]   hardened/linux/amd64/selinux
  [10]  hardened/linux/amd64/no-multilib
  [11]  hardened/linux/amd64/no-multilib/selinux
  [12]  selinux/2007.0/amd64
  [13]  selinux/2007.0/amd64/hardened
  [14]  selinux/v2refpolicy/amd64
  [15]  selinux/v2refpolicy/amd64/desktop
  [16]  selinux/v2refpolicy/amd64/developer
  [17]  selinux/v2refpolicy/amd64/hardened
  [18]  selinux/v2refpolicy/amd64/server
server / #

axelgenus
20.10.2011, 11.17
Potresti postare l'output del comando "eselect profile list"?

rtd srl
20.10.2011, 11.14
inserito nel file package.unmask le seguenti righe:
Codice:
>=dev-db/unixODBC-2.3.0-r1
>=dev-db/freetds-0.91
ma quando dò il comando
Codice:
USE='mssql' emerge =freetds-0.91
mi continua a dare questo messaggio:
Codice:
Calculating dependencies /
!!! All ebuilds that could satisfy "=freetds-0.91" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-db/freetds-0.91 (masked by: required EAPI 4, supported EAPI 1)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.

server / #
mi sento veramente duro :|

axelgenus
20.10.2011, 09.46
Tieni conto che oltre all'aggiunta del pacchetto in package.unmask devi controllare se è bloccato anche dalla keyword (~x26 o ~amd64).

rtd srl
20.10.2011, 09.44
grazie axelgenus ora provo e vi faccio sapere

axelgenus
20.10.2011, 08.48
http://www.gentoo.org/doc/it/handboo...?part=3&chap=3

rtd srl
19.10.2011, 18.10
@mikkoc: Mi sapresti aiutare per fare l'unmask del pacchetto e quindi installarlo anche perchè non so dove sbattere la testa, sto cercando info ovunque ma non trovo uno straccio di indizio su come fare.

mikkoc
19.10.2011, 14.20
lol,
non puoi semplicemente mettere dev-db/unixODBC-2.3.0-r1 in package.provided se è una dipendenza di freetds !!!
Devi smascherarlo...
!!! All ebuilds that could satisfy "dev-db/unixODBC" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-db/unixODBC-2.3.0-r1 (masked by: required EAPI 3, supported EAPI 1)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "dev-db/freetds-0.64" [ebuild])

axelgenus
19.10.2011, 09.22
Ci sono una sfilza di errori di compilazioni alla fine. Probabilmente è un problema di versioni: se usi una versione più recente di unixODBC probabilmente devi usare una versione più recente di freetds. Controlla sul sito qual'è la compatibilità tra versioni.

rtd srl
19.10.2011, 08.51
Ecco il file
Codice:
/var/tmp/portage/dev-db/freetds-0.64/temp/build.log
Non posso inserirlo nel post ma questo è il link al file completo http://www.rtd-it.com/tmp/build.log

axelgenus
19.10.2011, 08.03
Puoi allegare il log che trovi in "/var/tmp/portage/dev-db/freetds-0.64/temp"?

rtd srl
18.10.2011, 17.06
ho risolto nell'istallazione di freetds inserendo nel /etc/portage/profile/package.provided
Codice:
dev-db/unixODBC-2.3.0-r1

a questo punto lancio il comando:
Codice:
USE="mssql" emerge freetds
Il problema è che alla fine dell'emerge mi dice

Codice:
 *
 * ERROR: dev-db/freetds-0.64 failed.
 * Call stack:
 *             ebuild.sh, line 1701:  Called dyn_compile
 *             ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *             ebuild.sh, line   44:  Called src_compile
 *   freetds-0.64.ebuild, line   22:  Called die
 * The specific snippet of code:
 *      emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if rele                                                                                      vant.
 * A complete build log is located at '/var/tmp/portage/dev-db/freetds-0.64/temp                                                                                      /build.log'.
 *

 * Messages for package dev-db/freetds-0.64:

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)
 *
 * ERROR: dev-db/freetds-0.64 failed.
 * Call stack:
 *             ebuild.sh, line 1701:  Called dyn_compile
 *             ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *             ebuild.sh, line   44:  Called src_compile
 *   freetds-0.64.ebuild, line   22:  Called die
 * The specific snippet of code:
 *      emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if rele                                                                                      vant.
 * A complete build log is located at '/var/tmp/portage/dev-db/freetds-0.64/temp                                                                                      /build.log'.
Cosa puo' essere ?

rtd srl
18.10.2011, 16.18
Salve a tutti, sto provando da un giorno ad installare senza successo freetds per avere le funzioni MSSQL di PHP sul server release 2 di OVH che come sistema operativo ha Gentoo, pensavo bastasse poco ma....
Sono partito con questo:

Codice:
# USE="mssql" emerge freetds
Calculating dependencies |
!!! All ebuilds that could satisfy "dev-db/unixODBC" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-db/unixODBC-2.3.0-r1 (masked by: required EAPI 3, supported EAPI 1)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "dev-db/freetds-0.64" [ebuild])
poi ho provato ad inserire nel file /etc/portage/package.keywords la seguente riga
Codice:
>=dev-db/unixODBC-2.3.0-r1
sperando di fare l'unmask del pacchetto ma nulla......

Avete qualche consiglio o soluzione a questo amletico problema.
Grazie