iocage upgrade results in "No updates are available to install" being printed infinitely

Created on 19 Oct 2017  路  5Comments  路  Source: iocage/iocage

  • [x] Supply iocage --version

Version 0.9.9.2 09/30/2017

  • [x] Supply the commands used, along with any steps to recreate it.
禄 iocage create -n upgtest1 -r 10.3-RELEASE ip4_addr="lo1|192.168.x.y/24"
禄 iocage set host_hostname=upgtest1 upgtest1
禄 iocage set allow_raw_sockets=1 upgtest1
禄 iocage upgrade -r 11.1-RELEASE upgtest1

Upgrade results in the same error for new and already existing jails.

  • [x] Provide the output from the command you issued.
/var/yp/Makefile.dist
To install the downloaded upgrades, run "/tmp/tmpdqbsb20z install".
Installing updates...
Kernel updates have been installed.  Please reboot and run
"/tmp/tmpdqbsb20z install" again to finish installing updates.
Installing updates...
Completing this upgrade requires removing old shared object files.
Please rebuild all installed 3rd party software (e.g., programs
installed from the ports tree) and then run "/tmp/tmpdqbsb20z install"
again to finish installing updates.
Installing updates... done.
No updates are available to install.
Run '/tmp/tmpdqbsb20z fetch' first.
No updates are available to install.
Run '/tmp/tmpdqbsb20z fetch' first.
No updates are available to install.
Run '/tmp/tmpdqbsb20z fetch' first.
...
No updates are available to install.
Run '/tmp/tmpdqbsb20z fetch' first.

The last two lines are being repeated in sort of infinite loop.

  • [x] Supply what you expected the result or output to be

Upgraded jail.

  • [x] Checked that the problem has not already been fixed on master if using
    a stable release.

I haven't checked that, but I also didn't find any evidence of such problem appearing to others.

bug

Most helpful comment

@lukaszczerpak Fixed! Will be in the next release :)

All 5 comments

Odd, I've never seen this. The routine continues until freebsd-update is normally done, but clearly it's not exiting the way I normally expect. I'll try to replicate this or make the routine a bit smarter.

Ok, thanks! Let me know if any extra debugging/information would be needed to make your life easier ;)

https://github.com/freebsd/freebsd/commit/4c961de5c58afded8c457d94ca0970c767c9db67#diff-4c6ad711dde27ce73583d13acd0677ec This was upstream :D Will fix

@lukaszczerpak Fixed! Will be in the next release :)

@skarekrow thank you!

Was this page helpful?
0 / 5 - 0 ratings