Catatan Harian Mas Andri

Silahkan digunakan dengan bijaksana

back

SOLVED Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? Ketika Install Teamvieiwer di Linux Mint 18

30 Januari 2018 || 10:40:58 WIB || ClassyID

Sebagai catatan pribadi saja,

Setelah install linux mint, download team viewer, ketika di install melalui apt install lewat terminal ada error seperti ini :

zonahelm-0A Downloads # apt install ./teamviewer_13.0.6634_amd64.deb  
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?

 

Ternyata harus ada yg dihapus file lock nya, ada 3 file di 3 folder yang berbeda

diantaranya :

rm -rf /var/lib/apt/lists/lock 
rm -rf /var/cache/apt/archives/lock
rm -rf /var/lib/dpkg/lock
 

Setelah itu berhasil dijalankan

zonahelm-0A Downloads # apt install ./teamviewer_13.0.6634_amd64.deb  
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Note, selecting 'teamviewer' instead of './teamviewer_13.0.6634_amd64.deb'
The following NEW packages will be installed:
 teamviewer
0 upgraded, 1 newly installed, 0 to remove and 156 not upgraded.
Need to get 0 B/10,4 MB of archives.
After this operation, 57,1 MB of additional disk space will be used.
Get:1 /home/zonahelm/Downloads/teamviewer_13.0.6634_amd64.deb teamviewer amd64 13.0.6634 [10,4 MB]
Selecting previously unselected package teamviewer.
(Reading database ... 201546 files and directories currently installed.)
Preparing to unpack .../teamviewer_13.0.6634_amd64.deb ...
Unpacking teamviewer (13.0.6634) ...
Processing triggers for desktop-file-utils (0.22+linuxmint1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Setting up teamviewer (13.0.6634) .