ubuntuusers.de

apt-get dist-upgrade: mysql: Upgrade process completed successfully.\nChecking if update is needed.

Status: Ungelöst | Ubuntu-Version: Kubuntu 16.04 (Xenial Xerus)
Antworten |

floogy

Anmeldungsdatum:
21. Juli 2006

Beiträge: 3297

Wohnort: Koblenz

Hallo,

der apt-get dist-upgrade Prozess hängt. ( S Interruptible sleep (waiting for an event to complete) )

Keine Ahnung, ob das hier relevant ist:
https://forum.ubuntuusers.de/topic/mysql-server-5-7-is-not-configured-yet/#post-8182698
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1566406
https://bugs.mysql.com/bug.php?id=76313
Abbruch mit STRG+C geht übrigens nicht. ☹

1
2
3
4
5
6
:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:        16.04
Codename:       xenial
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
mysql-client-core-5.7 (5.7.15-0ubuntu0.16.04.1) wird eingerichtet ...
mysql-client-5.7 (5.7.15-0ubuntu0.16.04.1) wird eingerichtet ...
mysql-server-core-5.7 (5.7.15-0ubuntu0.16.04.1) wird eingerichtet ...
mysql-server-5.7 (5.7.15-0ubuntu0.16.04.1) wird eingerichtet ...
Warning: found usr.sbin.mysqld in /etc/apparmor.d/force-complain, forcing complain mode
Warning failed to create cache: usr.sbin.mysqld
initctl: Verbindung zu Upstart nicht möglich: Failed to connect to socket /com/ubuntu/upstart: Verbindungsaufbau abgelehnt
insserv: warning: script 'binfmt-support' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `binfmt-support'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `binfmt-support'
initctl: Verbindung zu Upstart nicht möglich: Failed to connect to socket /com/ubuntu/upstart: Verbindungsaufbau abgelehnt
insserv: warning: script 'kdm-trinity' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `kdm-trinity'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `kdm-trinity'
initctl: Verbindung zu Upstart nicht möglich: Failed to connect to socket /com/ubuntu/upstart: Verbindungsaufbau abgelehnt
insserv: warning: script 'screen-cleanup' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `screen-cleanup'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `screen-cleanup'
Checking if update is needed.
Checking server version.
Running queries to upgrade MySQL server.
mysql_upgrade: (non fatal) [WARNING] 1642: Pre-4.1 password hash found. It is deprecated and will be removed in a future release. Please upgrade it to a new format.
Checking system database.
mysql.columns_priv                                 OK
mysql.db                                           OK

[...]

zencart1.zones_to_geo_zones
error    : Table upgrade required. Please do "REPAIR TABLE `zones_to_geo_zones`" or dump/reload to fix it!

Repairing tables

[...]

zencart1.upgrade_exceptions
Note     : TIME/TIMESTAMP/DATETIME columns of old format have been upgraded to the new format.
status   : OK
zencart1.zones_to_geo_zones
Note     : TIME/TIMESTAMP/DATETIME columns of old format have been upgraded to the new format.
status   : OK
Upgrade process completed successfully.
Checking if update is needed.

Komplett: http://pastebin.ubuntu.com/23228445/

