The officially official Devuan Forum!

You are not logged in.

#1 2019-10-16 00:49:40

aut0exec
Member
Registered: 2018-11-21
Posts: 81  

Beowulf and Avahi-daemon

Switched one of my Cinnamon Ascii systems over to beowulf repo's and with a few exceptions (self induced issues) everything upgraded without a hitch! I know Beowulf isn't officially released but I've been using it on a bunch of other machines with no issues so far.

Anyways, generally want nothing to do with avahi-daemon so I purge it almost as soon as I see it on a machine. For some reason though 'apt upgrade' is wanting to reinstall it after it has been purged. I can't seem to track down where the dependency is that might be requiring avahi either. Anyone have any suggestions? This is a new one for me...

Offline

#2 2019-10-16 02:37:08

golinux
Administrator
Registered: 2016-11-25
Posts: 3,316  

Re: Beowulf and Avahi-daemon

I've used this to show what packages depend on a package:

~$ apt-cache rdepends avahi-daemon
avahi-daemon
Reverse Depends:
  libvirt-daemon-system
  cups-daemon
  cups-core-drivers
  cups-browsed
  cups
  telepathy-salut
  task-desktop
  sane-utils
  rhythmbox
  pulseaudio-utils
  pulseaudio-module-zeroconf
  pulseaudio
  padevchooser
  owserver
  mpd
  mpd
  mandos
  libvirt-daemon-system
  libsane
  libnss-mdns
  libmono-zeroconf1.0-cil
  libapache2-mod-dnssd
  hplip
  gshare
  gobby
  gnome
  gajim
  forked-daapd
  education-main-server
  education-desktop-other
  cups-daemon
  cups-core-drivers
  cups-browsed
  cups
  banshee
  avahi-utils
  avahi-dnsconfd
  avahi-discover
  apt-cacher-ng

Offline

#3 2019-10-17 01:46:45

aut0exec
Member
Registered: 2018-11-21
Posts: 81  

Re: Beowulf and Avahi-daemon

Thanks golinux. That was a good TIL for me! Removed everything in the output and Apt upgrade still wants to reinstall avahi-daemon though. This is the weirdest thing. I have at least three other Beowulf and ceres machines running cinnamon and none of them do this!

After removing everything I decided to reinstall the components I actually did need but noticed if '--no-install-recommends' I was able to prevent avahi-daemon from reinstalling while still upgrading the other software! Tried the same thing with 'apt upgrade' and it exhibited the same behavior. I don't have any apt pinning or odd configurations to my knowledge either. Wondering if I should just reinstall, haha.

Offline

#4 2019-10-17 15:50:24

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: Beowulf and Avahi-daemon

Put APT::Install-Recommends "no"; in /etc/apt/apt.conf.d/norecommends and Recommends will be excluded on upgrades as well as installations.

Maybe aptitude why avahi-daemon will tell you something useful.

Offline

#5 2019-10-18 15:21:54

aut0exec
Member
Registered: 2018-11-21
Posts: 81  

Re: Beowulf and Avahi-daemon

fsmithred wrote:

Put APT::Install-Recommends "no"; in /etc/apt/apt.conf.d/norecommends and Recommends will be excluded on upgrades as well as installations.

Maybe aptitude why avahi-daemon will tell you something useful.

Another TIL! Thanks red...

So initially aptitude responded with 'hplip' so it was removed and then after another run, it came back with the following:

user@userpc:~# aptitude why avahi-daemon 
i   task-cinnamon-desktop Depends    task-desktop
i A task-desktop          Recommends avahi-daemon

So looks like cinnamon has some sort of dependency on avahi-daemon in beowulf?

Offline

Board footer