Re: [newbie] Updating, dependencies, etc

2003-11-22 Thread Charlie Mahan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Saturday 22 November 2003 9:49 pm, Melissa Reese wrote:
> Hi Charlie,
>
> On Saturday, November 22, 2003, at 1:23:56 PM PST, you wrote:
> > urpmi.update -a && urpmi --auto-select 
>
> Thanks...that worked well.  Now though...
>
> After that update session, several menu items were missing. I then
> used the following command: "update-menus -v", and things looked
> *almost* normal again (fewer items in the task bar). But then... I
> went into the menu/task bar configuration options, and experimented
> there a bit (I thought I was just adding a few menu items to the main
> "K" menu). When I finished with that, my "K" menu didn't look anything
> like what I expected, and certain applications are no longer in any of
> the sub-menus! Some notable missing items:

That's a strange one but not really unexpected at all. There's another command 
below to try to get back what you lost, keep track of any error messages 
generated when you run it.

> "Configuration" sub-menu is missing.  I can only get to Mandrake
> Control Center via the "mcc" command in a Konsole, but I don't know
> how to get to the other configuration options that used to be under
> the now missing "configuration" sub-menu.

> Emacs is gone from the text editor sub-menu!  Eek! Where did it go?

That's a new one. I've never noticed emacs going missing from the menu. I'll 
have to give that some thought.

> There are several other changes to the "K" menu and its sub-menus,
> and "missing" icons that were normally on the task bar by default.

Which ones Melissa? The Open Office icons went missing from my task bar during 
the last round of updates but I didn't care since I dislike clutter and 
they're still under the Office sub-menu in the K menu anyway.

> I'm not sure what I've done, but for the moment, I'd kind of like to
> get back to the "K" menu/sub-menus and task bar that I'm still trying
> to get used to.  I'd also just like to know why when I try to *add*
> things, other things disappear?

It's probably a part of the original missing menu items problem, and will 
return to normal when you run the command below.

> Thanks!

You're welcome.

Try the following command:

rpm --rebuilddb && updatedb && update-menus -n -v && ldconfig 

Holler if you need to.

Regards;
Charlie
- -- 
Edmonton,AB,Canada User 244963 at http://counter.li.org
Mandrake Linux release 9.2 (FiveStar) for i586 kernel 2.4.22-21mdk
22:26:04 up 2 days, 13:05, 1 user, load average: 0.04, 0.47, 0.70
Hoare's Law of Large Problems:
Inside every large problem is a small problem struggling to get out.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/wEfQG11CaRuZZSIRAoQHAJ45ZSXsk3nPuFcX/Y/0lKVSvkkveQCaAnd4
+P7h38N7MOAsMG8XTsc8ooQ=
=bVuv
-END PGP SIGNATURE-


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


Re: [newbie] Updating, dependencies, etc

2003-11-22 Thread Melissa Reese
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Charlie,

On Saturday, November 22, 2003, at 1:23:56 PM PST, you wrote:

> urpmi.update -a && urpmi --auto-select 

Thanks...that worked well.  Now though...

After that update session, several menu items were missing. I then
used the following command: "update-menus -v", and things looked
*almost* normal again (fewer items in the task bar). But then... I
went into the menu/task bar configuration options, and experimented
there a bit (I thought I was just adding a few menu items to the main
"K" menu). When I finished with that, my "K" menu didn't look anything
like what I expected, and certain applications are no longer in any of
the sub-menus! Some notable missing items:

"Configuration" sub-menu is missing.  I can only get to Mandrake
Control Center via the "mcc" command in a Konsole, but I don't know
how to get to the other configuration options that used to be under
the now missing "configuration" sub-menu.

Emacs is gone from the text editor sub-menu!  Eek! Where did it go?

There are several other changes to the "K" menu and its sub-menus,
and "missing" icons that were normally on the task bar by default.

I'm not sure what I've done, but for the moment, I'd kind of like to
get back to the "K" menu/sub-menus and task bar that I'm still trying
to get used to.  I'd also just like to know why when I try to *add*
things, other things disappear?

Thanks!

- -- 
Melissa

PGP public keys:
mailto:[EMAIL PROTECTED]&Body=Please%20send%20keys

-BEGIN PGP SIGNATURE-

iD8DBQE/wDwfjVbXUvsE8ukRAlvQAKCOy1WOOYtYK4YJlskaqGH76pJDmwCdG4DD
6qDuWCVsOssIKZ4cONnuIww=
=J7qe
-END PGP SIGNATURE-


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


Re: [newbie] Updating, dependencies, etc

2003-11-22 Thread Charlie Mahan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Saturday 22 November 2003 1:58 pm, Melissa Reese wrote:
> Hi Greg,
>
> On Thursday, November 20, 2003, at 11:47:17 AM PST, you wrote:
> > Yes. Put them all on one disk, ...
>
> I'm still a little confused (my natural state)...
>
> What exactly do you mean by "them all"? At the MDK ftp updates site,
> there is a folder called "9.2". Inside that folder are three folders
> (Base, RPMS, and SRPMS) and a few loose files (descriptions, ls-lR,
> md5sums) [I'm not sure if that one file is "ls-lR", or "Is-IR" (or
> something else?). Anyway...

The hdlist you need for urpmi is in the /base directory. md5sums is a security 
measure used by urpmi. Yes, urpmi is the command line tool, rpmdrake is the 
frontend that uses it. In oversimplified terms of course.

> Are all the actual update files contained in "RPMS" and "SRPMS"?

Unless you want to kill some time you don't really need the SRPMS directory at 
all Melissa. Those are the actual source files the packages are built from 
and while some distributions are built "optimized" using sources there isn't 
enough of a performance improvement for you to bother at the moment. Just 
/base /RPMS and the md5sums is fine.

> > ... then define the disk as a urpmi source. Then you can go into the
> > software installer and it will tell you what needs to be updated. To
> > define them as a source, go into the software sources manager and
> > add the disk or directory.
>
> To lessen my own confusion a bit, I did the following:
>
> I created three new directories (by the way...where's the most logical
> place to put such directories?), and copied/pasted the contents of their
> corresponding folders from the CD-R:

What's logic have to do with it?  You have what you need, but "mirror" what 
you saw on the server. Don't move files to directories they weren't 
originally in. I would put all three into an updates directory though.

> 1) /MDKUpdateRPMS
> 2) /MDKUpdateSRPMS
> 3) /MDKUpdateBase (I also put the three loose files in here)

See above, you didn't really need the SRPMS directory but it doesn't hurt 
anything.

> Then, I added each of those new directories to the list of places to
> look for updated files.  Here's how I added the new directories:
>
> "K" menu, then to "Configuration/Packaging/Software Media Manager".
> Was that the right place to deal with that to make the files available
> to "urpmi"?

Yes. Or do it from a konsole as super user:

urpmi.addmedia updates /home/melissa/MDKUpdateRPMS with 
../MDKUpdateBase/hdlist.cz

all on one line, single spaced where spaces are needed. You could just copy 
and paste that line above into the super user konsole and hit enter.

> >> 2) If I do have all the files on one CD-R, what is the best way to
> >>install what's needed and/or wanted?
> >
> > Put them all in one directory available from Linux.
>
> Again...where's the most logical place to put such a directory? For
> the moment, I've placed them under /home/melissa/...

Good enough but read what I posted above. To make life easier for yourself put 
all three and any "loose" files into an updates directory.

> > The command is urpmi --auto-select --update
> >
> > This will install all the security fixes and updates based on the
> > packages you already have installed, in other words, updating them
> > to the latest versions.
>
> Oops!  Here's what I get from that command:
>
> "Everything is already installed"

urpmi.update -a && urpmi --auto-select 

After you teach urpmi where to look for updates of course. That's the stuff 
above.

> What am I doing wrong here?
>
> Thanks!

You're getting there. 

Have fun!
Charlie
- -- 
Edmonton,AB,Canada User 244963 at http://counter.li.org
Mandrake Linux release 9.2 (FiveStar) for i586 kernel 2.4.22-21mdk
14:08:19 up 2 days, 4:47, 1 user, load average: 0.11, 0.98, 0.82
I didn't get sophisticated -- I just got tired.  But maybe that's what
sophisticated is -- being tired.
-- Rita Gain
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/v9P3G11CaRuZZSIRAqNAAJ9xStX1in42UmovNNZjNotCIWImuwCgphup
E/uG+k6U8DJff8zaazAlWEA=
=xee6
-END PGP SIGNATURE-


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


Re: [newbie] Updating, dependencies, etc

2003-11-22 Thread Greg Meyer
On Saturday 22 November 2003 04:03 pm, Melissa Reese wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi Me,
>
> On Saturday, November 22, 2003, at 12:58:34 PM PST, I wrote:
> > Then, I added each of those new directories to the list of places to
> > look for updated files. Here's how I added the new directories:
> >
> > "K" menu, then to "Configuration/Packaging/Software Media Manager".
> > Was that the right place to deal with that to make the files
> > available to "urpmi"?
>
> Oh!  Also...
>
> In the where I'm defining the path to the directories, there's an
> option I don't understand:
>
> [ ] "relative path to synthesis/hdlist"
>
> What does this mean?  I did notice that if I right-click on one of
> "media sources" in the list, there's a choice to "regenerate hdlist"
> (something like that), but I don't know what this means.
>
There is a file on the update mirrors in the base directory called hdlist.cz, 
and it contains information about the RPMS in the directory.  if the file is 
missing, the sources manager can regenerate it if it missing, but if you are 
using a source across the internet, that can take a long time.

Relative path means the path to the hdlist file relative to the directory the 
RPMs are in, so if the hdlist file is in the directory with the RPMs, the 
relative path is ./ (current directory) but if the hdlist file is in the base 
directory, for the updates the relative path would be ../base

BTW, the . always refers to the current directory and the .. always refers to 
the parent directory.
-- 
/g

