Openbox

I watched the video on Openbox and REALLY liked what I saw. I decided to install it and this is what I got:

Reading state information…
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
libxslt1-dev : Depends: libxml2-dev (>= 2.6.26) but it is not installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).

I tried all of that and nothing worked. Is there someway I can get it to install? Right now I run Butterbien with DWM.

Thanks for watching! Good news: this isn’t the openbox script, and it’s not Butterbian either. Nothing in the openbox setup (or the base install) uses libxslt1-dev. I checked. Your apt was already in a broken state before the installer ran: a half-installed libxslt1-dev is sitting on your system from something else (usually an interrupted source build or a third-party script that pulled in build dependencies), and apt refuses to install anything until it’s cleared.

The specific error means apt can’t install libxml2-dev, which has to exactly match the version of libxml2 you already have. When --fix-broken does nothing, it’s usually because your sources can’t offer a matching version.

Since nothing in my stack needs libxslt1-dev, the fastest way out is to just remove the broken package:

sudo dpkg --configure -a
sudo apt remove libxslt1-dev
sudo apt autoremove
sudo apt update && sudo apt full-upgrade

Then re-run the openbox installer.

If you actually need libxslt1-dev for something you’re building, or the removal fails, run these and post the output — it’ll show exactly where the conflict is coming from:

apt policy libxml2 libxml2-dev libxslt1-dev
apt-mark showhold
grep -rv ‘^#’ /etc/apt/sources.list
/etc/apt/sources.list.d/ 2>/dev/null

1 Like

Perfect! Thank you! Worked perfectly and Openbox installed just as it should. This is why I think you are the best creators out there.

2 Likes