[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HELP - installing broken libglib1.2-dev



Ouch.  I've never had to deal with a system as loused up as that one.

But perhaps it can be solved with a:
dpkg --force-all -P libglib-dev (libglib1.2-dev libgtk1.2-dev
libgtk-dev)

Hopefully this will clean out the system making way for a fresh install
of everything for glib1.2 and gtk1.2

Let the list know if this still doesn't work.  Maybe someone who has
solved this problem will also come across the thread.

--mike

On 10 Aug 2001 11:31:35 -0700, Jatin Golani wrote:
> 
> Hi Michael,
> 
> Thanks for responding.
> 
> To answer your questions:
> 
> a) Yup I'm root.
> b) a dpkg --force-remove-reinstreq --purge
> libglib1.2-dev, has the same fate :(
> 
> I don't know how to see which directories it's trying
> to write to....if I could then I could manually do
> it....do you know how I can do that??
> 
> Also even if I delete the files manually how do I then
> tell dpkg that the package has been deleted....even
> after a purge it keeps showing that the package is
> installed though broken.
> 
> Any help would be appreciated....I can't understand
> what's happening...would appreciate help.
> 
> Bye
> 
> 
> 
> 
> --- Michael Heldebrant <Heldebrant.Michael@mayo.edu>
> wrote:
> > Two questions:
> > 1.  You are root running apt-get or dselect right?
> > 2.  Have you tried purging the dev packages instead
> > of just removing
> > them and then blasting any dir it says it can't
> > delete manually?
> > 
> > --mike
> > On 10 Aug 2001 04:10:06 -0700, Jatin Golani wrote:
> > > Hi ppl,
> > > 
> > > I'm trying to install the GTK development
> > libraries
> > > libgtk1.2-dev and it needs libglib1.2-dev....a
> > > previous attempt to do this had resulted in a
> > broken
> > > libglib1.2-dev....I've tried to remove it but I
> > > can't....I've downloaded the .deb for the library
> > and
> > > if I try to reinstall I get the following message:
> > > -------------------------------------------------
> > > Preparing to replace libglib1.2-dev 1.2.7-2 (using
> > > libglib1.2-dev_1.2.7-2.deb)...
> > > 
> > > install-info: failed to lock dir! for editing. No
> > such
> > > file or directory
> > >  
> > > 
> > > dpkg: warning - old pre-removal script returned
> > error
> > > exit status 2
> > > 
> > > dpkg: trying script from new package instead..
> > > 
> > > Document 'glib-docs' is not installed, cannot
> > remove.
> > > 
> > > install-info: failed to lock dir! for editing. No
> > such
> > > file or directory
> > > 
> > > dpkg: error processing libglib1.2-dev_1.2.7-2.deb
> > > (--install): subprocess new pre-removal script
> > > returned error exit status 2
> > > 
> > > install-info: failed to lock dir! for editing. No
> > such
> > > file or directory
> > > 
> > > dpkg: error while cleaning up: subprocess
> > > post-installation script returned error exit
> > status 2
> > > 
> > > Errors were encountered while processing:
> > > libglib1.2-dev_1.2.7-2.deb
> > > 
> > >
> >
> ------------------------------------------------------
> > > 
> > > Could someone explain what the above means??? I'm
> > very
> > > new to this....have tried removing it but the same
> > > fate :(....I'm desperate and have been trying
> > > everything i could think of....pls help someone
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Make international calls for as low as $.04/minute
> > with Yahoo! Messenger
> > > http://phonecard.yahoo.com/
> > > 
> > > 
> > > -- 
> > > To UNSUBSCRIBE, email to
> > debian-user-request@lists.debian.org 
> > > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
> > > 
> > > 
> > 
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to
> > debian-user-request@lists.debian.org 
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 




Reply to: