From nobody Thu Sep 21 07:28:23 2023 X-Original-To: questions@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 4Rrn7l4fp5z4thTN for ; Thu, 21 Sep 2023 07:28:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rrn7l0hnKz3g7c for ; Thu, 21 Sep 2023 07:28:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Authentication-Results: mx1.freebsd.org; none Received: from terra.edvax.de ([178.12.47.199]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MVv4X-1rALu13iib-00RsPV; Thu, 21 Sep 2023 09:28:33 +0200 Received: from r56.edvax.de (r56 [10.200.1.11]) (authenticated bits=0) by terra.edvax.de (8.17.1/8.17.1) with ESMTPA id 38L7SSKB089947; Thu, 21 Sep 2023 09:28:28 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 21 Sep 2023 09:28:23 +0200 From: Polytropon To: paul beard Cc: questions@freebsd.org Subject: Re: switch from i386 to AMD64 without a total rebuild? Message-Id: <20230921092823.aa0c2d67.freebsd@edvax.de> In-Reply-To: References: <20230920153841.fc6718d812770210f98daa41@sohara.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:ikbq9w/RSECSBT5jjqIi6YL0YXtdN2FzEI6dBP5y0I3QjZSjvlJ bCTHcLnkyYJk983B2G3YuJVaWSV/b4/INRdKUgHny/F1FImr3I9qGxckIrb0VhPJB14UGqT UNG8Y5fvq1cDO32V5rhWddcfm1ean3M2+nLqei00vtAytISDQKMdKuBIw/N29E57WL3MZb0 XPzGoQyIuTkAs/w5rwb5w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:coSfn/SdPgE=;BTPPeCnjRLVZ/YhS3myulNjNey1 Rl5GDTV0HvdrW7cGyHBfOWgYfIqo3q95YdEN/8VsZ5RzlbTYFcHmjILmfGSmrfU5scKR/t+UD YVz3Yli0Rf4fDqFKBuXjxV3Bu4ZUSRXt8JXfcvB/JJLovB+tCEFhqilwD4t/yrzvDn/nUzPhM mLfPzCXPNkll5XOAccZA2DTfTAWbhpB497CTEZ8nITSQ4XFl4rTG98FDKaTImpZBhfreKMxwl zxStZ+13QQZpm8PQIn6/XpWAUuPB0AtE1SQ6K12mraLJEE52HYhRT37c/4LlDcUqLCOTSY3O7 9o9CVE7TWN0yuNT6Z/ehcDfHTzGtxQg1rbUacnTS+c+3JUh2Kukz6rYiq1381Z1kGo8S8TR9c RP8d1nCdAvBHooeDHWkvMSK2hU8zePvN+rkg4NlRul7SP8VYAWB8hSSPJK13Pyfjp5+colZeT A8efvs4rrGfKwyR9MYfiG4x8nWcLv7b1s72790wJCQrrLRtQ3jRzZ5JyKiJpxDRszclh4Vb5e kJtDtb7vAjKhHnmak1F9UK6fdTQ5ivAjXC/CzHx6ejeeW4JqJNOMYtQUNmabchZ/6/0NsLrN+ xk8/3SNv5J9o2rsCd+AEnLIza610dzxe2nbyAQArS2d0EIdiWIrDgYp1mYfoZNajgkeU6G2P/ ZtJc6vin7AN3buJUI+1JDkpzFQwWGCTTMrDvinqRfox9U8GxtFCwJlK6H/AGCHnlBkYcpC42g ip0TdAoyjZJ5hFTsangnXzUjlsLv5Wv/6OHHeC1VYG6h0HA522w4ynppVeuZObLFiS/lYxt9Z OFM5oZHNGq3O5Rb3F4wkpBccnwVf0vXRliEzSEJ8PbwDiseaPBavvszIlYHOxgPwVqgYUgp63 Y+7ToU4J1DESVmQ== X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Queue-Id: 4Rrn7l0hnKz3g7c On Wed, 20 Sep 2023 07:53:23 -0700, paul beard wrote: > Thank you, that was how I read it. I will probably go with the superset of > pkgs I have installed and see about house-cleaning later. Another option is to have this list as a source for trimming: Only leave those things on the "to be installed" list that you _intend_ to install, i. e., not caring about dependencies, only listing the "top ports". For example, if Firefox is a thing you want to install, only list "firefox", and let pkg care about any dependencies you might need. You want CUPS? Only add the cups port plus the specific additional drivers you might need, _if_ you need any. This way, you won't end up installing stuff you _actually_ don't need. Many years ago, I wrote a little "installer helper" just for this purpose. Install stuff via pkg. Where it is not possible, e. g., you need compile-time options that aren't default, do "make missing | pkg install" for the specific port, so you will only compile _that_ port, none of its dependencies, then compile it, "pkg lock", and continue. Then continue with the next "top port". Goal: Only compile when it's needed. Yes, I know, I should use p=F3=FCdri=E9r=EA for that... but lazy people do lazy things... that surprisingly work... ;-) Oh, by the way: On Wed, 20 Sep 2023 07:25:15 -0700, paul beard wrote: > Starting from scratch made the most sense. Yes. And: > And to be fair, I am reluctant to > remove stuff if I don't know what it's doing/why it was installed.=20 You should check the list of installed software, read the names, and ask yourself: What is that? Why is it there? Who or what needs it? Those can be very hard questions! ;-) No, seriously: Don't do that. It's the road to despair. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...