Не работает rpm2xzm

Добро пожаловать!

Moderator: Blaze

Post Reply
glestwid
Samurai
Samurai
Posts: 117
Joined: 09 Jan 2018, 20:05
Distribution: Porteus-XFCE 4.0 i586

Не работает rpm2xzm

Post#1 by glestwid » 05 Sep 2020, 07:16

Качаю этот модуль:

Code: Select all

wget --no-check-certificate https://distro.ibiblio.org/openmandriva/cooker/repository/i686/main/release/libicui18n67-67.1-3-omv4002.i686.rpm
Затем хочу из него сделать XZM

Code: Select all

root@porteus:/tmp# rpm2xzm libicui18n67-67.1-3-omv4002.i686.rpm
ERROR:  rpm2cpio failed.  (maybe libicui18n67-67.1-3-omv4002.i686.rpm is not an RPM?)
Cannot install /tmp/rpm2xzm26513/libicui18n67-67.1-3-omv4002.i686.txz:  file not found
error installing /tmp/rpm2xzm26513/libicui18n67-67.1-3-omv4002.i686.txz package
mv: cannot stat 'libicui18n67-67.1-3-omv4002.i686.xzm': No such file or directory


Что ему не нравится?

otan
Black ninja
Black ninja
Posts: 33
Joined: 23 Jun 2020, 21:31
Distribution: mint

Не работает rpm2xzm

Post#2 by otan » 05 Sep 2020, 14:46

Code: Select all

guest@porteus:~$ file libicui18n67-67.1-3-omv4002.i686.rpm
libicui18n67-67.1-3-omv4002.i686.rpm: RPM v3.0 bin i386/x86_64

glestwid
Samurai
Samurai
Posts: 117
Joined: 09 Jan 2018, 20:05
Distribution: Porteus-XFCE 4.0 i586

Не работает rpm2xzm

Post#3 by glestwid » 05 Sep 2020, 20:26

Т.е. он не под 32 бита? А где взять под 32 бита тогда?

User avatar
Blaze
DEV Team
DEV Team
Posts: 3006
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Не работает rpm2xzm

Post#4 by Blaze » 06 Sep 2020, 07:09

Code: Select all

wget --no-check-certificate https://distro.ibiblio.org/openmandriva/cooker/repository/i686/main/release/libicui18n67-67.1-3-omv4002.i686.rpm
--2020-09-06 10:07:07--  https://distro.ibiblio.org/openmandriva/cooker/repository/i686/main/release/libicui18n67-67.1-3-omv4002.i686.rpm
Распознаётся distro.ibiblio.org (distro.ibiblio.org)… 152.19.134.43
Подключение к distro.ibiblio.org (distro.ibiblio.org)|152.19.134.43|:443... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 200 OK
Длина: 1040688 (1016K) [application/x-rpm]
Сохранение в: «libicui18n67-67.1-3-omv4002.i686.rpm»

libicui18n67-67.1-3 100%[===================>]   1016K   413KB/s    за 2.5s    

2020-09-06 10:07:11 (413 KB/s) - «libicui18n67-67.1-3-omv4002.i686.rpm» сохранён [1040688/1040688]

guest@porteus:~/Загрузки$ rpm2xzm libicui18n67-67.1-3-omv4002.i686.rpm libicui18n67-67.1-3-omv4002.i686.xzm

Slackware package maker, version 3.14159265.

Searching for symbolic links:
usr/lib/libicui18n.so.60	libicui18n.so.67
usr/lib/libicui18n.so.61	libicui18n.so.67
usr/lib/libicui18n.so.62	libicui18n.so.67
usr/lib/libicui18n.so.63	libicui18n.so.67
usr/lib/libicui18n.so.64	libicui18n.so.67
usr/lib/libicui18n.so.65	libicui18n.so.67
usr/lib/libicui18n.so.66	libicui18n.so.67
usr/lib/libicui18n.so.67	libicui18n.so.67.1

Making symbolic link creation script:
( cd usr/lib ; rm -rf libicui18n.so.60 )
( cd usr/lib ; ln -sf libicui18n.so.67 libicui18n.so.60 )
( cd usr/lib ; rm -rf libicui18n.so.61 )
( cd usr/lib ; ln -sf libicui18n.so.67 libicui18n.so.61 )
( cd usr/lib ; rm -rf libicui18n.so.62 )
( cd usr/lib ; ln -sf libicui18n.so.67 libicui18n.so.62 )
( cd usr/lib ; rm -rf libicui18n.so.63 )
( cd usr/lib ; ln -sf libicui18n.so.67 libicui18n.so.63 )
( cd usr/lib ; rm -rf libicui18n.so.64 )
( cd usr/lib ; ln -sf libicui18n.so.67 libicui18n.so.64 )
( cd usr/lib ; rm -rf libicui18n.so.65 )
( cd usr/lib ; ln -sf libicui18n.so.67 libicui18n.so.65 )
( cd usr/lib ; rm -rf libicui18n.so.66 )
( cd usr/lib ; ln -sf libicui18n.so.67 libicui18n.so.66 )
( cd usr/lib ; rm -rf libicui18n.so.67 )
( cd usr/lib ; ln -sf libicui18n.so.67.1 libicui18n.so.67 )

It is recommended that you make these lines your new installation script.

Would you like to make this stuff the install script for this package
and remove the symbolic links ([y]es, [n]o)? y


Removing symbolic links:
удалён './usr/lib/libicui18n.so.62'
удалён './usr/lib/libicui18n.so.65'
удалён './usr/lib/libicui18n.so.64'
удалён './usr/lib/libicui18n.so.67'
удалён './usr/lib/libicui18n.so.63'
удалён './usr/lib/libicui18n.so.66'
удалён './usr/lib/libicui18n.so.61'
удалён './usr/lib/libicui18n.so.60'

Creating your new ./install/doinst.sh...

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /tmp/rpm2xzm2851/libicui18n67-67.1-3-omv4002.i686.txz

./
install/
install/doinst.sh
usr/
usr/lib/
usr/lib/libicui18n.so.67.1

Slackware package /tmp/rpm2xzm2851/libicui18n67-67.1-3-omv4002.i686.txz created.

Verifying package libicui18n67-67.1-3-omv4002.i686.txz.
Installing package libicui18n67-67.1-3-omv4002.i686.txz:
PACKAGE DESCRIPTION:
Executing install script for libicui18n67-67.1-3-omv4002.i686.txz.
Package libicui18n67-67.1-3-omv4002.i686.txz installed.
Creating /tmp/rpm2xzm2851/libicui18n67-67.1-3-omv4002.i686.xzm
Linux 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

glestwid
Samurai
Samurai
Posts: 117
Joined: 09 Jan 2018, 20:05
Distribution: Porteus-XFCE 4.0 i586

Не работает rpm2xzm

Post#5 by glestwid » 06 Sep 2020, 11:25

Ок, повторяю Ваши команды:

Code: Select all

root@porteus:/tmp# wget --no-check-certificate https://distro.ibiblio.org/openmandriva/cooker/repository/i686/main/release/libicui18n67-67.1-3-omv4002.i686.rpm
--2020-09-06 14:21:02--  https://distro.ibiblio.org/openmandriva/cooker/repository/i686/main/release/libicui18n67-67.1-3-omv4002.i686.rpm
Resolving distro.ibiblio.org (distro.ibiblio.org)... 152.19.134.43
Connecting to distro.ibiblio.org (distro.ibiblio.org)|152.19.134.43|:443... connected.
WARNING: cannot verify distro.ibiblio.org's certificate, issued by ‘CN=InCommon RSA Server CA,OU=InCommon,O=Internet2,L=Ann Arbor,ST=MI,C=US’:
  Issued certificate has expired.
HTTP request sent, awaiting response... 200 OK
Length: 1040688 (1016K) [application/x-rpm]
Saving to: ‘libicui18n67-67.1-3-omv4002.i686.rpm’

libicui18n67-67.1-3-omv4 100%[================================>]   1016K   367KB/s    in 2.8s    

2020-09-06 14:21:05 (367 KB/s) - ‘libicui18n67-67.1-3-omv4002.i686.rpm’ saved [1040688/1040688]

root@porteus:/tmp# rpm2xzm libicui18n67-67.1-3-omv4002.i686.rpm libicui18n67-67.1-3-omv4002.i686.xzm
ERROR:  rpm2cpio failed.  (maybe libicui18n67-67.1-3-omv4002.i686.rpm is not an RPM?)
Cannot install /tmp/rpm2xzm714/libicui18n67-67.1-3-omv4002.i686.txz:  file not found
error installing /tmp/rpm2xzm714/libicui18n67-67.1-3-omv4002.i686.txz package
mv: cannot stat 'libicui18n67-67.1-3-omv4002.i686.xzm': No such file or directory
root@porteus:/tmp# 

Что у меня не так сделано? rpm точно есть.

glestwid
Samurai
Samurai
Posts: 117
Joined: 09 Jan 2018, 20:05
Distribution: Porteus-XFCE 4.0 i586

Не работает rpm2xzm

Post#6 by glestwid » 09 Sep 2020, 22:52

Я нашел решение - поставить RPM отсюда https://slackware.pkgs.org/current/slac ... 3.txz.html Но что такого в 4.15.1 поменяли по сравнению с 4.14?

glestwid
Samurai
Samurai
Posts: 117
Joined: 09 Jan 2018, 20:05
Distribution: Porteus-XFCE 4.0 i586

Не работает rpm2xzm

Post#7 by glestwid » 09 Sep 2020, 22:55

И перед тем , как его ставить, надо скачать и поставить 2 либы - https://altlinux.pkgs.org/sisyphus/clas ... 6.rpm.html и https://altlinux.pkgs.org/sisyphus/clas ... 6.rpm.html Но почему в описаании RPM ни слова не сказано что ему нужны эти либы?

User avatar
Blaze
DEV Team
DEV Team
Posts: 3006
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Не работает rpm2xzm

Post#8 by Blaze » 10 Sep 2020, 09:55

glestwid, пора переходить на x86_64
Держите https://dropmefiles.com/pxmzP
Linux 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Post Reply