Thursday, September 21, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  0] [ 0]  / answers: 1 / hits: 804  / 2 Years ago, sun, september 12, 2021, 6:31:45

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 trusty/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-i386_Packages)
W: Duplicate sources.list entry stable/main i386 Packages (/var/lib/apt/lists/
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?

More From » 14.04


Deleted two same sources from Other Software and it worked.

[#25331] Sunday, September 12, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 445
Total Questions: 117
Total Answers: 99

Location: Botswana
Member since Sun, Sep 19, 2021
2 Years ago