Lector de Feeds

Alien

Wiki Mageia - Hace 12 horas 41 minutos

‎deb to rpm: Minor fix

← Older revision Revision as of 01:38, 15 May 2025 Line 86: Line 86:  {{code|cd schildichat-desktop-alpha-1.11.97~sc.0.test.0}} {{code|cd schildichat-desktop-alpha-1.11.97~sc.0.test.0}}    −Edit the spec file, put some information in summary, save the change.+Edit the spec file, put some information after the '''Summary:''' string, save the change.     {{code|<nowiki>rpmbuild -bb schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.spec --define "_topdir $(pwd)"</nowiki>}} {{code|<nowiki>rpmbuild -bb schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.spec --define "_topdir $(pwd)"</nowiki>}} Katnatek
Categorías: Wiki de Mageia

Talk:Alien-de

Wiki Mageia - Hace 12 horas 45 minutos

Created page with "The Summary word should not be translated as is a Special tag in a spec file --~~~~"

New page

The Summary word should not be translated as is a Special tag in a spec file
--[[User:Katnatek|katnatek]] ([[User talk:Katnatek|talk]]) 01:33, 15 May 2025 (UTC) Katnatek
Categorías: Wiki de Mageia

Org Council

Wiki Mageia - Hace 14 horas 30 minutos

‎2025

← Older revision Revision as of 23:48, 14 May 2025 (One intermediate revision by the same user not shown)Line 30: Line 30:  * [[Internationalisation_Team_(i18n)|I18n]]: Yuri Chornoivan (yurchor), Filip Komar (filip) * [[Internationalisation_Team_(i18n)|I18n]]: Yuri Chornoivan (yurchor), Filip Komar (filip)  * [[Packagers]]: Nicolas Lécureuil (neoclust)   * [[Packagers]]: Nicolas Lécureuil (neoclust)   −* [[QA_Team|QA]]: Thomas J Andrews (TJ)+* [[QA_Team|QA]]: Thomas J Andrews (TJ), Jose López (joselp)  * [[Packages_Security_Team|Security Team]]: David Walser (luigiwalser), Nicolas Salguero (ns80) * [[Packages_Security_Team|Security Team]]: David Walser (luigiwalser), Nicolas Salguero (ns80)  * [[Sysadmin_Team|Sysadmins]]: Pascal Vilarem (Maât) * [[Sysadmin_Team|Sysadmins]]: Pascal Vilarem (Maât) −      ==2024== ==2024== Line 44: Line 43:  * [[Internationalisation_Team_(i18n)|I18n]]: Yuri Chornoivan (yurchor), Filip Komar (filip) * [[Internationalisation_Team_(i18n)|I18n]]: Yuri Chornoivan (yurchor), Filip Komar (filip)  * [[Packagers]]: Nicolas Lécureuil (neoclust)   * [[Packagers]]: Nicolas Lécureuil (neoclust)   −* [[QA_Team|QA]]: Thomas J Andrews (TJ)+* [[QA_Team|QA]]: Thomas J Andrews (TJ), Jose López (joselp)  * [[Packages_Security_Team|Security Team]]: David Walser (luigiwalser), Nicolas Salguero (ns80) * [[Packages_Security_Team|Security Team]]: David Walser (luigiwalser), Nicolas Salguero (ns80)  * [[Sysadmin_Team|Sysadmins]]: Pascal Vilarem (Maât) * [[Sysadmin_Team|Sysadmins]]: Pascal Vilarem (Maât) Tandrews16
Categorías: Wiki de Mageia

Möglichkeiten um Anwendungen zu installieren-de

Wiki Mageia - 14 Mayo, 2025 - 22:08

