Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 10516  / 2 Years ago, mon, february 14, 2022, 9:24:39

I was doing routine update && upgrade procedure on Ubuntu 16.04 and it wanted to upgrade some multimedia codec libraries



List of libraries to be updated



I confirmed the upgrade as seen in the picture above. Then the upgrade process returned error code (1) and couldn't finish upgrading.



Broken Pipe, /usr/bin/dpkg returns an error code



Now I am getting this unmet dependency thing when I try to do anything related to upgrade.



The following packages have unmet dependencies:
libavcodec-extra57 : Depends: libx265-102 (>= 2.2) but it is not installed
x265 : Depends: libx265-102 (>= 2.2) but it is not installed
Depends: libx265-102 (< 2.3) but it is not installed
E: Unmet dependencies. Try using -f.


I am concerned. Is it possible to revert to the state before I try to upgrade?


More From » apt

 Answers
2

I have solved my issue by following dpkg overwrite



Specifically I entered:



sudo dpkg -i --force-overwrite /var/cache/apt/archives/libx265-102_2.2-1~16.04.york0_amd64.deb

[#12417] Tuesday, February 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ndaavi

Total Points: 169
Total Questions: 116
Total Answers: 113

Location: Falkland Islands
Member since Wed, Dec 23, 2020
3 Years ago
;