Coder Social home page Coder Social logo

Can't install from apt about pure-lang HOT 12 CLOSED

agraef avatar agraef commented on May 30, 2024
Can't install from apt

from pure-lang.

Comments (12)

agraef avatar agraef commented on May 30, 2024 1

@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.

from pure-lang.

agraef avatar agraef commented on May 30, 2024

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?

from pure-lang.

catb0t avatar catb0t commented on May 30, 2024

@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?

from pure-lang.

catb0t avatar catb0t commented on May 30, 2024

I get the same dependency error when trying to install pure-complete too, with 18.10 (Cosmic), but pure-base works fine.

from pure-lang.

catb0t avatar catb0t commented on May 30, 2024

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

from pure-lang.

nilqed avatar nilqed commented on May 30, 2024

Can confirm for 18.04.1. LTS
pure_install.txt
However, sudo apt-get install pure pure-docs works.

from pure-lang.

agraef avatar agraef commented on May 30, 2024

@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.

from pure-lang.

agraef avatar agraef commented on May 30, 2024

Should be fixed now, just built new packages for Bionic, can you please test?

from pure-lang.

agraef avatar agraef commented on May 30, 2024

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.

from pure-lang.

agraef avatar agraef commented on May 30, 2024

Cosmic should be fixed now as well, please test.

from pure-lang.

catb0t avatar catb0t commented on May 30, 2024

Confirming fixed for .bionic and .cosmic PPAs, thank you!

from pure-lang.

agraef avatar agraef commented on May 30, 2024

@catb0t thanks for testing!

from pure-lang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.