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 9DFEB1582EF for ; Mon, 10 Feb 2025 10:55:02 +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 85C88340DE6 for ; Mon, 10 Feb 2025 10:55:02 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 0743311047E; Mon, 10 Feb 2025 10:53:34 +0000 (UTC) Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (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 DA3101103CB for ; Mon, 10 Feb 2025 10:53:32 +0000 (UTC) Received: by mail-io1-xd34.google.com with SMTP id ca18e2360f4ac-8553c938af2so7221139f.2 for ; Mon, 10 Feb 2025 02:53:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739184809; x=1739789609; darn=lists.gentoo.org; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:from:to:cc:subject :date:message-id:reply-to; bh=W7lSp3IxeW9wNOAyvZ+28v+QZM2b9tpwn45CDkbHWMU=; b=AcQFivE8ADXBzXpfiRXzxrfMGMWGILojdL9To0jVUV2apLK3U4I09W/mQfID/Eeyva 1S9z/7gMd5syLUC9z2TMkYzU0/bBOWDuEPhWM+SWG+b6c2MK9mrnvNJMHXItSvpdy8pM BvqrHmhtZTJdBcAu6FRfJmdc8UjkSpSKWUEWEvwLF+FLqjEgXbd4wAa788MCME48YkJs xprmKE4hhGxC49o1fyhoKrW9cW4dgD6cq2LzowvTIN1GhgnI0k212ZtueKy6VhcVem6G aubmEHJmfRgEUpLfCWGdj1FZCOkElIoiwa8Wq7QZRG+aRBZhJi1JwtXFht5ZMFL6w1vN GdrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739184809; x=1739789609; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=W7lSp3IxeW9wNOAyvZ+28v+QZM2b9tpwn45CDkbHWMU=; b=qKqeoj8qMhek346y33UsnnIemktuJa2y0yCa0SkvyV6IgMfvUF5R75qGHfkwtVHiqB J+ZRnU+cuwIaQxx3R6QGqV/XxqztZXXBS4PC7nCKHMWLBV0OxOivVdP1c+u3dJRn8O2Z TYjNnn0jCZxsyPXj8utw/fdr8ySyr647K+vt3aN6/yI9vmDvT7PJ2QPIsXtNQMcuxxoE OVN3LGQLuBZ6wDOQN6UGw8fxFjJwf8cuzrQngNW/0YmXhB2soGI32MG9/hYXTp8qG1ge V8tr0q198mQ1pbK5HcSINorYKrCiRG+CzhDyTKlRLfmBAWhPjLsfsMaTLxC4Yw1TGGCy n9TQ== X-Gm-Message-State: AOJu0Yy25JGkNHTowWVB/TIWT/O1PdGU7w07IHP+/S0E/VCBAUwHWJem UB+p6V2ctpMZoCwvqsQsH8j4KY/0rrgowpFcTvuWlwAadVjuXYt9 X-Gm-Gg: ASbGncvl1uX6ajPWAFE6jKbEp0xGvqY2hDhSnRjCQknJsXTaMKRRynIG06kNRYNU6kr 317b82iOPdOH5E5CyXGm/rMWfTHfvf6Ybvn4sHNGdoeqnT88zPGZgDj8txEhf6leiEvu7cASsXE hIh4RUphfSZMZ4g84gVCZqqw2UHRgRyu1LanVCipBR44FFgGwaqSh9A5/44isozvMBBHOFRatFb v2blvIj3JgtPo0keCLe7b87fZrSB9vQ4XcFOjYI1waXwKJ3T/I+9M4TokztYfys+fWH7JU55jAr QVgPjkXFAbKSOZI= X-Google-Smtp-Source: AGHT+IHoVMcf0qxQPZZWUqdp7cra2GnkiAXyg6ghBaycHUP1Zjh8xvc1ydeqUxwetuvWiTnDGXqMcQ== X-Received: by 2002:a05:6602:7289:b0:84a:51e2:9f93 with SMTP id ca18e2360f4ac-854fd8f3f5fmr1178385439f.9.1739184809356; Mon, 10 Feb 2025 02:53:29 -0800 (PST) Received: from [10.8.8.6] ([212.102.44.121]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ecf0918df7sm769025173.15.2025.02.10.02.53.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Feb 2025 02:53:28 -0800 (PST) Subject: Re: [gentoo-user] perl-cleaner --reallyall and leftover files, that I didn't touch. To: gentoo-user@lists.gentoo.org References: <8489487.T7Z3S40VBb@rogueboard> From: Dale Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+ 0Pet8zxxdXPJSCd475kza1AD+hhSyBZXB9yknYWgyY3cZe1rGmooJSi2KX4QxO7npwLThcO1 be6KKRkd35+Fi/a1BzV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1w3QRACw9QJD/KM05Czv9JNQYlwinWO/OaQ9cMlUpKLgswUPg9IZ5vucxScfuAUA5uC B1jlAQ8ZPlVukBmbEv5RGOv+lpuEbA3YDMVtEeH4YMFbjt/+vH3Cr2vTbp5JlpByLburJEH0 WXZLUawEfUsZvVwpOuJK75vaa2HYXee+Cb3iCIzwfIfctdlqzUcbGRczlRNM59hpvj4z29Gh 3kAxVHItAYq54ikxQ9l4hQ8s9sLYPbX/WtcBxNX8crBSw0FLnmzGleVEtBHyqtt5CLzQNgrj GYWl1vKDUmRPw1CdZ1c+fMN9CY11jOM5B5ZnqZWfDeVYO2iJ5SuvTycChexCb8WYn1bdCBIo bBtga2RBXbVt4Mh9E4owsszefn51MwfjXxB20Fc5k3GU1AVpTCMs3ayYCzo0b2pvEvdjtDcA CYLEFPWgaFX9iQAM/CDfKvTtvgGWpqtCL2raq/mQoJEU Message-ID: <66445218-d9ff-82a1-f692-3ffa36af969c@gmail.com> Date: Mon, 10 Feb 2025 04:53:26 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.19 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 In-Reply-To: <8489487.T7Z3S40VBb@rogueboard> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: c28352e2-8464-4ac3-b21e-22b1634c6b01 X-Archives-Hash: 2e6f4d509d8041daeea5edf6ea044d59 Michael wrote: > 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. > Well, I meant everything perl related.  ;-) >> 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 This is the perl I have installed.  dev-lang/perl-5.40.0-r1:0/5.40 I'm not going to list all the stuff it spit out.  Just going to include enough that you get the idea.   *     /usr/lib64/perl5/5.40/Parse/CPAN/Meta.pm  *     /usr/lib64/perl5/5.40/Config/Perl/V.pm  *     /usr/lib64/perl5/5.40/Config/Extensions.pm ...  *     /usr/lib64/perl5/5.40/ExtUtils/MM_Darwin.pm  *     /usr/lib64/perl5/5.40/ExtUtils/MakeMaker/Tutorial.pod  *     /usr/lib64/perl5/5.40/ExtUtils/MakeMaker/Locale.pm ...  *     /usr/lib64/perl5/5.40/I18N/LangTags/Detect.pm  *     /usr/lib64/perl5/5.40/I18N/Collate.pm  *     /usr/lib64/perl5/5.40/I18N/LangTags.pm  *     /usr/lib64/perl5/5.40/Pod/Perldoc/ToTk.pm  *     /usr/lib64/perl5/5.40/Pod/Perldoc/ToTerm.pm  *     /usr/lib64/perl5/5.40/Pod/Perldoc/ToMan.pm ...  *     /usr/lib64/perl5/5.40/unicore/lib/SD/Y.pl  *     /usr/lib64/perl5/5.40/unicore/lib/NFKDQC/Y.pl  *     /usr/lib64/perl5/5.40/unicore/lib/NFKDQC/N.pl ...  *     /usr/lib64/perl5/5.40/unicore/lib/Perl/PosixPun.pl  *     /usr/lib64/perl5/5.40/unicore/lib/Perl/_PerlPat.pl  *     /usr/lib64/perl5/5.40/unicore/lib/Perl/_PerlPr2.pl ...  *     /usr/lib64/perl5/vendor_perl/5.40/auto/share/dist/DateTime-Locale/to-TO.pl  *     /usr/lib64/perl5/vendor_perl/5.40/auto/share/dist/DateTime-Locale/sr.pl  *     /usr/lib64/perl5/vendor_perl/5.40/auto/share/dist/DateTime-Locale/kaj.pl I left out a LOT of lines.  There is over 7,000 lines of it in all.  If you want the whole thing, I can either send off list or tar it up and attach it for anyone curious.  > >> 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. > They appear to be for the current installed versions.  That's one reason it is kinda confusing.  o_O >> 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. I don't want to risk messing up my rig.  If there was a known script/package for it that was well tested, then that would be nice.  Thoughts on perl files???? Dale :-)  :-)