ข้ามไปที่เนื้อหาหลัก

บทความ

กำลังแสดงโพสต์ที่มีป้ายกำกับ dpkg

[ ubuntu ] list installed package file

Normally I used snaptic in order to find out where is the installed path of the package by go to Properties > Installed files When snaptic is deprecated and is replaced by ubuntu software center. That useful command is disappeared T T. However, there exists the way to do that via command line. by using $ dpkg -L [package-name] For example, $ dpkg -L google-chrome-beta , we will get the list of the installed path of that software. NOTE : If you don't know the package-name $ dpkg --list will help.

[ ubuntu ] remove VirtualBox in dpkg/status

$ sudo dpkg --configure -a dpkg: warning: parsing file '/var/lib/dpkg/status' near line 74499 package 'virtualbox-3.0': error in Version string '3.0.12-54655_Ubuntu_jaunty': invalid character in revision number dpkg: warning: parsing file '/var/lib/dpkg/status' near line 74500 package 'virtualbox-3.0': error in Config-Version string '3.0.12-54655_Ubuntu_jaunty': invalid character in revision number I have a problem parsing the /var/lib/dpkg/status at line 74500. Actually, I have purged this unstable version of virtualbox long time ago. However, the config is still in my dpkg/status. Follow suggestion from here Just remove the whole VirtualBox paragraph in that file. That's it.