Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certbot install fails with pkgProblemResolver::Resolve generated breaks, this may be caused by held packages #2479

Closed
JeffDanJ opened this issue Jan 31, 2019 · 9 comments

Comments

@JeffDanJ
Copy link

Details:

  • Date | Thu 31 Jan 05:32:45 GMT 2019
  • Bug report | N/A
  • DietPi version | v6.20.6 (Fourdee/master)
  • Img creator | DietPi Core Team
  • Pre-image | Raspbian Lite
  • SBC device | RPi 3 Model B (armv7l) (index=3)
  • Kernel version | Letsencrypt supports Free Noip.com Dynamic DNS #1159 SMP Sun Nov 4 17:50:20 GMT 2018
  • Distro | stretch (index=4)
  • Command | G_AGI: certbot python-certbot-nginx
  • Exit code | 100
  • Software title | DietPi-Software

Log file contents:
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

@MichaIng
Copy link
Owner

MichaIng commented Jan 31, 2019

@JeffDanJ
Thanks for your report.

Hmm held packages (as of error message) actually can't be it, since G_AGI overrides held state. Regardless can you paste output of:
apt-mark showhold

Please also try to clean the APT cache:

apt clean
rm -R /var/cache/apt
G_AGUP

Then retry install.

@JeffDanJ
Copy link
Author

Thanks for the response.

root@DietPi:# apt-mark showhold
root@DietPi:
#

cleaning APT cache also didnt work and got the same error on retry.

Details:

  • Date | Thu 31 Jan 15:03:12 GMT 2019
  • Bug report | N/A
  • DietPi version | v6.20.6 (Fourdee/master)
  • Img creator | DietPi Core Team
  • Pre-image | Raspbian Lite
  • SBC device | RPi 3 Model B (armv7l) (index=3)
  • Kernel version | Letsencrypt supports Free Noip.com Dynamic DNS #1159 SMP Sun Nov 4 17:50:20 GMT 2018
  • Distro | stretch (index=4)
  • Command | G_AGI: certbot python-certbot-nginx
  • Exit code | 100
  • Software title | DietPi-Software

@MichaIng
Copy link
Owner

MichaIng commented Feb 5, 2019

@JeffDanJ
Sorry for the late reply.

Did you check output of: apt-mark showhold?
Also please try to install those two packages manually:

G_AGI certbot
G_AGI python-certbot-nginx

@MichaIng
Copy link
Owner

I will close due to missing user reply and general cleanup. Feel free to reopen, if issue persists.

@ice41
Copy link

ice41 commented Jul 11, 2019

apt-get install certbot python-certbot-apache -t stretch-backports
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:
 libc6-dev : Breaks: binutils (< 2.26) but 2.25-5+deb8u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

what i can make to solvit ?

@MichaIng
Copy link
Owner

@ice41
I see, your on RPi1 or RPi Zero, right?

What do you require libc6-dev for? Please run apt purge libc6-dev, but do not confirm yet (if asked), instead paste which packages would be removed together with this.

There is no point in installing CertBot from stretch-backports btw, the version is exactly the same as in normal Stretch repo. However the issue appears in both cases.

@ice41
Copy link

ice41 commented Jul 16, 2019

i just use what say on official website

@MichaIng
Copy link
Owner

@ice41

i just use what say on official website

For Certbot? Using the APT packages does not require any dev package. In this case you could simply purge it. You can actually purge in in mostly any case. Even if it was required, this was most likely only the case for a source build, but not to run any software.

Ah or you mean regarding backports? This is then simply an outdated info, however it does not really matter.

@ice41
Copy link

ice41 commented Jul 16, 2019

they resquest backports to install right?

Add backports to your sources.list
deb http://deb.debian.org/debian stretch-backports main
apt-get -t stretch-backports install "package"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants