LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-12-2004, 12:00 AM   #1
misterflibble
Member
 
Registered: Feb 2004
Distribution: Debian UnStaBle
Posts: 123

Rep: Reputation: 15
debian unstable upgrade broke mozilla


I'm using Debian Unstable and last night I tried to do a distribution upgrade with synaptic. It returned an error message that errors were generated and couldn't finish, so as a result mozilla and several other mozilla-related packages are 'broken'. Dpkg-reconfigure says the same thing. I think the problem package is mozilla-xft. When I try to uninstall the broken ones I get a message telling me to try installing them first. Trying to install either mozilla or mozilla-xft gives me this:

Preparing to replace mozilla-xft 2:1.6-2 (using .../mozilla-xft_2%3a1.6-2_i386.deb) ...
Leaving `diversion of /usr/lib/mozilla/components/libgfx_gtk.so to /usr/lib/mozilla/components/libgfx_gtk.so.pure by mozilla-xft'
Unpacking replacement mozilla-xft ...
Updating mozilla chrome registry.../usr/sbin/update-mozilla-chrome: line 68: unexpected EOF while looking for matching `}'
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
Updating mozilla chrome registry.../usr/sbin/update-mozilla-chrome: line 68: unexpected EOF while looking for matching `}'
dpkg: error processing /var/cache/apt/archives/mozilla-xft_2%3a1.6-2_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 2
Updating mozilla chrome registry.../usr/sbin/update-mozilla-chrome: line 68: unexpected EOF while looking for matching `}'
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/mozilla-xft_2%3a1.6-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any ideas on how to fix mozilla?
 
Old 03-12-2004, 12:52 AM   #2
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
have u tried running apt-get -f install
that should install stuff for you.else what you can do is an apt-get clean and then apt-get update.
i think this way apt forgets that it was trying to install mozilla.well...worth a shot anyways.
the same kind of thing happened to me...well it did not break anything but all my bookamrks were lost which was too bad since i did have a couple of marks which i cant find now.
 
Old 03-12-2004, 12:57 AM   #3
misterflibble
Member
 
Registered: Feb 2004
Distribution: Debian UnStaBle
Posts: 123

Original Poster
Rep: Reputation: 15
yup, tried it, still same errors. It seems to do exactly the same steps, and I think the error occurs when trying to configure mozilla, but I can't even run mozilla (the command doesn't exist).
 
Old 03-12-2004, 01:04 AM   #4
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
so did u clean the apt repository where it has all its debs?/var/apt
ummm...i dont really know what more i can say...i mean apt-get -f install always worked for me.
you can probably download a .deb for mozilla and install that.maybe that will help.
 
Old 03-12-2004, 01:10 AM   #5
misterflibble
Member
 
Registered: Feb 2004
Distribution: Debian UnStaBle
Posts: 123

Original Poster
Rep: Reputation: 15
Yeah, I cleaned out the deb files, I don't think thats the problem. Do the deb files affect the removal of a package? This is getting stranger and stranger...I managed to remove most of the mozilla packages including mozilla-xft (which i thought was causing all the problems) when I tried to downgrade mozilla to testing (I had to downgrade lbsnpr4 too). Now I'm still stuck with mozilla-psm and mozilla-mailnews marked for removal and I get the same error message from the 'updating chrome registry' part when I try to get rid of them.
 
Old 03-12-2004, 01:54 AM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
Re: debian unstable upgrade broke mozilla

Quote:
Originally posted by misterflibble
Preparing to replace mozilla-xft 2:1.6-2 (using .../mozilla-xft_2%3a1.6-2_i386.deb) ...
Leaving `diversion of /usr/lib/mozilla/components/libgfx_gtk.so to /usr/lib/mozilla/components/libgfx_gtk.so.pure by mozilla-xft'
Unpacking replacement mozilla-xft ...
Updating mozilla chrome registry.../usr/sbin/update-mozilla-chrome: line 68: unexpected EOF while looking for matching `}'
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
Updating mozilla chrome registry.../usr/sbin/update-mozilla-chrome: line 68: unexpected EOF while looking for matching `}'
dpkg: error processing /var/cache/apt/archives/mozilla-xft_2%3a1.6-2_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 2
Updating mozilla chrome registry.../usr/sbin/update-mozilla-chrome: line 68: unexpected EOF while looking for matching `}'
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/mozilla-xft_2%3a1.6-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any ideas on how to fix mozilla?
It tells you in the output what is wrong there is an EOF while it is still looking for a } bracket in the /usr/sbin/update-mozilla-chrome file I would suggest going to http://bugs.debian.org and searching the BTS to see if you can find a report there is usually a solution or patch posted in the reports somewhere. Have you heard of apt-listbugs and you may want to check out apt-listchanges as well, I do not know if they work with synaptic but it is worth checking to see if they will.
 
Old 03-12-2004, 11:38 AM   #7
misterflibble
Member
 
Registered: Feb 2004
Distribution: Debian UnStaBle
Posts: 123

Original Poster
Rep: Reputation: 15
I looked again and turns out someone just submitted a bug report today http://bugs.debian.org/cgi-bin/bugre...gi?bug=237647. Thanks for your help guys!
 
Old 03-12-2004, 12:08 PM   #8
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
interesting.umm....could u tell me how to apply the patch given in the mail(it is a patch right?).
Thanks
 
Old 03-12-2004, 12:13 PM   #9
misterflibble
Member
 
Registered: Feb 2004
Distribution: Debian UnStaBle
Posts: 123

Original Poster
Rep: Reputation: 15
I'm pretty what it says is the lines marked - are the old working lines and the ones marked + are the new messed up ones. So the end result is you have to edit the script /usr/sbin/update-mozilla-chrome and change a few } to ].
 
Old 03-12-2004, 12:15 PM   #10
misterflibble
Member
 
Registered: Feb 2004
Distribution: Debian UnStaBle
Posts: 123

Original Poster
Rep: Reputation: 15
hmm, I think he mislabeled his examples now that I look at it, I'm pretty sure those lines show up as {something] in the buggy file and you have to make them { }.
 
  


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
Debian unstable, hardware upgrade. xundas Linux - Hardware 2 08-02-2005 03:09 PM
problems with apt-get upgrade in Debian unstable Boogieman Debian 8 05-13-2004 02:18 PM
Debian Unstable: mozilla-firefox configure broken? willistg Linux - Software 4 03-17-2004 02:18 PM
Debian - upgrade to unstable - turn off GDM? seanb Linux - Newbie 1 02-20-2004 01:26 AM
Progeny Debian Upgrade to Debian Unstable? mrmdls Debian 1 09-25-2003 07:57 AM


All times are GMT -5. The time now is 03:49 AM.

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