N
N
Nikolay L2018-11-04 13:25:45
linux
Nikolay L, 2018-11-04 13:25:45

How to solve the error when doing "aptitude install"?

5bdec8d8ab5df124920614.png
Can't install programs via 'aptitude install'
What should I do?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Denis Michurin, 2018-11-04
@denistu10

sudo apt install qt-sdk

U
uRoot, 2018-11-04
@uroot

fuser -vki /var/lib/dpkg/lock
The command to run as root
This error often occurs. It appears as a result of the fact that you incorrectly completed work with the package manager.

C
CityCat4, 2018-11-06
@CityCat4

It is written in Russian in white - there are no rights. Only root (user with id 0) can install packages.
man su
man sudo

M
metajiji, 2018-11-20
@metajiji

Aptitude has long since been deprecated, please don't use it. Use apt-get or if you have a fresh OS just apt.
And remember, the package manager is only available to the root user, so elevate privileges with su or sudo.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question