Zypper will not find / install packages - Leap 15.1 aarch64

I am using openSUSE 15.1 aarch64 with proot/chroot on my Android phone through Termux App.

I am struggling with zypper as it does not find packages or installs them.

The repos are present , but it keeps saying No provider of ‘thunderbird’ found. That’s for any package.

Can you please advise what can I do?

Information for package zypper:

Repository : @System
Name : zypper
Version : 1.14.32-lp151.2.7.1
Arch : aarch64
Vendor : openSUSE
Installed Size : 7.4 MiB
Installed : Yes
Status : up-to-date
Source package : zypper-1.14.32-lp151.2.7.1.src
Summary : Command line software manager using libzypp

I’ve spotted “Retrieving media Not Found”, not sure if that means anything.

Retrieving: 2b2d9b22c0289c72f320b2cc725e4[done (4.4 MiB/s)]
Retrieving: fe28b3cb2ed30512ad79b5d35edf444b4d6350385[done]
Retrieving: 5afc6cb78c11733eb7ae0cd9dfefc5a37fba3d653[done]
Retrieving: 220e56f6e5e4ac1a38cf3216a85[done (806.9 KiB/s)]
Retrieving repository ‘Main Update Repository’ metada[done]
Retrieving: media …[not found]
Retrieving: repomd.xml.asc …[done]
Retrieving: repomd.xml.key …[done]
Retrieving: repomd.xml …[done]
Repository: Main Update Repository

| Alias | Name | Enabled | GPG Check | Refresh | Type

–±------------------±--------------------------±--------±----------±--------±------
1 | repo-debug | Debug Repository | No | ---- | ---- | NONE
2 | repo-debug-update | Update Repository (Debug) | No | ---- | ---- | NONE
3 | repo-oss | Main Repository | Yes | (r ) Yes | Yes | rpm-md
4 | repo-source | Source Repository | No | ---- | ---- | NONE
5 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes | rpm-md

Hi
Can you show the output of;


zypper lr -d

