Opened 9 years ago
Last modified 8 years ago
#12503 new bug
HaikuDepot won't allow one to install a package existing in more than one repo.
Reported by: | bbjimmy | Owned by: | stippi |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/HaikuDepot | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #12878, #13507, #13517 | |
Platform: | All |
Description
hrev 49884
yab 1.7.5 is hosted on the HaikuPorts depot, but 1.7.5.1, a newer version, is on the FatElk depot. even if one choses only the FatElk depot in HaikuDepot, HaikuDepot will download the older version from the HaikuPorts depot.
Change History (10)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
I think you min-understand the error. I can install yab 1.7.5.1 from a local .hpkg file, and I can download that from the FatElk repo in a web browser or usint wget. but HaikuDepot will not install from the FatElk repo.
Then same issue occurs with yab_ide-2.2.5-2, yab_ide-2.2.5-1 is on haikuports and haikudepot will not install yab_ide-2.2.5-2 from FatElk. this is a haikudepot issue.
By the way, libyab.so is up to now backward compatible. The current , 1.7.5.1, libyab.so will work with all earlier programs that rely on libyab.so.
for what it's worth:
/DATA/haikuports/packages> package list /DATA/haikuports/packages/yab-1.7.5.1-1-x86_gcc2.hpkg package-attributes:
name: yab summary: Extended version of the yabasic programming language description: yab is an extended version of yabasic, a BASIC programming language, with special commands designed for Haiku. vendor: Fat Elk Software packager: Jim Saxton <black,belt.jimmy@…,> architecture: x86_gcc2 version: 1.7.5.1-1 copyright: 1995-2006 Marc-Oliver Ihm (yabasic) copyright: 2006-2009 Jan Bungeroth (yab improvements) copyright: 2013-2015 Jim Saxton (yab improvements) license: Artistic URL: http://yab.orgfree.com source URL: Download <https://github.com/bbjimmy/YAB/archive/1.7.5.1.tar.gz> source URL: Location 2 <https://ports-mirror.haiku-os.org/yab/1.7.5.1.tar.gz> provides: yab = 1.7.5.1 provides: cmd:yab = 1.7.5.1 provides: lib:libyab = 1.7.5.1 provides: devel:libyab = 1.7.5.1 requires: haiku>=hrev1~alpha4_pm_hrev49739-1
apps 0 2015-11-19 09:38:58 drwxr-xr-x
yab-IDE 0 2015-11-19 09:38:59 drwxr-xr-x
Documentation 0 2015-11-19 09:38:59 drwxr-xr-x
ARTISTIC 6242 2015-11-19 09:38:59 -rw-r--r-- Advanced 0 2015-11-19 09:38:59 drwxr-xr-x
HowToMakeABuildFactory.txt 2211 2015-11-19 09:38:59 -rw-r--r--
ChangeLog 2388 2015-11-19 09:38:59 -rw-r--r-- Credits 752 2015-11-19 09:38:59 -rw-r--r-- License 933 2015-11-19 09:38:59 -rw-r--r-- TODO 331 2015-11-19 09:38:59 -rw-r--r-- yab-Commands 39085 2015-11-19 09:38:59 -rw-r--r-- yabasic.html 378015 2015-11-19 09:38:59 -rw-r--r--
src 0 2015-11-19 09:38:58 drwxr-xr-x
CalendarControl.cpp 5596 2015-11-19 09:38:58 -rw-r--r-- CalendarControl.h 2552 2015-11-19 09:38:58 -rw-r--r-- ControlLook.cpp 61519 2015-11-19 09:38:58 -rw-r--r-- DateTextView.cpp 12416 2015-11-19 09:38:58 -rw-r--r-- Makefile 5204 2015-11-19 09:38:58 -rw-r--r-- MonthView.cpp 25126 2015-11-19 09:38:58 -rw-r--r-- MonthWindow.cpp 2475 2015-11-19 09:38:58 -rw-r--r-- MouseSenseStringView.cpp 2469 2015-11-19 09:38:58 -rw-r--r-- RdefApply 906 2015-11-19 09:38:58 -rwxr-xr-x Spinner.cpp 12589 2015-11-19 09:38:58 -rw-r--r-- Spinner.h 1538 2015-11-19 09:38:58 -rw-r--r-- SplitPane.cpp 22963 2015-11-19 09:38:58 -rw-r--r-- SplitPane.h 2529 2015-11-19 09:38:58 -rw-r--r-- URLView.cpp 32844 2015-11-19 09:38:58 -rw-r--r-- URLView.h 4385 2015-11-19 09:38:58 -rw-r--r-- YAB.rdef 1610 2015-11-19 09:38:58 -rw-r--r-- YAB.rdef.rsrc 3037 2015-11-19 09:38:58 -rw-r--r-- YabBitmapView.cpp 3159 2015-11-19 09:38:58 -rw-r--r-- YabBitmapView.h 807 2015-11-19 09:38:58 -rw-r--r-- YabControlLook.cpp 7712 2015-11-19 09:38:58 -rw-r--r-- YabControlLook.h 1248 2015-11-19 09:38:58 -rw-r--r-- YabFilePanel.cpp 1918 2015-11-19 09:38:58 -rw-r--r-- YabFilePanel.h 189 2015-11-19 09:38:58 -rw-r--r-- YabFilePanelLooper.cpp 1019 2015-11-19 09:38:58 -rw-r--r-- YabFilePanelLooper.h 327 2015-11-19 09:38:58 -rw-r--r-- YabInterface.cpp 272679 2015-11-19 09:38:58 -rw-r--r-- YabInterface.h 36487 2015-11-19 09:38:58 -rw-r--r-- YabList.cpp 1476 2015-11-19 09:38:58 -rw-r--r-- YabList.h 479 2015-11-19 09:38:58 -rw-r--r-- YabMain.cpp 1187 2015-11-19 09:38:58 -rw-r--r-- YabMenu.h 166 2015-11-19 09:38:58 -rw-r--r-- YabStackView.cpp 982 2015-11-19 09:38:58 -rw-r--r-- YabStackView.h 559 2015-11-19 09:38:58 -rw-r--r-- YabTabView.cpp 13846 2015-11-19 09:38:58 -rw-r--r-- YabTabView.h 3937 2015-11-19 09:38:58 -rw-r--r-- YabText.cpp 19971 2015-11-19 09:38:58 -rw-r--r-- YabText.h 2725 2015-11-19 09:38:58 -rw-r--r-- YabToolTip.cpp 2193 2015-11-19 09:38:58 -rw-r--r-- YabView.cpp 8462 2015-11-19 09:38:58 -rw-r--r-- YabView.h 966 2015-11-19 09:38:58 -rw-r--r-- YabWindow.cpp 9528 2015-11-19 09:38:58 -rw-r--r-- YabWindow.h 853 2015-11-19 09:38:58 -rw-r--r-- bison.h 6587 2015-11-19 09:38:59 -rw-r--r-- column 0 2015-11-19 09:38:58 drwxr-xr-x
ColorTools.cpp 3927 2015-11-19 09:38:58 -rw-r--r-- ColorTools.h 3671 2015-11-19 09:38:58 -rw-r--r-- ColumnListView.cpp 118274 2015-11-19 09:38:58 -rw-r--r-- ColumnListView.h 12824 2015-11-19 09:38:58 -rw-r--r-- ColumnTypes.cpp 16599 2015-11-19 09:38:58 -rw-r--r-- ColumnTypes.h 7930 2015-11-19 09:38:58 -rw-r--r-- ObjectList.h 21116 2015-11-19 09:38:58 -rw-r--r-- YabColumnType.cpp 11226 2015-11-19 09:38:58 -rw-r--r-- YabColumnType.h 3544 2015-11-19 09:38:58 -rw-r--r--
config.h 5874 2015-11-19 09:38:58 -rw-r--r-- function.c 49191 2015-11-19 09:38:58 -rw-r--r-- global.h 68 2015-11-19 09:38:58 -rw-r--r-- graphic.c 63599 2015-11-19 09:38:58 -rw-r--r-- io.c 37893 2015-11-19 09:38:58 -rw-r--r-- main.c 61302 2015-11-19 09:38:58 -rw-r--r-- resattr.cpp 8092 2015-11-19 09:38:58 -rw-r--r-- resattrMakefile 946 2015-11-19 09:38:58 -rw-r--r-- symbol.c 43122 2015-11-19 09:38:58 -rw-r--r-- yabasic.bison 55230 2015-11-19 09:38:58 -rw-r--r-- yabasic.flex 14011 2015-11-19 09:38:58 -rw-r--r-- yabasic.h 42952 2015-11-19 09:38:58 -rw-r--r--
bin 0 2015-11-19 09:38:58 drwxr-xr-x
yab 228884 2015-11-19 09:38:58 -rwxr-xr-x
data 0 2015-11-19 09:39:00 drwxr-xr-x
mime_db 0 2015-11-19 09:39:01 drwxr-xr-x
application 0 2015-11-19 09:39:01 drwxr-xr-x
x-vnd.yab-app 0 2015-11-19 09:39:01 -rw-r--r--
develop 0 2015-11-19 09:38:59 drwxr-xr-x
lib 0 2015-11-19 09:38:59 drwxr-xr-x
libyab.so 0 2015-11-19 09:38:59 lrwxrwxrwx -> ../../lib/libyab.so
documentation 0 2015-11-19 09:38:59 drwxr-xr-x
yab-1.7.5 0 2015-11-19 09:38:59 lrwxrwxrwx -> /packages/yab-1.7.5.1-1/.self/apps/yab-IDE/Documentation
lib 0 2015-11-19 09:38:58 drwxr-xr-x
libyab.so 958665 2015-11-19 09:38:58 -rwxr-xr-x
.PackageInfo 823 2015-11-19 09:38:59 -rw-r--r--
comment:3 by , 9 years ago
Summary: | HaikuDepot won't allow one to install yab 1.7.5.1 → HaikuDepot won't allow one to install a package existing in more than one repo. |
---|
comment:4 by , 9 years ago
As of right now, This is preventing anybody from installing a working yab on a recent nightly. The version in the HaikuPorts repo is broken, it uses a private api that was moved to public. The version in the FatElk repo, yab 1.7.5.2 works, but can only be downloaded via a web browser and then installed by double-clicking the .hpkg file.
If one selects yab 1.7.5.2 from the FatElk repo, HaikuDepot downloads yab 1.7.5 from the HaikuPorts repo, stating that it is downloading 1.7.5.2.
comment:5 by , 9 years ago
If one does a pkgman drop-repo HaikuPorts, one can install a working yab development environment. one must then do pkgman add-repo http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current to allow the normal function for non duplicated packages.
comment:6 by , 9 years ago
IIRC there is a "priority" mechanism that should allow for arbitration between repos..
~/Desktop> pkgman list | grep priority priority: 1 priority: 1
/me wonders if it would help in this case, or is it relevant at all?
comment:7 by , 9 years ago
For an experiment, I set the priority to 1 for the FatElk repo, and this allowed the package to download and install.
name "FatElk" vendor "Fat Elk Software" summary "Fat Elk x86_gcc2 package repository" priority 1 url <http://fatelk.com/repo> architecture x86_gcc2
comment:8 by , 8 years ago
Blocking: | 13517 added |
---|
comment:9 by , 8 years ago
Blocking: | 13507 added |
---|
comment:10 by , 8 years ago
Blocking: | 12878 added |
---|
Do you have yab_ide installed? Because it depends on devel:libyab, which has no compat string. Otherwise can you provide the recipe or 'package list' dump from the 1.7.5.1 hpkg?