Cannot install any app from App Center


#1

Hello,

when i try to install any application from App center display this error:
Error performing the action

The requested action cannot be carried out. Please consider the information listed below in order to resolve the problem and try again.
The software changes on this host consist of: 2 erroneous packages

More information…
This operation causes problems in the following packages that cannot be resolved:

univention-self-service
univention-self-service-passwordreset-umc

and Repository Settings is clear !!

please help me to fix this problem .

Regards,


#2

Hey,

please make sure that all of your servers are up to date by running univention-upgrade on each of them. You don’t have to upgrade to a new release (e.g. if you’re still running 4.0-x you don’t have to upgrade to 4.1-x), but you should install all available updates and errata levels for your current release.

Afterwards try installing the app again. If it doesn’t work then post the output of relevant log files here (the files appcenter.log and management-console-module-appcenter.log in the directory /var/log/univention). Thanks.

Kind regards,
mosu


#3

univention-upgrade

Starting univention-upgrade. Current UCS version is 4.1-0 errata75

Checking for local repository: none
Checking for release updates: none
Checking for package updates: none
Checking for app updates: none


#4

this is part of appcenter.log

25820 apps 16-04-24 03:12:58 [ DEBUG]: Using additional /var/cache/univention-appcenter/dudle_20151113.meta
25820 apps 16-04-24 03:12:58 [ DEBUG]: Loading app from /var/cache/univention-appcenter/opsi_20160114.ini
25820 apps 16-04-24 03:12:58 [ DEBUG]: Using additional /var/cache/univention-appcenter/opsi_20160114.meta
25820 apps 16-04-24 03:12:58 [ DEBUG]: Loading app from /var/cache/univention-appcenter/xrdp_20150902.ini
25820 apps 16-04-24 03:12:58 [ DEBUG]: Using additional /var/cache/univention-appcenter/xrdp_20150902.meta
25820 apps 16-04-24 03:12:58 [ DEBUG]: Loading app from /var/cache/univention-appcenter/kix4otrs6_20160111.ini
25820 apps 16-04-24 03:12:58 [ DEBUG]: Using additional /var/cache/univention-appcenter/kix4otrs6_20160111.meta
25820 apps 16-04-24 03:12:58 [ DEBUG]: Loading app from /var/cache/univention-appcenter/univention-demo-data_20151202.ini
25820 apps 16-04-24 03:12:58 [ DEBUG]: Using additional /var/cache/univention-appcenter/univention-demo-data_20151202.meta
25820 apps 16-04-24 03:12:58 [ DEBUG]: Loading app from /var/cache/univention-appcenter/maildisclaimer_20150711.ini
25820 apps 16-04-24 03:12:58 [ DEBUG]: Using additional /var/cache/univention-appcenter/maildisclaimer_20150711.meta
25820 apps 16-04-24 03:12:58 [ DEBUG]: Loading app from /var/cache/univention-appcenter/adconnector.ini
25820 apps 16-04-24 03:12:58 [ DEBUG]: Using additional /var/cache/univention-appcenter/adconnector.meta
25820 apps 16-04-24 03:12:58 [ DEBUG]: Loading app from /var/cache/univention-appcenter/uvmm-ec2.ini
25820 apps 16-04-24 03:12:58 [ DEBUG]: Using additional /var/cache/univention-appcenter/uvmm-ec2.meta
25820 apps 16-04-24 03:12:58 [ DEBUG]: Loading app from /var/cache/univention-appcenter/7i4ucs-wordpress_20151204.ini
25820 apps 16-04-24 03:12:58 [ DEBUG]: Using additional /var/cache/univention-appcenter/7i4ucs-wordpress_20151204.meta
25820 apps 16-04-24 03:12:58 [ DEBUG]: Loading app from /var/cache/univention-appcenter/7i4ucs-redmine_20150511.ini
25820 apps 16-04-24 03:12:58 [ DEBUG]: Using additional /var/cache/univention-appcenter/7i4ucs-redmine_20150511.meta
25820 apps 16-04-24 03:12:58 [ DEBUG]: Loading app from /var/cache/univention-appcenter/ucsschool_20160115.ini
25820 apps 16-04-24 03:12:58 [ DEBUG]: Using additional /var/cache/univention-appcenter/ucsschool_20160115.meta
25820 apps 16-04-24 03:12:58 [ DEBUG]: Loading app from /var/cache/univention-appcenter/owncloud81_20151104.ini
25820 apps 16-04-24 03:12:58 [ DEBUG]: Using additional /var/cache/univention-appcenter/owncloud81_20151104.meta
25820 apps 16-04-24 03:12:58 [ DEBUG]: Loading app from /var/cache/univention-appcenter/ucsschool_20160314.ini
25820 apps 16-04-24 03:12:58 [ DEBUG]: Using additional /var/cache/univention-appcenter/ucsschool_20160314.meta
25820 apps 16-04-24 03:12:58 [ DEBUG]: Loading app from /var/cache/univention-appcenter/open-xchange-guard_20160215.ini
25820 apps 16-04-24 03:12:58 [ DEBUG]: Using additional /var/cache/univention-appcenter/open-xchange-guard_20160215.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/drbd_20140903.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/drbd_20140903.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/z-push_20160203.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/z-push_20160203.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/orocrm.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/orocrm.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/webweaver_20150130.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/webweaver_20150130.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/etherpad-lite_20150807.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/etherpad-lite_20150807.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/kix4otrs7_20160322.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/kix4otrs7_20160322.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/7i4ucs-svn_20150511.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/7i4ucs-svn_20150511.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/privacyidea_20151206.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/privacyidea_20151206.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/egroupware_20151130.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/egroupware_20151130.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/ucc_20150807.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/ucc_20150807.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/radius.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/radius.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/mobydick_20150527.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/mobydick_20150527.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/tine20_20151009.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/tine20_20151009.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/openproject_20160205.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/openproject_20160205.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/klms_20150730.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/klms_20150730.meta
25820 apps 16-04-24 03:12:59 [ DEBUG]: Loading app from /var/cache/univention-appcenter/jenkins_20160303.ini
25820 apps 16-04-24 03:12:59 [ DEBUG]: Using additional /var/cache/univention-appcenter/jenkins_20160303.meta
25820 actions.upgrade-search.progress 16-04-24 03:12:59 [ DEBUG]: 100


