Date: Wed, 07 Jun 2023 04:00:07 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271875] Suggestion for speeding up pkg Message-ID: <bug-271875-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271875 Bug ID: 271875 Summary: Suggestion for speeding up pkg Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: doctorwhoguy@gmail.com I'm just a regular user of FreeBSD, but I'd like to make a suggestion. When installing a large set of packages, such as "pkg install kde5", it can take quite a while to download all that data. Why does pkg download ALL the pack= ages and only then begin to extract and install them? Would it not be a more efficient use of time to calculate dependencies first, then begin downloadi= ng the packages in the order in which they are required, and then begin extrac= ting and installing them as they are downloaded instead of waiting for the downl= oad to complete before beginning installation? I understand that part of the reason is verification and such, but the defa= ult could be extracting and installing to a temporary directory then merging to= the live system once everything is downloaded and extracted. Make the behavior configurable by the user. Set sane defaults. Check for sufficient disk space immediately after dependency calculation to make sure space is available for the downloads, the extracted contents, and any other necesseties. This will make for a more pleasant user experience. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271875-7788>