Jump to content

Router configuration for a AMD 64 [solved]


Dinh Tran
 Share

Recommended Posts

Hi,

 

I want to make my Mandriva 2006 machine as a router, sharing internet. I succeed to do it on a 32 bits but not on my amd64 :((. For the other machines, I used graphic interface to share internet. Some packages needed to be installed, I inserted the Mandriva installation dvd for 32 bits, it installed automatically and that's it.

 

On this one, I used graphic interface too. It requires to install caching-nameserver package (as usual) but the required package is not found (Mandriva x86-64 dvd is already inserted). I look for caching-nameserver package on my machine and I found one which name is caching-nameserver-9.2-2mdk. Unfornately :((, I can not install it and the displayed message is: "caching-nameserver-9.2-2mdk.noarch (because bind[*][>= 9.2.3-0.rc2.1mdk] is not satisfied)"

 

Could anyone help me out please??? On the Mandriva machine (Machine 1) that I want to make as a router, I have 2 ethernet cards, one is connected to the other Mandriva machine (Machine 2), the other is connected to internet. From machine 2, I can ping the ethernet card connecting to internet of the machine 1.

 

Thanks for any help :)

Best regards,

 

Dinh Tran

Link to comment
Share on other sites

Welcome to the board :beer:

 

Have you set up your urpmi sources, using the easyurpmi link at the top of this page.

 

You'll need to change architecture from "i586" to "x86_64" before proceeding any further in easyurpmi to make sure you get the 64 bit stuff.

 

Then try again. Chances are your missing these sources, and can't get what you need installed.

Link to comment
Share on other sites

Can you do a:

 

urpmf --name bind

 

and what does it report? Also, can you do:

 

urpmq --list-media

 

so we can see what sources you have, and post the results here.

Link to comment
Share on other sites

Here's what I got:

 

[root@localhost Téléchargement]# urpmf --name bind

bind-utils:bind-utils-9.3.1-1mdk.x86_64.rpm

bind:bind-9.3.1-1mdk.x86_64.rpm

ypbind:ypbind-1.17.3-1mdk.x86_64.rpm

bind-devel:bind-devel-9.3.1-1mdk.x86_64.rpm

samba-winbind:samba-winbind-3.0.13-2mdk.x86_64.rpm

 

 

[root@localhost Téléchargement]# urpmq --list-media

main

update_source2

 

thanks :)

 

Dinh Tran

Link to comment
Share on other sites

OK, and if you do:

 

urpmf --name caching-

 

does it list an x86_64 version? Reason I ask is you're trying to install a non-x86_64 package. And this will be why it's attemping to install a non-x86_64 version of bind.

Link to comment
Share on other sites

Most likely the caching-nameserver-9.2-2mdk.noarch is badly built, and asks as dependency a specific 32-bit package (while it shouldn't, as itself is noarch package).

I guess that force installing the caching-nameserver package should work.

Edited by scarecrow
Link to comment
Share on other sites

Do you mean "rpm -i --force "? I did so but it doesnt help. I still have the same out put: "bind =>9.2.3-0.rc2.-mdk is necessary"

 

[root@localhost SOURCES]# urpmf --name caching-

caching-nameserver:caching-nameserver-9.2-2mdk.noarch.rpm

 

Where the caching-nameserver.rpm is stocked please? how can I install it (not using graphic interface)? For the moment, I always try to install another downloaded caching-server package residing in my Desktop.

Edited by Dinh Tran
Link to comment
Share on other sites

Normally, I install packages using:

 

urpmi packagename

 

so for you:

 

urpmi caching-nameserver

 

should do the trick. Although I'm not sure if the error message you were receiving was from the one you downloaded, or whether you tried installing the mandriva package.

Link to comment
Share on other sites

I got the same error message while trying to install the downloaded package and mandriva package. Here"s the error message for mandriva one:

 

[root@localhost Téléchargement]# urpmi caching-nameserver

Certains paquetages demandés ne peuvent pas être installés :

caching-nameserver-9.2-2mdk.noarch (car bind[*][>= 9.2.3-0.rc2.1mdk] est non satisfait)

Continuer ? (O/n) o

[root@localhost Téléchargement]#

 

Some asked packages can not be installed:

caching-nameserver-9.2-2mdk.noarch (because bind[*][>= 9.2.3-0.rc2.1mdk] is not satisfied)

Continu ? (Y/n) Y

 

So actually we can not force to install, 'cause I choose to continue but nothing happened

Link to comment
Share on other sites

:cry: huhuhuuhuh how terrible it is :cry: :cry:

 

I succeed to install caching-nameserver. Thanks a lot. Then the next step is installing dhcp server :cry: I downloaded the package and tried to install. I got the error:

[root@localhost Téléchargement]# rpm -ivh dhcp-server-3.0.3-3mdk.x86_64.rpm

attention: dhcp-server-3.0.3-3mdk.x86_64.rpm: Entête V3 DSA signature: NOKEY, key ID 26752624

erreur: Dépendances requises:

libc.so.6()(64bit) est nécessaire pour dhcp-server-3.0.3-3mdk.x86_64

libc.so.6(GLIBC_2.2.5)(64bit) est nécessaire pour dhcp-server-3.0.3-3mdk.x86_64

libc.so.6(GLIBC_2.3.4)(64bit) est nécessaire pour dhcp-server-3.0.3-3mdk.x86_64

libc.so.6(GLIBC_2.3)(64bit) est nécessaire pour dhcp-server-3.0.3-3mdk.x86_64

liblber-2.3.so.0()(64bit) est nécessaire pour dhcp-server-3.0.3-3mdk.x86_64

libldap-2.3.so.0()(64bit) est nécessaire pour dhcp-server-3.0.3-3mdk.x86_64

 

I found there's existing libd.so.6 for i686 and add the path to LD_LIBRARY_PATH but it doesnt help.

[root@localhost lib]# locate libc.so.6

/lib/i686/libc.so.6

/lib/tls/libc.so.6

/lib/libc.so.6

[root@localhost Téléchargement]# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib/i686/

[root@localhost Téléchargement]#

 

Then, I tried to install glibc-2.3.4-2.x86_64.rpm.

[root@localhost Téléchargement]# rpm -ivh glibc-2.3.4-2.x86_64.rpm

attention: glibc-2.3.4-2.x86_64.rpm: Entête V3 DSA signature: NOKEY, key ID 652e84dc

erreur: Dépendances requises:

glibc-common = 2.3.4-2 est nécessaire pour glibc-2.3.4-2.x86_64

shadow-utils < 2:4.0.3-20 entre en conflit avec glibc-2.3.4-2.x86_64

glibc < 6:2.3.3-2mdk entre en conflit avec sash-3.7-3mdk.i586

[root@localhost Téléchargement]#

 

ok, then it seems that sash is installed but with a wrong one (i586). I tried to change to the x86_64 one

[root@localhost Téléchargement]# rpm -ivh sash-3.7-3mdk.x86_64.rpm

Préparation... (10########################################### [100%]

le paquetage sash-3.7-3mdk est prévu pour une archicture x86_64

paquetage sash-3.7-3mdk déjà installé

le fichier /sbin/sash de l'installation de sash-3.7-3mdk entre en conflit avec le fichier du paquetage sash-3.7-3mdk

[root@localhost Téléchargement]#

 

[root@localhost Téléchargement]# rpm -q sash

sash-3.7-3mdk

 

I tried to uninstall the existing sash. But the displayed error is:

[root@localhost Téléchargement]# rpm -e sash

erreur: Dépendances requises:

sash est nécessaire pour (déjà installé) basesystem-10.1-5mdk.i586

[root@localhost Téléchargement]#

 

huhuhuhu :cry: it seems lots of things are installed with i586. What should I do please? Thanks thanks alot for your help,

 

Dinh Tran

Edited by Dinh Tran
Link to comment
Share on other sites

I think you need to remove the repositories as you've chosen the wrong ones.

 

urpmi.removemedia -a

 

and go to easy-urpmi and make sure x86_64 is chosen and NOT i586, as this is why you have lots of problems now.

 

I would suggest, adding all repositories, main, contrib, jpackage, plf-free, plf-nonfree and updates. Then:

 

urpmi --auto-select

 

and make sure your system is up-to-date, and hopefully when you try to install the programs again it will all work fine. Hopefully your system stability isn't affected. If you experience problems, you might be better with a clean install, and choose the correct urpmi repositories next time you set them up.

Link to comment
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...
 Share

×
×
  • Create New...