Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello guys i need help with yum on Ubuntu. i have installed several servers to test it with centos 6,7,Ubuntu and Debian. i created ftp yum repository in centos 6 and already connected all of them except Ubuntu and debian i cant find where i can add the yum. in centos /etc/yum.repos.d but Ubuntu totally different i tried to install other packages from Ubuntu but it say no command found for all command it means no yum repo at all , its minimal ubuntu,also tried sudo add-apt-repository the output comes as :Error need repository as argument
thanks in advance.
You'll need to install yum and rpm before you can use yum with rpm's on Ubuntu (assuming it still has the packages from Debian).
Code:
apt install yum rpm
Note: I don't use Ubuntu if I can help it, so I'm basing this off Debian.
Note 2: I've never done this, but considering how different Ubuntu is compared to rpm distro's, I can't see this working out very well. I imagine there will be many package conflicts long-term.
Last edited by Timothy Miller; 06-27-2017 at 10:41 PM.
yeah i think im just waiting time with rpm on Ubuntu, thanks anyway.
2nd question ? all servers are minimal and only ,one machine GUI test machine i created, and im testing there. Im ssh keygen to all machine but Ubuntu doesnt accepting says connection refused no route to 22 , i add pport 22 on iptables still nothing. pinging works for both machine its going thru. and one more thing that from ubuntu i can ssh to GUI test machine. but test machine cant access to Ubuntu.
i tried to stop iptables , tried to permissive selinux but nothing.
by the way my Debian server says :Unable to locate package yum it means i have repolist 0 right.?
on my servers there is no internet only local machines in one subnet, when im typing apt-get install it tries to get from outside(from internet) but by default it has to be his local repo right? i didnt live that much trouble in centos
also i need to give my ftp path for repo this is confuses me much. i dont knot where the repo files in Debian ?
yeah i think im just waiting time with rpm on Ubuntu, thanks anyway.
2nd question ? all servers are minimal and only ,one machine GUI test machine i created, and im testing there. Im ssh keygen to all machine but Ubuntu doesnt accepting says connection refused no route to 22 , i add pport 22 on iptables still nothing. pinging works for both machine its going thru. and one more thing that from ubuntu i can ssh to GUI test machine. but test machine cant access to Ubuntu.
i tried to stop iptables , tried to permissive selinux but nothing.
A minimal install of Ubuntu doesn't contain the ssh server. You need to install the openssh-server package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.