Author Topic: updating RC1  (Read 3564 times)

christian

  • Guest
updating RC1
« on: September 09, 2012, 03:55:53 pm »
Arriving back from my motorbike week-end, I noticed 16 updates were available for RC1. I clicked on "select all" then "update" but nothing happened. Tried twice, just in case I made something wrong. Nothing again.
Suspecting something wrong, I unselected and then click for each and every package: bingo, once all packages were selected, I click on "update" and this launched the next step. So it looks like there is something strange here.

Next step: I got a nice window showing list of packages "to be installed" (sic).
Unfortunately, I was not able to click, at least using the mouse on any button because both were to low although I had scrolled down to the max already... another small itch or something wrong with my own firefox ?

christian

  • Guest
Re: updating RC1
« Reply #1 on: September 09, 2012, 04:01:28 pm »
not really blocked because of above behaviour, I launch this update but this is was I got:
Code: [Select]
The packages installation has not finished correctly . More information on the logs in /var/log/zentyal/
Sub-process /usr/bin/dpkg returned an error code (1)

but zentyal.log is so verbose that finding error triggering above message os quite difficult  >:(  I'm investigating  8)

christian

  • Guest
Re: updating RC1
« Reply #2 on: September 09, 2012, 04:08:51 pm »
Samba related error. When you go back to package management, the is a message clearly stating that Samba was faulty.

I tried
Code: [Select]
sudo dpkg --configure -a
and got this:

Code: [Select]
sudo dpkg --configure -a
[sudo] password for rcadmin:
Setting up samba4 (4.0.0~beta8+dfsg1-1+zentyal2) ...
Traceback (most recent call last):
  File "/usr/bin/samba-tool", line 26, in <module>
    from samba.netcmd.main import cmd_sambatool
  File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 27, in <module>
    import samba.param
ImportError: /usr/lib/i386-linux-gnu/samba/libserver-role.so: version `SAMBA_4.0.0BETA8' not found (required by /usr/lib/python2.7/dist-packages/samba/param.so)
dpkg: error processing samba4 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of zentyal-samba:
 zentyal-samba depends on samba4 (>= 4.0.0~beta7+dfsg1-1+zentyal1); however:
  Package samba4 is not configured yet.
dpkg: error processing zentyal-samba (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 samba4
 zentyal-samba

Notice this was solved after I applied system updates  ::)
What I mean to say is that "Zentyal packages update" can not be launched before system updates  ;)

Escorpiom

  • Zen Hero
  • *****
  • Posts: 897
  • Karma: +25/-1
    • View Profile
Re: updating RC1
« Reply #3 on: September 10, 2012, 07:32:38 am »
See if I understand correctly; Samba 4 is part of the system updates and not part of Zentyal updates?
Perhaps the Samba 4 on RC1 is a different version, so that could mean it has to be updated first by means of the system updates.
Thanks a lot for finding this Christian, from now on I will first install the system updates, and after that the Zentyal updates. 

Cheers. 
Marcus' Rule:
Blanks & capitals = avoid it and you'll avoid problems...

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: updating RC1
« Reply #4 on: September 10, 2012, 10:51:07 am »
Yes Escorpiom, zentyal-samba on RC1 depends on samba 4 beta5 and on RC2 depends on beta8.
Zentyal Server Lead Developer

nomad64

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: updating RC1
« Reply #5 on: September 10, 2012, 10:15:46 pm »
I ran into this when upgrading RC1 as well. Submitted the bug report 5022.

murz

  • Zen Apprentice
  • *
  • Posts: 37
  • Karma: +1/-0
    • View Profile
Re: updating RC1
« Reply #6 on: October 16, 2012, 02:04:10 pm »
nomad64, did you solve the problem?

I got the same problem after upgrading from samba4_4.0.0~beta8+dfsg1-1+zentyal5_amd64.deb to samba4_4.0.0~rc2+dfsg1-1+zentyal2_amd64.deb :

Traceback (most recent call last):
  File "/usr/bin/samba-tool", line 26, in <module>
    from samba.netcmd.main import cmd_sambatool
  File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 27, in <module>
    import samba.param
ImportError: /usr/lib/x86_64-linux-gnu/samba/libserver-role.so: version `SAMBA_4.0.0RC2' not found (required by /usr/lib/python2.7/dist-packages/samba/param.so)

After that I can't start bind9 and all system stops working. What can I do for restore working configuration?