Can't install package libglib2.0-dev because it depends on some unknown version

Solution 1:

Try to do it with aptitude:

sudo aptitude install libglib2.0-dev