Author Topic: problem upgrading from 4.1.5 to 4.1.8  (Read 2708 times)

eugeniu

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
problem upgrading from 4.1.5 to 4.1.8
« on: November 18, 2015, 06:16:26 am »
It seems I have a problem upgrading from 4.1.5 to 4.1.8. The dashboard shows that there is a new core version available, but no updates
http://www.awesomescreenshot.com/image/762451/36fdbda46f247bfaaf2d912cde08a95c

If I go to Software management, Zentyal components - I see the three components updates available
http://www.awesomescreenshot.com/image/762457/92c2fa2f94a4ea5d1913ce53db084931

If I select them and do an update, it shows no errors but the picture above does not change.
If I do the upgrade from command line I get this error:
Code: [Select]
root@server:/home/user# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.13.0-66 linux-headers-3.13.0-66-generic
  linux-image-3.13.0-66-generic linux-image-extra-3.13.0-66-generic
Use 'apt-get autoremove' to remove them.
The following packages have been kept back:
  zentyal-core zentyal-dns zentyal-openchange
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Code: [Select]
root@server:/home/user# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.13.0-66 linux-headers-3.13.0-66-generic
  linux-image-3.13.0-66-generic linux-image-extra-3.13.0-66-generic
Use 'apt-get autoremove' to remove them.
The following packages have been kept back:
  zentyal-dns
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Code: [Select]
root@server:/home/user# apt-get install zentyal-dns
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 zentyal-dns : Depends: zentyal-core (>= 4.2) but 4.1.5 is to be installed
E: Unable to correct problems, you have held broken packages.
Code: [Select]
root@server:/home/user# apt-get install zentyal-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.13.0-66 linux-headers-3.13.0-66-generic
  linux-image-3.13.0-66-generic linux-image-extra-3.13.0-66-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  zentyal-core
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

eugeniu

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: problem upgrading from 4.1.5 to 4.1.8
« Reply #1 on: November 18, 2015, 10:49:46 am »
Can someone help?

haiz

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: problem upgrading from 4.1.5 to 4.1.8
« Reply #2 on: November 18, 2015, 11:23:56 am »
i have same problem as well, please help.

BerT666

  • Zen Warrior
  • ***
  • Posts: 228
  • Karma: +17/-0
    • View Profile
Re: problem upgrading from 4.1.5 to 4.1.8
« Reply #3 on: November 18, 2015, 01:08:03 pm »
can you try to upgrade zentyal-dns and zentyal-openchange only?
One time I had to update (missing?) packets before the core update...

Regards

Thomas

eugeniu

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: problem upgrading from 4.1.5 to 4.1.8
« Reply #4 on: November 18, 2015, 01:10:33 pm »
as I mentioned on my original post, I did try to update only the zentyal-dns - it didn't work
Code: [Select]
root@server:/home/user# apt-get install zentyal-dns
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 zentyal-dns : Depends: zentyal-core (>= 4.2) but 4.1.5 is to be installed
E: Unable to correct problems, you have held broken packages.

eugeniu

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: problem upgrading from 4.1.5 to 4.1.8
« Reply #5 on: November 18, 2015, 01:11:05 pm »
as well as zentyal-core

BerT666

  • Zen Warrior
  • ***
  • Posts: 228
  • Karma: +17/-0
    • View Profile
Re: problem upgrading from 4.1.5 to 4.1.8
« Reply #6 on: November 18, 2015, 02:10:11 pm »
seems that the package DB is a bit "confused"...

maybe some pakages are not clean?

try:  apt-get -f install
If this does not work you can try:  dpkg --configure -a

If this also does not help, please send the output of the commands ;-)

bakcsa83

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Re: problem upgrading from 4.1.5 to 4.1.8
« Reply #7 on: November 18, 2015, 05:25:38 pm »
Hi,
I have the same issue, except I wanted to upgrade from 4.1.5.50 to 4.2.1.59. (see attached picture)
I tried to update the core module. It says "The packages installation has finished successfully..." But it did not. After refreshing the page the version remains the same.

Also, now my system is kind of broken. After a system restart all the modules are down, including Domain controller and file sharing. I need to restart all services manually from console.

Above suggested solutions doesn't work.
Output of apt-get -f install:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-image-3.16.0-50-generic linux-image-extra-3.16.0-50-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

"dpkg --configure -a" returns nothing.

apt-get upgrade returns the following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-image-3.16.0-50-generic linux-image-extra-3.16.0-50-generic
Use 'apt-get autoremove' to remove them.
The following packages have been kept back:
  zentyal-core zentyal-dns zentyal-openchange
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.


