On 19/01/2019 07.36, Felix Miata wrote:
Marc Chamberlin composed on 2019-01-18 21:45 (UTC-0800): ...
I have discovered that the repositories that YaST is using are still pointing at the 42.3 versions, so I suspect I now have a mixed bag of software from both the 42.3 and the 15.0 repos. Doing another zypper dup simply tells me there is nothing to update however...
That's because of the inane choice of release versions, from 13.x to 42.x to 15.x. There is nothing to update according to the package management system when there are bigger version numbers in 42.3 repos than those in 15.0 repos, which is many if not most.
zypper dup doesn't care. Zypper up does.
So I am wondering, could/should I go in to /etc/zypp/repos.d and change all the BaseURL references for the repositories from 42.3 to 15.0 (or perhaps to $releasever )? Seems like I could, but I am guessing.... And then I would think doing a zypper dup (or zypper dup --$releasever 15.0 ) might insure I have a consistent system?...
I've done lots of successful dups from oldLeap to newerLeap, and 13.1 and 13.2 to Leap. The process begins by changing e.g. all instances of 42.3 in /etc/zypp/repos.d/*repo to 15.0.
sed -i 's/42.3/15.0/g' /etc/zypp/repos.d/*repo
That followed by zypper dup might fix you up.
I concur.
For your situation, various solver.dupAllow* options may require adjustment for a full fixup, either in /etc/zypp/zypp.conf or on your zypper cmdline. I'd try first as-is, then check to see what old packages might be left over
zypper --no-refresh se -si | grep 'tem Pac' | grep -v plication
before deciding on a next step.
Zypper has a --dry-run option you might want to check out.
man zypper
I'm curious about your mention of "various solver.dupAllow* options". I had not noticed them before. :-? To find leftover packages I run this query: rpm -q -a --queryformat "%{INSTALLTIME}\t%{INSTALLTIME:day} \ %{BUILDTIME:day} %-30{NAME}\t%15{VERSION}-%-7{RELEASE}\t%{arch} \ %25{VENDOR}%25{PACKAGER} == %{DISTRIBUTION} %{DISTTAG}\n" \ or this one for importing to a calc sheet: rpm -q -a --queryformat "%{INSTALLTIME};%{INSTALLTIME:day}; \ %{BUILDTIME:day}; %{NAME};%{VERSION}-%-7{RELEASE};%{arch}; \ %{VENDOR};%{PACKAGER};%{DISTRIBUTION};%{DISTTAG}\n" \ | sort | cut --fields="2-" --delimiter=\; \ | tee rpmlist.csv | less -S It a sorted by install date list of all packages in the system, so at the top you find rpms that belong to the old system. Although in this case some 42.3 packages may have been installed recently, so simply search for them: rpm -q -a --queryformat "%{INSTALLTIME}\t%{INSTALLTIME:day} \ %{BUILDTIME:day} %-30{NAME}\t%15{VERSION}-%-7{RELEASE}\t%{arch} \ %25{VENDOR}%25{PACKAGER} == %{DISTRIBUTION} %{DISTTAG}\n" \ | sort | cut --fields="2-" | tee rpmlist \ | egrep -v "openSUSE\ Leap\ 15\.0|openSUSE_Leap_15\.0" | less -S which finds everything that doesn't say was built for 15.0 (with some errors). Or search for the string lp150 in the package name. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)