Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
06-27-2017, 11:29 PM
|
#1
|
LQ Newbie
Registered: Jul 2016
Posts: 5
Rep:
|
Yum on Ubuntu
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.
|
|
|
06-27-2017, 11:37 PM
|
#2
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
Yum for Debian needs to be a Debian package. Also, yum is a front end for rpm, which Debian doesn't use.
|
|
|
06-27-2017, 11:40 PM
|
#3
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,018
|
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 11:41 PM.
|
|
|
06-28-2017, 12:00 AM
|
#4
|
LQ Newbie
Registered: Jul 2016
Posts: 5
Original Poster
Rep:
|
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.
Last edited by mc_intosh; 06-28-2017 at 12:01 AM.
|
|
|
06-28-2017, 12:07 AM
|
#5
|
LQ Newbie
Registered: Jul 2016
Posts: 5
Original Poster
Rep:
|
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 ?
|
|
|
06-28-2017, 08:47 AM
|
#6
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,018
|
/etc/apt/sources.list & /etc/apt/sources.list.d/*
Instructions for setting up an offline repository https://help.ubuntu.com/community/Ap...ine/Repository
|
|
1 members found this post helpful.
|
06-28-2017, 08:55 AM
|
#7
|
Member
Registered: Aug 2008
Posts: 123
Rep:
|
Quote:
Originally Posted by mc_intosh
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.
|
|
|
06-30-2017, 04:58 PM
|
#8
|
LQ Newbie
Registered: Jul 2016
Posts: 5
Original Poster
Rep:
|
thanks !
|
|
|
All times are GMT -5. The time now is 03:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|