I installed a package from Debian Squeeze Backports a while ago, but now I get the following problem;
* When I try to compile Emerald, it depends on an older version of the package that I installed from backports (thus I need to remove it and install another one)
* If I try to remove it, it says that it's not installed
* If I try to install it, it says it's already installed
Ideas?
The package in question is libgtk2.0-dev
Removing packages installed from Debian backports
Removing packages installed from Debian backports
"The best place to hide a tree, is in a forest"
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
Re: Removing packages installed from Debian backports
ok, first do:
check the first 2 (or 3) letters, it will tell you the status of the package.
the try to remove it with:
or, most likely better because it also removes all the config files:
Code: Select all
dpkg -l libgtk2.0-dev
the try to remove it with:
Code: Select all
dpkg -r libgtk2.0-dev
Code: Select all
dpkg --purge libgtk2.0-dev
Re: Removing packages installed from Debian backports
Code: Select all
root@Enma:/home/cats# dpkg -l libgtk2.0-dev
No packages found matching libgtk2.0-dev.
root@Enma:/home/cats# dpkg -r libgtk2.0-dev
dpkg: warning: ignoring request to remove libgtk2.0-dev which isn't installed.
root@Enma:/home/cats# dpkg --purge libgtk2.0-dev
dpkg: warning: ignoring request to remove libgtk2.0-dev which isn't installed.
"The best place to hide a tree, is in a forest"
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
Re: Removing packages installed from Debian backports
output of:
also look if that file exists:
Code: Select all
apt-get -o Debug::pkgProblemResolver=yes remove libgtk2.0-dev
Code: Select all
/var/lib/dpkg/info/libgtk2.0-dev
Re: Removing packages installed from Debian backports
Think I solved it by enabling backports again and just installed all the newer packets instead
so basically the solution was
so basically the solution was
Code: Select all
apt-get install -t squeeze-backports libgtk2.0-dev
"The best place to hide a tree, is in a forest"