Opened 13 months ago

Last modified 9 months ago

#18633 new bug

Refreshing repository failed: Operation not supported

Reported by: mbrumbelow Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Package Kit Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

  1. Launch SoftwareUpdater.
  2. Dialog-boxes popup stating that the repo cannot be refreshed.
  3. Close dialog-boxes.
  4. Looks like my system will be down graded for Haiku specific packages.
  5. "Failed to download package haiku" when I click the button to update.

I do a "pkgman full-sync" and get similar issue.

Attachments (3)

screenshot2.png (1.0 MB ) - added by mbrumbelow 13 months ago.
screenshot3.png (11.0 KB ) - added by mbrumbelow 13 months ago.
screenshot1.png (98.4 KB ) - added by mbrumbelow 13 months ago.

Download all attachments as: .zip

Change History (11)

by mbrumbelow, 13 months ago

Attachment: screenshot2.png added

by mbrumbelow, 13 months ago

Attachment: screenshot3.png added

by mbrumbelow, 13 months ago

Attachment: screenshot1.png added

comment:1 by humdinger, 13 months ago

Not sure how it relates, but I'm on hrev57332, 64bit and doing a "pkgman update" has "Nothing to do". The OP appears to be on hrev57334, which seems not to be available yet...

comment:2 by diver, 13 months ago

Component: Applications/SoftwareUpdaterKits/Package Kit
Owner: changed from perelandra to nobody
Platform: x86-64All
Priority: highnormal
Summary: SoftwareUpdater Cannot Update SoftwareRefreshing repository failed: Operation not supported

comment:3 by mbrumbelow, 13 months ago

@humdinger, I did a build and install of the latest code base in the hopes that it would fix the issue. It did not and both SoftwareUpdater and pkgman wants to downgrade the version to be installed. And… the won’t install as the attached images describe.

comment:4 by mbrumbelow, 13 months ago

It might be a local cache issue?

comment:5 by diver, 13 months ago

Did you build it with openssl support enabled?

in reply to:  3 comment:6 by madmax, 13 months ago

Replying to mbrumbelow:

[...] both SoftwareUpdater and pkgman wants to downgrade the version to be installed.

That's because of the previous error. You don't get the updated repo data, so the cached one is used and that one has those entries.

Did you build it with openssl support enabled?

If you can't get that, select a previous revision from the boot options.

comment:7 by pulkomandy, 13 months ago

Did you build it with openssl support enabled?

If you built Haiku yourself, then it really looks like this. If you are not using the nightly or release build profiles, you need to add this to your UserBuildConfig for example:

AddHaikuImageSystemPackages openssl ;

Otherwise, OpenSSL is not included and you won't be able to do any https with the network kit HTTP APIs. I'm not sure why we still keep OpenSSL optional, we should probably enable it by default now.

comment:8 by dovsienko, 9 months ago

Just experienced this problem. It would be useful to convert ENOTSUP from this specific operation to a more user-friendly message that would mention the root cause.

Note: See TracTickets for help on using tickets.