![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
11.10.2019 21:31, Carlos E. R. пишет:
Hi,
on https://en.opensuse.org/SDB:System_upgrade it says:
The following command modifies all repos from the old to the new. Modify "15.0" if your current system is not 15.0:
# sed -i 's/15.0/15.1/g' /etc/zypp/repos.d/*
Well, it does not work for me:
Telcontar:/etc/zypp/repos.d # sed -i 's/15.0/15.1/g' /etc/zypp/repos.d/* sed: couldn't edit /etc/zypp/repos.d/ANTIGUOS_REPOS: not a regular file Telcontar:/etc/zypp/repos.d #
Yes, certainly I do have directories in that path.
This path is not supposed to contain directories.
How do I change that sed command to work ignoring directories in there? I confess that sed syntax overloads my mind, so I need help.
Meanwhile, I'm editing all those files by hand, one by one.
-- Cheers
Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)