rpm dependencies

15.3 is not very current with emacs. It’s still on 25.3.
I’m trying to install emacs 27.2 from: https://download.opensuse.org/repositories/editors/openSUSE_Leap_15.3/x86_64/ but emacs-info is missing from there.

I ran:

zypper info --requires ~/downloads/rpms/emacs-27.2-lp153.371.17.x86_64.rpm                 
Loading repository data... 
Reading installed packages... 

package '/home/froggy/downloads/rpms/emacs-27.2-lp153.371.17.x86_64.rpm' not found.

but it’s there:

ls -alF  ~/downloads/rpms/emacs-27.2-lp153.371.17.x86_64.rpm 
-rw-r--r-- 1 froggy users 16669888 Nov  5 13:38 /home/froggy/downloads/rpms/emacs-27.2-lp153.371.17.x86_64.rpm 

2 part question:

  1. Where can I get the emacs-info file for 27.2?
  2. How do I get rpm requirements with zypper?

Thank you

While the man page says for zypper install:

install (in) [options] name|capability|rpm_file_uri...

which includes the mentioning of rpm_file_uri (can be a local path like you do), but for zypper info it says

info (if) [options] name...

which does not include that.

Thus IMHO, your syntax is incorrect.

Have you enabled the directory as Repo?


Use rpm. rpm -q --requires -p file.rpm

No it wasn’t. It’s just a local directory where I download some rpm that aren’t provided by the regular repos.


rpm -q --requires -p ~/downloads/rpms/emacs-27.2-lp153.371.17.x86_64.rpm                   
config(emacs) = 27.2-lp153.371.17 
emacs-info = 27.2                   <<<<<<<<
emacs_program = 27.2-lp153.371.17

Where can I find emacs-info 27.2?

Thank you

If you enable it as Repo, zypper will show also the content:

LANG=C zypper if brhl2140lpr 
Loading repository data...
Reading installed packages...

Information for package brhl2140lpr:
Repository     : Programme-rpm
Name           : brhl2140lpr
Version        : 2.0.2-1
Arch           : i386
Vendor         : 
Installed Size : 200,9 KiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : brhl2140lpr-2.0.2-1.src
Summary        : Brother HL-2140 LPR driver
Description    : 
    Brother HL-2140 LPR driver

zypper lr -d | grep -i programme-rpm
 9 | Programme                                 | Programme-rpm                                                | Ja        | ( p) Ja         | Ja             |   99      | plaindir | dir:/home/stephan/Programme86x64/Programme           

Here for a not installed package:

LANG=C zypper if zoom
Loading repository data...
Reading installed packages...

Information for package zoom:
Repository     : Programme-rpm
Name           : zoom
Version        : 5.5.6955.0131_openSUSE-1
Arch           : x86_64
Vendor         : Zoom Video Communications, Inc.
Installed Size : 186,4 MiB
Installed      : No
Status         : not installed
Source package : zoom-5.5.6955.0131_openSUSE-1.src
Summary        : Zoom, #1 Video Conferencing and Web Conferencing Service
Description    : 
    Zoom, #1 Video Conferencing and Web Conferencing Service
    Zoom, the cloud meeting company, unifies cloud video conferencing, simple online meetings, and group
    messaging into one easy-to-use platform. Our solution offers the best video, audio, and
    screen-sharing experience across Zoom Rooms, Windows, Mac, Linux, iOS, Android, and H.323/SIP room