Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - cursor

Pages: [1]
Thank you very much.  I did the modifications to /var/lib/dpkg/info/zentyal-core.postinst and now I can upgrade all packages without breaking my install.

These are the results when the server is not broken (before trying to update via the web interface):

$ sudo dpkg -l | egrep "zen(tyal|buntu)-"
ii  zenbuntu-core                          8.0.0ubuntu1                                    all          Zentyal Environment for Ubuntu Server
ii  zenbuntu-desktop                       8.0.0ubuntu1                                    all          Zentyal Desktop Environment for Ubuntu Server
iF  zentyal-core                           8.0.0                                           all          Zentyal - Core
iU  zentyal-dns                            8.0.0                                           all          Zentyal - DNS Server
iU  zentyal-firewall                       8.0.0                                           all          Zentyal - Firewall
iU  zentyal-network                        8.0.2                                           all          Zentyal - Network Configuration
iU  zentyal-ntp                            8.0.0                                           all          Zentyal - NTP Service
iU  zentyal-radius                         8.0.0                                           all          Zentyal - RADIUS
iU  zentyal-samba                          8.0.0                                           all          Zentyal - Domain Controller and File Sharing
iU  zentyal-software                       8.0.0                                           all          Zentyal - Software Management

$ sudo apt update
Hit:1 jammy InRelease                                                                                                             
Get:2 jammy-security InRelease [110 kB]                                                                                                   
Hit:3 mozilla InRelease                                                                       
Hit:4 8.0 InRelease                                       
Get:5 jammy-security/main i386 Packages [444 kB]
Get:6 jammy-security/main amd64 Packages [1,343 kB]
Hit:7 jammy InRelease
Get:8 jammy-updates InRelease [119 kB]
Hit:9 jammy-backports InRelease
Get:10 jammy-security/main Translation-en [237 kB]                                                                                                                                                                                         
Get:11 jammy-security/universe i386 Packages [599 kB]                                                                                                                                                                                     
Get:12 jammy-security/universe amd64 Packages [852 kB]                                                                                                                                                                                     
Fetched 3,703 kB in 10s (367 kB/s)                                                                                                                                                                                                                                           
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
22 packages can be upgraded. Run 'apt list --upgradable' to see them.

$ sudo apt list --upgradable
Listing... Done
bsdextrautils/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
bsdutils/jammy-updates,jammy-security 1:2.37.2-4ubuntu3.4 amd64 [upgradable from: 1:2.37.2-4ubuntu3.3]
eject/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
ethtool/jammy-updates 1:5.16-1ubuntu0.1 amd64 [upgradable from: 1:5.16-1]
fdisk/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
firefox/mozilla 124.0.2~build1 amd64 [upgradable from: 124.0.1~build1]
libblkid1/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
libfdisk1/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
libmount1/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
libnspr4/jammy-security 2:4.35-0ubuntu0.22.04.1 amd64 [upgradable from: 2:4.32-3build1]
libnss3-tools/jammy-security 2:3.98-0ubuntu0.22.04.1 amd64 [upgradable from: 2:3.68.2-0ubuntu1.2]
libnss3/jammy-security 2:3.98-0ubuntu0.22.04.1 amd64 [upgradable from: 2:3.68.2-0ubuntu1.2]
libsmartcols1/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
libuuid1/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
linux-generic/jammy-updates,jammy-security amd64 [upgradable from:]
linux-headers-generic/jammy-updates,jammy-security amd64 [upgradable from:]
linux-image-generic/jammy-updates,jammy-security amd64 [upgradable from:]
mount/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
qemu-guest-agent/jammy-updates 1:6.2+dfsg-2ubuntu6.18 amd64 [upgradable from: 1:6.2+dfsg-2ubuntu6.17]
util-linux/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
xserver-common/jammy-updates,jammy-updates,jammy-security,jammy-security 2:21.1.4-2ubuntu1.7~22.04.10 all [upgradable from: 2:21.1.4-2ubuntu1.7~22.04.8]
xserver-xorg-core/jammy-updates,jammy-security 2:21.1.4-2ubuntu1.7~22.04.10 amd64 [upgradable from: 2:21.1.4-2ubuntu1.7~22.04.8]

I have a Zentyal 8 (Development) server running on a VM.  Whenever I try to upgrade any package via Software Management -> System Updates my installation breaks.  I get the following error:

The package installation has not finished correctly. More information on the logs
dkpg was interrupted, you must manually run 'sudo dpkg --configure  -a' to correct the problem.

It does not matter which package I select form the list of available updates, I always get this same error.  Running dpkg does not fix the problem:

dpkg: error processing package zentyal (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
Errors were encountered while processing:

I have to restore the VM to get everything working again but now I cannot upgrade anything.  What can I try to get updates working again?

Pages: [1]