[bug #68037] pkg install -verbose should print output for more steps

Rik <[email protected]>
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

URL:
  <https://savannah.gnu.org/bugs/?68037>

                 Summary: pkg install -verbose should print output for more
steps
                   Group: GNU Octave
               Submitter: rik5
               Submitted: Tue 10 Feb 2026 06:27:05 AM PST
                Category: Octave Function
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: Confirmed
             Assigned to: None
         Originator Name:
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: dev
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 10 Feb 2026 06:27:05 AM PST By: Rik <rik5>
Motivating example:

pkg install -verbose image

This prints progress about fetching the tgz file, unpacking it, compiling the
C++ .oct files, and finally copying the built objects.

The installation then appears to halt for ~15 seconds.  It is working, but it
would be helpful if *pkg* would print something to the screen telling the user
what is happening.

The code is in *scripts/pkg/private/install.m* beginning at line 232.

  ## Install each package.
  try
    for i = 1:length (descriptions)
      desc = descriptions{i};
      pdir = packdirs{i};
      copy_files (desc, pdir, global_install);
->      create_pkgadddel (desc, pdir, "PKG_ADD", global_install);
->      create_pkgadddel (desc, pdir, "PKG_DEL", global_install);
      finish_installation (desc, pdir, global_install);
->      generate_lookfor_cache (desc);
    endfor


I marked the function calls that take enough time to cause the user to
question what is happening.

The variable *verbose* is available so I think one just needs to expand the
function signature for *create_pkgadddel* and *generate_lookfor_cache* to
accept new parameter *verbose* and then print something.









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68037>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaYtAPQAKCRCqLAuaBUf3
TkWEAQDaUd+Dvdb6CH6OkTvcWbh1WhlDw+p0UI/Eu8oKW3955gD/S2S0YxJHKjya
z814DzvucmCgAntfEwZD/27xe0oMiwo=
=7MvQ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.