<![CDATA[Latest posts for the topic "Không thể remove package bị lỗi trong Ubuntu"]]>
/hvaonline/posts/list/24.html
JForum - http://www.jforum.netKhông thể remove package bị lỗi trong Ubuntubrmfc7420lpr-2.0.1-1.i386.deb
Thông tin:
levuhoang@levuhoang-desktop:~/Desktop$ sudo apt-get remove brmfc7420lpr
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package brmfc7420lpr needs to be reinstalled, but I can't find an archive for it.
levuhoang@levuhoang-desktop:~/Desktop$ sudo dpkg -r brmfc7420lpr
dpkg: error processing brmfc7420lpr (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
brmfc7420lpr
Rồi, chấp nhận reinstall luôn:
levuhoang@levuhoang-desktop:~/Desktop$ sudo dpkg -i brmfc7420lpr-2.0.1-1.i386.deb
Unpacking replacement brmfc7420lpr ...
dpkg: warning - old post-removal script returned error exit status 5
dpkg - trying script from the new package instead ...
dpkg: error processing brmfc7420lpr-2.0.1-1.i386.deb (--install):
subprocess new post-removal script returned error exit status 5
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 5
Errors were encountered while processing:
brmfc7420lpr-2.0.1-1.i386.deb
levuhoang@levuhoang-desktop:~/Desktop$ sudo dpkg --remove --force-remove-reinstreq brmfc7420lpr
Removing brmfc7420lpr ...
dpkg (subprocess): unable to execute post-removal script: Exec format error
dpkg: error processing brmfc7420lpr (--remove):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
brmfc7420lpr
Đã thử mọi kiểu, --pure, reboot vào recovery mode, fix broken package, remove file manual theo đường dẫn của cái deb... mà cũng không được.
Có bác nào bị trường hợp này chưa, không lẽ cài lại Ubuntu :(.]]>/hvaonline/posts/list/25977.html#157453
/hvaonline/posts/list/25977.html#157453
GMTRe: Không thể remove package bị lỗi trong Ubuntu/hvaonline/posts/list/25977.html#157462
/hvaonline/posts/list/25977.html#157462
GMTRe: Không thể remove package bị lỗi trong Ubuntu
LeVuHoang wrote:
Bức xúc thiệt, cuối cùng cũng xong rồi. Là do cái uninstall script của thằng Brother MFC bị lỗi. Bạn nào bị giống thì có thể thử remove lpd, lprng là được. Rồi gỡ gần trong /var/lib/dpkg/info/*.postrm
Thanks all
BSD Line Printer Daemon :P ]]>/hvaonline/posts/list/25977.html#157495
/hvaonline/posts/list/25977.html#157495
GMTRe: Không thể remove package bị lỗi trong Ubuntu/hvaonline/posts/list/25977.html#157570
/hvaonline/posts/list/25977.html#157570
GMTRe: Không thể remove package bị lỗi trong Ubuntu
LeVuHoang wrote:
ủa, sao ngoài box thì đề bài cuối cùng là của quanta, vào trong thì của lão Phước ta.
Ngoài lề chút lão, tui vẫn còn áy náy vụ lão vào HCM. Sau đó tui gọi cho lão thì chắc lão không còn giữ số cũ. Để offline cũng không thấy reply nên không biết làm sao để liên lạc. Sorry lão nghen.
"Lang thang" một chút
Có chuyện gì đâu lão , anh em không gặp nhau lúc này thì gặp nhau lúc khác :)
Hầu như mỗi lần về SG thì thấy ngày nào cũng say chả thấy ngày nào được tỉnh -:-) ]]>/hvaonline/posts/list/25977.html#157590
/hvaonline/posts/list/25977.html#157590
GMT