Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Remember: use logout to logout.


computers / alt.os.linux.ubuntu / Question regarding Alien tool

SubjectAuthor
* Question regarding Alien toolMarkus Robert Kessler
`* Re: Question regarding Alien toolJonathan N. Little
 `- Re: Question regarding Alien toolMarkus Robert Kessler

1
Question regarding Alien tool

<urd42r$19613$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3863&group=alt.os.linux.ubuntu#3863

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no_reply@dipl-ing-kessler.de (Markus Robert Kessler)
Newsgroups: alt.os.linux.ubuntu
Subject: Question regarding Alien tool
Date: Sat, 24 Feb 2024 16:04:43 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <urd42r$19613$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 24 Feb 2024 16:04:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="fd8c8f8cc1709651fdf78bf61c4df639";
logging-data="1349667"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/7/jzNDZzFj2kGr+KH6C6l"
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:7P3Wt5nzSArc4s6Z/PUv2IFv9Nc=
 by: Markus Robert Kessle - Sat, 24 Feb 2024 16:04 UTC

Hi everyone,

after many years of working with RPM based systems, I have several RPMs
that I want to port to Debain format, using "Alien" tool.

This works, and every files contained are copied to the right location.

But, for some reasons, "Post install" scripts are not executed. They are
needed, though, for, e.g. creating / removing new groups or users on
install / uninstall.

One example is this one:

https://www.dipl-ing-kessler.de/developer/test/linux-src/mageia-
noarch/hddetemp/

where I had to run "groupadd" by hand on Ubuntu 23.10.

Any idea what's wrong?

Or better try to port the source and create the Deb package "natively"?

Best regards,

Markus

Re: Question regarding Alien tool

<urd7jm$19ub1$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3864&group=alt.os.linux.ubuntu#3864

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lws4art@gmail.com (Jonathan N. Little)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Question regarding Alien tool
Date: Sat, 24 Feb 2024 12:04:53 -0500
Organization: LITTLE WORKS STUDIO
Lines: 41
Message-ID: <urd7jm$19ub1$1@dont-email.me>
References: <urd42r$19613$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 24 Feb 2024 17:04:54 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6ee447983ad0d36ea206dc299cf01391";
logging-data="1374561"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18FUrn27k3O8Tq8gL07ylWWcyDwHFVf/t8="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.18.1
Cancel-Lock: sha1:vlGXjz3N1Ylh95NjQS3gmZdjUlQ=
In-Reply-To: <urd42r$19613$1@dont-email.me>
X-Face: o[H8T0h*NGH`K`P)s+4PmYlcy|GNl`~+L6Fi.m:%15m[c%{C7V-ump|WiCYPkQ+hFJhq;XW5^1Rg_El'"fE$~AcYW$Pq\yeh9K_-dJqlQ5\y2\;[yw5DYCtOtsf_.TUy}0U\oL^>[3Y#{AP2^o'bG`bwj`]]UNpCxY\(~xK9b+uZKxrb*4-rkD+
X-Dan: Yes Dan this is a Winbox
 by: Jonathan N. Little - Sat, 24 Feb 2024 17:04 UTC

Markus Robert Kessler wrote:
> Hi everyone,
>
> after many years of working with RPM based systems, I have several RPMs
> that I want to port to Debain format, using "Alien" tool.
>
> This works, and every files contained are copied to the right location.
>
> But, for some reasons, "Post install" scripts are not executed. They are
> needed, though, for, e.g. creating / removing new groups or users on
> install / uninstall.
>
> One example is this one:
>
> https://www.dipl-ing-kessler.de/developer/test/linux-src/mageia-
> noarch/hddetemp/
>
> where I had to run "groupadd" by hand on Ubuntu 23.10.
>
> Any idea what's wrong?
>
> Or better try to port the source and create the Deb package "natively"?
>
> Best regards,
>

Or better yet, find a Debian package that does what you wish: i.e.
smartmontools

sudo smartctl --attributes /dev/sda | grep Temp | awk '{print $NF}'
32

Yep, she's running fairly cool.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Re: Question regarding Alien tool

<urf682$1q662$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3867&group=alt.os.linux.ubuntu#3867

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no_reply@dipl-ing-kessler.de (Markus Robert Kessler)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Question regarding Alien tool
Date: Sun, 25 Feb 2024 10:53:54 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 67
Message-ID: <urf682$1q662$1@dont-email.me>
References: <urd42r$19613$1@dont-email.me> <urd7jm$19ub1$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 25 Feb 2024 10:53:54 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f3fe478fe764278a18e34770b860a56c";
logging-data="1906882"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/7IBjlI+ZO2xn+XCR6OWMm"
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:z7z5yzcxla/GoZeOmk0oFvrdgi8=
 by: Markus Robert Kessle - Sun, 25 Feb 2024 10:53 UTC

On Sat, 24 Feb 2024 12:04:53 -0500 Jonathan N. Little wrote:

> Markus Robert Kessler wrote:
>> Hi everyone,
>>
>> after many years of working with RPM based systems, I have several RPMs
>> that I want to port to Debain format, using "Alien" tool.
>>
>> This works, and every files contained are copied to the right location.
>>
>> But, for some reasons, "Post install" scripts are not executed. They
>> are needed, though, for, e.g. creating / removing new groups or users
>> on install / uninstall.
>>
>> One example is this one:
>>
>> https://www.dipl-ing-kessler.de/developer/test/linux-src/mageia-
>> noarch/hddetemp/
>>
>> where I had to run "groupadd" by hand on Ubuntu 23.10.
>>
>> Any idea what's wrong?
>>
>> Or better try to port the source and create the Deb package "natively"?
>>
>> Best regards,
>>
>>
> Or better yet, find a Debian package that does what you wish: i.e.
> smartmontools
>
> sudo smartctl --attributes /dev/sda | grep Temp | awk '{print $NF}'
> 32
>
> Yep, she's running fairly cool.

Yes, that's one possible way. Though, my program can look for every
harddisk (internal and external) and display them without the user having
to do anything.

So, it was worth trying to port it to Ubuntu / Debain also. And in
meantime I found out, that "Alien" tool can port scripts also.

This feature is deactivated by default, because under certain
circumstances the machines which alien has to port the package between are
so different (e.g. when trying to port to Solaris or so), that the scripts
won't work anymore.

It can be enabled:

alien -c -d hddetemp-1.0-1.mga7.noarch.rpm

did the trick.

See here:

https://www.dipl-ing-kessler.de/developer/test/linux-src/mageia-noarch/
hddetemp/

Best regards,

Markus

--
Please reply to group only.
For private email please use http://www.dipl-ing-kessler.de/email.htm

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor