Unable to install 'apt-notifier'  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
BardicDruid
Posts: 12
Joined: Fri Jul 23, 2021 4:00 pm

Unable to install 'apt-notifier'

#1 Post by BardicDruid »

I just got a new HDD before the old one died, did a clean install, everything was working great until I uninstalled 'plasma-discover' and 'plasma-discover-common' and tried to install 'apt-notifier' in MXPI, I got this message back:

Code: Select all

Package apt-notifier is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'apt-notifier' has no installation candidate
I've searched the forum and all the other posts about 'apt-notifier', it's already installed, I can't get that far. But I did find something in one of the posts and tried it:

Code: Select all

dalec@mx:~
$ apt policy mx-packageinstaller
mx-packageinstaller:
  Installed: 22.8.02
  Candidate: 22.8.02
  Version table:
 *** 22.8.02 100
        100 /var/lib/dpkg/status
dalec@mx:~
$ which mx-packageinstaller
/usr/bin/mx-packageinstaller
That said it was installed but I couldn't find it anywhere in the menu, so I tried it in terminal and got:

Code: Select all

dalec@mx:~
$ apt-notifier
Command 'apt-notifier' not found, but can be installed with:
apt install apt-notifier
Please ask your administrator.
root@mx:/home/dalec# apt-notifier
Command 'apt-notifier' not found, but can be installed with:
apt install apt-notifier
root@mx:/home/dalec#  apt install apt-notifier
Reading package lists... Done                                                                              
Building dependency tree... Done
Reading state information... Done
Package apt-notifier is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'apt-notifier' has no installation candidate
And that's where I ran out of ideas and came here.
Last edited by BardicDruid on Fri Oct 14, 2022 11:03 am, edited 2 times in total.
Mobo: Asrock B550M Pro 4
Cpu: AMD Ryzen 7 5700
Memory: Crucial Pro 32GB (2x16) DDR4 3200
Video Card: Asrock Radeon RX 6600 Challenger D 8GB
Hard Drive: Crucial P310 M.2 2280 1TB NVMe SSD

Huckleberry Finn

Re: Unable to install 'apt-notifier'

#2 Post by Huckleberry Finn »

Code: Select all

huck@Huckleberry:~
$ apt list *notifier*
Listing... Done
...
apt-notifier/mx,now 20.11.01mx19+1 all [installed]
...

Code: Select all

sudo apt update ; sudo apt install apt-notifier -y

User avatar
fehlix
Developer
Posts: 12634
Joined: Wed Apr 11, 2018 5:09 pm

Re: Unable to install 'apt-notifier'  [Solved]

#3 Post by fehlix »

BardicDruid wrote: Fri Oct 14, 2022 10:00 am

Code: Select all

Package apt-notifier is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'apt-notifier' has no installation candidate

Code: Select all

dalec@mx:~
$ apt policy mx-packageinstaller
mx-packageinstaller:
  Installed: 22.8.02
  Candidate: 22.8.02
  Version table:
 *** 22.8.02 100
        100 /var/lib/dpkg/status
dalec@mx:~

Code: Select all

apt install apt-notifier
Reading package lists... Done                                                                              
Building dependency tree... Done
Reading state information... Done
Package apt-notifier is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'apt-notifier' has no installation candidate
In both cases it shows, you either have not re-freshed apt' packages sources list
or you manually disabled the MX repos.
As mentioned, a simple reftesh like this

Code: Select all

sudo apt update

would make the packages available to install.
If not, do post QSI "Quick System Info

User avatar
BardicDruid
Posts: 12
Joined: Fri Jul 23, 2021 4:00 pm

Re: Unable to install 'apt-notifier'

#4 Post by BardicDruid »

Thank you, I'm not a spring chicken any more and every now and then I can't remember the simple stuff, but the apt update was what was needed, again thank you.
Mobo: Asrock B550M Pro 4
Cpu: AMD Ryzen 7 5700
Memory: Crucial Pro 32GB (2x16) DDR4 3200
Video Card: Asrock Radeon RX 6600 Challenger D 8GB
Hard Drive: Crucial P310 M.2 2280 1TB NVMe SSD

Post Reply

Return to “MX Help”