Ticket #3297 (closed bug: fixed)

Opened 6 months ago

Last modified 3 months ago

PackageInstaller fails to open/install some packages

Reported by: rossi Owned by: sil2100
Priority: normal Milestone: R1
Component: Applications/PackageInstaller Version: R1 development
Cc: adek336@… Blocked By:
Platform: All Blocking:

Description

PackageInstaller fails to open/install the QEMU package from beBits (http://www.bebits.com/app/4208).

Error: "I was unable to read the given package file."

Happens on r28892.

Screenshot of error message attached.

Attachments

screenshot1 (11.4 KB) - added by rossi 6 months ago.
PackageInstaller_QEMU.log (16.4 KB) - added by aldeck 6 months ago.

Change History

Changed 6 months ago by rossi

  Changed 6 months ago by Adek336

  • cc adek336@… added

  Changed 6 months ago by anevilyak

  • owner changed from axeld to sil2100
  • component changed from Applications to Applications/PackageInstaller

  Changed 6 months ago by aldeck

I can confirm, it happened to me a month ago, forgot to report.

  Changed 6 months ago by mmlr

For the meantime the zipped version can be used: http://haiku.mlotz.ch/qemu-0.9.1.zip

  Changed 6 months ago by Adek336

Thank you, the .zip file works fine!

  Changed 6 months ago by aldeck

Attached the output produced with #define DEBUG_PARSER.

The PackageInfo::Parse method fails and returns on line 1061 in PackageInfo.cpp

didn't look further, HTH

Changed 6 months ago by aldeck

  Changed 6 months ago by sil2100

Thanks for the debugging info! I will look into this problem in more detail as soon as possible - it might take some time, though, since I have a rough week right now.

  Changed 5 months ago by aldeck

  • summary changed from PackageInstaller fails to open/install the QEMU package from beBits to PackageInstaller fails to open/install some packages

Same problem with http://revolf.free.fr/beos/apps/XEmacs-21.4.9-x86-bin.pkg reported by Blub\0 on #haiku

  Changed 5 months ago by korli

XEmacs-21.4.9-x86-bin.pkg installs correctly here: though there is a warning with an invalid size.

  Changed 3 months ago by sil2100

  • status changed from new to closed
  • resolution set to fixed

This bug has been fixed by Jérôme around r29216. Thanks korli!

  Changed 3 months ago by axeld

  • status changed from closed to reopened
  • resolution fixed deleted

No, this actually hasn't been fixed, it's still reproducible with the Qemu package in r29876.

  Changed 3 months ago by sil2100

This is strange, since I cannot reproduce it here. I tried both qemu packages (BONE and net_server) and they both open and install without problems (r29880). Does it happen during every package installation try? Does it fail to open or install the package? What qemu package is the one having problems?

Thanks in advice.

  Changed 3 months ago by mmadia

is BEOS:APP_SIG listed as an index on the partitions? would that affect this?

  Changed 3 months ago by anevilyak

Completely unrelated to APP_SIG, this has to do with parsing the pkg itself.

follow-up: ↓ 16   Changed 3 months ago by axeld

The problem appears with Qemu 0.9.1 on BeBits. It starts to install (even copies a few files), and then tells me the installation was aborted.

in reply to: ↑ 15   Changed 3 months ago by korli

Replying to axeld:

The problem appears with Qemu 0.9.1 on BeBits. It starts to install (even copies a few files), and then tells me the installation was aborted.

Did you check there is enough space left ? Package install was failing because of this last time I tried.

  Changed 3 months ago by axeld

  • status changed from reopened to closed
  • resolution set to fixed

Okay, this actually seems to be a different bug. I had a failed install of Qemu on this partition, and PackageInstaller could not handle this. I'll open a new ticket for it.

Note: See TracTickets for help on using tickets.