Lỗi bug trong Gmail Android cho phép bất cứ ai cũng có thể gửi email giả mạo
15 bức ảnh khoa học tuyệt đẹp trong năm 2015
Tổng hợp game mobile đua xe đáng chơi nhất 2015
Key bản quyền Sublime Text 3 (2015-2016)
Lenovo nói gì về sự cố máy tính cài sẵn phần mềm gián điệp?
Top 10 ngôn ngữ lập trình dễ bị Hack
Nguyễn Hà Đông giải thích lý do game mới Swing Copters 2 'từ chối' người Việt
Mark Zuckerberg học theo Iron Man: phát triển trợ lý ảo như 'Jarvis'
Trong quá trình apt-get update khi sử dụng Kali có thể gặp lỗi Could not get lock /var/lib/dpkg/lock khá khó chịu. Và cách giải quyết như sau:
Cách giải quyết vấn đề như sau: gõ lệnh
Và sau đó update
Một vài trường hợp có thể khắc phục lỗi thành công. Một số khác vẫn bị lỗi thì làm theo cách sau:
Và sau đó update lại lần nữa
Cập nhật thành công. Done :))
Và tiếp tục nào
Chúc bạn thành công!
“E: Could not get lock /var/lib/dpkg/lock” error
Điều này xảy ra khi cố gắngroot@kali:~# apt-get updateHit http://http.kali.org sana InReleaseHit http://security.kali.org sana/updates InRelease.Hit http://security.kali.org sana/updates/non-free amd64 PackagesFetched 9,334 kB in 2min 18s (67.5 kB/s)E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Cách giải quyết vấn đề như sau: gõ lệnh
root@kali:~# rm /var/cache/apt/archives/lock
Và sau đó update
root@kali:~# apt-get update..E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Một vài trường hợp có thể khắc phục lỗi thành công. Một số khác vẫn bị lỗi thì làm theo cách sau:
root@kali:~# rm /var/lib/dpkg/lock
Và sau đó update lại lần nữa
root@kali:~# apt-get updateHit http://security.kali.org sana/updates InRelease..Reading package lists... Doneroot@kali:~#
Cập nhật thành công. Done :))
Và tiếp tục nào
root@kali:~# apt-get upgradeReading package lists... DoneBuilding dependency treeReading state information... DoneCalculating upgrade... DoneThe following packages will be upgraded:armitage gr-osmosdr iceweasel john john-data libgnuradio-osmosdr0.1.3libgnutls-deb0-28 libgnutls-openssl27 libsnmp-base libsnmp-perl libsnmp30openvas python-hpack python-impacket python-pyperclip snmp snmpd17 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Need to get 0 B/70.6 MB of archives.After this operation, 12.8 MB of additional disk space will be used.Do you want to continue? [Y/n] YReading changelogs... DonePreconfiguring packages ...(Reading database ... 323261 files and directories currently installed.)...root@kali:~#
Chúc bạn thành công!
0 comments so far,add yours
Cám ơn đã ghé thăm BlogCNTT!
- Mọi thắc mắc, gợi ý hoặc bình luận xin chia sẻ bên dưới hoặc Liên Hệ
- Hãy viết bằng tiếng Việt có dấu để mọi người dễ đọc hơn!
Thank You!