[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    [haiku-bugs] Re: [Haiku] #18600: Failed full-sync/update leaves behind duplicated "transaction-n" fo
From:       "Haiku" <trac () haiku-os ! org>
Date:       2023-09-26 18:29:09
Message-ID: 058.30afdc393f9bbce0cb4542a164924256 () haiku-os ! org
[Download RAW message or body]

--===============4725025150329524131==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

#18600: Failed full-sync/update leaves behind duplicated "transaction-n"
folders/content
-------------------------------------+-------------------------
  Reporter:  bipolar                 |      Owner:  bonefish
      Type:  bug                     |     Status:  new
  Priority:  normal                  |  Milestone:  Unscheduled
 Component:  Servers/package_daemon  |    Version:  R1/beta4
Resolution:                          |   Keywords:
Blocked By:                          |   Blocking:
  Platform:  All                     |
-------------------------------------+-------------------------
Description changed by bipolar:

Old description:

> Situation:
>
> Ran `pkgman full`. Had to Ctrl-C due to stalled downloads.
> `administrative/transaction-3` ended up with 66 packages (150 MB).
>
> Ran `pkgman full` again, it downloaded all needed packages under
> `administrative/transaction-4` dir,
> but failed to apply changes due to, this time, #15068.
>
> Ran `pkgman full` again. Got the same failure, but now I have
> `administrative/transaction-5` with the same 163 packages (around 316 MB
> total) that are present under `transaction-1`
>
> As in... all the content was duplicated on the new folder.
>
> Can repeat the last two steps ad-nauseum or until I get disk full,
> whichever comes first :-D
>
> Of note, got an `activated-packages.tmp` with the same datetime as
> transaction-5 there too.
>
> `transaction-1` and `transaction-2` where empty dirs (I've just removed
> them after the fact).
>
> ---
>
> I've seen similar in the past, but couldn't reproduce it before nuking
> the administrative folder, and rebooting, in order to be able to use
> pkgman normally again.
>
> This time, I've kept copies of:
>
> - syslog
> - activated_packages / activated_packages.tmp
> - output of `ls -l1` for `/system/packages/` and the `transaction-n`
> folders.
>
> Before nuking things back to order. Hope that's enough. Let me know if I
> should attach the 100 KB .zip of all of them, or just specific files.

New description:

 Situation:

 Ran `pkgman full`. Had to Ctrl-C due to stalled downloads.
 `administrative/transaction-3` ended up with 66 packages (150 MB).

 Ran `pkgman full` again, it downloaded all needed packages under
 `administrative/transaction-4` dir,
 but failed to apply changes due to, this time, #15068.

 Ran `pkgman full` again. Got the same failure, but now I have
 `administrative/transaction-5` with the same 163 packages (around 316 MB
 total) that are present under `transaction-4`

 As in... all the content was duplicated on the new folder.

 Can repeat the last two steps ad-nauseum or until I get disk full,
 whichever comes first :-D

 Of note, got an `activated-packages.tmp` with the same datetime as
 transaction-5 there too.

 `transaction-1` and `transaction-2` where empty dirs (I've just removed
 them after the fact).

 ---

 I've seen similar in the past, but couldn't reproduce it before nuking the
 administrative folder, and rebooting, in order to be able to use pkgman
 normally again.

 This time, I've kept copies of:

 - syslog
 - activated_packages / activated_packages.tmp
 - output of `ls -l1` for `/system/packages/` and the `transaction-n`
 folders.

 Before nuking things back to order. Hope that's enough. Let me know if I
 should attach the 100 KB .zip of all of them, or just specific files.

--
-- =

Ticket URL: <https://dev.haiku-os.org/ticket/18600#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.
--===============4725025150329524131==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic