Jump to content
Sign in to follow this  
grendal

genhdlist problem

Recommended Posts

I was using this how to : http://www.mandrakeusers.org/index.php?showtopic=10600 to generaate a hdlist bbut ran into this:

 

 

su[steve@localhost steve]$ su

Password:

[root@localhost steve]# genhdlist /home/steve/rpms/

Directory path to parse should be relative at /usr/bin/genhdlist line 63.

[root@localhost steve]#

 

 

so I went to line 63 and it doesn't make sense to me :screwy: :

 

 

line 63 : grep { m!^/! } @dir and die "Directory path to parse should be relative";

l

 

 

 

 

I should add I'm running mandy 10.

Share this post


Link to post
Share on other sites

Try

 

genhdlist ./rpms

 

or

 

genhdlist rpms

 

Since you are already in the directory that contains the rpms directory.

Share this post


Link to post
Share on other sites

ok I tried both of thosse and tried not being root all to no avail. I know its probally something I'm overlooking.

Share this post


Link to post
Share on other sites

I got it to work by adding this option : --dest so it looked like this :

 

genhdlist --dest /home/steve/rpms

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...