LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-03-2005, 02:31 PM   #1
el_pajaro!
Member
 
Registered: Sep 2003
Location: Ecuador
Distribution: Debian, Ubuntu, Elastix
Posts: 183

Rep: Reputation: 30
fix a debian broken system


I am using debian on a desktop computer. Something happend with the harddrive and at boot the debian system try to fix the problem. The ting is that after that some libraries where lost and the system is not working correctly. I did an apt-get dist-upgrade that help now I can use X but not gome.

Is there any way I cas use apt-get or other tool to fix this kind of problem?

Greetings
 
Old 06-03-2005, 04:55 PM   #2
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
Try apt-get --fix-broken
if it doesn't work you can try
apt-get install --reinstall gnome
This will trigger a full reinstall of gnome (provided that gnome is a meta-package like kde), it should work ...
 
Old 06-03-2005, 05:21 PM   #3
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382

Rep: Reputation: 37
I was looking at the APT-How To. It states that the command is as follows:

#apt-get --reinstall install gnome.

I am still fairly new to Debian, so I do not know if both statements will work, but I did use "apt-get --reinstall install xserver-xfree86" to reinstall a damaged xserver. I wish I had know about --fix broken. If I type in apt-get --fix broken, will it repair (or attempt to repair) all broken packages, or do you have to list a package to repair?

Good Luck!

 
Old 06-03-2005, 05:36 PM   #4
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
Well it appears to work either way install --reinstall or --reinstall install.
the --fix-broken option will atempt to fix broken dependencies
 
Old 06-08-2005, 05:42 PM   #5
el_pajaro!
Member
 
Registered: Sep 2003
Location: Ecuador
Distribution: Debian, Ubuntu, Elastix
Posts: 183

Original Poster
Rep: Reputation: 30
Thanks for your answears, but I have no succes. TheŃ
#apt-get --fix-broken
It does not recognize the command.

I also try the:
apt-get install --reinstall gnome

But I get this error:

Code:
debian:~# apt-get --reinstall install gnome
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/10.3kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: unable to initialize frontend: Gnome
debconf: (Unable to load Gnome -- is libgnome2-perl installed?)
debconf: falling back to frontend: Dialog
(Reading database ... 134195 files and directories currently installed.)
Preparing to replace gnome 64 (using .../apt/archives/gnome_64_all.deb) ...
Unpacking replacement gnome ...
Setting up gnome-applets (2.8.2-3) ...
/usr/lib/gnome-applets/mc-install-default-macros: error while loading shared libraries: libbonoboui-2.so.0: cannot open shared object file: No such file or directory
dpkg: error processing gnome-applets (--configure):
 subprocess post-installation script returned error exit status 127
Setting up gnome (64) ...
Errors were encountered while processing:
 gnome-applets
E: Sub-process /usr/bin/dpkg returned an error code (1)
So it seems that the gnome-applets are the problem. I try to reinstall those applets and I get this errors:

Code:
debian:~# apt-get --reinstall install gnome-applets
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up gnome-applets (2.8.2-3) ...
/usr/lib/gnome-applets/mc-install-default-macros: error while loading shared libraries: libbonoboui-2.so.0: cannot open shared object file: No such file or directory
dpkg: error processing gnome-applets (--configure):
 subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
 gnome-applets
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please help me, I havent had time to read the documentation, but I would need this computer working soon. I can still use it without gnome, but I dont think it is the only damage package.

Greetings
 
Old 06-08-2005, 06:12 PM   #6
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
see this thread......

http://www.linuxquestions.org/questi...hreadid=331569
 
Old 06-03-2009, 01:23 AM   #7
laki.sreekanth
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Thumbs up Ya, its working fine

This working fine: apt-get install --reinstall gnome
But, it will take more time to complete!!
 
  


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
Fonts in games are broken... please help to fix webdevel Linux - Games 2 11-03-2005 04:15 PM
broken ext3 partition, any chance to fix? jang Linux - Software 4 10-06-2005 07:38 PM
X.ORG Broken... is it possible to fix!? electronique Slackware 19 11-27-2004 05:13 PM
How do I fix a broken Symbolic Link? dickgregory Linux - Newbie 4 11-07-2004 08:08 PM
Manually Fix Broken Dependancies? kiteless Linux - Software 0 09-09-2003 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:53 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration