LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-19-2008, 07:29 PM   #1
htamayo
Member
 
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Rep: Reputation: 30
problems installing /uninstalling packages in debian etch


Hi, I was trying to install some deb packages that are outside of the repos, I got dependences problem, now, when I tried to do apt-get install -f I got the message that I need to uninstall a lot of packages that have been affected for the fail packages. My question is:

is there a way to uninstall those wrong packages without uninstall all the good packages? I really need this because one of the affected packages is gnome and basicaly all packages that use gtk. Is there a "roll back function like"?

Thanks for your help.
 
Old 08-19-2008, 07:46 PM   #2
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
It will be easier if you could provide the exact error message.
 
Old 08-19-2008, 08:18 PM   #3
htamayo
Member
 
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Original Poster
Rep: Reputation: 30
Currently, If I do: apt-get install -f
I get a large list of packages that has to be uninstalled, almost all related to gnome and also gnome are in the list. I just need to uninstall the problem packages -the one that I got outside of the repos- and keep all the working packages
 
Old 08-19-2008, 08:32 PM   #4
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
Are you able to remove the offending packages separately using 'dpkg --remove'?
 
Old 08-20-2008, 10:20 AM   #5
htamayo
Member
 
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Original Poster
Rep: Reputation: 30
No I'm not able, because all this broken packages are related to several packages, for example if I do dpkg -r gtk2.0 I get this message:

dpkg: problemas de dependencias impiden la desinstalación de libgtk2.0-0:
gnome-power-manager depende de libgtk2.0-0 (>= 2.8.0).
libgksuui1.0-1 depende de libgtk2.0-0 (>= 2.6.0).
python-gnome2-extras depende de libgtk2.0-0 (>= 2.8.0).
xfce4-terminal depende de libgtk2.0-0 (>= 2.8.0).
xsane depende de libgtk2.0-0 (>= 2.8.0).
totem-xine depende de libgtk2.0-0 (>= 2.8.0).
libwnck18 depende de libgtk2.0-0 (>= 2.8.0).
compiz-gnome depende de libgtk2.0-0 (>= 2.8.0).
..... A LOT OF MORE PACKAGE.

I think that i better question would be:
is there a way to take off the problem version of a package and roll back to the previously working version?
 
Old 08-20-2008, 10:52 AM   #6
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
The problem is that you do not understand how metapackages work and how they are handled differently by different package managers. Lacking knowledge at that level is a problem if you want to use Debian. Best thing you can do is probably stick with Aptitude, the "recommended" package manager.

# aptitude keep-all
# aptitude install -f
 
Old 08-20-2008, 11:14 AM   #7
htamayo
Member
 
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Original Poster
Rep: Reputation: 30
You're absolutely right, I don't understand how metapackages work, but I like to ask instead of to keep the doubts, maybe some newbies -like me- could get I wrong idea about to try debian -or another distro- if we insist to say that linux is just for pros, I'm agree that I have a lacking knowledge in this, but I want to improve, asking is a good way; in fact, this problem is not big deal, I can work perfectly well, maybe I don't understand the way the pros think about simple problems
 
Old 08-20-2008, 11:19 AM   #8
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Quote:
Originally Posted by htamayo View Post
I don't understand...
Did you execute the commands I suggested.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Canon BJC-4100 onto linux/Debian etch problems pantherlehr Linux - Hardware 4 08-08-2008 09:47 AM
Problems installing ITM touchscreen on Debian Etch tdunk Debian 4 07-15-2008 08:14 AM
Debian Etch sources.list mix between etch and sid - problems alfr Debian 2 04-12-2008 10:30 AM
installing/uninstalling slackware packages jaakkop Slackware 10 02-14-2005 09:11 PM
installing/uninstalling .tar packages onegear Linux - Software 3 10-31-2004 03:39 PM


All times are GMT -5. The time now is 03:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration