Answer the question
In order to leave comments, you need to log in
What doesn't apt-get install?
Guys help me to solve the problem.
Debian 7
[email protected]:~# apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package libc6 needs to be reinstalled, but I can't find an archive for it.
Answer the question
In order to leave comments, you need to log in
try
sudo apt-get update
sudo apt-get --reinstall install libc6
And in general, what should I read the information in order to understand what apt-get is so that there are no problems installing software on Linux.
sudo apt update && sudo apt upgrade or sudo apt-get update && sudo apt-get upgrade
then sudo apt install php5 or sudo apt-get install php5
First you need to remove the uninstalled package sudo apt-get remove libc6, otherwise you will not move further
then sudo apt-get update $$ sudo apt-get upgrade - upgrade the packages
And then try to install php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question