Friday, 27 January 2017

Linux Troubleshooting

1. How do I fix a “Problem with MergeList” or “status file could not be parsed” ?

sudo rm -vf /var/lib/apt/lists/*
sudo apt-get update


2. How to run 32 bit binaries on 64 bit Linux ?

sudo dpkg --add-architecture i386

Or if you are using Ubuntu 12.04 LTS (Precise Pangolin) or below, use this:

echo "foreign-architecture i386" > /etc/dpkg/dpkg.cfg.d/multiarch

Then:

sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

3. How to remove openjdk ?

sudo apt-get purge openjdk*

No comments:

Post a Comment