Lỗi cydia could not open file var lib dpkg status năm 2024

If you’re facing this error, then you’ve come to the right place as we will show you how to fix this issue in a matter of a few minutes.

Step 1: The first step is to download all the necessary files and tools for fixing this issue.

  • Download 3uTools – allows you to navigate and edit the iOS file system.
  • Next, download the necessary “Cydia Fix” files and unzip it.
  • Finally, you need the Cydia Impactor tool which can be downloaded from cydiaimpactor.com.

Step 2: Once you have all the necessary files and tools, you are ready to start. Connect your jailbroken device to your computer via USB cable and then launch 3uTools.

Step 3: Click Files on the sidebar of 3uTools, go to FileSystem(User), open Books as shown below.

Lỗi cydia could not open file var lib dpkg status năm 2024

Step 4: Click "Import" -> "Select Folder" and select “lib”folder from the“Cydia Fix”folder which you downloaded earlier.

Lỗi cydia could not open file var lib dpkg status năm 2024

Lỗi cydia could not open file var lib dpkg status năm 2024

Step 5: Next, launch Cydia Impactor and make sure that it has detected your device as shown below.

Lỗi cydia could not open file var lib dpkg status năm 2024

Step 6: Now drag the MobileTerminal.ipa file from the “Cydia Fix” folder and drop it onto Cydia Impactor.

Lỗi cydia could not open file var lib dpkg status năm 2024

Step 7: Cydia Impactor will ask for your Apple ID and password. This information is only sent to Apple to generate the certificates required to sign and install the MobileTerminal IPA file onto your jailbroken device. Enter the required information and Cydia Impactor will start to install the IPA file.

Step 8: After the installation completes, you should see the Mobile Terminal app on your device’s Home screen. Go to Settings -> General -> Profiles & Device Management (for some users, it may be called “Profiles” or “Device Management”).

Step 9: Open the profile labelled with your Apple ID and then press the Trust button.

Step 10: Now go back to the Home screen and launch the Mobile Terminal app (make sure that your device is in jailbroken state).

Step 11: The command line interface will be displayed with a black background. Type in the following commands, pressing Enter/Return after each line:

su alpine cp -R /var/mobile/Media/Books/lib /var mkdir /var/log/apt

Step 12: Once you’ve entered all the commands, reboot your device.

Put your device back into jailbreak state and then launch Cydia. The error “Could Not Open File /var/lib/dpkg/status” should no longer appear and you can successfully proceed with installing new tweaks on your device.

Thanks for visiting. For more latest updates or supports, follow us on Facebook or Twitter .

26/9/2015 10:25Phản hồi: 77

máy e vừa rs lại bằng cydia impactor và jaibreak lại bằng taig nhưng khi vào cydia thì bị báo lỗi could not open file/var/lib/dpkg/status - open(2: No such file or directory). Add sourch thì trống trơn, cả trong bigboss cũng ko có dữ liệu, hiện giờ ko thể cài tweak nào dc vì ko có dữ liệu gì hết, ai biết cách khắc phục ko ạ, e đã thử dùng cả wifi và 3g cũng vậy, thử jaibreak lại cũng ko khả quan, help với ạ

Vì còn đang trong quá trình thử nghiệm nên vẫn còn khá nhiều lỗi xuất hiện sau khi jailbreak iOS 10. Trong đó phổ biến hơn cả là lỗi ‘Could Not Open File /var/lib/dpkg/status’, lỗi này gây khá nhiều khó khăn đối với người dùng còn thiếu kinh nghiệm. Tuy nhiên với bài viết này, chúng tôi sẽ hướng dẫn các bạn một cách chi tiết để khắc phục lỗi khó chịu trên.

Lỗi cydia could not open file var lib dpkg status năm 2024

Hướng dẫn sửa lỗi “Could Not Open File /var/lib/dpkg/status”

Trước khi bắt đầu, hãy chắc chắn rằng thiết bị của bạn gặp phải lỗi trong hình dưới đây. Chúc các bạn may mắn!

Lỗi cydia could not open file var lib dpkg status năm 2024

Dưới đây là cách khắc phục lỗi ‘Could Not Open File /var/lib/dpkg/status’ sau khi jailbreak.

Bước 1: Đầu tiên các bạn cần tải về ứng dụng iFunbox về máy tính cá nhân của mình, ứng dụng này sẽ giúp các bạn truy cập vào một số file hệ thống trên thiết bị iOS của các bạn. Tải ứng dụng iFunbox tại đây.

Bước 2: Tiếp tục tải về một tệp tin có tên là Cydia fix để giúp bạn sửa lỗi trên. Tải Cydia fix .

Bước 3: Công cụ cuối cùng mà bạn cần tải về đó là Cydia Impactor, công cụ giúp bạn cài đặt file .IPA lên thiết bị iOS của mình. Tải về Cydia Impactor tại đây.

Bước 4: Bây giờ bạn đã có đủ các công cụ cần thiết. Kết nối iPhone của bạn với máy tính cá nhân thông qua cáp kết nối Lightning. Khởi động iFunbox, chọn tab Toolbox – User File System, tìm đến thư mục Books.

Lỗi cydia could not open file var lib dpkg status năm 2024

Bước 5: Giải nén file Cydia fix mà bạn đã tải về trước đó, bạn sẽ nhận được 1 file có tên là ‘lib‘ và 1 file MobileTerminal.ipa.

Bước 6: Kéo toàn bộ file ‘lib’ trong Cydia fix sang thư mục Books trong iFunbox và thả nó ở đó.

Lỗi cydia could not open file var lib dpkg status năm 2024

Bước 7: Khởi động Cydia Impactor và cài đặt File MobileTerminal.ipa vào thiết bị của bạn theo hướng dẫn sau: Hướng dẫn cài đặt ứng dụng lên các thiết bị iOS thông qua Cydia Impactor.

Bước 8: Khởi động Mobile Terminal, bạn sẽ được yêu cầu nhập lệnh vào thiết bị. Nhập các lệnh sau, lưu ý ấn enter với mỗi dòng:

su

alpine

cp -R /var/mobile/Media/Books/lib /var

mkdir /var/log/apt

mkdir /var/log/stash

Lỗi cydia could not open file var lib dpkg status năm 2024

Bước 9: Khởi động lại thiết bị. Sau đó vào Cydia để làm mới nguồn.

Bổ xung:

  • Sau khi hoàn thành các bước trên, bạn nên vào trong Cydia, xóa hết các nguồn và thêm lại.
  • Cài lại tweak: PreferenceLoader (kèm theo 2 tweak đi kèm) và khởi động lại máy.

Với hướng dẫn trên, bạn sẽ khắc phục được lỗi ‘Could Not Open File /var/lib/dpkg/status’ sau khi jailbreak trên iOS 9 và iOS 10.