From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 776731582EF for ; Mon, 10 Feb 2025 10:02:57 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6075F34314C for ; Mon, 10 Feb 2025 10:02:57 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 73C4B11047E; Mon, 10 Feb 2025 10:01:32 +0000 (UTC) Received: from buffalo.ash.relay.mailchannels.net (buffalo.ash.relay.mailchannels.net [23.83.222.24]) (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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id EA2391103CB for ; Mon, 10 Feb 2025 10:01:30 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0DE2B842B27 for ; Mon, 10 Feb 2025 10:01:29 +0000 (UTC) Received: from mailclean11.thundermail.uk (100-124-213-208.trex-nlb.outbound.svc.cluster.local [100.124.213.208]) (Authenticated sender: thundermail) by relay.mailchannels.net (Postfix) with ESMTPA id 291B78432D6 for ; Mon, 10 Feb 2025 10:01:28 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1739181688; a=rsa-sha256; cv=none; b=mPyzg5Q2Hs2OefCCyA1GzVp5Ot8IqJVmbf08tOKR7h6UcTIF4b0MLVsH7EzwbTqPnbAZVk iPCodzodcpLOC/VJr1tIYhq9aAJYLO6hmFiUVTSPeEE96/RUkTjPbpejDULc7NnFMxs4W2 gMMR1CWOr2D+GOnWhhOggjgfs5ehGdTXfT6RFlTXX6w6JxhwRygbASaAYfpVPp1KpGvz01 zZEixcEB3S38wf3EHp0ncZok+Bv8PNqozE3W2/sw2kaE3Gxw4Vvzu+ssIr+qfo56RJmMhi 6ER0pmBw9QH+DUk8hYUUWUKijucqTT8gj8/BUCZ5XbX0u44cykQRDFg+FAdQig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1739181688; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=NWtT0p1OQTcUva90ppDKmm5/ByStgcUc61eWvpTlbmk=; b=1TEGk1IhidIHio4ExqsuroVsP65yO7FUCl7d0wL1IbIOdXmmfnAA6zFQuX15NnrbnLRbPN agC4sEfFuvrc1P78EoQcF6QR8/8nq6RwfllkId2ZfBzpCve0/3TmgN3cAW12M5RSRalxgd kXB1I3UgsDAfrU+8KGOU9B6KEvqvgR5ZcTaRyJ5+FEWTUN/BkGpXN7F2fSo2H42jp5Q+9c cmG9QlmdOMV59yVMF8/l+UcrZDaH3ikW9C9SD2rl78BkfU8WCXyEwNld/BH7EPNQ3M3CnV iVGAqdvpHM4ZrF/elKshpEIvnW8EHJTdsKUYJSH3JXhtuVNzv5vw+dXxe2e9Bw== ARC-Authentication-Results: i=1; rspamd-587f8d7697-tsgt7; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Trail-Robust: 1a311a970695079d_1739181688668_395508649 X-MC-Loop-Signature: 1739181688667:966756443 X-MC-Ingress-Time: 1739181688667 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.124.213.208 (trex/7.0.2); Mon, 10 Feb 2025 10:01:28 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id 53CF91E000A for ; Mon, 10 Feb 2025 10:01:26 +0000 (GMT) Received: from rogueboard.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) (Authenticated sender: confabulate@kintzios.com) by cloud238.thundercloud.uk (Postfix) with ESMTPSA id C5A21F5DDA for ; Mon, 10 Feb 2025 10:01:25 +0000 (GMT) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] perl-cleaner --reallyall and leftover files, that I didn't touch. Date: Mon, 10 Feb 2025 10:01:04 +0000 Message-ID: <8489487.T7Z3S40VBb@rogueboard> In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart10610441.nUPlyArG6x"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <173918168598.3327005.10992875726656951893@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Action: no action X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.51 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ONCE_RECEIVED(0.20)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MX_GOOD(-0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; FROM_HAS_DN(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; REPLYTO_DOM_NEQ_TO_DOM(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; R_DKIM_NA(0.00)[]; NEURAL_HAM(-0.00)[-0.953]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(0.00)[+mx]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Queue-Id: 53CF91E000A X-Archives-Salt: f6004bf4-50a2-421d-8138-a54b6aad4c6f X-Archives-Hash: 6838395951a72d1dfcbbfd785359a517 --nextPart10610441.nUPlyArG6x Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Date: Mon, 10 Feb 2025 10:01:04 +0000 Message-ID: <8489487.T7Z3S40VBb@rogueboard> In-Reply-To: References: MIME-Version: 1.0 On Sunday 9 February 2025 23:46:08 Greenwich Mean Time Dale wrote: > Howdy, > > It was mentioned a while ago in a thread that running perl-cleaner > --reallyall on occasion is a good idea. It makes sure everything is > stable. Well, not everything, but everything related to files linked against older versions of libperl. > So, it hit me, I haven't ran it in a while, month or so. When > I did, it re-emerged a lot of packages like it usually does. Then it > listed a large list of leftover files. Were all these files found in a directory belonging to an older version of perl? For example, the current perl is /usr/lib64/perl5, so you'll have files like: /usr/lib64/libperl.so.5.40.0 and symlinks to it from your perl5 directory, e.g.: ~ $ ls -la /usr/lib64/perl5/5.40/x86_64-linux/CORE/libperl.so.5.40 lrwxrwxrwx 1 root root 29 Jan 19 11:55 /usr/lib64/perl5/5.40/x86_64-linux/ CORE/libperl.so.5.40 -> ../../../../libperl.so.5.40.0 > If it were just a few, I'd use > equery and such to see what belonged to what and if it was safe to > remove them. Thing is, it is quite a long list. It could take me days > to check each one. I found a old thread that talked about a delete > option. I check the man page, that option is no longer listed so I > guess it is no longer available. > > So, what is the correct way to deal with these and be safe? Obviously I > don't want to remove something the system needs. I also don't want a > growing list of files that are no longer needed hanging around either. If the files you're concerned about are under a directory belonging to a previous version of perl , e.g. perl4, then you can remove the lot after you run perl-cleaner. > While at it, is there a way to remove any files that doesn't belong to a > package? A system wide clean up if you will. > > Thanks. > > Dale > > :-) :-) There was some old script to remove cruft, but I have never used it. I think as Gentoo matured over the years, files left behind when you uninstall a package have become less likely. There is 'qfile -o ...' you can use with 'find' to identify any orphan files left in your system, but it assumes you know what types of files to search for, e.g. "*.la". Have a look at the examples in the man page, to see how it can be used. --nextPart10610441.nUPlyArG6x Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmepzmEACgkQseqq9sKV ZxmbCxAAxtNZ4UqWXGgOymFmo+jUha5JJiPxRrTG9A2pjP5Z4u1bblT3aYtm20K2 l43P5FPSefvv56xurQFmzGQLB3TXfZlWVrCzdumm+kE1I45+d19TB4r5VSvD5tn3 CR4jw/3p8GbzdRBqImQxdQwt089NCG7cAzOU/VmRKcVQqjjkDwI9v8p7Kjqb/+e0 Cru8AOZ1dJy20OlW2Mc2dkwiJWfnXcTsZJGhfrhdFTx7P5dDs2O7GfgAquR8fv9L GC+6YsAIPlmGWGSH+aFkmDlYrbHTgDpWqeYUHBynGa3SB+IquJkpXKFNbF7e+2co B5z1V6vsOEXIv67opfGWS4kDuYHMSHiXAtxcvswqVG7mzaVPPBCGNqe9KgMJ6PsB 3KdTU1/sHttI9i9y/zAvn7PvAaeifNUoslcw3V4pBAI1uqyikbs+5EesYdP+aieu /q3bRG4Da0nVKj/rG3CmKwwboyZ/jvXthasNV/og+LiMqrR+CjIZKilEaJatEOZq rnlF10pAN/9RmqXxTbQtQDfNU3AZyUrcRjegXO29jBEEbaisXrelpdnNMnrh3iLw /dgPxpavh21c51oAybX2OcEVxsPjO0z6xwVkjuY/Ap5liglzepsUZcGy8D3j/5gr JLpF8In/m3mD2uyus7KrFc9hUK2aDFXd3H+gFYB9vknNP/hEj/g= =q7+G -----END PGP SIGNATURE----- --nextPart10610441.nUPlyArG6x--