#5

Hey,

[quote=“Ebrahim Elsayed”]univention-upgrade

Starting univention-upgrade. Current UCS version is 4.1-0 errata75[/quote]

The current version is 4.1-1 errata156. See the output of ucr get version/version and ucr get version/erratalevel. Like I said: please upgrade your system(s).

Afterwards:

[ol][li]Note the number of lines in /var/log/univention/management-console-module-appcenter.log, e.g. with wc -l /var/log/univention/management-console-module-appcenter.log[/li]
[li]Go to the App Center and try to install the app[/li]
[li]If it fails extract all lines that were added to management-console-module-appcenter.log in step 2, e.g. with sed -e ‘NUMBERFROMSTEP1,$p’ -e d /var/log/univention/management-console-module-appcenter.log > ~/log.txt and attach that shorter log.txt here (you can also attach the full file and skip steps 1 and 3 if the file is not too big)[/li][/ol]

The appcenter.log is not as interesting to the problem at hand. Thanks.

Kind regards,
mosu


#6

Hello,

i’m solve this problem but i have a other problem :frowning: :frowning:

when i make a apt-get upgrade server stuck on ::
sudo dpkg --configure -a
Processing triggers for univention-config …
dpkg-query: no packages found matching ldapacl_66univention-appcenter_app.acl
Setting up univention-grub (9.0.1-4.130.201602171949) …
WARNING: Using deprecated debconf compatibility library.
File: /etc/default/grub
Generating grub configuration file …
File descriptor 3 (pipe:[1669816]) leaked on vgs invocation. Parent PID 26338: /usr/sbin/grub-probe
File descriptor 3 (pipe:[1669816]) leaked on vgs invocation. Parent PID 26338: /usr/sbin/grub-probe
File descriptor 3 (pipe:[1669816]) leaked on vgs invocation. Parent PID 26349: /usr/sbin/grub-probe
File descriptor 3 (pipe:[1669816]) leaked on vgs invocation. Parent PID 26349: /usr/sbin/grub-probe
File descriptor 3 (pipe:[1669816]) leaked on vgs invocation. Parent PID 26360: /usr/sbin/grub-probe
File descriptor 3 (pipe:[1669816]) leaked on vgs invocation. Parent PID 26360: /usr/sbin/grub-probe
File descriptor 3 (pipe:[1669816]) leaked on vgs invocation. Parent PID 26371: /usr/sbin/grub-probe
File descriptor 3 (pipe:[1669816]) leaked on vgs invocation. Parent PID 26371: /usr/sbin/grub-probe
Found background: /boot/grub/uniboot.png
File descriptor 3 (pipe:[1669816]) leaked on vgs invocation. Parent PID 26493: /usr/sbin/grub-probe
File descriptor 3 (pipe:[1669816]) leaked on vgs invocation. Parent PID 26493: /usr/sbin/grub-probe
File descriptor 3 (pipe:[1669816]) leaked on vgs invocation. Parent PID 26558: /usr/sbin/grub-probe
File descriptor 3 (pipe:[1669816]) leaked on vgs invocation. Parent PID 26558: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-4.1.0-ucs174-amd64
Found initrd image: /boot/initrd.img-4.1.0-ucs174-amd64
Found linux image: /boot/vmlinuz-4.1.0-ucs167-amd64
Found initrd image: /boot/initrd.img-4.1.0-ucs167-amd64
Found linux image: /boot/vmlinuz-4.1.0-ucs153-amd64
Found initrd image: /boot/initrd.img-4.1.0-ucs153-amd64
Found memtest86+ image: /memtest86+.bin

still without any new result from 2 days !!

Best Regards,


#7

Hey,

first never use “apt-get upgrade” to update Univention systems. Always use “univention-upgrade” which does quite a lot of Univention-specific things that have to be done in a certain order. If you have backups or snapshots from right before the upgrade then seriously consider rolling back to them.

About your current problem: try to find out which process is hanging. It should be a child process of dpkg (or at least apt-get). You can use e.g. “pstree -p -l” for a tree view of the process hierarchy allowing you to determine quickly which processes are child process of those aforementioned programs.

If it’s grub you may be able to kill it and then re-run “grub-install /dev/sda” or whatever your boot device is. Your upgrade process will probably die at that point as one of the postinstall scripts will have reported a failure due to killing grub. You’ll have to re-start the upgrade. There are a lot of articles out there how to do that; e.g. this one.

Kind regards,
mosu


#8

Hi,

i’m tired use univention-upgrade and apt-get upgrade because process is hang on :
Found linux image: /boot/vmlinuz-4.1.0-ucs174-amd64
Found initrd image: /boot/initrd.img-4.1.0-ucs174-amd64
Found linux image: /boot/vmlinuz-4.1.0-ucs167-amd64
Found initrd image: /boot/initrd.img-4.1.0-ucs167-amd64
Found linux image: /boot/vmlinuz-4.1.0-ucs153-amd64
Found initrd image: /boot/initrd.img-4.1.0-ucs153-amd64
Found memtest86+ image: /memtest86+.bin

and still without update from 4 days :frowning:

pstree -p -l init(1)─┬─apache2(10141)─┬─apache2(10348) │ ├─apache2(10349) │ ├─apache2(14152) │ ├─apache2(14158) │ ├─apache2(14159) │ ├─apache2(14162) │ ├─apache2(14163) │ ├─apache2(14164) │ ├─apache2(14165) │ └─apache2(14242) ├─bash(4573)─┬─apt-get(2018)───dpkg(2078) │ ├─sudo(26130)───dpkg(26134)───frontend(26240)───univention-grub(26246)───univention-conf(26247)───sh(26252)───update-grub(26253)───grub-mkconfig(26254)───30_os-prober(27098)───30_os-prober(27102)─┬─os-prober(27103)───10filesystems(27108)─┬─logger(27138) │ │ │ └─modprobe(27137) │ │ ├─paste(27105) │ │ └─tr(27104) │ └─update-grub(11248)───grub-mkconfig(11249)───30_os-prober(12083)───30_os-prober(12087)─┬─os-prober(12088)───10filesystems(12093)─┬─logger(12123) │ │ └─modprobe(12122) │ ├─paste(12090) │ └─tr(12089) ├─master(24362)─┬─pickup(3961) │ ├─qmgr(24369) │ └─tlsmgr(25647) ├─acpid(2479) ├─atd(3646) ├─cron(3690) ├─dhclient(1778) ├─docker(3414)─┬─{docker}(3417) │ ├─{docker}(3421) │ ├─{docker}(3422) │ ├─{docker}(3423) │ ├─{docker}(3428) │ ├─{docker}(3430) │ └─{docker}(24070) ├─getty(3984) ├─getty(3985) ├─getty(3986) ├─getty(3987) ├─getty(3988) ├─getty(3989) ├─haveged(2743) ├─icinga(2792)───{icinga}(2794) ├─ifplugd(2826) ├─inetd(3001) ├─kdc(2749) ├─kpasswdd(2751) ├─master(24362)─┬─pickup(3961) │ ├─qmgr(24369) │ └─tlsmgr(25647) ├─memcached(29125)─┬─{memcached}(29140) │ ├─{memcached}(29141) │ ├─{memcached}(29142) │ ├─{memcached}(29143) │ └─{memcached}(29144) ├─nagios3(3379)───{nagios3}(3381) ├─nrpe(12417) ├─nscd(2964)─┬─{nscd}(2970) │ ├─{nscd}(2971) │ ├─{nscd}(2972) │ ├─{nscd}(2973) │ ├─{nscd}(2974) │ └─{nscd}(2975) ├─ntpd(3315) ├─postgres(2648)─┬─postgres(2650) │ ├─postgres(2651) │ ├─postgres(2652) │ └─postgres(2653) ├─rpc.gssd(2063) ├─rpc.idmapd(2058) ├─rpc.statd(2044) ├─rpcbind(2012) ├─rsyslogd(2449)─┬─{rsyslogd}(2450) │ ├─{rsyslogd}(2451) │ └─{rsyslogd}(2452) ├─run-parts(2098)───update-grub(7008)───grub-mkconfig(7010)───30_os-prober(7847)───30_os-prober(7851)─┬─os-prober(7852)───10filesystems(7857)─┬─logger(7887) │ │ └─modprobe(7886) │ ├─paste(7854) │ └─tr(7853) ├─runsvdir(2421)─┬─runsv(2444) │ ├─runsv(2445)───univention-dire(29260) │ ├─runsv(2446)───named(2566)─┬─{named}(2605) │ │ ├─{named}(2606) │ │ ├─{named}(2607) │ │ └─{named}(2608) │ ├─runsv(2447)───named(2564)─┬─{named}(2601) │ │ ├─{named}(2602) │ │ ├─{named}(2603) │ │ └─{named}(2604) │ └─runsv(2448)───univention-dire(3184) ├─screen(4572)───bash(4573)─┬─apt-get(2018)───dpkg(2078) │ ├─sudo(26130)───dpkg(26134)───frontend(26240)───univention-grub(26246)───univention-conf(26247)───sh(26252)───update-grub(26253)───grub-mkconfig(26254)───30_os-prober(27098)───30_os-prober(27102)─┬─os-prober(27103)───10filesystems(27108)─┬─logger(27138) │ │ │ └─modprobe(27137) │ │ ├─paste(27105) │ │ └─tr(27104) │ └─update-grub(11248)───grub-mkconfig(11249)───30_os-prober(12083)───30_os-prober(12087)─┬─os-prober(12088)───10filesystems(12093)─┬─logger(12123) │ │ └─modprobe(12122) │ ├─paste(12090) │ └─tr(12089) ├─slapd(25344)─┬─{slapd}(25345) │ ├─{slapd}(25361) │ ├─{slapd}(25607) │ └─{slapd}(27741) kill -9 23773 ├─sshd(2609)───sshd(12602)───bash(12657)───pstree(12956) ├─udevd(368)─┬─udevd(8223) │ └─udevd(8226) ├─univention-mana(10040) ├─univention-mana(10058)─┬─{univention-mana}(10059) │ ├─{univention-mana}(10067) │ ├─{univention-mana}(10073) │ ├─{univention-mana}(10074) │ ├─{univention-mana}(10075) │ ├─{univention-mana}(10076) │ ├─{univention-mana}(10077) │ ├─{univention-mana}(10078) │ ├─{univention-mana}(10079) │ ├─{univention-mana}(10080) │ ├─{univention-mana}(10081) │ ├─{univention-mana}(10082) │ ├─{univention-mana}(10083) │ ├─{univention-mana}(10084) │ ├─{univention-mana}(10085) │ ├─{univention-mana}(10086) │ ├─{univention-mana}(10087) │ ├─{univention-mana}(10088) │ ├─{univention-mana}(10089) │ ├─{univention-mana}(10090) │ ├─{univention-mana}(10091) │ ├─{univention-mana}(10092) │ ├─{univention-mana}(10093) │ ├─{univention-mana}(10094) │ ├─{univention-mana}(10095) │ ├─{univention-mana}(10096) │ ├─{univention-mana}(10097) │ ├─{univention-mana}(10098) │ ├─{univention-mana}(10099) │ ├─{univention-mana}(10100) │ ├─{univention-mana}(10101) │ ├─{univention-mana}(10102) │ ├─{univention-mana}(10103) │ ├─{univention-mana}(10104) │ ├─{univention-mana}(10105) │ ├─{univention-mana}(10106) │ ├─{univention-mana}(10107) │ └─{univention-mana}(10108) └─univention-welc(3965)───hexdump(4023)


#9

univention-upgrade --ignoressh

Starting univention-upgrade. Current UCS version is 4.1-0 errata158

Checking for local repository: none
Checking for release updates: found: UCS 4.1-1

Do you want to update to 4.1-1 [Y|n]? y

Starting update to UCS version 4.1-1
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the download directory

HINT:
Please check the release notes carefully BEFORE updating to UCS 4.1-1:
English version: docs.software-univention.de/rel … -1-en.html
German version: docs.software-univention.de/rel … -1-de.html

Please also consider documents of following release updates and
3rd party components.

Do you want to continue [Y/n]? y

Checking for space on /var/cache/apt/archives: OK
Checking for space on /boot: OK
Checking for space on /: OK
Checking for package status: failed
ERROR: The package state on this system is inconsistent.
Please run ‘dpkg --configure -a’ manually
Error: Please check “/var/log/univention/updater.log” for details.
ERROR: update failed. Please check /var/log/univention/updater.log

root@dc-mgt:~#


#10

Hey,

the process seems to hang during the upgrade of grub, just like I thought. To be more precise: the script detecting existing filesystems & installation and including them in grub’s boot menu seems to hang. Do you have any USB drives connected at the time you’re running the upgrade?

If possible please also post the output of the following commands while the upgrade is hanging:

[ol][li]lsblk[/li]
[li]blkid[/li]
[li]dmesg[/li][/ol]

Thanks. The output of dmesg can be big; you should probably use the forum’s file attachment functionality instead of simply posting its output inline.

Kind regards,
mosu