[haiku-bugs] Re: [Haiku] #10914: Repeatedly adding a package causes activation/deactivation

  • From: "luroh" <trac@xxxxxxxxxxxx>
  • Date: Sat, 07 Jun 2014 10:01:16 -0000

#10914: Repeatedly adding a package causes activation/deactivation
--------------------------------+----------------------------
   Reporter:  luroh             |      Owner:  bonefish
       Type:  bug               |     Status:  new
   Priority:  normal            |  Milestone:  R1
  Component:  Kits/Package Kit  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------

Old description:

> hrev47327, gcc2.
>
> 1. Run the 'install-wifi-firmwares' script, it will put a
> wifi_firmwares-1-any.hpkg into system/packages/
> 2. Open a Tracker window to monitor the contents of the
> system/data/firmware folder
> 3. Repeatedly create and move a copy of wifi_firmwares-1-any.hpkg into
> system/packages/
> 4. Observe in the Tracker window how the package gets mounted and
> unmounted
>
> Running the 'install-wifi-firmwares' script several times will display
> the same symptom, of course.
> Also, my test case in #7000 might possibly be related.

New description:

 hrev47327, gcc2.

 1. Run the 'install-wifi-firmwares' script, it will put a
 wifi_firmwares-1-any.hpkg into system/packages/
 2. Open a Tracker window to monitor the contents of the
 system/data/firmware folder
 3. Repeatedly create and move a copy of wifi_firmwares-1-any.hpkg into
 system/packages/
 4. Observe in the Tracker window how the package gets mounted and
 unmounted every other time the package is added

 Running the 'install-wifi-firmwares' script several times will display the
 same symptom, of course.
 Also, my test case in #7000 might possibly be related.

--

Comment (by luroh):

 Replying to [comment:2 bonefish]:
 > I would expect that the old package gets deactivated and the new one
 activated.

 Exactly, but this doesn't happen. Only every other package you replace
 causes activation or deactivation of the package in question.
 Item 4. in the description amended.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10914#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: