B
B
baskovsky.ru2014-12-19 21:24:13
linux
baskovsky.ru, 2014-12-19 21:24:13

There was a library conflict after installing android studio on ubuntu 14.10. How to fix the situation?

sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
nodejs-legacy
The following NEW packages will be installed:
nodejs -legacy
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
1 not fully installed or removed.
Need to get 0 B/14.6 kB of archives.
After this operation, 122 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 196239 files and directories currently installed.)
Preparing to unpack .../nodejs-legacy_0.10.25~dfsg2-2ubuntu1_all.deb ...
Unpacking nodejs-legacy (0.10.25~dfsg2-2ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives /nodejs-legacy_0.10.25~dfsg2-2ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/share/man/man1/node.1.gz', which is also in package nodejs 0.10.33-1chl1~ trusty1
Processing triggers for man-db (2.7.0.2-2) ...
Errors were encountered while processing:
/var/cache/apt/archives/nodejs-legacy_0.10.25~dfsg2-2ubuntu1_all.deb
E: Sub-process /usr /bin/dpkg returned an error code (1)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nazar Mokrinsky, 2014-12-19
@qertis

Where did they put it from? You have 14.10, and the repository seems to be from 14.04.
You can try uninstalling what you installed, try aptitude - it allows you to interactively choose one of the options for resolving the problem.
Write if anything about the results here, just make a mention of me, I'll try to help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question