Re: [expert] urpmi lccked

2003-09-01 Thread David E. Fox
> As I said, the problem with the gui does not (for me) preclude using the 
> command line urpmi.addmedia.  It might help to replace the files you 

No, it shouldn't. I figured that it might be easier to add the
distribution media (actually replace them, based on new content) with
the media manager. I found that adding in the distribution media via
urpmi.addmedia will work, but it's failing on asking for a disk change,
see my other post to the list on this.

> rm -f /var/lib/rpm/__db*
> ?

Not relevant to my situation. It was missing directories. It sometimes
helps to do an strace if one comes across some sort of an error message
- it's usually going to offer a clue as to what files it's trying to
access at that point.

In my situation, the "urpmi database locked" comes from not being able
to access the directory /var/lib/urpmi. I created it manually, and it
works. But urpmi should have been able to detect the missing
files/directories and rebuild from scratch. It would have had to do this
following a new install.

> 
> Did you urpmi.removemedia -a
> ?

Yes, but not the way I should have -- I ended up just removing the 
/etc/urpmi files :(.  


David E. Fox  Thanks for letting me
[EMAIL PROTECTED]change magnetic patterns
[EMAIL PROTECTED]   on your hard disk.
---

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] urpmi lccked

2003-09-01 Thread David E. Fox
> Look for a lock file (.lck ?) probably in the same directory as the 
> urpmi sources or under /var. Then delete it.

Nothing there. Well, I fixed at least partially the problem by remaking
urpmi directories underneath /var/lib and /var/cache just to be on the
safe side. Adding distribution media was not too difficult but I'm not
sure I did it properly -- for instance, installing Open Office from the
9.1rc1 distribution media gave 'I can't find it" messages because many
of the base packages for that are on CD #2. It should have asked to
change disks, rather than have me redo the urpmi with cd#2 inserted.

I'm off to rebuild the rest of the urpmi database, thanks to
plf.zarb.org. Gotta love that site...

  Richard Urwin

David E. Fox  Thanks for letting me
[EMAIL PROTECTED]change magnetic patterns
[EMAIL PROTECTED]   on your hard disk.
---

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] urpmi lccked

2003-09-01 Thread Richard Urwin
On Monday 01 Sep 2003 10:03 pm, Eric Huff wrote:
> > >There is a problem with the gui frontend to urpmi.addmedia that is
> > >fixed in an upcoming drakxtools:
> >
> > I see the problem, and the proposed fix. The issue now is a
> > catch-22 one.
> >
> > I can't add any sources, so I can't get the new patch to drakxtools
> > to add sources. See the problem?
>
> I am coming in really late here, but to add sources, can't you for
> the moment use mandrake control center?
>
> Or the command line with the help of
> http://plf.zarb.org/~nanardon/urpmiweb.php ?

Look for a lock file (.lck ?) probably in the same directory as the 
urpmi sources or under /var. Then delete it.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] urpmi lccked

2003-09-01 Thread Rolf Pedersen
dfox wrote:
Somebody scribbled about Re: [expert] urpmi lccked


There is a problem with the gui frontend to urpmi.addmedia that is fixed
in an upcoming drakxtools:


I see the problem, and the proposed fix. The issue now is a catch-22 one.

I can't add any sources, so I can't get the new patch to drakxtools to add 
sources. See the problem?
As I said, the problem with the gui does not (for me) preclude using the 
command line urpmi.addmedia.  It might help to replace the files you 
deleted with a reinstall of the package that owns them, if the 
urpmi.addmedia command doesn't generate them.

I attempted to do as you suggest but All that accomplishes is that it 
copies the names of the hdlists files over into /var/cache/urpmi/partial
and then fails with a 'urpmi database locked' --- how is it possible to 
unlock it? am i toast?

rm -f /var/lib/rpm/__db*
?
Did you urpmi.removemedia -a
?

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] urpmi lccked

2003-09-01 Thread Eric Huff
> >There is a problem with the gui frontend to urpmi.addmedia that is
> >fixed in an upcoming drakxtools:
> 
> I see the problem, and the proposed fix. The issue now is a catch-22
> one.
> 
> I can't add any sources, so I can't get the new patch to drakxtools to
> add sources. See the problem?

I am coming in really late here, but to add sources, can't you for the
moment use mandrake control center?

Or the command line with the help of
http://plf.zarb.org/~nanardon/urpmiweb.php ?

eric

-- 
Mandrake HowTo's & More:   http://twiki.mdklinuxfaq.org

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] urpmi lccked

2003-09-01 Thread dfox
Somebody scribbled about Re: [expert] urpmi lccked

>There is a problem with the gui frontend to urpmi.addmedia that is fixed
>in an upcoming drakxtools:

I see the problem, and the proposed fix. The issue now is a catch-22 one.

I can't add any sources, so I can't get the new patch to drakxtools to add 
sources. See the problem?

I attempted to do as you suggest but All that accomplishes is that it 
copies the names of the hdlists files over into /var/cache/urpmi/partial
and then fails with a 'urpmi database locked' --- how is it possible to 
unlock it? am i toast?

>Rolf

-- 

David E. Fox  Thanks for letting me
[EMAIL PROTECTED]change magnetic patterns
[EMAIL PROTECTED]   on your hard disk.
---


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] urpmi lccked

2003-09-01 Thread Rolf Pedersen
David E. Fox wrote:
This just in 

9.2 rc1 cooker... the software manager seems to be broken, and I can't
add any sources - was trying to revamp the sources to include the new CDs 
as opposed to the old ones. Software Manager quietly dies after I tell it
where to go for the CD.

Also I tried to add in cooker main and contrib and can't get anywyere...
so I just removed /etc/urpmi and /var/lib/rurpmi etc. Now the whole urpmi 
subsystem is hosed. I just want to rebuild it from scratch, include 
main/contrib/plf as well as the local cd sources list but can't do any-
thing now as it just says the thing is locked

help

There is a problem with the gui frontend to urpmi.addmedia that is fixed 
in an upcoming drakxtools: 
http://qa.mandrakesoft.com/show_bug.cgi?id=5083  Adding from the command 
line works.  You might try re-adding the CD sources with:

urpmi.addmedia --distrib removable://mnt/cdrom/

with the mount point adjusted to show your reader and CD1 loaded.  I 
would do urpmi.removemedia -a first to try to clean the slate.

Rolf


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] urpmi lccked

2003-09-01 Thread David E. Fox
This just in 

9.2 rc1 cooker... the software manager seems to be broken, and I can't
add any sources - was trying to revamp the sources to include the new CDs 
as opposed to the old ones. Software Manager quietly dies after I tell it
where to go for the CD.

Also I tried to add in cooker main and contrib and can't get anywyere...
so I just removed /etc/urpmi and /var/lib/rurpmi etc. Now the whole urpmi 
subsystem is hosed. I just want to rebuild it from scratch, include 
main/contrib/plf as well as the local cd sources list but can't do any-
thing now as it just says the thing is locked

help


David E. Fox  Thanks for letting me
[EMAIL PROTECTED]change magnetic patterns
[EMAIL PROTECTED]   on your hard disk.
---

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com