Trouble Installing Certbot/ Lets encrypt

Hi, I was wondering if someone could give insight into an issue I am having in regards to configuring a secure nginx reverse proxy with Let’s Encrypt. I'm trying to set it up on a raspberry pi with the latest distro stretch.

However when I try to install certbot I get these dependency errors:

mono-devel : Depends: mono-xbuild (= 5.4.1.6-0xamarin1+raspbian8b1) but 4.8.1.0-0xamarin1 is to be installed

Recommends: referenceassemblies-pcl but it is not going to be installed

Recommends: msbuild but it is not going to be installed

I dont know how to fix the dependency issues. If someone could help me that would be greatly appreciated.

Posted Dec 18, 2017, 1:36 AM UTC · edited

15
PipeItToDevNull•

What distro

1
galacticwarzoneOP•

its on a raspberry pi with the latest distro, stretch.

1
PipeItToDevNull•

What guide are you following, where are you installing from?

1
galacticwarzoneOP•

I was following this guide:

https://www.htpcguides.com/secure-nginx-reverse-proxy-with-lets-encrypt-on-ubuntu-16-04-lts/

and when I to this command I get the dependency errors

./certbot-auto certonly -a webroot --webroot-path=/var/www/html -d <example.com>

when I try

sudo dpkg --configure -a

dpkg: dependency problems prevent configuration of mono-devel: mono-devel depends on mono-xbuild (= 5.4.1.6-0xamarin1+raspbian8b1); however: Version of mono-xbuild on system is 4.8.1.0-0xamarin1.

and then I tried:

sudo apt-get -f install

Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following package was automatically installed and is no longer required: libmono-system-runtime-interopservices-runtimeinformation4.0-cil Use 'apt-get autoremove' to remove it. The following extra packages will be installed: mono-xbuild The following packages will be upgraded: mono-xbuild 1 upgraded, 0 newly installed, 0 to remove and 130 not upgraded. 2 not fully installed or removed. Need to get 0 B/469 kB of archives. After this operation, 71.7 kB disk space will be freed. Do you want to continue? [Y/n] y Reading changelogs... Done (Reading database ... 47091 files and directories currently installed.) Preparing to unpack .../mono-xbuild_5.4.1.6-0xamarin1+raspbian8b1_all.deb ... Unpacking mono-xbuild (5.4.1.6-0xamarin1+raspbian8b1) over (4.8.1.0-0xamarin1) ... dpkg: error processing archive /var/cache/apt/archives/mono-xbuild_5.4.1.6-0xamarin1+raspbian8b1_all.deb (--unpack): symbolic link '/usr/lib/mono/xbuild/14.0/bin/Microsoft.Build.Framework.dll' size has changed from 95 to 3 Processing triggers for man-db (2.7.0.2-5) ... Errors were encountered while processing: /var/cache/apt/archives/mono-xbuild_5.4.1.6-0xamarin1+raspbian8b1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

dpkg: error processing package mono-devel (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of mono-complete: mono-complete depends on mono-devel (= 5.4.1.6-0xamarin1+raspbian8b1); however: Package mono-devel is not configured yet.

dpkg: error processing package mono-complete (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mono-devel mono-complete

1
ttvpoqs7XRrD•

The certbot package uses python, I don't think mono has anything to do with it, I would fix the mono issues first. Uninstall mono if you don't use it.

2