Closed MichaIng closed 5 years ago
Ah the binaries have been removed 😱:
root@VM-Stretch:/mnt/dietpi_userdata/koel# dpkg -L lighttpd
/etc
/etc/cron.daily
/etc/cron.daily/lighttpd
/etc/init.d
/etc/init.d/lighttpd
/etc/lighttpd
/etc/lighttpd/conf-available
/etc/lighttpd/conf-available/05-auth.conf
/etc/lighttpd/conf-available/10-accesslog.conf
/etc/lighttpd/conf-available/10-cgi.conf
/etc/lighttpd/conf-available/10-dir-listing.conf
/etc/lighttpd/conf-available/10-evasive.conf
/etc/lighttpd/conf-available/10-evhost.conf
/etc/lighttpd/conf-available/10-expire.conf
/etc/lighttpd/conf-available/10-fastcgi.conf
/etc/lighttpd/conf-available/10-flv-streaming.conf
/etc/lighttpd/conf-available/10-no-www.conf
/etc/lighttpd/conf-available/10-proxy.conf
/etc/lighttpd/conf-available/10-rewrite.conf
/etc/lighttpd/conf-available/10-rrdtool.conf
/etc/lighttpd/conf-available/10-simple-vhost.conf
/etc/lighttpd/conf-available/10-ssi.conf
/etc/lighttpd/conf-available/10-ssl.conf
/etc/lighttpd/conf-available/10-status.conf
/etc/lighttpd/conf-available/10-userdir.conf
/etc/lighttpd/conf-available/10-usertrack.conf
/etc/lighttpd/conf-available/11-extforward.conf
/etc/lighttpd/conf-available/15-fastcgi-php.conf
/etc/lighttpd/conf-available/90-debian-doc.conf
/etc/lighttpd/conf-available/README
/etc/lighttpd/conf-enabled
/etc/lighttpd/lighttpd.conf
/etc/logrotate.d
/etc/logrotate.d/lighttpd
/var
/var/cache
/var/cache/lighttpd
/var/cache/lighttpd/compress
/var/log
/var/log/lighttpd
/var/www
NB: Lighttpd was installed before. Otherwise it would have been marked by Allo GUI as well.
root@VM-Stretch:/mnt/dietpi_userdata/koel# apt install --reinstall lighttpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
lighttpd : Depends: libssl1.1 (>= 1.1.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@VM-Stretch:/mnt/dietpi_userdata/koel# dpkg -l libssl*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=====================================================-===============================-===============================-===============================================================================================================
ii libssl1.0.0:amd64 1.0.1t-1+deb8u7 amd64 Secure Sockets Layer toolkit - shared libraries
ii libssl1.0.2:amd64 1.0.2r-1~deb9u1 amd64 Secure Sockets Layer toolkit - shared libraries
ii libssl1.1:amd64 1.1.1b-1+0~20190228092419.10+st amd64 Secure Sockets Layer toolkit - shared libraries
root@VM-Stretch:/mnt/dietpi_userdata/koel# apt-mark showhold
mpd
root@VM-Stretch:/mnt/dietpi_userdata/koel# apt show -a libssl1.1
Package: libssl1.1
Version: 1.1.1b-1+0~20190228092419.10+stretch~1.gbp729d89
Priority: optional
Section: libs
Source: openssl
Maintainer: Debian OpenSSL Team <pkg-openssl-devel@lists.alioth.debian.org>
Installed-Size: 4,134 kB
Depends: libc6 (>= 2.17), debconf (>= 0.5) | debconf-2.0
Breaks: isync (<< 1.3.0-2), lighttpd (<< 1.4.49-2), python-boto (<< 2.44.0-1.1), python-httplib2 (<< 0.11.3-1), python-imaplib2 (<< 2.57-5), python3-boto (<< 2.44.0-1.1), python3-imaplib2 (<< 2.57-5)
Homepage: https://www.openssl.org/
Download-Size: 1,520 kB
APT-Manual-Installed: no
APT-Sources: https://packages.sury.org/php stretch/main amd64 Packages
Description: Secure Sockets Layer toolkit - shared libraries
Package: libssl1.1 Version: 1.1.0j-1~deb9u1 Priority: important Section: libs Source: openssl Maintainer: Debian OpenSSL Team pkg-openssl-devel@lists.alioth.debian.org Installed-Size: 3,640 kB Depends: libc6 (>= 2.17), debconf (>= 0.5) | debconf-2.0 Breaks: salt-common (<= 2016.3.3+ds-3) Homepage: https://www.openssl.org/ Tag: role::shared-lib Download-Size: 1,354 kB APT-Sources: https://deb.debian.org/debian stretch/main amd64 Packages Description: Secure Sockets Layer toolkit - shared libraries
root@VM-Stretch:/mnt/dietpi_userdata/koel# dpkg -l lighttpd Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=====================================================-===============================-===============================-=============================================================================================================== rc lighttpd 1.4.45-1 amd64 fast webserver with minimal memory footprint
Found it, shairport-sync
installs openssl
which then fulls this version which removes lighttpd:
[ OK ] DietPi-Software | Connection test: https://dietpi.com/downloads/binaries/all/shairport-sync_3.2.2_x86_64.7z
[ INFO ] DietPi-Software | G_THREAD_START_0 | wget https://dietpi.com/downloads/binaries/all/shairport-sync_3.2.2_x86_64.7z -O 37.7z
[ INFO ] DietPi-Software | APT installation for: openssl libsoxr0 libavahi-client3 libtool libconfig9 libpopt0 libdaemon0, please wait...
Preconfiguring packages ...
(Reading database ... 27822 files and directories currently installed.)
Removing lighttpd (1.4.45-1) ...
Selecting previously unselected package file.
(Reading database ... 27762 files and directories currently installed.)
Preparing to unpack .../file_1%3a5.30-1+deb9u2_amd64.deb ...
Unpacking file (1:5.30-1+deb9u2) ...
Selecting previously unselected package libconfig9:amd64.
Preparing to unpack .../libconfig9_1.5-0.3_amd64.deb ...
Unpacking libconfig9:amd64 (1.5-0.3) ...
Preparing to unpack .../libssl1.1_1.1.1b-1+0~20190228092419.10+stretch~1.gbp729d89_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1b-1+0~20190228092419.10+stretch~1.gbp729d89) over (1.1.0j-1~deb9u1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../libtool_2.4.6-2_all.deb ...
Unpacking libtool (2.4.6-2) ...
Preparing to unpack .../openssl_1.1.1b-1+0~20190228092419.10+stretch~1.gbp729d89_amd64.deb ...
Unpacking openssl (1.1.1b-1+0~20190228092419.10+stretch~1.gbp729d89) over (1.1.0j-1~deb9u1) ...
Setting up libconfig9:amd64 (1.5-0.3) ...
Setting up file (1:5.30-1+deb9u2) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libssl1.1:amd64 (1.1.1b-1+0~20190228092419.10+stretch~1.gbp729d89) ...
Setting up openssl (1.1.1b-1+0~20190228092419.10+stretch~1.gbp729d89) ...
Installing new version of config file /etc/ssl/openssl.cnf ...
Setting up libtool (2.4.6-2) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
🈯️ Solve via APT pinging:
root@VM-Stretch:/tmp# cat /etc/apt/preferences.d/dietpi-openssl
Package: openssl libssl1.1
Pin: origin packages.sury.org
Pin-Priority: -1
Package: openssl libssl1.1
Pin: release o=Debian
Pin-Priority: 1001
So far nothing depends on this newer libssl1.1 version, Lighttpd after reinstall works fine.
Okay I mark this as closed. No Allo GUI issue, just showed up during testing it. I referenced from the PHP7.3 issue.
We don't do this actively and I can't see any APT step that does this mask. However the service is masked:
Hmm obviously with some reason. When unmasking and starting, if exits silently. No error log, no journald log... Something else binds to port 80?