Link to home
Start Free TrialLog in
Avatar of SIL-Mozambique
SIL-Mozambique

asked on

Update Linux from Internet

I have a machine running some version of Linux. It seems to be a very minimal install.
I need to take some data files off the machine, but I cannot mount a USB thumb drive.
I can access the internet with ping, so I thought I might avail myself of some update.
How can I update the machine - with Samba, for example, so I can connect to it.
Very new to Linux:-)
Avatar of rindi
rindi
Flag of Switzerland image

Which Linux distro is it?
In debian distros like ubuntu you would "apt-get install <package>", so "apt-get install samba" to install samba.  In redhat/fedora/other yum distros you would "yum install samba".
mention your linux distro and quite better version
there are many issues including dns resolving issue
so check it by ping www.google.com
if it reply u very fine

if you are using redhat based distro then first check that yum is installed in it by giving the command
#rpm -qa | gep yum
if it found, very well else you will install it by command
rpm -i yum-version-**
when  you install it
then u update the package yum update samba
Avatar of SIL-Mozambique
SIL-Mozambique

ASKER

arrkerr1024 - I tried apt-get, and it runs - so I guess I have Debian.
After it finds all its missing dependencies, it tries to begin the download.
However, I get errors. Tries to connect to http.us.debian.org, says downloading headers, and then....

Err http://http.us.debian.org unstable/main libgpg-error0 1.2-1
404 Not Found [IP:64.50.236.52 80]

An then it repeats this for many packages.

At one point, it downloaded something, but then said incomplete download, and now am stuck
 
Yikes... unstable?  Try an "apt-get  update" first, that should pull in the latest list, then do the "apt-get install xxxxx".
I did apt-get update, and let it crank away a couple of days (internet connections aren't the best)
Seemed to work fine.
I did apt-get install samba, and it wanted an upgrade to libcupsys2
I did apt-get install libcupsys2, and let it crank away for a while.
Once again, apt-get install samba, and I get more unmet dependencies.
Says try apt-get -f install to fix these.

So I get the following messages:
The following extra package will be installed:
   libc6
<stuff>
The following package will e upgraded:
   libc6
1 upgraded,...
5 not fully installed or removed
<some extra messages>
Do you want to continue? Y
Preparing to replace libc6 2.3.6-9.....
<stuff about stopping services, ending with the mesage no services need to be stopped>
Do you want to upgrade glibc now?

No a bunch of lines scroll by rather quickly, the last bunch say
Readlink: invalid option --e
This is repeated a number of times.

Then a Warning: POSIX threads library NPTL requires kernel version 2.6.8 or later

How do I know what kernel I have?

Then it stops, error processing /var/cache/apt/archives/libc6_2.7-4_i386.deb (-- unpack)

Check your /boot folder. The Kernel versions of your system should be viewable there by looking at the file versions listed there.

You may have to upgrade your system with apt-get upgrade.
rindi, if you ream my message, the first line says - I did apt-get update.
To tell me to do it again, is not helpful.
Sorry, rindi. I didn't read upgrade, thought it said update. Will do.
ASKER CERTIFIED SOLUTION
Avatar of arrkerr1024
arrkerr1024
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi arrkerr1024
I seem to get stuck at one point. I have done apt-get update, and apt-get upgrade
I get one error, exactly as in my earlier post.
When it is trying to upgrade libc6 from 2.3.6 to libc6 2.7, it gets an error
readlink invalid option --e
Indeed, typing readlink --help, there is no --e option, so which script has this error?
I have tried various other routes, like apt-get -f install, and it still gets stuck on that script.

I found the libc6.preinst script. It has readlink -f, but nor -e so maybe the error message isn't accurate.
I am at a loss how to continue.

By the way, this is a working machine. It is managing our wireless using chillispot. I wanted to set up another machine, and install it, so that I could understand the setup. But I would have to transfer the database, because it contains all the accounting information. To upgrade is fine with me, if it would work
Anybody able to help me with this?