← Older revision Revision as of 21:08, 14 May 2025 (One intermediate revision by the same user not shown)Line 84: Line 84:  Siehe hierzu auch [[#Abhängigkeiten|Abhängigkeiten]] weiter unten.}} Siehe hierzu auch [[#Abhängigkeiten|Abhängigkeiten]] weiter unten.}}    −{{Warning-de|'''Sicherheit.''' Mageia ist nicht auf irgendeiner weiße für externe Pakete verantwortlich, sei es als RPM, Appimage, Flatpak, binäre Datei... Sie sind selbst verantwortlich dafür, ob Sie dem Anbieter der Software bezüglich Sicherheitsproblemen, Malware, usw. vertrauen. Dies ist möglicherweise vor allem bei Closed Source Software Anwendungen problematisch. Siehe hierzu bezüglich der Mitigartion unter [[#Sicherheit|Sicherheit]] weiter unten.}}+{{Warning-de|'''Sicherheit.''' Mageia ist nicht auf irgendeiner weiße für externe Pakete verantwortlich, sei es als RPM, Appimage, Flatpak, binäre Datei... Sie sind selbst verantwortlich dafür, ob Sie dem Anbieter der Software bezüglich Sicherheitsproblemen, Malware, usw. vertrauen. Dies ist möglicherweise vor allem bei Closed Source Software Anwendungen problematisch. Siehe hierzu bezüglich der Mitigation unter [[#Sicherheit|Sicherheit]] weiter unten.}}     == Externe Repositorys mit Mageia-Paketen == == Externe Repositorys mit Mageia-Paketen == Line 170: Line 170:  === .deb Pakete === === .deb Pakete ===    −Anwendungen die für Debian/Ubuntu im .deb Format als Paket gebaut wurden, können manchmal durch das Programm {{prog-de|alien}} umgewandelt werden, welches Sie über das Mageia Repository herunterladen können. ''- Jedoch ist das Programm Alien fehlerhaft {{Bug|28607}} und wird im upstream nicht gewartet. ''+Anwendungen die für Debian/Ubuntu im .deb Format als Paket gebaut wurden, können manchmal durch das Programm {{prog-de|alien}} umgewandelt werden, welches Sie über das Mageia Repository herunterladen können. −Es hat den Anschein, dass das Paket seit einigen Jahren nicht mehr betreut wird.     −Alien war als Anwendung gedacht, mit diesem man Dateien von verschiedenen Formaten in andere Formate konvertieren kann - zum Beispiel zwischen rpm (Mageia, Redhat), dpkg (Debian), slp (Stampede) und tgz (Slackware). Falls Sie ein Paket einer anderen Linux-Distribution verwenden möchten, welche nicht auf Ihrem PC installiert ist, können Sie Alien dazu verwenden, es in ein eines Ihrer gewünschten Pakete zu konvertieren. Anschließend können Sie das konvertierte Paket installieren.+Alien wurde erstellt um Dateien von verschiedenen Paketformaten in andere Formate zu konvertieren - zum Beispiel zwischen rpm (Mageia, Red Hat/Fedora), dpkg (Debian), slp (Stampede) und tgz (Slackware). Falls Sie ein Paket einer anderen Linux-Distribution verwenden möchten, welche nicht auf Ihrem Computer installiert ist, können Sie Alien dazu verwenden, es in eines Ihrer gewünschten Paketformate zu konvertieren. Anschließend können Sie das konvertierte Paket installieren.     Altes Beispiel: [https://forums.mageia.org/en/viewtopic.php?f=15&t=11003&p=71011#p64907 Wie man Spotify als neues Paket erstellt und installiert] Altes Beispiel: [https://forums.mageia.org/en/viewtopic.php?f=15&t=11003&p=71011#p64907 Wie man Spotify als neues Paket erstellt und installiert]  +  +Es ist ein wenig verschroben, da es seit einigen Jahren im Upstream nicht mehr betreut wird. Wir haben es jedoch zum laufen gebracht {{Bug|28607}}, zumindest für .deb. Unterstützung hierzu finden Sie auf unserer [[Alien-de|Alien]] Seite.     == Binäre Dateien == == Binäre Dateien == Psyca
Categorías: Wiki de Mageia

Alien

Wiki Mageia - 14 Mayo, 2025 - 21:59

add multilanguage banner

← Older revision Revision as of 20:59, 14 May 2025 Line 2: Line 2:  [[Category:Howtos]] [[Category:Howtos]]  [[Category:Installing]] [[Category:Installing]]  +{{multi language banner|[[Alien-de|Deutsch]] ; [[Alien|English]]}}     {{introduction|{{prog|alien}} is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file<br>formats. If you want to use a package from another linux distribution than the one you have installed on your system, you<br>can use alien to convert it to your preferred package format and install it. It also supports LSB packages.}} {{introduction|{{prog|alien}} is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file<br>formats. If you want to use a package from another linux distribution than the one you have installed on your system, you<br>can use alien to convert it to your preferred package format and install it. It also supports LSB packages.}} Psyca
Categorías: Wiki de Mageia

Alien-de

Wiki Mageia - 14 Mayo, 2025 - 21:58

Created page with "Category:Dokumentation Category:Howtos Category:Installing {{multi language banner-de|Deutsch ; English}} {{introduction-de|{{prog|alien}}..."

New page

[[Category:Dokumentation]]
[[Category:Howtos]]
[[Category:Installing]]
{{multi language banner-de|[[Alien-de|Deutsch]] ; [[Alien|English]]}}

{{introduction-de|{{prog|alien}} ist eine Anwendung welche zu Red Hat rpm, Debian deb, Stampede slp, Slackware tgz und Solaris pkg Dateiformaten konvertiert. Falls Sie ein Paket von einer anderen Linux Distribution, welche Sie nicht auf Ihrem System installiert haben, verwenden möchten, können Sie alien verwenden um dieses in Ihr gewünschtes Paketformat umzuwandeln und zu installieren. Es unterstützt auch LSB Pakete.}}

Diese Seite behandelt auch Umwandlungen, welche nicht erfolgreich abgeschlossen wurden.

== Betrachtung ==
Wir werden im {{folder|~/tmp}} Verzeichnis arbeiten, in welchem die .rpm und .deb Dateien für dieses Beispiel gespeichert wurden.
Sie können auch ein anderes Verzeichnis verwenden.

Führen Sie {{prog|fakeroot}} vor alien aus, damit alien ohne root-Rechte funktioniert.

== '''rpm zu deb''' ==
Dies funktionierte seit den Mageia 8 tagen nicht sofort {{bug|28607}}, jedoch seit Mageia 9 und neuer, seitdem die aktualisierten Pakete zur Verfügung stehen, können wir einen Schritt aufführen, welche uns die Durchführung ermöglicht.

Die Umwandlung kann wie folgt fehlschlagen:

{{output|fakeroot alien --to-deb mc-4.8.29-1.mga9.x86_64.rpm}}
{{withbr|<nowiki>Package build failed. Here's the log:
dh binary
dh_update_autotools_config
dh_autoreconf
create-stamp debian/debhelper-build-stamp
dh_testroot
dh_prep
debian/rules override_dh_auto_install
make[1]: Entering directory '/home/katnatek/tmp/mc-4.8.29'
mkdir -p debian/mc
# Copy the packages's files.
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
sed -e s#'./'##g | \
xargs -0 -r -i cp -a ./{} debian/mc/{}
make[1]: Leaving directory '/home/katnatek/tmp/mc-4.8.29'
dh_installdocs
dh_installchangelogs
dh_installman
dh_installman: error: mv debian/mc/usr/share/man/es/man1/mc.1.xz.dh-new debian/mc/usr/share/man/es/man1/mc.1.xz: No such file or directory
dh_installman: error: Aborting due to earlier error
make: *** [debian/rules:7: binary] Error 25</nowiki>}}{{Stop}}

'''Lösung:''' <br />
{{output|fakeroot alien --to-deb mc-4.8.29-1.mga9.x86_64.rpm -s}}
{{withbr|<nowiki>Directory mc-4.8.29 prepared.</nowiki>}}{{Stop}}

Bearbeiten Sie die Datei {{file|mc-4.8.29/debian/rules}}

Fügen Sie nach der Zeile 26 folgendes ein: {{code|override_dh_installman:}} und speichern Sie diese Änderung.

{{code|cd mc-4.8.29}}

{{code|fakeroot dh binary}}

Am Ende des Vorgangs werden Sie etwas ähnliches wie folgt sehen:
{{pre|<nowiki>dpkg-gencontrol: warning: Depends field of package mc: substitution variable ${shlibs:Depends} used, but is not defined
dpkg-gencontrol: warning: package mc: substitution variable ${perl:Depends} unused, but is defined
dh_md5sums
dh_builddeb
dpkg-deb: building package 'mc' in '../mc_4.8.29-2_amd64.deb'.</nowiki>}}

== '''deb zu rpm''' ==

Dieser Vorgang funktioniert für gewöhnlich sofort, wie bei deb von Debian:

{{code|fakeroot alien --to-rpm bash_5.2.15-2+b7_amd64.deb}}

Jedoch kann es bei manchen deb Dateien fehlschlagen.

{{output|fakeroot alien --to-rpm schildichat-desktop-alpha_1.11.97-sc.0.test.0_amd64.deb}}
{{withbr|<nowiki>Warning: Skipping conversion of scripts in package schildichat-desktop-alpha: postinst postrm
Warning: Use the --scripts parameter to include the scripts.
Package build failed. Here's the log of the command (cd schildichat-desktop-alpha-1.11.97~sc.0.test.0; rpmbuild --buildroot='/home/katnatek/tmp/schildichat-desktop-alpha-1.11.97~sc.0.test.0' -bb --target x86_64 'schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.spec'):
error: line 5: Empty tag: Summary:
Building target platforms: x86_64
Building for target x86_64</nowiki>}}{{Stop}}

'''Lösung:''' <br />

{{output|fakeroot alien --to-rpm schildichat-desktop-alpha_1.11.97-sc.0.test.0_amd64.deb -s}}
{{withbr|<nowiki>Warning: Skipping conversion of scripts in package schildichat-desktop-alpha: postinst postrm
Warning: Use the --scripts parameter to include the scripts.
Directory schildichat-desktop-alpha-1.11.97~sc.0.test.0 prepared.</nowiki>}}{{Stop}}

{{code|cd schildichat-desktop-alpha-1.11.97~sc.0.test.0}}

Bearbeiten Sie die spec Datei, fügen Sie Informationen in der Zusammenfassung ein und speichern Sie die Änderung.

{{code|<nowiki>rpmbuild -bb schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.spec --define "_topdir $(pwd)"</nowiki>}}

Dies verursacht eine Menge an Fehlermeldung, wie:

{{pre|File not found: /home/user/tmp/schildichat-desktop-alpha-1.11.97~sc.0.test.0/BUILDROOT/schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.x86_64/opt/SchildiChatAlpha/v8_context_snapshot.bin}}

{{code|mkdir -p BUILDROOT/schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.x86_64}}

Verschieben Sie das Verzeichnis oder die Verzeichnisse, welche nicht für die rpm Erstellung nötig sind '''(BUILD,BUILDROOT,SRPMS)''' nach {{folder|BUILDROOT/schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.x86_64}}

In diesem Fall {{folder|opt}} und {{folder|usr}}.

Kehren Sie, falls nötig, zurück zu {{folder|~/tmp/schildichat-desktop-alpha-1.11.97~sc.0.test.0}}

Führen Sie den Befehl erneut aus

{{code|<nowiki>rpmbuild -bb schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.spec --define "_topdir $(pwd)"</nowiki>}}

{{note-de|Im deb zu rpm Fall können Sie sehen, das es komplex ist diese per Hand zu beheben, da wir die Schritte für jede Umwandlung lernen und anpassen müssen.
Der Schlüssel ist das Verzeichnis BUILDROOT und der String zwischen dem ersten "/" und dem zweiten "/".}} Psyca
Categorías: Wiki de Mageia

MGAA-2025-0051 - Updated lutris packages fix bug

Mageia Security - 14 Mayo, 2025 - 20:08
Publication date: 14 May 2025
Type: bugfix
Affected Mageia releases : 9
Description The current package has reached EOL. This update introduces a supported version. References SRPMS 9/core
  • lutris-0.5.18-1.mga9

MGAA-2025-0050 - Updated alien packages fix bugs

Mageia Security - 14 Mayo, 2025 - 20:08
Publication date: 14 May 2025
Type: bugfix
Affected Mageia releases : 9
Description The current version has some bugs: - Missing support for deb files that contain files with zstd compression. - Missing a Require: useful to allow regular users to use the application. - Missing a Require: used by the application for rpm to deb conversion. Note the rpm to deb conversion still doesn't work out of the box, and in some cases some deb to rpm conversions can fail. We have published the wiki page https://wiki.mageia.org/en/Alien with information about how to proceed in these cases. References SRPMS 9/core
  • alien-8.95.8-1.1.mga9

MGAA-2025-0049 - Updated dpkg packages fix bug

Mageia Security - 14 Mayo, 2025 - 20:08
Publication date: 14 May 2025
Type: bugfix
Affected Mageia releases : 9
Description The current version does not support deb files containing files with zstd compression. This update fixes the issue. References SRPMS 9/core
  • dpkg-1.22.11-1.mga9

MGAA-2025-0048 - Updated virtualbox & kmod-virtualbox packages fix bugs

Mageia Security - 14 Mayo, 2025 - 20:08
Publication date: 14 May 2025
Type: bugfix
Affected Mageia releases : 9
Description The current version has reached EOL; the newer upstream version fixes bugs and provides improvements. References SRPMS 9/core
  • virtualbox-7.1.8-1.mga9
  • kmod-virtualbox-7.1.8-1.mga9

Ways to install programs

Wiki Mageia - 14 Mayo, 2025 - 18:24

‎.deb packages: Updated and link to our Alien page.

← Older revision Revision as of 17:24, 14 May 2025 Line 174: Line 174:  === .deb packages === === .deb packages ===    −Programs packaged for Debian/Ubuntu in .deb format can sometimes be converted using the program {{prog|alien}}, which you can install from Mageia repo. ''- But Alien is broken {{Bug|28607}} and not maintained upstream. ''+Programs packaged for Debian/Ubuntu in .deb format can sometimes be converted using the program {{prog|alien}}, which you can install from Mageia repo. −It seems that the package is not maintained for several years.     −Alien was once intended as a program that could convert files from various formats to other formats, for example between the rpm format (Mageia, Redhat), dpkg (Debian), slp (Stampede), and tgz (Slackware). If you want to use a package from a Linux distribution other than the one you have installed on your PC, use Alien to convert such a package to your preferred package format. Then you install that converted package.+Alien was created to convert files between various packaging formats, for example between the rpm format (Mageia, Redhat/Fedora), dpkg (Debian), slp (Stampede), and tgz (Slackware). If you want to use a package from a Linux distribution other than the one you have installed on your computer, use Alien to convert such a package to your preferred package format. Then you install that converted package.     +Old example: [https://forums.mageia.org/en/viewtopic.php?f=15&t=11003&p=71011#p64907 How to repackage and install Spotify]    −Old example: [https://forums.mageia.org/en/viewtopic.php?f=15&t=11003&p=71011#p64907 How to repackage and install Spotify]+It is a bit quirky as it is not maintained by upstream for several years. However, recently {{Bug|28607}} we got it to work reasonably at least for .deb, and for help see our [[Alien|Alien]] page.     == Binary files == == Binary files == Morgano
Categorías: Wiki de Mageia

Alien

Wiki Mageia - 14 Mayo, 2025 - 18:19

typos + added Category tags.

← Older revision Revision as of 17:19, 14 May 2025 Line 1: Line 1:  +[[Category:Documentation]]  +[[Category:Howtos]]  +[[Category:Installing]]  +  {{introduction|{{prog|alien}} is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file<br>formats. If you want to use a package from another linux distribution than the one you have installed on your system, you<br>can use alien to convert it to your preferred package format and install it. It also supports LSB packages.}} {{introduction|{{prog|alien}} is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file<br>formats. If you want to use a package from another linux distribution than the one you have installed on your system, you<br>can use alien to convert it to your preferred package format and install it. It also supports LSB packages.}}    Line 5: Line 9:  == Considerations == == Considerations ==  I will work from {{folder|~/tmp}} folder, in this place I store the .rpm and .deb files used in the examples. I will work from {{folder|~/tmp}} folder, in this place I store the .rpm and .deb files used in the examples. −You can work from other folder.+You can work from another folder.     {{prog|fakeroot}} command before alien allows to use alien without root permissions. {{prog|fakeroot}} command before alien allows to use alien without root permissions.     == '''rpm to deb''' == == '''rpm to deb''' == −This was not working out of the box since mageia 8 times {{bug|28607}}, but now in mageia 9 and beyond with the updated packages we can at least provide a procedure that allows to perform the operation.+This was not working out of the box since Mageia 8 times {{bug|28607}}, but now in Mageia 9 and beyond with the updated packages we can at least provide a procedure that allows to perform the operation.     This conversion can fail like this This conversion can fail like this Morgano
Categorías: Wiki de Mageia

Alien

Wiki Mageia - 14 Mayo, 2025 - 14:26

‎rpm to deb: typo

← Older revision Revision as of 13:26, 14 May 2025 (One intermediate revision by the same user not shown)Line 1: Line 1: −{{introduction|{{prog|alien}} is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file+{{introduction|{{prog|alien}} is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file<br>formats. If you want to use a package from another linux distribution than the one you have installed on your system, you<br>can use alien to convert it to your preferred package format and install it. It also supports LSB packages.}} −      formats. If you want to use a package from another linux distribution than the one you have installed on your system, you  −      can use alien to convert it to your preferred package format and install it. It also supports LSB packages.}}      This page will cover how to troubleshoot conversions that not ends successful. This page will cover how to troubleshoot conversions that not ends successful. Line 12: Line 10:     == '''rpm to deb''' == == '''rpm to deb''' == −This was not working out of the box since mageia 8 times {{bug|28607}}, but now in mageia 9 and beyond with the updated packages we can at less provide a procedure that allows to perform the operation.+This was not working out of the box since mageia 8 times {{bug|28607}}, but now in mageia 9 and beyond with the updated packages we can at least provide a procedure that allows to perform the operation.     This conversion can fail like this This conversion can fail like this Psyca
Categorías: Wiki de Mageia

Org Council

Wiki Mageia - 14 Mayo, 2025 - 12:22

‎2024: Create list for 2025

← Older revision Revision as of 11:22, 14 May 2025 Line 19: Line 19:  = Council members = = Council members =    −==2024==+==2025==    −Please update this list when the elections for your team are done!+Please update this list when the elections for your team are done! For now, the entries of 2024 have been copied to this list.   −IINM, only QA team (end of 2023) and i18n team (in 2023 and 2024) had elections, for all other teams just copying the entries of 2022.        Teams' representatives: Teams' representatives: Line 35: Line 34:  * [[Sysadmin_Team|Sysadmins]]: Pascal Vilarem (Maât) * [[Sysadmin_Team|Sysadmins]]: Pascal Vilarem (Maât)     +  +==2024==  +  +Teams' representatives:  +* [[Atelier_team|Atelier]]: Jose López (joselp), Filip Komar (filip)  +* [[Bug_Squad_Portal|Bug Squad]]: Lewis Smith (lewyssmith), Marja van Waes (marja)  +* [[Documentation team|Documentation]]: Yves Brungard (papoteur)  +* [[Forums team]]: Florian Hubold (doktor5000), Karel Roth (isadora), Pascal Vilarem (Maât  +* [[Internationalisation_Team_(i18n)|I18n]]: Yuri Chornoivan (yurchor), Filip Komar (filip)  +* [[Packagers]]: Nicolas Lécureuil (neoclust)  +* [[QA_Team|QA]]: Thomas J Andrews (TJ)  +* [[Packages_Security_Team|Security Team]]: David Walser (luigiwalser), Nicolas Salguero (ns80)  +* [[Sysadmin_Team|Sysadmins]]: Pascal Vilarem (Maât)     ==2022== ==2022== Marja
Categorías: Wiki de Mageia

Alien

Wiki Mageia - 14 Mayo, 2025 - 04:44

‎deb to rpm

← Older revision Revision as of 03:44, 14 May 2025 (One intermediate revision by the same user not shown)Line 93: Line 93:  {{code|mkdir -p BUILDROOT/schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.x86_64}} {{code|mkdir -p BUILDROOT/schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.x86_64}}    −Move the folder that not belong to rpm build '''(BUILD,BUILDROOT,SRPMS)''' to {{folder|BUILDROOT/schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.x86_64}}+Move the folder(s) that not belong to rpm build '''(BUILD,BUILDROOT,SRPMS)''' to {{folder|BUILDROOT/schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.x86_64}}     In this case, {{folder|opt}} and {{folder|usr}}. In this case, {{folder|opt}} and {{folder|usr}}.    −Return if needed to {{folder ~/tmp/schildichat-desktop-alpha-1.11.97~sc.0.test.0}}+Return if needed to {{folder|~/tmp/schildichat-desktop-alpha-1.11.97~sc.0.test.0}}     Run again Run again Katnatek
Categorías: Wiki de Mageia

Alien

Wiki Mageia - 14 Mayo, 2025 - 04:27

Created page with "{{introduction|{{prog|alien}} is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file formats. If you want to use..."

New page

{{introduction|{{prog|alien}} is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file
formats. If you want to use a package from another linux distribution than the one you have installed on your system, you
can use alien to convert it to your preferred package format and install it. It also supports LSB packages.}}

This page will cover how to troubleshoot conversions that not ends successful.

== Considerations ==
I will work from {{folder|~/tmp}} folder, in this place I store the .rpm and .deb files used in the examples.
You can work from other folder.

{{prog|fakeroot}} command before alien allows to use alien without root permissions.

== '''rpm to deb''' ==
This was not working out of the box since mageia 8 times {{bug|28607}}, but now in mageia 9 and beyond with the updated packages we can at less provide a procedure that allows to perform the operation.

This conversion can fail like this

{{output|fakeroot alien --to-deb mc-4.8.29-1.mga9.x86_64.rpm}}
{{withbr|<nowiki>Package build failed. Here's the log:
dh binary
dh_update_autotools_config
dh_autoreconf
create-stamp debian/debhelper-build-stamp
dh_testroot
dh_prep
debian/rules override_dh_auto_install
make[1]: Entering directory '/home/katnatek/tmp/mc-4.8.29'
mkdir -p debian/mc
# Copy the packages's files.
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
sed -e s#'./'##g | \
xargs -0 -r -i cp -a ./{} debian/mc/{}
make[1]: Leaving directory '/home/katnatek/tmp/mc-4.8.29'
dh_installdocs
dh_installchangelogs
dh_installman
dh_installman: error: mv debian/mc/usr/share/man/es/man1/mc.1.xz.dh-new debian/mc/usr/share/man/es/man1/mc.1.xz: No such file or directory
dh_installman: error: Aborting due to earlier error
make: *** [debian/rules:7: binary] Error 25</nowiki>}}{{Stop}}

'''Solution:''' <br />
{{output|fakeroot alien --to-deb mc-4.8.29-1.mga9.x86_64.rpm -s}}
{{withbr|<nowiki>Directory mc-4.8.29 prepared.</nowiki>}}{{Stop}}

Edit the file {{file|mc-4.8.29/debian/rules}}

Add this after the line 26: {{code|override_dh_installman:}} ,and save the change.

{{code|cd mc-4.8.29}}

{{code|fakeroot dh binary}}

At the end of the process, you will see something like this:
{{pre|<nowiki>dpkg-gencontrol: warning: Depends field of package mc: substitution variable ${shlibs:Depends} used, but is not defined
dpkg-gencontrol: warning: package mc: substitution variable ${perl:Depends} unused, but is defined
dh_md5sums
dh_builddeb
dpkg-deb: building package 'mc' in '../mc_4.8.29-2_amd64.deb'.</nowiki>}}

== '''deb to rpm''' ==

This procedure usually works out of the box like with this deb from debian:

{{code|fakeroot alien --to-rpm bash_5.2.15-2+b7_amd64.deb}}

But some deb files can fail.

{{output|fakeroot alien --to-rpm schildichat-desktop-alpha_1.11.97-sc.0.test.0_amd64.deb}}
{{withbr|<nowiki>Warning: Skipping conversion of scripts in package schildichat-desktop-alpha: postinst postrm
Warning: Use the --scripts parameter to include the scripts.
Package build failed. Here's the log of the command (cd schildichat-desktop-alpha-1.11.97~sc.0.test.0; rpmbuild --buildroot='/home/katnatek/tmp/schildichat-desktop-alpha-1.11.97~sc.0.test.0' -bb --target x86_64 'schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.spec'):
error: line 5: Empty tag: Summary:
Building target platforms: x86_64
Building for target x86_64</nowiki>}}{{Stop}}

'''Solution:''' <br />

{{output|fakeroot alien --to-rpm schildichat-desktop-alpha_1.11.97-sc.0.test.0_amd64.deb -s}}
{{withbr|<nowiki>Warning: Skipping conversion of scripts in package schildichat-desktop-alpha: postinst postrm
Warning: Use the --scripts parameter to include the scripts.
Directory schildichat-desktop-alpha-1.11.97~sc.0.test.0 prepared.</nowiki>}}{{Stop}}

{{code|cd schildichat-desktop-alpha-1.11.97~sc.0.test.0}}

Edit the spec file, put some information in summary, save the change.

{{code|<nowiki>rpmbuild -bb schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.spec --define "_topdir $(pwd)"</nowiki>}}

This will produce lot of errors like:

{{pre|File not found: /home/user/tmp/schildichat-desktop-alpha-1.11.97~sc.0.test.0/BUILDROOT/schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.x86_64/opt/SchildiChatAlpha/v8_context_snapshot.bin}}

{{code|mkdir -p BUILDROOT/schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.x86_64}}

Move the folder that not belong to rpm build '''(BUILD,BUILDROOT,SRPMS)''' to {{folder|BUILDROOT/schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.x86_64}}

In this case, {{folder|opt}} and {{folder|usr}}.

Return if needed to {{folder ~/tmp/schildichat-desktop-alpha-1.11.97~sc.0.test.0}}

Run again

{{code|<nowiki>rpmbuild -bb schildichat-desktop-alpha-1.11.97~sc.0.test.0-2.spec --define "_topdir $(pwd)"</nowiki>}}

{{note|The deb to rpm case as you see is the complex to fix by hand as we have to learn and adapt the steps for each conversion.
The key is the folder BUILDROOT and the string between the first next "/" and the second "/".}} Katnatek
Categorías: Wiki de Mageia

MGASA-2025-0156 - Updated java-1.8.0-openjdk, java-11-openjdk, java-17-openjdk & java-latest-openjdk packages fix security vulnerabilities

Mageia Security - 13 Mayo, 2025 - 21:56
Publication date: 13 May 2025
Type: security
Affected Mageia releases : 9
CVE: CVE-2025-21587 , CVE-2025-30691 , CVE-2025-30698 Description Better TLS connection support. (CVE-2025-21587) Improve compiler transformations. (CVE-2025-30691) Enhance Buffered Image handling. (CVE-2025-30698) The updated timezone data are needed by the new Java packages. References SRPMS 9/core
  • timezone-2025a-1.mga9
  • java-1.8.0-openjdk-1.8.0.452.b09-1.mga9
  • java-11-openjdk-11.0.27.0.6-1.mga9
  • java-17-openjdk-17.0.15.0.6-1.mga9
  • java-latest-openjdk-24.0.1.0.9-1.rolling.1.mga9

MGASA-2025-0155 - Updated postgresql15 & postgresql13 packages fix security vulnerability

Mageia Security - 13 Mayo, 2025 - 20:41
Publication date: 13 May 2025
Type: security
Affected Mageia releases : 9
CVE: CVE-2025-4207 Description PostgreSQL GB18030 encoding validation can read one byte past end of allocation for text that fails validation. (CVE-2025-4207) References SRPMS 9/core
  • postgresql15-15.13-1.mga9
  • postgresql13-13.21-1.mga9

MGAA-2025-0047 - Updated less packages fix bug

Mageia Security - 12 Mayo, 2025 - 20:07
Publication date: 12 May 2025
Type: bugfix
Affected Mageia releases : 9
Description Some translated man pages are badly rendered, like the nmap one in Russian. This changes the file 20less.sh to avoid defining the env variable LESSCHARSET. References SRPMS 9/core
  • less-678-1.1.mga9
Feed