I suspect your not pointing at the ports repositories (http://download.opensuse.org/ports/) based on the repository naming I see…


cat /etc/os-release 

NAME="openSUSE Leap"
VERSION="15.1 "
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.1"
PRETTY_NAME="openSUSE Leap 15.1"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

uname -a

Linux gekkota-dns1 4.12.14-lp151.28.44-default #1 SMP Fri Mar 20 18:20:20 UTC 2020 (dbf1aea) aarch64 aarch64 aarch64 GNU/Linux

zypper lr -d

# | Alias                             | Name                              | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                                         | Service
--+-----------------------------------+-----------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------------------------------------+--------
1 | openSUSE-Ports-Leap-15.1-Update   | openSUSE-Ports-Leap-15.1-Update   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/ports/update/leap/15.1/oss/                                                    |        
2 | openSUSE-Ports-Leap-15.1-pihole   | openSUSE-Ports-Leap-15.1-pihole   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/home:/malcolmlewis:/SLES12-SP2-RPI-Extra/openSUSE_Leap_15.1_ARM/ |        
3 | openSUSE-Ports-Leap-15.1-repo-oss | openSUSE-Ports-Leap-15.1-repo-oss | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/ports/aarch64/distribution/leap/15.1/repo/oss/

The package is not called ‘thunderbird’ … but MozillaThunderbird

Hi
Zypper is smart :wink: On Leap 15.1 aarch64 I see;


zypper in thunderbird

Loading repository data...
Reading installed packages...
'thunderbird' not found in package names. Trying capabilities.
Resolving package dependencies...

The following 21 NEW packages are going to be installed:
  desktop-file-utils libcanberra0 libcanberra-gtk0 libcanberra-gtk2-module libcanberra-gtk3-0 libcanberra-gtk3-module libcanberra-gtk-module-common libFLAC8 libgthread-2_0-0 libpulse0
  libsndfile1 libsoftokn3 libsoftokn3-hmac libspeex1 libstartup-notification-1-0 libvorbisfile3 libxcb-util1 mozilla-nspr mozilla-nss mozilla-nss-certs MozillaThunderbird

The following 3 recommended packages were automatically selected:
  libcanberra0 libpulse0 libsoftokn3-hmac

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI

      | Service

–±------------------±--------------------------±--------±----------±--------±---------±-------±-----------------------------------------------------------------------------------±-------
1 | repo-debug | Debug Repository | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/ports/aarch64/debug/distribution/leap/15.1/repo/oss/ |
2 | repo-debug-update | Update Repository (Debug) | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/ports/debug/update/leap/15.1/oss/ |
3 | repo-oss | Main Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/ports/aarch64/distribution/leap/15.1/repo/oss/ |
4 | repo-source | Source Repository | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/ports/aarch64/source/distribution/leap/15.1/repo/oss/ |
5 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/ports/update/leap/15.1/oss/ |

NAME=“openSUSE Leap”
VERSION=“15.1”
ID=“opensuse-leap”
ID_LIKE=“suse opensuse”
VERSION_ID=“15.1”
PRETTY_NAME=“openSUSE Leap 15.1”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:opensuse:leap:15.1”
BUG_REPORT_URL=“https://bugs.opensuse.org
HOME_URL=“https://www.opensuse.org/

Hi
Have you tried forcing a refresh?


zypper ref -f

I see zypper in the update repo here;


zypper if zypper

Information for package zypper:
-------------------------------
Repository     : openSUSE-Ports-Leap-15.1-Update            
Name           : zypper                                     
Version        : 1.14.33-lp151.2.10.1                       
Arch           : aarch64                                    

I forced the refresh, stil nothing.

zypper up
Retrieving repository ‘Main Repository’ metadata …[done]
Retrieving repository ‘Main Update Repository’ metada[done]
Loading repository data…
Retrieving repository ‘Main Repository’ data…
Retrieving repository ‘Main Repository’ metadata …[done]
Retrieving repository ‘Main Update Repository’ data…
Retrieving repository ‘Main Update Repository’ metada[done]
Reading installed packages…

Nothing to do.

I have manually updated zypper to latest version and still doesn’t work. Could something be wrong with the repos? Thank you.

Hi
Don’t think so, they work here fine, refreshing installing a package as can be seen in my previous post as I could have installed thunderbird.

I understand, thanks.

I am wondering if it’s something to do with proot/chroot. Have you ever used opensuse on Android without rooting your phone?

Unfortunately I don’t have the expertise to get this working, but I do wish to get it resolved.

Hi
Alas no android phone here… maybe ask on XDA Developer forum?

I’ll try that, thank you.

Do you know what files and folders zypper needs in order to function properly?

Hi
On my Leap 15.1 aarch64 system I see;


 zypper se -si zyp
Loading repository data...
Reading installed packages...

S  | Name                    | Type    | Version                          | Arch    | Repository                       
---+-------------------------+---------+----------------------------------+---------+----------------------------------
i  | PackageKit-backend-zypp | package | 1.1.10-lp151.8.6.1               | aarch64 | openSUSE-Ports-Leap-15.1-Update  
i  | libzypp                 | package | 17.19.0-lp151.2.10.1             | aarch64 | openSUSE-Ports-Leap-15.1-Update  
i  | python3-zypp-plugin     | package | 0.6.3-lp151.2.2                  | noarch  | openSUSE-Ports-Leap-15.1-repo-oss
i  | snapper-zypp-plugin     | package | 0.8.3-lp151.1.2                  | noarch  | openSUSE-Ports-Leap-15.1-repo-oss
i+ | zypper                  | package | 1.14.33-lp151.2.10.1             | aarch64 | openSUSE-Ports-Leap-15.1-Update  
i  | zypper-aptitude         | package | 1.14.33-lp151.2.10.1             | noarch  | openSUSE-Ports-Leap-15.1-Update  
i  | zypper-lifecycle-plugin | package | 0.6.1490613702.a925823-lp151.3.2 | noarch  | openSUSE-Ports-Leap-15.1-repo-oss
i  | zypper-log              | package | 1.14.33-lp151.2.10.1             | noarch  | openSUSE-Ports-Leap-15.1-Update  
i  | zypper-needs-restarting | package | 1.14.33-lp151.2.10.1             | noarch  | openSUSE-Ports-Leap-15.1-Update