Bug 1398515 - mate armhfp image does not list arm specific repositories
Summary: mate armhfp image does not list arm specific repositories
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: yumex-dnf
Version: 25
Hardware: armhfp
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Björn 'besser82' Esser
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-25 04:51 UTC by jeff
Modified: 2017-12-12 10:19 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:19:42 UTC
Type: Bug


Attachments (Terms of Use)
Output of grep (9.23 KB, text/plain)
2017-01-02 12:49 UTC, jeff
no flags Details

Description jeff 2016-11-25 04:51:40 UTC
Description of problem:
I installed mate armhfp on a raspberry pi 2.
The installation went well.
I ran yum to update the system.
That went well.
I tried to install emacs, gkrellm, etc. and I found there was no specific
arm repository present. 
Even though gcc is included in the image, it does not show up under the
'all' option which should show all packages.

I did some googling to try to find the correct arm repository to include, but I was unable to find it.

It would be nice to be able to install or remove arm binaries...

Version-Release number of selected component (if applicable):

Fedora-Mate-armhfp-25-1.3-sda.raw.xz

How reproducible:

100%

Steps to Reproduce:
1. install fedora 25
2. try to install some binary package
3. cry

Actual results:
No arm specific binary packages can be found by yum

Expected results:
I would like to be able to install and remove arm binary packages

Additional info:

