Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a fresh install of Debian 6.0.5 (i386) on VMware Player. I was trying to install libglib2.0-0 using this command:

sudo aptitude install libglib2.0-0

Unfortunately, I don't remember the exact output from the terminal but I remember there were 0 bytes installed or something. I'm guessing it didn't install correctly, so I want to remove it and try installing from the Software Center instead. However, when I click on remove, it just "greys out" and nothing happens. How do I uninstall it? Is there a command that could remove it from the terminal?

EDIT: The output of:

dpkg -l 'libglib2.0-0'

root@vmware:/home/mohamed# dpkg -l 'libglib2.0-0'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libglib2.0-0   2.24.2-1       The GLib library of C routines
root@vmware:/home/mohamed# 
share|improve this question
    
It returned a message saying it "couldn't find package libglib2.0" but that there were other packages with similar names like "libglib2.0-0-refdbg". –  Mohamed Abobakr Sep 30 '12 at 8:18
    
It might be installed already, show output of dpkg -l 'libglib2.0-0' (put it in your question area, don't use a comment) –  warl0ck Sep 30 '12 at 8:24

1 Answer 1

up vote 2 down vote accepted

From the output of dpkg -l 'libglib2.0-0', the ii means the package is installed, and configured.

Since the package is downloaded and installed already, so now more network traffic, that's why the software installer told you 0 bytes downloaded.

To remove the package, use apt-get remove libglib2.0-0. glib is linked with lots of packages, you're likely to ruin your system after this. You can't remove it from software center, because it has other dependencies, e.g important system binaries.

share|improve this answer
    
Since it installed correctly, why am I not able to uninstall the program from Software Center? Is there a command to remove it from terminal that I could try? –  Mohamed Abobakr Sep 30 '12 at 9:35
    
@MohamedAbobakr updated answer –  warl0ck Sep 30 '12 at 9:44
    
Oh, so that's why it won't remove it. Thanks for clearing that up warl0ck! –  Mohamed Abobakr Sep 30 '12 at 9:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.