How do I fix broken packages in Ubuntu?

Thanh Thảo

New member
How do I fix broken packages in Ubuntu?
Answer
Ubuntu fix broken package (best solution)
  • sudo apt-get update –fix-missing. and.
  • sudo dpkg –configure -a. and.
  • sudo apt-get install -f. the problem of a broken package still exist the solution is to edit the dpkg status file manually.
  • Unlock the dpkg – (message /var/lib/dpkg/lock)
  • sudo fuser -vki /var/lib/dpkg/lock.
  • sudo dpkg –configure -a. For 12.04 and newer:
 

Tìm kiếm

Back
Top