HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   The Inperfect Setup for me - Fedora Core 4. (http://www.howtoforge.com/forums/showthread.php?t=1243)

dstme 13th November 2005 13:32

The Inperfect Setup for me - Fedora Core 4.
 
Hi I'm dead new to Linux, so sorry if I ask stupid questions. I did look through the forum before posting.

I tried to rpm -ivh http://ftp.freshrpms.net/pub/fedora/...6.fc4.i386.rpm

But I got error message:
[root@chick ~]# rpm -ivh http://ftp.freshrpms.net/pub/fedora/...6.fc4.i386.rpm
Retrieving http://ftp.freshrpms.net/pub/fedora/...6.fc4.i386.rpm
error: /var/tmp/rpm-xfer.Xz4sXE: headerRead failed: hdr blob(42126): BAD, read returned 7736
error: /var/tmp/rpm-xfer.Xz4sXE cannot be installed

Any help will much appreciated!:rolleyes:

till 13th November 2005 14:02

Quote:

Originally Posted by dstme
Hi I'm dead new to Linux, so sorry if I ask stupid questions. I did look through the forum before posting.

I tried to rpm -ivh http://ftp.freshrpms.net/pub/fedora/...6.fc4.i386.rpm

But I got error message:
[root@chick ~]# rpm -ivh http://ftp.freshrpms.net/pub/fedora/...6.fc4.i386.rpm
Retrieving http://ftp.freshrpms.net/pub/fedora/...6.fc4.i386.rpm
error: /var/tmp/rpm-xfer.Xz4sXE: headerRead failed: hdr blob(42126): BAD, read returned 7736
error: /var/tmp/rpm-xfer.Xz4sXE cannot be installed

Any help will much appreciated!:rolleyes:


For me it looks like the rpm package was corrupted during download. Have you executed the command as root user?

You can try to download the package first and the install it:

Code:

wget http://ftp.freshrpms.net/pub/fedora/linux/extras/4/i386/apt-0.5.15cnc7-6.fc4.i386.rpm
rpm -ivh apt-0.5.15cnc7-6.fc4.i386.rpm


dstme 13th November 2005 14:14

Quote:

Originally Posted by till
For me it looks like the rpm package was corrupted during download. Have you executed the command as root user?

You can try to download the package first and the install it:

Code:

wget http://ftp.freshrpms.net/pub/fedora/linux/extras/4/i386/apt-0.5.15cnc7-6.fc4.i386.rpm
rpm -ivh apt-0.5.15cnc7-6.fc4.i386.rpm


Thanks for quick reply. Ya, I execute the command as root user.
Where do I download to and how then to install it (how and where?), please.

till 13th November 2005 14:16

Quote:

Originally Posted by dstme
Thanks for quick reply. Ya, I execute the command as root user.
Where do I download to and how then to install it (how and where?), please.

I posted it already in my post:

Code:

wget http://ftp.freshrpms.net/pub/fedora/linux/extras/4/i386/apt-0.5.15cnc7-6.fc4.i386.rpm
rpm -ivh apt-0.5.15cnc7-6.fc4.i386.rpm

The wget command will download the package to your disk and the rpm command installs it.

dstme 13th November 2005 14:40

Thanks. I have started but it has stuck in 2% for almost 15mins. Does it takes long time to download. I'm using 512k broadband.

Quote:

[root@chick ~]# wget http://ftp.freshrpms.net/pub/fedora/...6.fc4.i386.rpm
--21:29:59-- http://ftp.freshrpms.net/pub/fedora/...6.fc4.i386.rpm
=> `apt-0.5.15cnc7-6.fc4.i386.rpm'
Resolving ftp.freshrpms.net... 193.1.193.67
Connecting to ftp.freshrpms.net[193.1.193.67]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 919,895 [application/x-redhat-package-manager]

2% [> ] 21,724 696.71B/s ETA 26:40

dstme 13th November 2005 14:43

Sorry, I think it is slow only, now 9%

dstme 13th November 2005 16:52

Hi, if I may, I have another question. Right now I have restart my MySql, then as the tutorial said run mysqladmin -u root password yourrootsqlpassword.

I not sure if you mean to replace "password" for my root password and "yourrootsqlpassword" for mysql password. Is this correct?:o

falko 13th November 2005 17:32

Quote:

Originally Posted by dstme
Hi, if I may, I have another question. Right now I have restart my MySql, then as the tutorial said run mysqladmin -u root password yourrootsqlpassword.

I not sure if you mean to replace "password" for my root password and "yourrootsqlpassword" for mysql password. Is this correct?:o

No, only replace yourrootsqlpassword. If your password is secret, then the command would be
Code:

mysqladmin -u root password secret

dstme 13th November 2005 17:52

Thanks falko, I have error: Can you help, please.
Quote:

[root@chick named]# apt-get install cyrus-sasl cyrus-sasl-devel cyrus-sasl-gssapi
Reading Package Lists... Done
Building Dependency Tree... Done
cyrus-sasl is already the newest version.
cyrus-sasl-devel is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
cyrus-sasl-gssapi: Depends: cyrus-sasl (= 2.1.15-6) but 2.1.20-5 is to be installed
E: Broken packages
PLease ignore above. Just found the solution when searching your forum thread. Thnks!

dstme 13th November 2005 19:07

OK...almost done until hit with problem. I have follow every steps but when I try to telnet localhost 25, get closed. Help please....

Quote:

[root@chick ssl]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 chick.roystan.com ESMTP Postfix
421 chick.roystan.com Error: timeout exceeded
Connection closed by foreign host.


All times are GMT +2. The time now is 19:01.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.