Upgrade Ubuntu 16.10 to 17.04 sysv-rc-conf fail



  • Server
    • FOG Version: 1.4.0-RC-9.1
    • OS: Ubuntu 17.04
    Description

    Just a heads up, I upgraded both of my Ubuntu fog servers from 16.10 to 17.04 and when I went to pull the new 9.1 RC and install it’ll fail on sysv-rc-conf (both installing and checking package). I upgraded them this morning then pulled the new git. Now, I just skipped it for now with the -X and both servers are running 9.1 just fine. I’ve been using my google-fu to see if I can find if sysv-rc-conf has a bug with the current release or if it’s no longer supported. I can’t seem to find any answers. This really isn’t an issue to me because I can still upgrade and use fog just fine.

    EDIT: I tried to manually install the package. Here is the output of it.

    Package sysv-rc-conf is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    
    E: Package 'sysv-rc-conf' has no installation candidate
    

    Thanks guys


  • Senior Developer

    @FoSTerCyber This issue only happens after upgrading, not on fresh installs it seems.



  • I had the same issue after upgrading my server from 16.10 to 17.04 and failed at the same spot twice. Researched and found that if I removed sysv-rc-conf from the config file located within the lib folder that is located in the installation files, fogproject-1.4.0-RC-9.x/lib/ubuntu/ which specifies which packages it needs to download, I’ve found it succeeds without issue for me. Maybe this only matters in regards to 17.04, not sure though.


  • Moderator

    @Tom-Elliott said in Upgrade Ubuntu 16.10 to 17.04 sysv-rc-conf fail:

    That’s odd since we have a testing vm working with Ubuntu 17.04 and all seems to work without any special changes (that I’m aware of).

    Maybe it’s something because of the upgrade path directly? Our installation is a fresh install vs. an upgraded system. @Wayne-Workman is the one kind of doing all the distro testing/checking.

    No special changes.
    The way it gets tested is:

    • The clean snapshot is applied.
    • Reboot
    • all standard updates are applied with apt-get -y update;apt-get -y dist-upgrade
    • Reboot
    • Install fog via ./installfog.sh -y

    This is done for 9 different linux distributions (with some variation in the update commands) for every branch that Tom commits to - every day. We get daily reports on what passes, what fails, logs, etc. Ubuntu 17.04 is passing right now.

    This issue is caused by the OS upgrade. I always advise against updating the OS, I always advise to migrate instead.
    Here’s the article I wrote that I ask people to follow: https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG



  • @Tom-Elliott Thanks man, I’ll keep an eye out and see if this can resolve, otherwise as long as this package is non-critical I omitted it for now.


  • Senior Developer

    As a meantime fix, so you don’t have to constantly run in to the problem.

    Edit your /opt/fog/.fogsettings file.

    Look for packages=' and remove sysv-rc-conf from the packages list.



  • Yea, it’s just my boxes that I have been release upgrading. My third box is a fresh install of 17.04 and it updated this morning just fine.


  • Senior Developer

    That’s odd since we have a testing vm working with Ubuntu 17.04 and all seems to work without any special changes (that I’m aware of).

    Maybe it’s something because of the upgrade path directly? Our installation is a fresh install vs. an upgraded system. @Wayne-Workman is the one kind of doing all the distro testing/checking.


Log in to reply
 

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.