Updates broke Lighttpd
-
@mitu Seems normal to me. Are there any odd one?
grep ^[^#] /etc/apt/sources.list /etc/apt/sources.list.d/* /etc/apt/sources.list:deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi /etc/apt/sources.list.d/php.list:deb https://packages.sury.org/php/ stretch main /etc/apt/sources.list.d/pipplware.list:deb http://pipplware.pplware.pt/pipplware/dists/stretch/main/binary/ ./ /etc/apt/sources.list.d/raspi.list:deb http://archive.raspberrypi.org/debian/ stretch main ui
-
@Peeteris said in Updates broke Lighttpd:
deb https://packages.sury.org/php/ stretch main
This repository contains a
libssl
version that's conflicting with the one distributed by the Raspbian repos. Remove the repository and try re-installinglibssl
again, then check iflighttpd
works. -
@mitu Removed the repository.
But I can't install the necessary version:pi@User:~ $ sudo apt install libssl1.1 Reading package lists... Done Building dependency tree Reading state information... Done libssl1.1 is already the newest version (1.1.1c-1+0~20190710.13+debian9~1.gbp359e02). 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. pi@User:~ $ sudo apt-get remove libssl1.1 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: libsdl1.2-dev : Depends: libpulse-dev but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
-
@Peeteris You need to re-install it.
apt update apt install --reinstall libssl1.1
-
@mitu :/
sudo apt install --reinstall libssl1.1 Reading package lists... Done Building dependency tree Reading state information... Done Reinstallation of libssl1.1 is not possible, it cannot be downloaded. 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
-
@Peeteris You need to learn how
apt/apt-get/dpkg
work. Did you runapt update
before trying to re-install ? Post the output ofapt-cache policy libssl1.1
-
Or use after apt update use
aptitude install
on lighttpd and go through the options when you get the dependency issue and choose to downgrade SSL. -
pi@User:~ $ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0 raspberrypi-bootloader raspberrypi-kernel raspberrypi-kernel-headers 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. pi@User:~ $ sudo apt update Hit:1 http://archive.raspberrypi.org/debian stretch InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease Hit:3 http://pipplware.pplware.pt/pipplware/dists/stretch/main/binary ./ InRelease Reading package lists... Done Building dependency tree Reading state information... Done 7 packages can be upgraded. Run 'apt list --upgradable' to see them. pi@User:~ $ sudo apt install --reinstall libssl1.1 Reading package lists... Done Building dependency tree Reading state information... Done Reinstallation of libssl1.1 is not possible, it cannot be downloaded. 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. pi@User:~ $ apt-cache policy libssl1.1 libssl1.1: Installed: 1.1.1c-1+0~20190710.13+debian9~1.gbp359e02 Candidate: 1.1.1c-1+0~20190710.13+debian9~1.gbp359e02 Version table: *** 1.1.1c-1+0~20190710.13+debian9~1.gbp359e02 100 100 /var/lib/dpkg/status 1.1.0l-1~deb9u1 500 500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages pi@User:~ $
-
Looks like I have to brush up also on some advanced
apt
options :).
You can try @BuZz's suggestion, butaptitude
is not installed by default on a Raspbian lite.
Try forcingapt
to install the Raspbian version:sudo apt install --reinstall libssl1.1=1.1.0l-1~deb9u1
-
@BuZz said in Updates broke Lighttpd:
Or use after apt update use
aptitude install
on lighttpd and go through the options when you get the dependency issue and choose to downgrade SSL.@mitu said in Updates broke Lighttpd:
Looks like I have to brush up also on some advanced
apt
options :).
You can try @BuZz's suggestion, butaptitude
is not installed by default on a Raspbian lite.
Try forcingapt
to install the Raspbian version:sudo apt install --reinstall libssl1.1=1.1.0l-1~deb9u1
You are the best!
Both of these solutions would work out (tried 1st one without answering yes, but it would downgrade libssl and install lighttpd).
I used the @mitu one and then installed lighttpd.Thank you for being so helpful and knowledgeable. :)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.