Prozessausgabe:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
~$ ps axuf|grep -A5 mysql
gerhard   6856  7.2  3.4 2493012 270452 ?      Sl   09:13   6:12  |   \_ /usr/sbin/mysqld --defaults-file=/home/gerhard/.local/share/akonadi/mysql.conf --datadir=/hgerhard/.local/share/akonadi/db_data/ --socket=/tmp/akonadi-gerhard.AlI0Vm/mysql.socket
gerhard   7213  0.0  0.3 701304 29160 ?        Sl   09:15   0:00  \_ /usr/bin/akonadi_akonotes_resource --identifier akonadi_akonotes_resource_0
gerhard   7214  0.0  0.3 703692 28412 ?        Sl   09:15   0:00  \_ /usr/bin/akonadi_akonotes_resource --identifier akonadi_akonotes_resource_1
gerhard   7215  0.0  0.3 701304 28948 ?        Sl   09:15   0:00  \_ /usr/bin/akonadi_akonotes_resource --identifier akonadi_akonotes_resource_2
gerhard   7216  0.0  0.3 703692 28532 ?        Sl   09:15   0:00  \_ /usr/bin/akonadi_akonotes_resource --identifier akonadi_akonotes_resource_3
gerhard   7217  0.0  0.4 1161060 37372 ?       Sl   09:15   0:00  \_ /usr/bin/akonadi_archivemail_agent --identifier akonadi_archivemail_agent
--
root      3418  0.0  0.3  48984 28516 pts/2    Ss+  09:39   0:00  |           \_ /usr/bin/dpkg --status-fd 60 --configure libpam-systemd:amd64 udev:amd64 ifupdown:a libssl1.0.0:amd64 libpython3.5-minimal:amd64 libpython3.5-stdlib:amd64 libpython3.5:amd64 libssl-doc:all libssl-dev:amd64 python3.5-minimal:amd64 python3.5:amd64 lent-core-2.0-5:amd64 libwbclient0:amd64 samba-libs:amd64 samba-vfs-modules:amd64 samba-dsdb-modules:amd64 samba-common:all libsmbclient:amd64 smbclient:amd64 pythonba:amd64 samba-common-bin:amd64 samba:amd64 mysql-client-core-5.7:amd64 mysql-client-5.7:amd64 mysql-server-core-5.7:amd64 mysql-server-5.7:amd64 ubuntu-drivers-comamd64 openssl:amd64 libgdk-pixbuf2.0-common:all libgdk-pixbuf2.0-0:amd64 libbamf3-2:amd64 bamfdaemon:amd64 compiz-core:amd64 libcompizconfig0:amd64 libdecoration0:a compiz-plugins-default:amd64 compiz-gnome:amd64 compiz-plugins:amd64 compiz:all dkms:all firefox:amd64 firefox-locale-bg:amd64 firefox-locale-de:amd64 firefox-locan:amd64 firefox-locale-fr:amd64 flashplugin-installer:amd64 gir1.2-gdkpixbuf-2.0:amd64 libjavascriptcoregtk-4.0-18:amd64 libwebkit2gtk-4.0-37:amd64 libwebkit2gtk-4.-gtk2:amd64 gir1.2-javascriptcoregtk-4.0:amd64 gir1.2-webkit2-4.0:amd64 gnome-calendar:amd64 gtk2-engines-murrine:amd64 libgweather-common:all libgweather-3-6:amd64mysqlclient20:amd64 libmysqlclient-dev:amd64 libservlet3.1-java:all unity-services:amd64 unity-schemas:all libunity-core-6.0-9:amd64 unity:amd64 linux-headers-4.4.0all linux-headers-4.4.0-38-generic:amd64 linux-headers-4.4.0-38-lowlatency:amd64 linux-headers-generic:amd64 linux-headers-lowlatency:amd64 linux-libc-dev:amd64 mtoamd64 musescore-common:all musescore:amd64 musescore-soundfont-gm:all mysql-client:all mysql-server:all thunderbird:amd64 thunderbird-locale-fr:amd64 thunderbird-lo-de:amd64 thunderbird-locale-en:amd64 thunderbird-locale-bg:amd64 thunderbird-gnome-support:amd64 thunderbird-globalmenu:amd64 thunderbird-locale-en-gb:all thunderblocale-en-us:all compiz-plugins-extra:all compiz-plugins-main:all python-compizconfig:amd64 compizconfig-settings-manager:all floppyd:amd64 grub-legacy-ec2:all oxidcodecs-extra:amd64 liboxideqtcore0:amd64 liboxideqtquick0:amd64 liboxideqt-qmlplugin:amd64
root      4234  0.0  0.4  87880 37652 pts/2    S+   09:39   0:00  |               \_ /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/mysql-server-5.stinst configure 5.7.13-0ubuntu0.16.04.2
root      4243  0.0  0.0  17912  3372 pts/2    S+   09:39   0:00  |                   \_ /bin/bash /var/lib/dpkg/info/mysql-server-5.7.postinst configure 5.7.13-0ub0.16.04.2
mysql     4664  0.0  2.3 1212632 182180 pts/2  Sl+  09:40   0:01  |                       \_ mysqld --user=mysql --init-file=/var/lib/mysql-files/tmp.pSvPtooEQT --st=/tmp/tmp.lA9qhhnuhO/mysqld.sock --pid-file=/tmp/tmp.lA9qhhnuhO/mysqld.pid
gerhard  26175  0.1  0.0  29584  7348 pts/3    Ss   10:38   0:00  \_ /bin/bash
gerhard  26261  0.0  0.0  43152  4376 pts/3    R+   10:39   0:00      \_ ps axuf
gerhard  26262  0.0  0.0  19460  1088 pts/3    S+   10:39   0:00      \_ grep -A5 mysql
root      3525  0.0  0.0  44800  4180 ?        Ss   09:39   0:00 /lib/systemd/systemd-udevd
root      3923  0.0  0.1 341588 15708 ?        Ss   09:39   0:00 /usr/sbin/smbd -D
root      3925  0.0  0.0 334604  5840 ?        S    09:39   0:00  \_ /usr/sbin/smbd -D
root      4041  0.0  0.1 341596  8868 ?        S    09:39   0:00  \_ /usr/sbin/smbd -D
root      4048  0.0  0.0 245224  5980 ?        Ss   09:39   0:00 /usr/sbin/nmbd -D

