Hi,

On 15-Apr-25 2:30 AM, Ian Laurie via devel wrote:
> On 14/4/25 21:14, Fabio Valentini wrote:
>> As I understand it, the migration will happen automatically as soon as
>> it is possible, so you *can't* do it earlier manually.
> 
> My wrinkle is a bit different.
> 
> My /usr/local/sbin is a link, but my /usr/sbin still exists even though it 
> contains nothing but links.
> 
> zuke$ find /usr/sbin -type f
> zuke$
> 
> I even reinstalled filesystem to be sure, but /usr/sbin is still there.
> 
> Is there maybe some other issue?

I had the same issue, try doing:

cd /usr/sbin
ls -l | grep /etc/alternatives

then you will likely find a couple of symlinks using
the alternatives framework.

In my case the alternatives symlinks were only in
/usr/sbin and not in /usr/bin, so I simply moved
all matches from the grep command above to /usr/bin.

Note you should first check there is not an identically
named file in /usr/bin already.

If there is such a file, check if maybe it is an
/etc/alternatives symlink itself. If it is I guess
you can just remove the duplicate link from
/usr/sbin. If there is an identically named file and
it is not an /etc/alternatives symlink I've no idea
what to do ...

After moving all /etc/alternatives symlinks, you can
retrigger the script making /usr/sbin a symlink by
doing:

sudo dnf reinstall filesystem

after pressing 'Y' this should now show output that
it has turned /usr/sbin into a symlink. And if not it
should print a message saying why it did not.

Regards,

Hans


-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to