"Outside of a dog, a man's best friend is a book, inside
a dog it's too dark to read" -Groucho Marx


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


Re: [newbie] Updating, dependencies, etc

2003-11-22 Thread Charlie Mahan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Saturday 22 November 2003 2:03 pm, Melissa Reese wrote:


Hi Me,
>
> Oh!  Also...
>
> In the where I'm defining the path to the directories, there's an
> option I don't understand:
>
> [ ] "relative path to synthesis/hdlist"

In your case, and from what you posted already, the relative path ("I found 
where you added my update packages but where the hell are the descriptions?") 
is /MDKUpdateBase/hdlist.cz

For now...

> What does this mean?  I did notice that if I right-click on one of
> "media sources" in the list, there's a choice to "regenerate hdlist"
> (something like that), but I don't know what this means.
>
> Thanks!

HTH
Charlie
- -- 
Edmonton,AB,Canada User 244963 at http://counter.li.org
Mandrake Linux release 9.2 (FiveStar) for i586 kernel 2.4.22-21mdk
14:24:38 up 2 days, 5:03, 1 user, load average: 0.02, 0.04, 0.27
Old Grandad is dead but his spirits live on.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/v9S3G11CaRuZZSIRAlQyAJ9yz9DPXcumwi6kF9Y++P6ZvV2G9QCfWskA
2cgXK4T56Z+U/TLjE4SMXFU=
=iCCe
-END PGP SIGNATURE-


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


Re: [newbie] Updating, dependencies, etc

2003-11-22 Thread Melissa Reese
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Me,

On Saturday, November 22, 2003, at 12:58:34 PM PST, I wrote:

> Then, I added each of those new directories to the list of places to
> look for updated files. Here's how I added the new directories:

> "K" menu, then to "Configuration/Packaging/Software Media Manager".
> Was that the right place to deal with that to make the files
> available to "urpmi"?

Oh!  Also...

In the where I'm defining the path to the directories, there's an
option I don't understand:

[ ] "relative path to synthesis/hdlist"

What does this mean?  I did notice that if I right-click on one of
"media sources" in the list, there's a choice to "regenerate hdlist"
(something like that), but I don't know what this means.

Thanks!

- -- 
Melissa

PGP public keys:
mailto:[EMAIL PROTECTED]&Body=Please%20send%20keys

-BEGIN PGP SIGNATURE-

iD8DBQE/v88DjVbXUvsE8ukRAmKcAKDqBHe8rJeIYCzIiE80ZPhvF5/kYQCeLj/C
Lg+3x2rp856MgAaqoZwslWY=
=dbg1
-END PGP SIGNATURE-


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


Re: [newbie] Updating, dependencies, etc

2003-11-22 Thread Melissa Reese
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Greg,

On Thursday, November 20, 2003, at 11:47:17 AM PST, you wrote:

> Yes. Put them all on one disk, ...

I'm still a little confused (my natural state)...

What exactly do you mean by "them all"? At the MDK ftp updates site,
there is a folder called "9.2". Inside that folder are three folders
(Base, RPMS, and SRPMS) and a few loose files (descriptions, ls-lR,
md5sums) [I'm not sure if that one file is "ls-lR", or "Is-IR" (or
something else?). Anyway...

Are all the actual update files contained in "RPMS" and "SRPMS"?

> ... then define the disk as a urpmi source. Then you can go into the
> software installer and it will tell you what needs to be updated. To
> define them as a source, go into the software sources manager and
> add the disk or directory.

To lessen my own confusion a bit, I did the following:

I created three new directories (by the way...where's the most logical
place to put such directories?), and copied/pasted the contents of their
corresponding folders from the CD-R:

1) /MDKUpdateRPMS
2) /MDKUpdateSRPMS
3) /MDKUpdateBase (I also put the three loose files in here)

Then, I added each of those new directories to the list of places to
look for updated files.  Here's how I added the new directories:

"K" menu, then to "Configuration/Packaging/Software Media Manager".
Was that the right place to deal with that to make the files available
to "urpmi"?

>> 2) If I do have all the files on one CD-R, what is the best way to
>>install what's needed and/or wanted?

> Put them all in one directory available from Linux.

Again...where's the most logical place to put such a directory? For
the moment, I've placed them under /home/melissa/...

> The command is urpmi --auto-select --update

> This will install all the security fixes and updates based on the
> packages you already have installed, in other words, updating them
> to the latest versions.

Oops!  Here's what I get from that command:

"Everything is already installed"

What am I doing wrong here?

Thanks!

- -- 
Melissa

PGP public keys:
mailto:[EMAIL PROTECTED]&Body=Please%20send%20keys

-BEGIN PGP SIGNATURE-

iD8DBQE/v8yfjVbXUvsE8ukRAivvAKCxeKttTFZP9IBFcNnjtypNNCVrAwCgx14r
XntaDZy6vU3d8pNW6JJK4bU=
=HmGR
-END PGP SIGNATURE-


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