Projects / rpm-get / Comments

Comments for rpm-get

30 Apr 2003 07:41 xkwizit2000

Can't access ftp site blah blah
I've had trouble getting rpm-get update to work. The output is below:

Generating /var/lib/rpm-get/RPMS-list
Looking up mirrors.kernel.org
Making FTP connection to mirrors.kernel.org
Can't Access `ftp://mirrors.kernel.org/redhat/redhat/linux/current/en/os/i386/RedHat/RPMS'
Alert!: Unable to access document.


Obviously, this is a valid ftp site so the problem must be on my side.

Since rpm-get uses lynx to perform the update, I started looking at lynx. I found that the problem was due to my server being behind a firewall. I needed to initiate an ftp session in passive mode.

By putting and entry FTP_PASSIVE:TRUE in the lynx.cfg file, the problem was mitigated.

JT

27 Apr 2003 18:20 Sutabi

WEEEE! I like it
This is real nice.....and helpful!

Maybe a faq or something would help. I would really like to see more heh

28 Nov 2002 12:26 ShaneHoenke

Re: Other problem :-(

> obviously, you have the wrong ftp
> address in your config file
> (/etc/rpm-get.conf) ....
> But this is hardly a suiteble subject
> for a Project Comment, these are general
> help questions.
> So they should not be posted here,
> rather email
> me if you have these sorts of
> questions.
> thanks.

I would like to state that I have the same problem with the same error message... I just build this server and was trying to find a nice apt-get clone.. this looks like it is it but am getting some errors... Though I haven't read the FAQ or done any looking yet...

11 Oct 2002 01:08 CodeAlien

Re: Proxy with authentication
I know that it doesnt work very well with proxys,
and as I dont have any shells with proxys to develop proxy suppurt, itīs not likley that it will have that implimented.
Then again, if anyone does make it work with a proxy, please, make a proper proxy option as --proxy or something like that to rpm-get and send me a proper diff made patch, and Iīll impliment it.
send to: alien at koping.net

10 Oct 2002 15:25 dcabai

Proxy with authentication
I think this is a great project because it is very usefull like apt-get on Debian, but I have this problem with lynx not with rpm-get. I can´t set up rpm-get to go trought a proxy server with authentication.
I can do this with lynx when I add to the command the option -pauth id:pass, but if I add this to the code of rpm-get doesn´t work at all.
I modified rpm-get and genrpmlist the lines that appears the call to lynx and I added the -pauth option, but doesn´t work. If any of you have the same problem and resolve this issue, please let me know. Thanks

09 Jun 2002 18:36 CodeAlien

Re: Other problem :-(
obviously, you have the wrong ftp address in your config file (/etc/rpm-get.conf) ....
But this is hardly a suiteble subject for a Project Comment, these are general help questions.
So they should not be posted here, rather email
me if you have these sorts of questions.
thanks.

09 Jun 2002 17:29 maderas

Other problem :-(
Ok. all right. I have installed the last version. Now i have another problem :-)
Whem i run rpm-get update, it say it, and don find any packets:
"

[root@localhost root]# rpm-get update
Generating /var/lib/rpm-get/RPMS-list
Looking up rpmfind.net
Making FTP connection to rpmfind.net
Can't Access `ftp://rpmfind.net/linux/Mandrake/current/Mandrake/RPMS'
Alert!: Unable to access document.

lynx: Can't access startfile
[ OK ]
Generating /var/lib/rpm-get/SRPMS-list
Can't Access `file://localhost/root/ftp-path-to-sources'
Alert!: Unable to access document.

lynx: Can't access startfile
[ OK ]
Checking to see if /var/lib/rpm-get/rpm-list.db.bz2 is present: [ PRESENT ]

There are 0 packages in the database, and 0 to add to the database
Do you wish to recreate the database ? [y/n]: y
Generating /var/lib/rpm-get/rpm-list.db [ CREATING ]
(Dont be suprised if this operation takes 4 hours)
[ OK ]
Compressing the database bzip2: Output
file /var/lib/rpm-get/rpm-list.db.bz2 already exists.

[ DONE ]

08 Jun 2002 23:04 CodeAlien

Re: problem with genrpmlist
How about doing as it says, run genrpmlist ?
make sure you have it in your $PATH

08 Jun 2002 21:42 maderas

Re: problem with genrpmlist
I like you help me. I'm newbie in linux, and i can't run rpm-get.
After i run rpm-get configure, i try rpm-get update, but it say this:

Configuring for Mandrake
Make sure to run genrpmlist to or: rpm-get update

[ CONFIGURED ]

[root@localhost elrond]# rpm-get update
/sbin/rpm-get: genrpmlist: command not found

what can i do?
Thanks

21 Dec 2001 12:02 CodeAlien

Re: problem with genrpmlist

> genrpmlist asumes your cwd is
> /var/lib/rpm-get
>
> line 50: genrpmlist
> max2=$(bzcat rpm-list.db.bz2 | grep
> rpm | grep -v \/ | grep -c .)
>
> maybe should be changed to:
> max2=$(bzcat
> /var/lib/rpm-get/rpm-list.db.bz2 | grep
> rpm | grep -v \/ | grep -c .)


Noone else have had any problems with that before,
rpm-get should already be in that dir ...
I fixed it anyway, just in case ..
and as a PS. I´d be happy if these kinds of reports
where sent to me as a bug report rather then
a comment to the project.

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.