0

Can someone please help me to install Incrond on my Ubuntu server, I tried all possible ways as I found on the web but nothing works.

sudo apt-get install incron

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package incrond

I need to install the file system watcher for some of my automization scripts to work.

Thank you in advance.

Info: Yes the solution was the universe repository but in my case I wasn't aware which repository is responsible for incron, so it will be helpful to keep it separate.

Asaf M
  • 291
  • 2
  • 4
kunal
  • 432
  • 1
  • 8
  • 23
  • Next time visit https://packages.ubuntu.com first and you [will find](https://packages.ubuntu.com/search?suite=all&section=all&arch=any&keywords=incron&searchon=names). – N0rbert Oct 15 '18 at 20:06

1 Answers1

1

Make sure that your apt source list file /etc/apt/sources.list contains universe.

deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse 

Install incron package.

sudo apt update
sudo apt install incron
KK Patel
  • 18,693
  • 14
  • 57
  • 79
  • pater, its the same issue as before. `sudo apt install incron Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package incron` – kunal Oct 15 '18 at 12:07
  • Sorry for the type in my question , I have already tired incron – kunal Oct 15 '18 at 12:08
  • It is part of universe repo list provided in Ubuntu by default. Can you check universe is there in apt source list file /etc/apt/sources.list ? – KK Patel Oct 15 '18 at 12:13
  • `deb http://archive.ubuntu.com/ubuntu bionic main deb http://archive.ubuntu.com/ubuntu bionic-security main deb http://archive.ubuntu.com/ubuntu bionic-updates main` – kunal Oct 15 '18 at 12:14
  • this are the source list – kunal Oct 15 '18 at 12:14
  • 1
    you need to add universe repo: `sudo apt-add-repository universe` – pLumo Oct 15 '18 at 12:17
  • @KetankumarPatel, thank you for the Help. it worked – kunal Oct 15 '18 at 15:05