Closed rebcabin closed 6 years ago
I'm afraid that I can't reproduce this. No matter what I try, the entire collection always installs fine for me. That's on a fully updated Bionic system with the apt cache cleared beforehand.
Does pure-base install for you?
@rebcabin can you try sudo apt -f install
and sudo dpkg --reconfigure -a
, then sudo apt clean && sudo apt update && sudo apt install pure-base
?
I get the same dependency error when trying to install pure-complete too, with 18.10 (Cosmic), but pure-base
works fine.
@catb0t did you mean that pure-complete errors, but pure-base works? If that's so, can you please try pure-math and post the install log here? I'm trying to figure out what exactly goes wrong there, as I can't reproduce this issue. Maybe there's a dependency gone missing somewhere, which happens to already be installed on my system.
I confused the packages. pure-base
installs; pure-complete
errors due to pure-web
and pure-math
.
I think I have found the fundamental issue though, which is that libmpfr4
is now a (virtual / meta)package and can't be installed alone.
$ apt install pure-complete
[sudo] password for cat:
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:
pure-complete : Depends: pure-math but it is not going to be installed
Depends: pure-web but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ apt install pure-math
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:
pure-math : Depends: pure-mpfr but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ apt install pure-mpfr
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:
pure-mpfr : Depends: libmpfr4 (>= 3.1.3) but it is not installable
E: Unable to correct problems, you have held broken packages.
$ apt install libmpfr4
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libmpfr4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libmpfr4' has no installation candidate
$ apt install pure-web
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:
pure-web : Depends: pure-fastcgi but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ apt install pure-fastcgi
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:
pure-fastcgi : Depends: libmpfr4 (>= 3.1.3) but it is not installable
E: Unable to correct problems, you have held broken packages.
The key being
pure-mpfr : Depends: libmpfr4 (>= 3.1.3) but it is not installable
E: Unable to correct problems, you have held broken packages.
$ apt install libmpfr4
...
Package libmpfr4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libmpfr4' has no installation candidate
It seems that, at least for me with 18.10/cosmic, it has been obsoleted and the package renamed:
$ apt search libmpfr4
Sorting... Done
Full Text Search... Done
libmpfr-dev/cosmic,now 4.0.1-1 amd64 [installed]
multiple precision floating-point computation developers tools
Can confirm for 18.04.1. LTS pure_install.txt However, sudo apt-get install pure pure-docs works.
@catb0t thanks for sorting that out. These dependencies on libmpfr4 are all auto-generated by debuild, so it looks like I'll just have to regenerate a new revision of both pure-mpfr and pure-fastcgi and everything should be fine again.
This makes sense because I made those builds quite a while ago (Jan 2018) when Bionic wasn't released yet. The reason that it works on my system is that I do still have libmpfr4 installed, apparently that's left over from that early iteration of Bionic.
I don't understand why the Cosmic packages in https://launchpad.net/~dr-graef/+archive/ubuntu/pure-lang.cosmic wouldn't work, though. I've built these fairly recently, after the release of Cosmic, and I just checked the deps, they do depend on libmpfr6, not libmpfr4.
Should be fixed now, just built new packages for Bionic, can you please test?
I now see what the problem on Cosmic is, pure-octave still has an out-of-date dependency on octave40 there, will fix that later today.
Cosmic should be fixed now as well, please test.
Confirming fixed for .bionic
and .cosmic
PPAs, thank you!
@catb0t thanks for testing!
Following these instructions: https://launchpad.net/~dr-graef/+archive/ubuntu/pure-lang.bionic on a machine that's never had pure-lang on it.
I get a failed install. It says "I have held broken packages," but I don't know what that means, let alone how to fix it. Because this machine has never had pure-lang on it, I do not know how I could possibly have 'held broken packages.' I don't know what tools to use to find out what 'held packages' I have, let alone any 'broken held packages.' I suppose I could Google around to find out such tools and start digging around, but I'll bet there is something else wrong and that the fix is probably really easy for persons who know what they're doing. Here is a transcript: