Foro de elhacker.net

Sistemas Operativos => GNU/Linux => Mensaje iniciado por: Sk9ITk5Z en 2 Abril 2016, 20:48 pm



Título: problema al instalar openoffice-Solucionado
Publicado por: Sk9ITk5Z en 2 Abril 2016, 20:48 pm
Tengo un problema descargue el openoffice en .rpm estoy siguiendo un tuto donde dice como convertir los rpm en tgz ya que mi sistema es slackware, pero a la hora de ejecutar el comando  rpm2tgz * me convierte en tar.gz no en tgz, que puede estar pasando?

y al querer convertirlos con alien me dice esto;

Citar
alien -k *.rpm
Can't exec "dpkg-architecture": No such file or directory at /usr/share/perl5/vendor_perl/Alien/Package/Deb.pm line 567, <GETPERMS> line 39.
openoffice-4.1.2-9782.i586.rpm is for architecture i386 ; the package cannot be built on this system


Título: Re: problema al instalar openoffice
Publicado por: LaiaxanIV en 3 Abril 2016, 01:26 am
Prueba esto:
Código:
alien --to-tgz --scripts file.i386.rpm
mkdir unpack
cd unpack
tar -xpzf ../file.tgz
mv install ..
cp -rv * /
cd ../install
./doinst.sh

Si no funciona, que arquitectura tienes?


Título: Re: problema al instalar openoffice
Publicado por: Sk9ITk5Z en 5 Abril 2016, 17:08 pm
ok lo intentare mas tarde ya que estoy en el trabajo y deje mi laptop en mi casa.

Edito;

con el primer comando que me das me da esto
Citar
bash-4.2# tar -xpzf ../file.tgz
tar (child): ../file.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

y lo de mi cpu;
Citar
lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:   0,1
Thread(s) per core:    1
Core(s) per socket:    2
Socket(s):             1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 15
Stepping:              13
CPU MHz:               1000.000
BogoMIPS:              3989.21
L1d cache:             32K
L1i cache:             32K
L2 cache:              1024K

Citar
bash-4.2# uname -a
Linux Sk9ITk5Z 3.10.17 #2 SMP Wed Oct 23 16:34:38 CDT 2013 x86_64 Intel(R) Pentium(R) Dual  CPU  T3200  @ 2.00GHz GenuineIntel GNU/Linux


me encontre esto en la pagina de slackware

Citar
rpm2targz

Converts an RPM (RedHat Package Manager) to a Slackware-compatible package. In case you ever run across the need to obtain something that is only in RPM format, this program may come in handy. The syntax is:

    rpm2targz [filename].rpm

NOTE: Running rpm2targz will create a .tar.gz file, while running rpm2tgz will create a .tgz file. The files are exactly the same, the only difference is the extension format (some people prefer one over the other).

asi que en teoria estoy haciendo bien el comando....


Bueno ya instale por fin el openoffice lo hice de otra forma compilando yo el tgz como dicen en la pagina;
Citar
https://slackbuilds.org/repository/14.1/office/openoffice.org/