centos-to8-upgrade icon indicating copy to clipboard operation
centos-to8-upgrade copied to clipboard

any idea why this happens?

Open netnut404 opened this issue 5 years ago • 6 comments

I have tried running this on a few centos 7 vm's and they look like they are going to install a bunch of packages but then get down to this point...

---> Package redhat-rpm-config.noarch 0:116-1.el8.0.1 will be installed Error: Invalid version flag: if [Tue Oct 1 22:23:58 UTC 2019] [info] finished CentOS-8 setup in /to8 [Tue Oct 1 22:23:58 UTC 2019] [info] beginning to sync /to8 to / sending incremental file list (new) backup_dir is /to8/to8_backup_2019-10-01

f+++++++++ to8.log 395,380 100% 19.21MB/s 0:00:00 (xfr#1, ir-chk=1010/1011) .d........x etc/

and basically no rpm's are installed and it thinks it's done..

netnut404 avatar Oct 01 '19 22:10 netnut404

Never seen that before, not sure why it happens. Can you please output a run with bash -x?

johnj avatar Oct 06 '19 13:10 johnj

@netnut404 bump

johnj avatar Oct 18 '19 18:10 johnj

I got the same. A consecutive run doesn't have the same error, and the OS appears to be upgraded, but there's something about terminal not working properly, and some python packages being botched. It's probably better to set -xeu -o pipefail in the script itself.

burner1024 avatar Jan 11 '20 12:01 burner1024

Great suggestion, I’ll add this.

johnj avatar Jan 13 '20 01:01 johnj

Any update?

hifihedgehog avatar Feb 19 '20 15:02 hifihedgehog

Haven’t had a chance to test these in depth yet. Due to the nature of the process; sometimes a failure is OK. I suspect I need to add a flag to continue on despite failures.

johnj avatar Feb 19 '20 16:02 johnj