Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Unable to locate package inotify-tools

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
ColinDexter
Posts: 11
Joined: 2017-08-07 06:39

Unable to locate package inotify-tools

#1 Post by ColinDexter »

I try to install inotify-tools on Debina 8 by:

sudo apt-get update
sudo apt-get install inotify-tools

But on sudo apt-get install inotify-tools I get the following error:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package inotify-tools

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Unable to locate package inotify-tools

#2 Post by kedaha »

Debina 8?
In Debian 8 it must be available; it's in the main repository.

Code: Select all

$ apt-cache policy inotify-tools
inotify-tools:
  Installed: (none)
  Candidate: 3.14-1+b1
  Version table:
     3.14-1+b1 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.


ColinDexter
Posts: 11
Joined: 2017-08-07 06:39

Re: Unable to locate package inotify-tools

#4 Post by ColinDexter »

Sorry typo, of course I mean Debian ;-)

Yes, I saw that. That’s why I found it very strange I have this message. The question is what can I do.....

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Unable to locate package inotify-tools

#5 Post by arochester »

1) Are you connected to the Internet?

2) What does your sources list say? Copy and Paste here.

ColinDexter
Posts: 11
Joined: 2017-08-07 06:39

Re: Unable to locate package inotify-tools

#6 Post by ColinDexter »

Yes, I connected to the internet. Otherwise I couldn’t connect to it :-)

This is my sources list

Code: Select all

deb http://ftp.debian.org/debian jessie main contrib non-free
deb http://ftp.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
deb http://ftp.debian.org/debian jessie-backports main contrib non-free
deb http://ftp.debian.org/debian jessie-proposed-updates contrib non-free main

deb-src http://ftp.debian.org/debian jessie main contrib non-free
deb-src http://ftp.debian.org/debian jessie-updates main contrib non-free
deb-src http://security.debian.org jessie/updates main contrib non-free
deb-src http://ftp.debian.org/debian jessie-backports main contrib non-free
deb-src http://ftp.debian.org/debian jessie-proposed-updates contrib non-free main

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Unable to locate package inotify-tools

#7 Post by arochester »

Have you gone further than update?

Have you done?

Code: Select all

sudo apt-get upgrade
sudo apt-get dist-upgrade
Then tried again?

ColinDexter
Posts: 11
Joined: 2017-08-07 06:39

Re: Unable to locate package inotify-tools

#8 Post by ColinDexter »

When I run this commands I have also errors. And after this it is still not working...

Code: Select all

....
Unpacking libc6:arm64 (2.19-18+deb8u10) over (2.19-18+deb8u7) ...
Setting up libc6:arm64 (2.19-18+deb8u10) ...
Illegal instruction
dpkg: error: unable to sync new file '/var/lib/dpkg/status-new': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)



~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  linux-headers-3.14.29+ linux-image-3.14.29+
Use 'apt-get autoremove' to remove them.
Done
The following packages will be upgraded:
  ca-certificates debconf debconf-i18n debian-archive-keyring git git-man
  gnupg gpgv icu-devtools imagemagick-common libbluetooth3 libdns-export100
  libdvdnav4 libexpat1 libexpat1-dev libffi6 libfreetype6 libfreetype6-dev
  libgcrypt20 libgd3 libgnutls-deb0-28 libgnutls-openssl27 libgraphite2-3
  libgssapi-krb5-2 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libicu-dev
  libicu52 libirs-export91 libisc-export95 libisccfg-export90 libjasper-dev
  libjasper1 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2
  libmagickcore-6-arch-config libmagickcore-6-headers libmagickcore-6.q16-2
  libmagickcore-6.q16-2-extra libmagickcore-6.q16-dev libmagickwand-6-headers
  libmagickwand-6.q16-2 libmagickwand-6.q16-dev libmagickwand-dev
  libpam-modules libpam-modules-bin libpam0g libsystemd0 libtasn1-6 libtiff5
  libtiff5-dev libtiffxx5 libudev1 libxml2 libxml2-dev linux-headers-3.14.79+
  linux-image-3.14.79+ locales multiarch-support passwd setup-odroid sudo
  supervisor systemd systemd-sysv tzdata udev vim vim-common vim-runtime
  vim-tiny wget
74 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/71.3 MB of archives.
After this operation, 525 kB disk space will be freed.
Do you want to continue? [Y/n]
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 77279 files and directories currently installed.)
Preparing to unpack .../libudev1_215-17+deb8u7_arm64.deb ...
Unpacking libudev1:arm64 (215-17+deb8u7) over (215-17+deb8u6) ...
Setting up libudev1:arm64 (215-17+deb8u7) ...
Illegal instruction
(Reading database ... 77279 files and directories currently installed.)
Preparing to unpack .../udev_215-17+deb8u7_arm64.deb ...
/var/lib/dpkg/info/udev.prerm: 33: /var/lib/dpkg/info/udev.prerm: dpkg-maintscript-helper: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 33: /var/lib/dpkg/tmp.ci/prerm: dpkg-maintscript-helper: not found
dpkg: error processing archive /var/cache/apt/archives/udev_215-17+deb8u7_arm64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/udev.postinst: 225: /var/lib/dpkg/info/udev.postinst: dpkg-maintscript-helper: not found
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 /var/cache/apt/archives/udev_215-17+deb8u7_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Unable to locate package inotify-tools

#9 Post by Segfault »

Illegal instruction means CPU is unable to execute the code. Are you using wrong distribution for your hardware? Note, there is more than one for ARM. How comes you have amd64 and suddenly there is ARM? :?
I smell FrankenDebian.

ColinDexter
Posts: 11
Joined: 2017-08-07 06:39

Re: Unable to locate package inotify-tools

#10 Post by ColinDexter »

Euh I don’t know. It should be an ARM :-(

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Unable to locate package inotify-tools

#11 Post by arochester »

If you use the link above, you will see that Jessie does not have an ARM package.
amd64 armel armhf i386 mips mipsel powerpc ppc64el s390x

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Unable to locate package inotify-tools

#12 Post by stevepusser »

Arm64 is not a common platform among users here. Are you sure that's what you have, and not amd64? What are you running Debian on?
MX Linux packager and developer

ColinDexter
Posts: 11
Joined: 2017-08-07 06:39

Re: Unable to locate package inotify-tools

#13 Post by ColinDexter »

aarch64 GNU/Linux

Sorry guys. I need a pair of glasses. I really mean that I have seen that Jessie had the arm version :-(

I have found the manually install. Thanks all for the help.

Post Reply