Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Why is ZYpp trying to install a 32-bit package on a 64-bit system?

  1. Default Why is ZYpp trying to install a 32-bit package on a 64-bit system?

    Hi,

    I've tried installing deluge on 64-bit Tumbleweed with:

    Code:
    zypper in -y deluge
    but alas I seem to be in bad luck today as I get the error:

    Code:
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    Problem: nothing provides libboost_system.so.1.65.1 needed by python2-libtorrent-rasterbar-1.1.5-1.2.i586
     Solution 1: do not install deluge-1.3.15-15.94.noarch
     Solution 2: break python2-libtorrent-rasterbar-1.1.5-1.2.i586 by ignoring some of its dependencies
    
    Choose from above solutions by number or cancel [1/2/c] (c): c
    the libboost_system error I can get, clearly someone hasn't rebuilt python2-libtorrent-rasterbar against the new release of boost, but what I do not get is why my system is trying to install a 32-bit package. Is it just getting desperate? If it helps here be my enabled repositories (zypper lr):

    Code:
    Repository priorities are without effect. All enabled repositories share the same priority.
    
    # | Alias                               | Name                                                 | Enabled | GPG Check | Refresh
    --+-------------------------------------+------------------------------------------------------+---------+-----------+--------
    1 | home_fusion809                      | Brenton Horne's OBS repository (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | No     
    2 | http-download.opensuse.org-2a9a50b5 | Virtualization                                       | Yes     | (r ) Yes  | Yes    
    3 | openSUSE-20171228-0                 | openSUSE-20171228-0                                  | Yes     | (r ) Yes  | Yes    
    4 | repo-debug                          | openSUSE-Tumbleweed-Debug                            | No      | ----      | ----   
    5 | repo-non-oss                        | openSUSE-Tumbleweed-Non-Oss                          | Yes     | (r ) Yes  | Yes    
    6 | repo-source                         | openSUSE-Tumbleweed-Source                           | Yes     | (r ) Yes  | Yes    
    7 | repo-update                         | openSUSE-Tumbleweed-Update                           | Yes     | (r ) Yes  | Yes
    I realize I could get the python2-libtorrent-rasterbar package myself (i.e. its sources), build it against the latest boost (64-bit this time) and install it and then install deluge. I just want to know how to fix this error once and for all (preventing this error and other errors relating to 32-bit packages being drawn in as dependencies from ever happening again).

    Thanks for your time,
    Brenton
    Brenton Horne: Linux enthusiast and writer of ​The Hornery.
    Seven favourite distros
    : Arch, Fedora, Gentoo, openSUSE Tumbleweed and Void.

  2. #2

    Default Re: Why is ZYpp trying to install a 32-bit package on a 64-bit system?

    The problem likely is that libtorrent-rasterbar fails to build in Factory:
    https://build.opensuse.org/package/s...rent-rasterbar

    So it hasn't been rebuilt with the latest (and only available) boost, and still requires a previous version that's not in the repos any more.
    The x86_64 package cannot be installed because of this missing dependency, and the solver falls back to trying to i586 version (which dependencies cannot be fulfilled either though).

    Solution: branch libtorrent-rasterbar, fix the build and submit it back...
    Or wait until somebody else does.

  3. #3

    Default Re: Why is ZYpp trying to install a 32-bit package on a 64-bit system?

    Quote Originally Posted by wolfi323 View Post
    Solution: branch libtorrent-rasterbar, fix the build and submit it back...
    Or wait until somebody else does.
    Maybe this upstream change would help?
    https://github.com/arvidn/libtorrent...bc7f9455f2272f

    I'll give it a try...

    (but I don't plan to spend much time on that package, TBH)

  4. Default Re: Why is ZYpp trying to install a 32-bit package on a 64-bit system?

    Gave it a go myself by taking the libtorrent-rasterbar-1.1.5.tar.gz file and patching it with https://github.com/arvidn/libtorrent...55f2272f.patch, leaving the rest of the spec untouched. Sadly this didn't work (for details see here https://build.opensuse.org/package/l...Factory/x86_64). The reason I didn't just use the contents of the repo at commit d1a63cd781e79e1e3792a258c0bc7f9455f2272f is because the spec file requires a configure file and the repo doesn't have one.
    Brenton Horne: Linux enthusiast and writer of ​The Hornery.
    Seven favourite distros
    : Arch, Fedora, Gentoo, openSUSE Tumbleweed and Void.

  5. #5

    Default Re: Why is ZYpp trying to install a 32-bit package on a 64-bit system?

    Quote Originally Posted by fusion809 View Post
    Gave it a go myself by taking the libtorrent-rasterbar-1.1.5.tar.gz file and patching it with https://github.com/arvidn/libtorrent...55f2272f.patch, leaving the rest of the spec untouched.
    Yes, the patch needs to be rebased as there have been other changes.

    It still fails to compile though, seems that https://github.com/arvidn/libtorrent...1428d143ce0ca1 is needed too.

  6. #6

    Default Re: Why is ZYpp trying to install a 32-bit package on a 64-bit system?

    Quote Originally Posted by fusion809 View Post
    The reason I didn't just use the contents of the repo at commit d1a63cd781e79e1e3792a258c0bc7f9455f2272f is because the spec file requires a configure file and the repo doesn't have one.
    It does have a configure.ac, so you should be able to generate configure with autoconf.
    Or it seems to be possible to build it with cmake.

    It's normally not usus to submit random git snapshots to Factory/Tumbleweed though...
    Last edited by wolfi323; 30-Dec-2017 at 08:00.

  7. #7

    Default Re: Why is ZYpp trying to install a 32-bit package on a 64-bit system?

    Ok, builds fine now:
    https://build.opensuse.org/package/s...rent-rasterbar

    If you want to test it, please go ahead...

  8. #8

    Default Re: Why is ZYpp trying to install a 32-bit package on a 64-bit system?

    PS, the fix is on the way to Factory/Tumbleweed meanwhile:
    https://build.opensuse.org/request/show/560762

    I just hope that it doesn't cause any (functional) problems...

  9. Default Re: Why is ZYpp trying to install a 32-bit package on a 64-bit system?

    Thanks I see your submitted a request to merge your fix to the original project. 'tis a shame as it seems like quite a few packages are experiencing problems related to do this as I just tried to install 0 A.D. and qBittorrent and both packages have the same problems. Alas these be the perks of using a rolling distro .
    Brenton Horne: Linux enthusiast and writer of ​The Hornery.
    Seven favourite distros
    : Arch, Fedora, Gentoo, openSUSE Tumbleweed and Void.

  10. #10

    Default Re: Why is ZYpp trying to install a 32-bit package on a 64-bit system?

    Quote Originally Posted by fusion809 View Post
    'tis a shame as it seems like quite a few packages are experiencing problems related to do this as I just tried to install 0 A.D. and qBittorrent and both packages have the same problems.
    qBittorrent is unresolvable currently because of the libbittorrent-raster failure.
    Should be fixed as well then (unless it fails for a different reason afterwards).

    The 0ad build failure seems to be completely unrelated though.

    Alas these be the perks of using a rolling distro .
    Yes, it is the point of a rolling distro to update stuff (like boost) to the latest versions all the time.
    But also fixed releases like Leap would be affected by such problems at some point as newer releases will also come with newer libraries (like boost).
    And packages that won't build (and are not getting fixed in time) will just be dropped.
    That's true for Tumbleweed as well, but of course they don't get dropped immediately, only if nobody fixes them for a certain amount of time (months).

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •