Univention Bugzilla – Bug 45935
univention-squid installation in 4.3 fails
Last modified: 2020-07-04 07:33:53 CEST
apt-get -s install univention-squid Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass Sie eine unmögliche Situation angefordert haben oder, wenn Sie die Unstable-Distribution verwenden, dass einige erforderliche Pakete noch nicht erstellt wurden oder Incoming noch nicht verlassen haben. Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen: Die folgenden Pakete haben unerfüllte Abhängigkeiten: univention-squid : Hängt ab von: squid3 soll aber nicht installiert werden univention-squid breaks squid, but in debian strech squid3 is just a transitional package for squid (with version 3...). So we have to remove breaks: squid form univention-squid
fixed the package dependency, but due to upstream changes we have to rename everything back from squid3 to squid in our univention-squid, univention-dansguardian, ucs-test, univention-nagios-servicechecks and the documentation
changed squid3 to squid in * univention-squid * univention-dansguardian * univention-nagios-servicechecks * docs 02bcfb9c636c494e9127eddc3202b5f04676c3a3 re-activated tests/43_proxy/04_http_proxy_ntlm_auth_performance_check in ucs-test TODO: update
Update * univention-squid: move configs during update more debian/univention-squid.maintscript rm_conffile /etc/univention/templates/files/etc/squid3/allowed_ldap_groups.conf 11.0.0-3~ rm_conffile /etc/univention/templates/files/etc/squid3/squid.conf 11.0.0-3~ mv_conffile /etc/squid3/local_bottom.conf /etc/squid/local_bottom.conf 11.0.0-3~ mv_conffile /etc/squid3/local_rules.conf /etc/squid/local_rules.conf 11.0.0-3~ mv_conffile /etc/univention/templates/files/etc/default/squid3 /etc/univention/templates/files/etc/default/squid 11.0.0-3~ and postinst # 4.3 update if [ "$1" = configure -a -n "$2" ] && dpkg --compare-versions "$2" lt 11.0.0-3; then if [ -e "/etc/squid3.secret" ] && [ ! -e "/etc/squid.secret" ]; then mv /etc/squid3.secret /etc/squid.secret fi if [ -e /etc/squid3/local.conf ] && [ ! -e /etc/squid/local.conf ]; then mv /etc/squid3/local.conf /etc/squid/local.conf fi fi * univention-updater: additionally, the whole /etc/squid3 directory and the squid.conf template are saved in /etc/squid3-update-4.3 before the update (preup.sh) * squid3: i had to patch the squid3 package, in the transition package squid3 the postinst moved the old /etc/squid3/squid.conf to /etc/squid/squid.conf. At this point univention-squid is already installed and /etc/squid/squid.conf is a new UCR template, the old /etc/squid3/squid.conf no longer works and lets the squid restart fail. So this has been removed. * changelog-4.3-0.xml, added info QA: at least new installation and update tests
OK: univention-install univention-squid # install on UCS_4.3 OK: univentipn-upgrade # 4.2 → 4.3 f80df30d50 Bug #45935, release notes 4.3 99e24925e4 Bug #45935: info f1d23b30dd Bug #45935: squid3 -> squid, update fb53c40189 Bug #45935: backup /etc/squid3 before update f4a6e0c497 Bug #45935: squid3 -> squid, update 9a326f8bc0 Bug #45935: squid3 -> squid, update ec095f7ea6 Bug #45935: squid3 -> squid, update b0efbd934b Bug #45935: squid3 -> squid, update 6dc6bfdfea Bug #45935: squid3 -> squid, update 88909d4986 Bug #45935: squid3 -> squid, update 866a76220d Bug #45935: squid3 -> squid, update 58146dd68f Bug #45935: 43_proxy/04_http_proxy_ntlm_auth_performance_check: activated 02bcfb9c63 Bug #45935: squid3 -> squid 3457001f56 Bug #45935: squid3 -> squid af358a02fb Bug #45935: squid3 -> squid 1dd11d5b92 Bug #45935: squid3 -> squid 0f7acac940 Bug #45935: rename squid3 into squid eafb489148 Bug #45935: fix control
Why do I get the following?: squid (3.5.23-5A~4.3.0.201801151932) wird eingerichtet ... stat: der Aufruf von stat für '/var/spool/squid3' ist nicht möglich: Datei oder Verzeichnis nicht gefunden chown: Zugriff auf '/var/spool/squid3' nicht möglich: Datei oder Verzeichnis nicht gefunden dpkg: Fehler beim Bearbeiten des Paketes squid (--configure):
(In reply to Florian Best from comment #5) > Why do I get the following?: > > squid (3.5.23-5A~4.3.0.201801151932) wird eingerichtet ... > stat: der Aufruf von stat für '/var/spool/squid3' ist nicht möglich: Datei > oder Verzeichnis nicht gefunden > chown: Zugriff auf '/var/spool/squid3' nicht möglich: Datei oder Verzeichnis > nicht gefunden > dpkg: Fehler beim Bearbeiten des Paketes squid (--configure): please re-open the bug if there is a problem and provide info's on how to reproduce the issue (e.g. i can install univention-squid just fine on my 4.3)
Jenkins complains about the following in UCS@school update tests: 03_ucr.35check-ucr-templates.test (2018-01-31 00:04:41.730006) WARNING: The following UCR files are modified locally. (2018-01-31 00:04:41.730064) Updated versions will be named FILENAME.dpkg-*. (2018-01-31 00:04:41.730078) The files should be checked for differences. (2018-01-31 00:04:41.730149) [2018-01-31 00:04:41.730253] /etc/univention/templates/files/etc/default/squid http://jenkins.knut.univention.de:8080/job/UCSschool-4.3/job/Upgrade%20Singleserver/lastCompletedBuild/Config=s4,TestGroup=import3/testReport/03_ucr/35check-ucr-templates/test/
(In reply to Sönke Schwardt-Krummrich from comment #7) > Jenkins complains about the following in UCS@school update tests: > > 03_ucr.35check-ucr-templates.test > > (2018-01-31 00:04:41.730006) WARNING: The following UCR files are modified > locally. > (2018-01-31 00:04:41.730064) Updated versions will be named FILENAME.dpkg-*. > (2018-01-31 00:04:41.730078) The files should be checked for differences. > (2018-01-31 00:04:41.730149) > [2018-01-31 00:04:41.730253] > /etc/univention/templates/files/etc/default/squid > > http://jenkins.knut.univention.de:8080/job/UCSschool-4.3/job/ > Upgrade%20Singleserver/lastCompletedBuild/Config=s4,TestGroup=import3/ > testReport/03_ucr/35check-ucr-templates/test/ rm instead of mv conffile /etc/univention/templates/files/etc/default/squid3 ok in my tests, lets wait and see the ucs-tests ...
OK: ec4db1f737 Bug #45935: squid3 -> squid, update OK: <http://xen1.knut.univention.de:8000/packages/source/univention-squid/?since=4.3> OK: univention-install univention-squid OK: <http://jenkins.knut.univention.de:8080/job/UCSschool-4.3/job/Upgrade%20Singleserver/lastCompletedBuild/Config=s4,TestGroup=import3/testReport/03_ucr/35check-ucr-templates/test/>
UCS 4.3 has been released: https://docs.software-univention.de/release-notes-4.3-0-en.html https://docs.software-univention.de/release-notes-4.3-0-de.html If this error occurs again, please use "Clone This Bug".
*** Bug 36572 has been marked as a duplicate of this bug. ***