Comment 1 Igor Gnatenko 2017-01-02 08:19:34 UTC
Please show output of:
$ grep . /etc/yum.repos.d/*.repo
$ dnf repolist all

Comment 2 jeff 2017-01-02 12:49:35 UTC
Created attachment 1236648 [details]
Output of grep

Comment 3 jeff 2017-01-02 12:54:56 UTC
I added the princton repo, while trying to fix the issue.
It is curious that many repos are 'disabled'
 
dnf repolist all
Fedora 25 - armhfp                                                       6.2 MB/s |  45 MB     00:07
Fedora 25 - armhfp - Updates                                             3.7 MB/s |  13 MB     00:03
created by dnf config-manager from http://mirror.math.princeton.edu/pub/ 2.3 MB/s | 2.2 MB     00:00
Last metadata expiration check: 0:00:14 ago on Mon Jan  2 04:52:05 2017.
repo id                                                                       repo name   status
*fedora                                                                       Fedora 25 - enabled: 43,412
fedora-cisco-openh264                                                         Fedora 25 o disabled
fedora-cisco-openh264-debuginfo                                               Fedora 25 o disabled
fedora-debuginfo                                                              Fedora 25 - disabled
fedora-source                                                                 Fedora 25 - disabled
mirror.math.princeton.edu_pub_fedora_linux_releases_25_Workstation_armhfp_os_ created by  enabled:  2,667
*updates                                                                      Fedora 25 - enabled: 11,729
updates-debuginfo                                                             Fedora 25 - disabled
updates-source                                                                Fedora 25 - disabled
updates-testing                                                               Fedora 25 - disabled
updates-testing-debuginfo                                                     Fedora 25 - disabled
updates-testing-source                                                        Fedora 25 - disabled

Comment 4 Honza Silhan 2017-01-09 12:15:52 UTC
Can you please provide also `dnf repolist all -v` and paste content of `cat /etc/yum.repos.d/fedora-updates.repo` and `cat /etc/yum.repos.d/fedora.repo. Thanks.

Comment 5 Igor Gnatenko 2017-01-09 12:17:43 UTC
#include <stdlib.h>
#include <stdio.h>
#include <hawkey/util.h>

static inline void
cleanup_free (void *p)
{
  void **pp = (void **)p;
  if (*pp)
    free (*pp);
}

int
main (void)
{
  __attribute__((__cleanup__(cleanup_free))) char *arch = NULL;
  if (hy_detect_arch (&arch))
    return EXIT_FAILURE;

  printf ("%s\n", arch);

  return EXIT_SUCCESS;
}



can you compile this code and see what it will print?

Comment 6 Igor Gnatenko 2017-01-09 12:18:13 UTC
(In reply to Honza Silhan from comment #4)
> Can you please provide also `dnf repolist all -v` and paste content of `cat
> /etc/yum.repos.d/fedora-updates.repo` and `cat /etc/yum.repos.d/fedora.repo.
Honza, reporter already showed *.repo files.

Comment 7 jeff 2017-01-09 13:19:49 UTC
[@localhost ~]$ gcc a.c
a.c:3:25: fatal error: hawkey/util.h: No such file or directory
 #include <hawkey/util.h>

Comment 8 Igor Gnatenko 2017-01-16 12:12:29 UTC
$ sudo dnf -y install hawkey-devel
$ gcc a.c `pkg-config --libs --cflags hawkey`
$ ./a.out

Comment 9 jeff 2017-01-16 13:12:11 UTC
./a.out
armv7hnl

Comment 10 Martin Hatina 2017-01-23 12:14:42 UTC
1. Could you provide exact command you used to install the binary package?
2. Also could you provide the output of `dnf repoquery emacs`?
3. Are you able to install `yum-deprecated` and try it with the same command?

Comment 11 jeff 2017-01-23 14:04:13 UTC
1) I cannot provide the command I used to install the binary package, because I am *unable* to install any binary package of any kind, which is what the title of the bug report says.

2) 
dnf repoquery emacs
created by dnf config-manager from http://mirro 2.4 MB/s | 2.2 MB     00:00    
Fedora 25 - armhfp - Updates                    3.5 MB/s |  15 MB     00:04    
Last metadata expiration check: 0:01:15 ago on Mon Jan 23 05:31:09 2017.
emacs-1:25.1-2.fc25.armv7hl
emacs-1:25.1-3.fc25.armv7hl

3)
yum-depreciated is not in the list of packages I can install, and it is not currently indatlled.

Comment 12 Igor Gnatenko 2017-01-23 14:21:16 UTC
$ rpm -q libsolv hawkey dnf
please

Comment 13 Martin Hatina 2017-01-23 16:00:35 UTC
1. I am aware of that, could you provide command you used in step 2 of your 'Steps to Reproduce:'?

Comment 14 jeff 2017-01-24 00:36:59 UTC
pm -q libsolv hawkey dnf
libsolv-0.6.23-4.fc25.armv7hl
hawkey-0.6.3-6.fc25.armv7hl
dnf-1.1.10-4.fc25.noarch

Step 2:
click on system->administration->yum extender (DNF)
click on available
wait about 10 minutes
click on magnifying glass icon for search
type emacs<cr>
no emacs arm binaries show up.
Additionally, when looking at available packages, no arm binaries show up.
Additionally, when looking at update packages, no arm binaries show up.

Comment 15 Igor Gnatenko 2017-01-24 06:07:46 UTC
what does `sudo dnf install emacs` says?

Comment 16 jeff 2017-01-24 13:28:40 UTC
dnf install emacs
Fedora 25 - armhfp - Updates                    4.6 MB/s |  15 MB     00:03    
Last metadata expiration check: 0:01:33 ago on Tue Jan 24 05:18:32 2017.
Dependencies resolved.
================================================================================
 Package             Arch           Version                Repository      Size
================================================================================
Installing:
 emacs               armv7hl        1:25.1-3.fc25          updates        2.8 M
 emacs-common        armv7hl        1:25.1-3.fc25          updates         37 M
 giflib              armv7hl        4.1.6-15.fc24          fedora          42 k
 libXaw              armv7hl        1.0.13-4.fc25          fedora         168 k
 libotf              armv7hl        0.9.13-7.fc24          fedora          96 k

Transaction Summary
================================================================================
Install  5 Packages

Total download size: 41 M
Installed size: 98 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): libotf-0.9.13-7.fc24.armv7hl.rpm         126 kB/s |  96 kB     00:00    
(2/5): libXaw-1.0.13-4.fc25.armv7hl.rpm         219 kB/s | 168 kB     00:00    
(3/5): giflib-4.1.6-15.fc24.armv7hl.rpm         174 kB/s |  42 kB     00:00    
(4/5): emacs-25.1-3.fc25.armv7hl.rpm            660 kB/s | 2.8 MB     00:04    
(5/5): emacs-common-25.1-3.fc25.armv7hl.rpm     1.3 MB/s |  37 MB     00:28    
--------------------------------------------------------------------------------
Total                                           1.3 MB/s |  41 MB     00:30     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : giflib-4.1.6-15.fc24.armv7hl                                1/5 
  Installing  : libXaw-1.0.13-4.fc25.armv7hl                                2/5 
  Installing  : libotf-0.9.13-7.fc24.armv7hl                                3/5 
  Installing  : emacs-common-1:25.1-3.fc25.armv7hl                          4/5 
  Installing  : emacs-1:25.1-3.fc25.armv7hl                                          5/5 
  Verifying   : emacs-1:25.1-3.fc25.armv7hl                                          1/5 
  Verifying   : emacs-common-1:25.1-3.fc25.armv7hl                                   2/5 
  Verifying   : libotf-0.9.13-7.fc24.armv7hl                                         3/5 
  Verifying   : libXaw-1.0.13-4.fc25.armv7hl                                         4/5 
  Verifying   : giflib-4.1.6-15.fc24.armv7hl                                         5/5 

Installed:
  emacs.armv7hl 1:25.1-3.fc25              emacs-common.armv7hl 1:25.1-3.fc25            
  giflib.armv7hl 4.1.6-15.fc24             libXaw.armv7hl 1.0.13-4.fc25                  
  libotf.armv7hl 0.9.13-7.fc24            

Complete!


Perhaps the yum extender (DNF) is broken?
I am used to using the GUI to update my system, and it should work, but it doesn't show any binary packages.

Comment 17 Fedora Admin XMLRPC Client 2017-03-22 10:09:32 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 18 Fedora Admin XMLRPC Client 2017-03-23 18:02:21 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 19 Fedora End Of Life 2017-11-16 19:47:19 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 20 Fedora End Of Life 2017-12-12 10:19:42 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.