Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2025 18:36:57 +0100
From:      Graham Perrin <grahamperrin@gmail.com>
To:        freebsd-current@freebsd.org, freebsd-pkg@freebsd.org
Subject:   Re: y to proceed, then nothing
Message-ID:  <d1a554a2-67f4-4eee-8c7d-032915f21477@gmail.com>
In-Reply-To: <45A6E16E-28CF-46A0-9032-1E61B1A6F447@yahoo.com>
References:  <1104f44b-b8c7-4a65-94f5-1640fd43dec6@gmail.com> <45A6E16E-28CF-46A0-9032-1E61B1A6F447@yahoo.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 05/10/2025 16:50, Mark Millard wrote:
> …
>
> I see a mix of:
>
> QUOTE
>       -U, --no-repo-update
>                   Suppress the automatic update of the local copy of the
>                   repository catalogue from remote.  Automatic repository
>                   catalogue updates are only attempted when the effective UID
>                   of the process has write access to the package database.
>                   Otherwise they are silently ignored.
> END QUOTE
>
> and:
>
> QUOTE
> 32 MiB to be downloaded.
> END QUOTE
>
> So the repository catalog would not have been updated
> for the download if the download had happened?


I had previously combined -F and -y, repeatedly, to fetch all packages.

It's true that proceeding to upgrade (with -U) sometimes results in an 
unexpected fetch of more packages, with consequent changes to things 
such as the number of packages to be removed. These moving goalposts 
have taught me to be extremely wary of -y for upgrades.

In this case, it's _possible_ that I inadvertently allowed a repo update 
some time between the -Fy and the installation. (I spent more than a day 
attempting to upgrade a single system. Tiredness may have led to 
carelessness.)


> It leads me to wonder if it ended up in a status of
> "can not do as requested overall" but just did not
> explicitly report anything about that status.


The nothingness is extraordinary.

I could make a debug run (I do have a VirtualBox snapshot of the 
affected guest), but it's not a priority.

Thanks

[-- Attachment #2 --]
<!DOCTYPE html>
<html data-lt-installed="true">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body style="padding-bottom: 1px;">
    <div class="moz-cite-prefix">On 05/10/2025 16:50, Mark Millard
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:45A6E16E-28CF-46A0-9032-1E61B1A6F447@yahoo.com">
      <pre wrap="" class="moz-quote-pre">…

I see a mix of:

QUOTE
     -U, --no-repo-update
                 Suppress the automatic update of the local copy of the
                 repository catalogue from remote.  Automatic repository
                 catalogue updates are only attempted when the effective UID
                 of the process has write access to the package database.
                 Otherwise they are silently ignored.
END QUOTE

and:

QUOTE
32 MiB to be downloaded.
END QUOTE

So the repository catalog would not have been updated
for the download if the download had happened?</pre>
    </blockquote>
    <p><br>
    </p>
    <p>I had previously combined -F and -y, repeatedly, to fetch all
      packages. </p>
    <p>It's true that proceeding to upgrade (with -U) sometimes results
      in an unexpected fetch of more packages, with consequent changes
      to things such as the number of packages to be removed. These
      moving goalposts have taught me to be extremely wary of -y for
      upgrades. </p>
    <p>In this case, it's _possible_ that I inadvertently allowed a repo
      update some time between the -Fy and the installation. (I spent
      more than a day attempting to upgrade a single system. Tiredness
      may have led to carelessness.)</p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:45A6E16E-28CF-46A0-9032-1E61B1A6F447@yahoo.com">
      <pre wrap="" class="moz-quote-pre">It leads me to wonder if it ended up in a status of
"can not do as requested overall" but just did not
explicitly report anything about that status.</pre>
    </blockquote>
    <p><br>
    </p>
    <p>The nothingness is extraordinary. </p>
    <p>I could make a debug run (I do have a VirtualBox snapshot of the
      affected guest), but it's not a priority. </p>
    <p>Thanks</p>
  </body>
  <lt-container></lt-container>
</html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d1a554a2-67f4-4eee-8c7d-032915f21477>