JuliaPackaging / WinRPM.jl

RPM-md processing library
Other
21 stars 44 forks source link

WinRPM.search("gtk3", "mingw32") doesn't find gtk3 #125

Open sebastianpech opened 7 years ago

sebastianpech commented 7 years ago

I can't install gtk3 as shown in the usage example. julia> WinRPM.search("gtk3") returns:

WinRPM Package Set:
  1. gettext-its-gtk3 (mingw64) - International Tag Set for GTK+ 4
  2. gtk3-data (mingw64) - The GTK+ toolkit library (version 3) -- Data Files
  3. gtk3-debug (mingw64) - Debug information for package mingw64-gtk3
  4. gtk3-devel (mingw64) - The GTK+ toolkit library (version 3) -- Development Files
  5. gtk3-lang (mingw64) - Languages for package mingw64-gtk3
  6. gtk3-tools (mingw64) - The GTK+ toolkit library (version 3) -- Tools
  7. libwebkitgtk3 (mingw64) - Library for rendering web content, GTK+ 3 Port
  8. libwebkitgtk3-devel (mingw64) - Library for rendering web content, GTK+ 3 Port (development files)
  9. webkitgtk3-debug (mingw64) - Debug information for package mingw64-webkitgtk3
  10. webkitgtk3-lang (mingw64) - Languages for package mingw64-webkitgtk3
  11. webkitgtk3-tools (mingw64) - Library for rendering web content, GTK+ 3 Port (tools)

julia> WinRPM.install("gtk3") returns:

ERROR: Package candidate for gtk3 not found
Stacktrace:
 [1] select(::WinRPM.Packages{Array{LibExpat.ETree,1}}, ::String) at C:\Users\spech.OFFICE\.julia\v0.6\WinRPM\src\WinRPM.jl:246
 [2] install(::String) at C:\Users\spech.OFFICE\.julia\v0.6\WinRPM\src\WinRPM.jl:359

I tested the commands on fresh julia 0.6 installs on Windows 10 and Windows 7. I browsed the repos from sources.list and they do contain a gtk3 rpm.

I don't know how repos work, but I observed that the filelists.xml.gz in repodata is missing, compared to gtk2, a package entry with arch="noarch" (For both win32 and win64).

nalimilan commented 7 years ago

I get the same result here on a 64-bit machine. Maybe the docs just need to be updated?