Opened 11 years ago
Closed 11 years ago
#10164 closed bug (fixed)
Old PKG files can't be installed anymore
Reported by: | waddlesplash | Owned by: | sil2100 |
---|---|---|---|
Priority: | blocker | Milestone: | R1/beta1 |
Component: | Applications/PackageInstaller | Version: | R1/Development |
Keywords: | Cc: | gordonjcp@…, alansearchwell@… | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
I'm on hrev46250. When you try to install an old .PKG file (any PKG file), no matter where you specify to install it, you get an error.
Example PKG file: http://darkwyrm.beemulated.net/downloads/Paladin.1.3.pkg
Attachments (2)
Change History (20)
comment:1 by , 11 years ago
Priority: | high → normal |
---|
comment:2 by , 11 years ago
comment:3 by , 11 years ago
Component: | - General → Applications/PackageInstaller |
---|---|
Owner: | changed from | to
comment:4 by , 11 years ago
Error is: "The requested package failed to install on your system. This might be a problem with the target package file. Please consult this issue with the package distributor."
Some packages will install some files, but then fail halfway through installation. Perhaps this has something to do with the removal of /boot/common?
comment:5 by , 11 years ago
This is more likely from removing /boot/apps and or the missing ~/config/be.
comment:6 by , 11 years ago
It's just that the PackageInstaller hasn't been updated to the PM yet -- ie. it will try to install applications to locations that it must not/cannot do anymore. It needs to replace the find directory paths with non packaged ones.
I would prefer to make this ticket a release blocker.
comment:7 by , 11 years ago
Is is possible just to convert SoftwareValet Package to Haiku Package? In such case "non-packaged" folders will be not required.
comment:8 by , 11 years ago
Hello everyone! Thanks for filling in this bug. It's been a while since I last checked out the Haiku source - I will have to familiarize myself with the Haiku PM and see how I could help out to make it work again. Just I guess it might take a bit longer than usually, since there's probably some stuff that I need to get up-to-date knowledge-wise, while I can only spare some limited after-work time.
comment:9 by , 11 years ago
It may be kind of cool to have PackageInstaller try and convert the old package installers to hpkg's. They wouldn't need any dependency tracking or anything, just wrapped up so packagefs could mount them.
comment:10 by , 11 years ago
Priority: | normal → blocker |
---|
Making a release blocker as per axeld's request.
comment:11 by , 11 years ago
Milestone: | R1 → R1/beta1 |
---|---|
Priority: | blocker → normal |
comment:12 by , 11 years ago
Priority: | normal → blocker |
---|
comment:13 by , 11 years ago
Cc: | added |
---|
by , 11 years ago
Attachment: | PackageInstaller.patch added |
---|
comment:14 by , 11 years ago
patch: | 0 → 1 |
---|
comment:16 by , 11 years ago
Okay, fixed the issue (it now replaces /boot/system with B_SYSTEM_NONPACKAGED_DIRECTORY, and /boot/home/config with B_USER_NONPACKAGED_DIRECTORY)
comment:17 by , 11 years ago
Cc: | added |
---|
Details as to what error you're actually seeing would be helpful. "you get an error." doesn't really yield any useful information for starting to determine where things might be going wrong.