Hello I am not a linux expert. The output of uname -r on my system returns: 2.6.32-696.3.1.el6.x86_64 hence I am trying to install this rpm: sudo yum install nut-2.7.4-9.fc27.x86_64.rpm but I got failed dependencies. Is there a repository I am supposed to set up to get those dependencies from? Regards Ambrogio -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170622/53475152/attachment.html>
On 06/23/2017 01:51 AM, Ambrogio Coletti wrote:> Hello > > I am not a linux expert. > > The output of uname -r on my system returns: > 2.6.32-696.3.1.el6.x86_64 > > hence I am trying to install this rpm: > sudo yum install nut-2.7.4-9.fc27.x86_64.rpm > > but I got failed dependencies. >You are trying to install packages built for Fedora 27 on a CentOS 6 system. This is not possible. You can - either use the [old] nut packages from the Fedora EPEL 6 <https://fedoraproject.org/wiki/EPEL> repository. Using EPEL is very simple nowadays, all you need to do is to run the following command: yum install epel-release --enablerepo=extras ( by default you might not even need the "--enablerepo=extras" part, the repository comes already enabled) After that you just run yum install nut ( or nut-client or whatever you need ) - or you can trust me ( I am a packager for Fedora since 2007 and also what they call a "sponsor" which basically means, among others, that I could also teach people how to package for Fedora and EPEL - but for the last 2-3 years I focused strictly on creating packages that can be used on CentOS systems ) and use the packages I made available via https://wolfy.fedorapeople.org/nut/ . If you want to use my packages, you will need to download and install them manually, using ( after downloading the needed packages ) a command similar to: yum install ./nut*rpm If you encounter any issues with my packages ( NOT with nut itself but when installing or dl-ing the packages ! ) feel free to contact me directy either by mail or via IRC ( I am " wolfy " on #centos-social/Freenode ) and I will be glad to assist you.> Is there a repository I am supposed to set up to get those > dependencies from?No, you cannot do that. Fedora and CentOS are similar but the binary packages built for one of them cannot be used on the other one. If you want to use the official packages from the EPEL 6 repository, start with the first link I have provided. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170623/5c85fbf2/attachment.html>
On 06/22/2017 06:13 PM, Manuel Wolfshant wrote:> > You are trying to install packages built for Fedora 27 on a CentOS 6 system. This is not possible. > You can > - either use the [old] nut packages from the Fedora EPEL 6 <https://fedoraproject.org/wiki/EPEL> repository. Using EPEL is very simple nowadays, all you need to do is to run the following command: > yum install epel-release --enablerepo=extras > ( by default you might not even need the "--enablerepo=extras" part, the repository comes already enabled) > After that you just run yum install nut ( or nut-client or whatever you need ) > - or you can trust me ( I am a packager for Fedora since 2007 and also what they call a "sponsor" which basically means, among others, that I could also teach people how to package for Fedora and EPEL - but for the last 2-3 years I focused strictly on creating packages that can be used on CentOS systems ) and use the packages I made available via https://wolfy.fedorapeople.org/nut/ . If you want to use my packages, you will need to download and install them manually, using ( after downloading the needed packages ) a command similar to: > yum install ./nut*rpm > If you encounter any issues with my packages ( NOT with nut itself but when installing or dl-ing the packages ! ) feel free to contact me directy either by mail or via IRC ( I am " wolfy " on #centos-social/Freenode ) and I will be glad to assist you.Ha! I was just emailing NUT-Dev about the latest (and CentOS 6) and was about to compile manually. i'll check your packages out. (I'd actually like to learn how to create packages for situations like this) In the meantime, thanks for the RPM! -Ben -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170622/f46a13ea/attachment.html>
On Thu, 22 Jun 2017, Ambrogio Coletti wrote:> Hello > > I am not a linux expert. > The output of uname -r on my system returns: > 2.6.32-696.3.1.el6.x86_64Hi, Linux 2.6.32 was released 3 December, 2009. That's nearly 8 years ago. Linux has now reeched version 4.11.> hence I am trying to install this rpm: > sudo yum install nut-2.7.4-9.fc27.x86_64.rpm > > but I got failed dependencies. > > Is there a repository I am supposed to set up to get those dependencies from?Perhaps the CentOS people could advise you on whether old rpms for CentOS still exist, but the general advice would be to install a more recent Linux. Roger
On 06/23/2017 08:30 AM, Roger Price wrote:> On Thu, 22 Jun 2017, Ambrogio Coletti wrote: > >> Hello >> >> I am not a linux expert. >> The output of uname -r on my system returns: >> 2.6.32-696.3.1.el6.x86_64 > > Hi, Linux 2.6.32 was released 3 December, 2009. That's nearly 8 years > ago. Linux has now reeched version 4.11.What blank affirmations like this one fail to take into consideration is that RH invests a lot of time and effort in backports. The current kernel used by RHEL 6 / CentOS 6 resembles more the 3.10 series than 2.6 Please see https://access.redhat.com/security/updates/backporting/ for information on backporting of security fixes*and features* in CentOS and RHEL> >> hence I am trying to install this rpm: >> sudo yum install nut-2.7.4-9.fc27.x86_64.rpm >> >> but I got failed dependencies. >> >> Is there a repository I am supposed to set up to get those >> dependencies from? > > Perhaps the CentOS people could advise you on whether old rpms for > CentOS still exist,I already did that ( incidentally I am also member in some CentOS teams ). As I have mentioned earlier, there are new packages as well. And I have also built packages from the current git tree.> but the general advice would be to install a more recent Linux.I would not use "general" and "more recent" without looking at the whole context but yes, this is one of the option that can be sometimes be taken into consideration. However let's not forget that RHEL 6 ( and by matter of consequence CentOS 6 ) still has almost 4 more years of supported life ( a period which by itself exceeds the length of life of other distributions.. ), given that it will go EOL 30 Nov, 2020 . See https://access.redhat.com/support/policy/updates/errata for more details about the lifecycle of RHEL distributions. wolfy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170623/72286cbe/attachment-0001.html>