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

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X