From nobody Wed Jun 7 04:00:07 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QbYX726ykz4bQl4 for ; Wed, 7 Jun 2023 04:00:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QbYX705HYz4Lsm for ; Wed, 7 Jun 2023 04:00:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686110407; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MYC17qigvsRPVTB8f7QpBQLt9U24m8Yh5c4u5mLDZJA=; b=GyKjQcCMQlK9Go6Oic+oyYeJ3SHOPtaOS+gyyWQSf3dchzuEuAw7pjaDvzpvrqXKZ9jth7 XPkzwX1HGIJOu/Bah5Xm4iCp9h/gNgCOejR7L5UoajbOjbOF++LCmzqICQjxTn37Ww9aNN ePwb4BHFPxy5f4Nmi2OIrf3hjHrvyGZBn7wQz4RtnVD0G7PhRxSVWfTf775S1u5ZeYb0ZH tJ2TXGKMGx9TWHShCMzopLSvlNGiqMSV2XCJLEcbOi+fAz5W9cAMOrPNNqgNKvyD0KmAyo kb30hnM/QMPVbolsMXUhO07zuy+J38u0pee4P6ErddH4QZkKbx23nmMDvyRgog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686110407; a=rsa-sha256; cv=none; b=AwG662kaSTIZRpzTp/EUMPq6MvnO1Ezueckfn7yvRvjCFzoHT2+oyhg8CFCx4Blov72BDe s06vAoE04fcourQYbj2LioAqST+QIz24IknFPZkUqpL+TRUmj1986pT4u/W6Rddo6ZHkqX xWtIu+NPmDwDVYXCqI6opztPCtM9oNlv7ntl1Ivb6ce4Edbg1rI1WEnkur8s6VKHkyptRB yd7J4KakbhfoIXPsuy+6/IdXFIJXeL0ujrTDqKF1UCThxvxl5BQjQ5NS0VsaYaqOnuHdQc niN93il99XbzZyqOt0E/tAtnAAxIzqeSCIJjTQnLDEpnqmiacaJQntvcmVinrg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QbYX66H7wzxLM for ; Wed, 7 Jun 2023 04:00:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 357406M3097562 for ; Wed, 7 Jun 2023 04:00:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 357406GZ097561 for ports-bugs@FreeBSD.org; Wed, 7 Jun 2023 04:00:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271875] Suggestion for speeding up pkg Date: Wed, 07 Jun 2023 04:00:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: doctorwhoguy@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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.=