public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Filesystem with python3_12, but /var/db,cache with python3_13
Date: Mon, 19 May 2025 08:17:49 -0500	[thread overview]
Message-ID: <f935ffaa-1ee5-06fc-9c1c-4672644991ff@gmail.com> (raw)
In-Reply-To: <2992963.e9J7NaK4W3@rogueboard>

Michael wrote:
> Just as I was celebrating the last python upgrade has been a breeze, a disk 
> failed on one PC in the most inopportune moment.  The / directory was on the 
> SSD disk which failed.  The /var/db, /var/cache and /var/log are on a 
> different (spinning) disk.
>
> I restored / from a backup which was 5 weeks old, excluding /var/db, /var/
> cache and /var/log - I didn't have a backup of these.  Consequently, there's 
> an incongruity in what portage thinks is installed - a day old update status - 
> and what is actually installed - 5 weeks old packages.
>
> I tried to run an update @world, but it failed as some package versions were 
> missing/incompatible.  I tried to force python3_13 following the python 
> upgrade guide, but may have ended up making things worse.  What is the best 
> way to bring this system up to date?


Do you have buildpkg set in make.conf?  If you do, can you try a emerge
-ek world?  That should reinstall to the version you have saved from all
the binaries you have.  You may want to try -K as well.  It tells it to
use binaries only.  If you don't have buildpkg set, I'm not sure how to
fix that.  Basically, portage stores data on what is installed in /var
but the packages are in /, mostly /(s)bin and /usr.  Basically, portage
thinks one thing but the truth is something else.  I suspect emerge
isn't happy since it is so confused. 

I hate when a drive goes bad.  :-( 

Dale

:-)  :-) 

P. S.  I hope you have a backup of /etc and your world file, just in
case you have to start over. 


  reply	other threads:[~2025-05-19 13:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-19  9:30 [gentoo-user] Filesystem with python3_12, but /var/db,cache with python3_13 Michael
2025-05-19 13:17 ` Dale [this message]
2025-05-19 22:27   ` Michael
2025-05-19 23:00     ` Eli Schwartz
2025-05-19 23:04       ` Michael
2025-05-20 18:08         ` Michael
2025-05-20 18:42           ` Dale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f935ffaa-1ee5-06fc-9c1c-4672644991ff@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox