Announcement

Collapse
No announcement yet.

Latest update creates warning when running apt

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Latest update creates warning when running apt

    I did the HUGE update to 6.7 this morning. As is my habit I did so from the terminal. When it was done, I rebooted then ran "apt update" again to make sure everything was upgraded.
    I then got this warning:
    Code:
    All packages are up to date.
    N: Ignoring '20apt-esm-hook.conf' in directory '/etc/apt/apt.conf.d/' as it is not a regular file
    Listing... Done
    N: Ignoring '20apt-esm-hook.conf' in directory '/etc/apt/apt.conf.d/' as it is not a regular file
    A little sleuthing revealed:
    Code:
    $ ls -l /etc/apt/apt.conf.d/20apt-esm-hook.conf
    lrwxrwxrwx 1 root root 34 Jun 19 10:36 /etc/apt/apt.conf.d/20apt-esm-hook.conf -> ../../kde_neon/20apt-esm-hook.conf
    Digging a bit more:
    Code:
    $ cat /etc/kde_neon/20apt-esm-hook-neon.conf​
    # KDE neon diversion to remove ubuntu advantage bits
    Although the symlink appears correct; i.e. doing "ls ../../kde_neon" from the /etc/apt/apt.conf.d/ directory does indeed reveal "20apt-esm-hook-neon.conf"​, the link still appears broken.

    Although removing the symlink doesn't appear to have any ill effect, I recreated it using "/etc/kde_neon" instead of "../../" and the link now works. I have no idea why it didn't before. Code to create the new symlink:
    Code:
    sudo ln -s /etc/kde_neon/20apt-esm-hook-neon.conf /etc/apt/apt.conf.d/20apt-esm-hook.conf

    Please Read Me

    #2
    Something sermed to have changed with Ubuntu's ESM and Pro "spam" messaging in apt, which neon disables, it was showing two red errors about systemd services after the upgrade a couple days ago, but it looks like the symlimk you make is missing in the recent update that ....fixed ... It.
    Self-built: Asus PRIME B550M-K/Ryzen 5600GT/32Gb/Intel ARC B580 12Gb/KDE neon
    HP Elitedesk 800 G3 Mini: i5-7500T(35w)/32Gb/Kubuntu LTS
    HP Chromebook 14: i5-1135G7/8Gb/512Gb SSD/KDE Linux

    Comment


      #3
      Odd, mine is already a symlink to /etc/kde_neon/20apt-esm-hook-neon.conf, and is an empty file. Actually, the path does not exist on my system, a fresh install as I got a new ssd yesterday.

      Ok some blindness/dyslexia: the link is to ../../kde_neon/20apt-esm-hook.conf instead of ../../kde_neon/20apt-esm-hook-neon.conf so your fix ...fixes it.




      Self-built: Asus PRIME B550M-K/Ryzen 5600GT/32Gb/Intel ARC B580 12Gb/KDE neon
      HP Elitedesk 800 G3 Mini: i5-7500T(35w)/32Gb/Kubuntu LTS
      HP Chromebook 14: i5-1135G7/8Gb/512Gb SSD/KDE Linux

      Comment

      Users Viewing This Topic

      Collapse

      There are 0 users viewing this topic.

      Working...
      X