Please advice.

julio

  • Guest
Re: problem upgrading from 4.1.5 to 4.1.8
« Reply #8 on: November 18, 2015, 07:34:11 pm »
@bakcsa83:
please try with:
Code: [Select]
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get autoremove

if does not work, try with (only on: zentyal 4.2.1.59!!!):
Code: [Select]
sudo apt-mark unhold zentyal-core zentyal-dns zentyal-openchange
sudo apt-get dist-upgrade
sudo apt-get autoremove

@eugeniu:
my opinion the packages dependencies are mixed between zentyal 4.1 and 4.2,
see on: http://www.awesomescreenshot.com/image/762457/92c2fa2f94a4ea5d1913ce53db084931
« Last Edit: November 18, 2015, 07:54:27 pm by julio »

bakcsa83

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Re: problem upgrading from 4.1.5 to 4.1.8
« Reply #9 on: November 18, 2015, 08:01:22 pm »
Hi julio,

Thanks for trying to help. Unfortunately sudo apt-get dist-upgrade does not do anything on my server. Here is the output:

root@dc:/home/sysadmin# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-image-3.16.0-50-generic linux-image-extra-3.16.0-50-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

apt-mark unhold output:
root@dc:/home/sysadmin# apt-mark unhold zentyal-core zentyal-dns zentyal-openchange
zentyal-core was already not hold.
zentyal-dns was already not hold.

After this command I tried again apt-get dist-upgrade but it doesn't help, status is the same.

julio

  • Guest
Re: problem upgrading from 4.1.5 to 4.1.8
« Reply #10 on: November 18, 2015, 08:36:11 pm »
you have meantime all holded package installed:
"The following packages have been kept back:
  zentyal-core zentyal-dns zentyal-openchange
  0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.=

and now all package already installed:
 "0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded."

please post the following command output:
Code: [Select]
dpkg -l | grep 'zentyal-'
« Last Edit: November 18, 2015, 08:51:44 pm by julio »

bakcsa83

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Re: problem upgrading from 4.1.5 to 4.1.8
« Reply #11 on: November 18, 2015, 09:06:41 pm »
Hi julio,

Thanks again, but after spending my afternoon on this issue, I gave up and restored the backup from yesterday...
I can assure you, nothing got updated. The ui showed the same version numbers and still wanted to update the modules. What is more important, the Domain controller and filesharing service was down constantly.

I just checked again the updates and the version numbers in the latest version column have been changed. Now they are lower then they were in the afternoon. Check the screenshot in my first post and compare with this one. I'm sorry about saying that, but this is kind of ridiculous and shameful.

BTW, I still cannot update the core module, however, the system still works. That's already something right?  I didn't even try to update the other modules. I think, that would be a best practice for zentyal, at least for the development edition.
« Last Edit: November 18, 2015, 09:18:58 pm by bakcsa83 »

julio

  • Guest
Re: problem upgrading from 4.1.5 to 4.1.8
« Reply #12 on: November 18, 2015, 09:25:18 pm »
I don't know what happened on zentyal update pool,
no zentyal-core for 4.1 version available!
I don't understand the zentyal team release policy anymore!
See attached picture.

Update, zentyal-core_4.1.8 available:
zentyal-core_4.1.8_all.deb   19-Nov-2015 12:34   802K   
« Last Edit: November 19, 2015, 07:30:56 pm by julio »

Scaltro

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: problem upgrading from 4.1.5 to 4.1.8
« Reply #13 on: November 20, 2015, 08:30:57 am »
Dear all, after the update my DC is stopped because there is a fatal error in the connection with LDAP server. Manually i can start all service but i can't start openchange and the domain controller is stopped... (openchange version 4.1.1 and samba 4.1.5).
Thanks for all answers.

bakcsa83

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Re: problem upgrading from 4.1.5 to 4.1.8
« Reply #14 on: November 20, 2015, 09:58:50 am »
Try from terminal:
sudo service zentyal samba restart

That will restart the service, but it's very likely at the next reboot it won't start and you have to start it manually again.
I had similar issue which I couldn't solve, I had to restore a previous backup.

They mixed up the updates at Zentyal which obviously damaged some systems. Since that the module versions seem to be right so they noticed the failure but they say nothing about it, not even a word.

Zentyal developer edition is a kind of evaluation version without time limit. I would not recommend to use in production unless you are a proficient linux guru.