G
G
gmg2017-05-26 12:31:03
linux
gmg, 2017-05-26 12:31:03

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.

Whatever I set, it produces this line. I don't know how to install this libc6 package.
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. Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Anatoly Medvedev, 2017-05-26
@balamyt92

try

sudo apt-get update
sudo apt-get --reinstall install libc6

G
GavriKos, 2017-05-26
@GavriKos

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.

man apt-get

A
Anton Ulanov, 2017-05-26
@antonsr98

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

M
Mikhail Nyrkov, 2017-05-26
@Mikuhairo

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 question

Ask a Question

731 491 924 answers to any question