Site Tools


linux:ubuntu:troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:ubuntu:troubleshooting [2017/06/01 16:38] lunetikklinux:ubuntu:troubleshooting [2020/03/08 00:36] (current) lunetikk
Line 10: Line 10:
 E: Sub-process /usr/bin/dpkg returned an error code (2) E: Sub-process /usr/bin/dpkg returned an error code (2)
 E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp
-</code> 
-or 
-<code> 
-Reading package lists... Done 
-W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max 
-W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min 
-W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max 
-W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min 
-W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max 
-W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min 
-W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max 
-W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min 
-W: You may want to run apt-get update to correct these problems 
 </code> </code>
 or or
Line 48: Line 35:
 /dev/sda1                184M   39M  136M  23% /boot /dev/sda1                184M   39M  136M  23% /boot
 /dev/mapper/system-home  4.5G  373M  3.9G   9% /home /dev/mapper/system-home  4.5G  373M  3.9G   9% /home
-**/dev/mapper/system-var   4.5G  3.1G  1.3G  72% /var**+/dev/mapper/system-var   4.5G  3.1G  1.3G  72% /var
 /dev/mapper/system-usr   9.1G  1.5G  7.1G  18% /usr /dev/mapper/system-usr   9.1G  1.5G  7.1G  18% /usr
 </code> </code>
Line 65: Line 52:
 /dev/mapper/system-home 305216   9542 295674    4% /home /dev/mapper/system-home 305216   9542 295674    4% /home
 /dev/sda1                48768    299  48469    1% /boot /dev/sda1                48768    299  48469    1% /boot
-**/dev/mapper/system-var  305216 305216      0  100% /var**+/dev/mapper/system-var  305216 305216      0  100% /var
 /dev/mapper/system-usr  610800  80660 530140   14% /usr /dev/mapper/system-usr  610800  80660 530140   14% /usr
 </code> </code>
Line 78: Line 65:
 cd /var/bla cd /var/bla
 for i in * ; do rm $i ; done for i in * ; do rm $i ; done
 +</code>
 +
 +if too many
 +<code>
 +mkdir empty_dir
 +rsync -a --delete empty_dir/ yourdirectory/
 </code> </code>
  
linux/ubuntu/troubleshooting.1496327916.txt.gz · Last modified: 2017/06/01 16:38 by lunetikk