Richard Davison Posted January 8, 2009 Share Posted January 8, 2009 I'm new to the whole linux world and I decided to do a minimal gentoo install, and now I'm stuck. I type: # emerge --oneshot portage and I get: Calculating dependencies / !!! All ebuilds that could satisfy "sys-apps/portage" have been masked. !!! One of the following masked packages is required to complete your request: - sys-apps/portage-2.2_rc20 (masked by: package.mask, missing keyword) /usr/portage/profiles/package.mask: # Zac Medico <zmedico@gentoo.org> (05 Jan 2009) # Portage 2.2 is masked due to known bugs in the # package sets and preserve-libs features. - sys-apps/portage-2.1.6.4 (masked by: missing keyword) - sys-apps/portage-2.1.4.5 (masked by: missing keyword) - sys-apps/portage-2.1.1-r2 (masked by: profile, missing keyword) - sys-apps/portage-2.1.4.4 (masked by: ) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. I tried unmasking by echoing it to packages.mask, but apparently it doesn't exist. Help? Link to comment Share on other sites More sharing options...
Elv13 Posted January 8, 2009 Share Posted January 8, 2009 do you have someting like -x86 or -amd64 in your make.conf? I think so. Replace it by ~x86 or ~amd64 Link to comment Share on other sites More sharing options...
Richard Davison Posted January 8, 2009 Author Share Posted January 8, 2009 THANK YOU!! If you don't mind me asking, what's the difference between the - and the ~ in this situation? Link to comment Share on other sites More sharing options...
Elv13 Posted January 8, 2009 Share Posted January 8, 2009 - mean " force mask" and ~ "unmask" Link to comment Share on other sites More sharing options...
Richard Davison Posted January 8, 2009 Author Share Posted January 8, 2009 (edited) Alright, I have a new problem. I finished the installation successfully, yay, but now I've lost network when booting from HD. ifconfig gives me shows eth0 to be available, and dhcpcd seems to be working, but # ping -c 3 www.google.com ping: unknown host www.google.com and # ping -c 3 216.239.51.99 PING 216.239.51.99 (216.239.51.99) 56(84) bytes of data. --- 216.239.51.99 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2014ms I booted into the live CD to make sure the internet still worked, and it did. So I tried copying the resolv.conf from the CD to the mount, but when I reboot to the HD it still gives me the same problems. Any ideas? Edited January 8, 2009 by Richard Davison Link to comment Share on other sites More sharing options...
rson451 Posted January 8, 2009 Share Posted January 8, 2009 Check that you are getting a default gateway in your routing table. Without that your packets will not know where to start their trip. Link to comment Share on other sites More sharing options...
Richard Davison Posted January 8, 2009 Author Share Posted January 8, 2009 I'm sorry. I'm still a little new to this. I've been doing a little research and have found ways to display some info about the network. Maybe this could be of some help to you? Link to comment Share on other sites More sharing options...
Elv13 Posted January 8, 2009 Share Posted January 8, 2009 Did you copy your resolv.conf from the live-cd and did you load the kernel module (or built in kernel) for your network adapter? Did you install a DHCP client or configured static IP? 75% chance the answer of one of these question is no, the other 25% is a little bit more complicated. Link to comment Share on other sites More sharing options...
Richard Davison Posted January 9, 2009 Author Share Posted January 9, 2009 Did you copy your resolv.conf from the live-cd and did you load the kernel module (or built in kernel) for your network adapter?Did you install a DHCP client or configured static IP? 75% chance the answer of one of these question is no, the other 25% is a little bit more complicated. Did you copy your resolv.conf from the live-cd - yes Did you load the kernel module (or built in kernel) for your network adapter? - huh? I'm not sure what you mean. I compiled the kernel that resembles the live cd's because I didn't want to configure my own kernel. Did you install a DHCP client or configured static IP? - DHCP Link to comment Share on other sites More sharing options...
Elv13 Posted January 9, 2009 Share Posted January 9, 2009 does "lsmod" show your network driver as loaded? And did you do /etc/init.d/net.eth0 start #(I should have asked this one right from the start) Link to comment Share on other sites More sharing options...
Richard Davison Posted January 9, 2009 Author Share Posted January 9, 2009 Lsmod gives me a big list of drivers but I don't know which is mine since I'm using parallels on os x and I'm sharing the network with the main OS. Would it be the same device or would it be some sort of emulated device? Starting the ethernet gives me a warning about of already having been started. Link to comment Share on other sites More sharing options...
Elv13 Posted January 9, 2009 Share Posted January 9, 2009 Do an lspci and see what kind of network card parallels emulate EDIT: You have to install pci-utils (good luck without network) Link to comment Share on other sites More sharing options...
Recommended Posts