floogy

(Themenstarter)

Anmeldungsdatum:
21. Juli 2006

Beiträge: 3297

Wohnort: Koblenz

Habe nun zwei Prozesse gekillt. Den Bash-Prozess zu unterbrechen, der das Postinstall-Skript ausführte reichte allein nicht. Ich musste auch noch den mysqld Prozess abbrechen.

1
2
3
root      4234  0.0  0.4  87880 37652 pts/2    S+   09:39   0:00  |               \_ /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/mysql-server-5.7.postinst configure 5.7.13-0ubuntu0.16.04.2
root      4243  0.0  0.0  17912  3372 pts/2    S+   09:39   0:00  |                   \_ /bin/bash /var/lib/dpkg/info/mysql-server-5.7.postinst configure 5.7.13-0ubuntu0.16.04.2
mysql     4664  0.0  2.3 1212632 182180 pts/2  Sl+  09:40   0:03  |                       \_ mysqld --user=mysql --init-file=/var/lib/mysql-files/tmp.pSvPtooEQT --socket=/tmp/tmp.lA9qhhnuhO/mysqld.sock --pid-file=/tmp/tmp.lA9qhhnuhO/mysqld.pid
1
2
sudo kill 4243
sudo kill 4664
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

[...]

status   : OK
Upgrade process completed successfully.
Checking if update is needed.










ubuntu-drivers-common (1:0.4.17.2) wird eingerichtet ...

openssl (1.0.2g-1ubuntu4.5) wird eingerichtet ...

[...]


Ignoring Xen kernel on non-Xen host: vmlinuz-4.4.0-31-generic
Found Xen hypervisor 4.6-amd64,  kernel: /boot/vmlinuz-4.4.0-31-generic
Found kernel: /boot/vmlinuz
Found kernel: /boot/memtest86+.bin
Replacing config file /run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... Updating the default booting kernel
done

oxideqt-codecs-extra:amd64 (1.17.7-0ubuntu0.16.04.1) wird eingerichtet ...
liboxideqtcore0:amd64 (1.17.7-0ubuntu0.16.04.1) wird eingerichtet ...
liboxideqtquick0:amd64 (1.17.7-0ubuntu0.16.04.1) wird eingerichtet ...
liboxideqt-qmlplugin:amd64 (1.17.7-0ubuntu0.16.04.1) wird eingerichtet ...
Trigger für initramfs-tools (0.122ubuntu8.1) werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-4.4.0-31-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Trigger für libc-bin (2.23-0ubuntu3) werden verarbeitet ...
W: Operation wurde unterbrochen, bevor sie beendet werden konnte.
gerhard@ubuntu:~$ 

Ich reboote nun.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

gerhard@ubuntu:~$ sudo apt-get update && sudo apt-get dist-upgrade
[sudo] Passwort für gerhard: 
OK:1 http://archive.ubuntu.com/ubuntu xenial InRelease
OK:2 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
Holen:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [95,7 kB]
OK:4 http://de.archive.ubuntu.com/ubuntu xenial InRelease                                                
Holen:5 ftp://security.ubuntu.com/ubuntu xenial-security InRelease [94,5 kB]                             
Holen:6 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [329 kB]                                                                           
Holen:7 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [326 kB]                                                                            
Holen:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [390 kB]                                                                               
Holen:9 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [385 kB]                                                                                
Es wurden 1.621 kB in 6 s geholt (240 kB/s).                                                                                                                       
usage: debtags [-h] [--version] [--verbose] [--debug]
               {tag,cat,grep,check,diff,mkpatch,search,dumpavail,show,submit,tagcat,tagshow,tagsearch,update,vocfilter}
               ...
debtags: error: unrecognized arguments: --local
Paketlisten werden gelesen... Fertig
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
gerhard@ubuntu:~$ 

Der workaround funktioniert also, keine Ahnung, ob es Probleme mit mysql geben wird.

Zu der weiterhin auftauchenden Fehlermeldung "debtags: error: unrecognized arguments: --local" gibt es einen Launchpad-Bug.

https://bugs.launchpad.net/tripleo/+bug/1490792

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791647

Antworten |