Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

corrupt rpm file, no graphic environment, SuSE 1

Status
Not open for further replies.

rjja

Technical User
Jul 9, 2002
11
US
Linux newbie raised on windows GUI here...

I installed SuSE 7.2 from OEM cd's, and it hung when trying to set up the graphics adaptor. Turns out the xmodules rpm file was corrupt (SuSE's support web site pointed this out and provided the file to download from their web site - has to do with the Rage 128 cards).

1) I burned the new file to a CD on a friends computer. I then tried to update with the new file with
"rpm -Uvh /cdrom/filename" - it would start to do it, then fail.

2) Next I tried to copy the file to the hard drive to do the update from a HD - can't copy the file from the CD, it is corrupt. I tried this twice with two different CD's.

3) I downloaded the rpm file again to my Windows partition (NTFS).

Now what?

The file I download is not visible from Linux (?)

I do also have a Poweredge 1300 on my network that I can ping from the windows machine and vice versa, that has a successful installation of Linux, if that can be of any use.

Anyone that has an idea of how to proceed, I would really appreciate it.

Thanks
Rich
 
Is Linux installed right now?

Set up a share on the Windows machine and put the .rpm in it. Mount the share in Linux with this command...

mount -t smbfs -o username=user //winserver/share /mnt/smb

Make sure to create /mnt/smb (you can call it whatever you want.


ChrisP ------------------------------------------------------------------------------
If somebody helps you, please vote for them for "Tipmaster of the Week" by giving them a "purple star". This can be done by clicking the "Mark this post as a helpful/expert post" button.
 
Thanks Chris ...

From windows:
I shared the folder from Explorer where the file is:
C:\s72-update

Booted up Linux (logged in as root):
created the directory tmp: "mkdir /tmp"

entered:
mount -t smbfs -o username=rich //winserver/s72-update /tmp

I got:
"807 Connection to winserver failed; SMB connection failed"

Did I get the directions right?

Rich
 
Can you ping winserver? Can you ping its IP address? Try this...

mount -t smbfs -o username=rich,ip=1.2.3.4 //winserver/s72-update /tmp


ChrisP ------------------------------------------------------------------------------
If somebody helps you, please vote for them for "Tipmaster of the Week" by giving them a "purple star". This can be done by clicking the "Mark this post as a helpful/expert post" button.
 
From your last instruction, it looks like I was supposed to execute this from the server that has a completed Linux install.

This worked when executed from my server (cool!):
mount -t smbfs -o username=rich,ip=1.2.3.4 //winserver/s72-update /tmp

Now I have access to the file from my server(M1), and need to get it to my workstation(M2: dual boot w/XPPro & Linux) to update the rpm package on M2.

I have copied the file from the Win file system to /s72-update on M1. I tried to mount /s72-update (on M1) from M2 but couldn't figure out a combination that would work.

If I can mount the dir on M1 from the Linux command line in M2, then I can see how I should be able to run "rpm -Uvh ..."

Got a suggestion?

Rich


 
I'm a little confused...

M1 = Linux server
M2 = dual boot Linux/XP

Is this correct? Is Linux working on M2?

If your trying to copy the file between the Linux boxes with the mount command (above), its not going to work. That is for mounting Samba shares, which are only used to transfer files between Windows and *nix computers. You need something like NFS, FTP, or scp to go between Linux boxes.


ChrisP
------------------------------------------------------------------------------
If somebody helps you, please vote for them for "Tipmaster of the Week" by giving them a "purple star". This can be done by clicking the "Mark this post as a helpful/expert post" button.
 
M1 = Linux server -->(Linux is working here) - the desired file is now on this machine.

M2 = dual boot Linux/XP -->(Linux install is partially complete here: no working xfee86 module yet) - I'm trying to do the rpm file update to this machine.

I was trying to mount the M1 directory from M2 because I cannot establish an ftp connection either way or figure out (yet) how to configure Konqueror to browse the network.

Rich
 
Do you have ProFTPd, NFS, or OpenSSH installed on M1 or M2? These are 3 different ways in which you can copy the file between the Linux machines. What about lynx (a text based web browser)? If the file is on Suse's FTP server, use the ftp command to get it.

ChrisP ------------------------------------------------------------------------------
If somebody helps you, please vote for them for "Tipmaster of the Week" by giving them a "purple star". This can be done by clicking the "Mark this post as a helpful/expert post" button.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top