I don't know why, but after installing some programs there's been a mistake in the terminal. So then every time when I update or trying to install a new package through terminal in the end a mistake appears:
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ trusty/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-i386_Packages) W: Duplicate sources.list entry http://repo.yandex.ru/yandex-disk/deb/ stable/main i386 Packages (/var/lib/apt/lists/repo.yandex.ru_yandex-disk_deb_dists_stable_main_binary-i386_Packages) W: You can do «apt-get update» to correct a mistake.
But When I write
apt-get update then it says this:
E: Failed to open a blocked file /var/lib/apt/lists/lock - open (13: Access denied) E: Impossible to block catalog /var/lib/apt/lists/ E: Failed to open a blocked file /var/lib/dpkg/lock - open (13:Access denied) E: Failed to block the lead catalog (/var/lib/dpkg/); Do you have the rights of superuser?