0

for our website , I tried to install simplexml on ubuntu 14.04 , php - 7.1 using below command :

sudo apt-get install php7.1-xml

I got error as below image :

enter image description here

than i found link , in that they mentioned installing the package php7.01-xml using the Synaptic package manager , please guide me how i can install using Synaptic package manager ?

spylh9999ggr
  • 243
  • 3
  • 8
  • 21
  • Try to install `libxslt1.1`, this should give more information about why it can't be installed. – fkraiem Jan 08 '18 at 09:40
  • P.S. : the result will be the same if you try to install with Synaptic; it does the same thing. – fkraiem Jan 08 '18 at 09:44
  • @fkraiem when i tried to install `libxslt1.1` , i got this `E: Package 'libxslt1.1' has no installation candidate ` – spylh9999ggr Jan 08 '18 at 09:46
  • Then your sources are messed up; `libxslt1.1` is available [in all currently supported Ubuntu versions](https://packages.ubuntu.com/search?keywords=libxslt1.1&searchon=names&suite=all&section=all), including 14.04. – fkraiem Jan 08 '18 at 09:50
  • @fkraiem i followed [link](https://askubuntu.com/questions/14685/what-does-package-package-has-no-installation-candidate-mean) & tried `sudo add-apt-repository ppa:chris-lea/libxslt1-dbg` , then i got error : `Cannot add PPA: 'ppa:chris-lea/libxslt1-dbg'. Please check that the PPA name or format is correct.` – spylh9999ggr Jan 08 '18 at 09:52
  • @fkraiem using this [link](https://launchpad.net/ubuntu/precise/amd64/libxslt1-dbg) , i tried this : `sudo add-apt-repository ppa:ubuntu/precise/amd64/libxslt1-dbg` it telling `Please check that the PPA name or format is correct.` – spylh9999ggr Jan 08 '18 at 09:56
  • You clearly have no idea what you are doing; no wonder your sources are messed up... – fkraiem Jan 08 '18 at 10:01
  • Let us [continue this discussion in chat](http://chat.stackexchange.com/rooms/71338/discussion-between-spylh9999ggr-and-fkraiem). – spylh9999ggr Jan 08 '18 at 10:02
  • No, I'm not interested in fixing your sources. – fkraiem Jan 08 '18 at 10:03
  • Possible duplicate of [Unable to correct problems, you have held broken packages](https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages) – karel Oct 13 '18 at 05:04
  • Possible duplicate of [How do I restore the default repositories?](https://askubuntu.com/q/124017/) – karel Sep 23 '20 at 05:34

0 Answers0