Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] [Software] BIN file requires RPM which won't install

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
roebucktech
Posts: 3
Joined: 2023-03-20 17:14

[Solved] [Software] BIN file requires RPM which won't install

#1 Post by roebucktech »

Hello, all. I'm trying to install a .bin file on Debian 10. It says "the required package 'rpm' is not installed". When I run "sudo apt-get install rpm" it replies:
"Reading package lists... Done
Building dependency tree
Reading state information... Done
Package rpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'rpm' has no installation candidate"

I'm not sure how to work around this. Google searches don't zero in on this issue.
Last edited by roebucktech on 2023-03-21 18:45, edited 1 time in total.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: [Software] BIN file requires RPM which won't install

#2 Post by FreewheelinFrank »

What exactly is this .bin file, where did you get it and what do you expect it to do?

RPM is Redhat Package Management. Is this a file intended for Fedora or similar distro?

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: [Software] BIN file requires RPM which won't install

#3 Post by Aki »

Hello,
roebucktech wrote: 2023-03-20 17:23 Hello, all. I'm trying to install a .bin file on Debian 10. It says "the required package 'rpm' is not installed". When I run "sudo apt-get install rpm" it replies:

Code: Select all

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package rpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'rpm' has no installation candidate
You are using Debian 10 (Debian Buster). The debian repository for Debian Buster (10) hosts the rpm package [1]. Therefore if apt cannot find it, there is an issue with the package manager configuration. As stated in the informative page of the package [1]:
On Debian and derived systems it is recommended to use "alien" to
convert RPM packages into .deb format instead of bypassing the Debian
package management system by installing them directly with rpm.
Therefore, as FreewheelinFrank noted in the previous post, it is quite strange (and it is not reccomended) to use the rpm program to install programs in Debian. Unless, it is used to build rpm packages (and not to install rpm packages). Therefore, that's why FreewheelinFrank asked about the aforementioned and unknown (up to now) .bin file.

---
[1] https://packages.debian.org/buster/rpm
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

roebucktech
Posts: 3
Joined: 2023-03-20 17:14

Re: [Software] BIN file requires RPM which won't install

#4 Post by roebucktech »

The .bin file is an installation package for Acronis backup. It comes from their website. I expect it to install the Acronis backup agent. The website install page only indicates Linux, it does not state which distro it is intended for.

When I run ./acronis...bin it brings up a DOS-looking menu that says rpm is required, with a button Continue, and clicking that gives "Failed to install the required package RPM by using APT".

Can you please provide syntax for using alien? I am not a Linux tech, this is a legacy server that I inherited that I need backed up.

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: [Software] BIN file requires RPM which won't install

#5 Post by Aki »

Hello,
roebucktech wrote: 2023-03-20 18:48 The .bin file is an installation package for Acronis backup. It comes from their website. I expect it to install the Acronis backup agent. The website install page only indicates Linux, it does not state which distro it is intended for.
The software you cited above does not support Debian 10; from their data sheet page:
Supported Operating Systems:
• Linux with kernel from 2.4.20 to 3.18 and 4.1 and glibc
2.3.2 or later
• Various 32-bit (x86) and 64-bit (x86_64) Linux distributions, including:
- Red Hat Enterprise Linux 4.x-7.x
- Ubuntu 9.10-15.04
- Fedora 11-22
- SUSE Linux Enterprise Server 10-12
- Debian 4-8.1
- CentOS 5.x-7.x
- Oracle Linux 5.x-7.x - both Unbreakable Enterprise Kernel and Red Hat Compatible Kernel
This does not explain why you can’t install the rpm package, anyway. But I don’t know if it still matters to you.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: [Software] BIN file requires RPM which won't install

#6 Post by stevepusser »

Perhaps you can use a native modern open source Debian program for backup purposes instead of an ancient proprietary one?

Could you describe what you need it to do?
MX Linux packager and developer

roebucktech
Posts: 3
Joined: 2023-03-20 17:14

Re: [Software] BIN file requires RPM which won't install

#7 Post by roebucktech »

It turned out the etc/apt/sources.list file did not have proper links (deb http...). I found those and populated the list and then apt-get update did a whole bunch of updates and then I was able to download rpm and run the install.
Oh, and I found a command that said it's Debian 4.19, not 10. I don't know where I saw Debian 10.

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: [Software] BIN file requires RPM which won't install

#8 Post by Aki »

Hello,
roebucktech wrote: 2023-03-21 12:44 It turned out the etc/apt/sources.list file did not have proper links (deb http...). I found those and populated the list and then apt-get update did a whole bunch of updates and then I was able to download rpm and run the install.
Oh, and I found a command that said it's Debian 4.19, not 10. I don't know where I saw Debian 10.
Thanks for the update.
Can the thread be considered solved ?
If yes, please add the prefix "[Solved]" to the subject of the first post.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: [Software] BIN file requires RPM which won't install

#9 Post by sunrat »

roebucktech wrote: 2023-03-21 12:44 Oh, and I found a command that said it's Debian 4.19, not 10. I don't know where I saw Debian 10.
4.19 would be the kernel version. To see the Debian release version:

Code: Select all

cat /etc/debian_version
And thanks for marking solved.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply