• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list' as it has an invalid filename extension ... !?

jmar83

Regular Pleskian
Hi there

Why i get that message after entering the command 'apt purge --autoremove && sleep 1 && apt clean && sleep 1 && apt update' ?

Unbenannt-e.png


Thank you for your feedbacks.
 
It is because the correct name which will not be ignored is plesk.list instead of plesk.list.ai_back
 
Thank you very much for your fast feedback! :)

So not a bug, more a feature than a bug? ;-)

(So it can be ignored without any problems...?)
 
This is not an error but only a warning. So, you can ignore this.
 
It seams after every plesk update the file plesk.list.ai_back is created in the /etc/apt/sources.list.d/ directory resulting in warning while apt update.


Code:
root@hosting:~# update
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://autoinstall.plesk.com/pool/PSA_18.0.43_8703 focal InRelease
Hit:4 http://autoinstall.plesk.com/SITEBUILDER_18.0.29 all InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:6 http://autoinstall.plesk.com/PMM_0.1.11 focal InRelease
Hit:7 https://autoinstall.plesk.com/grafana/deb stable InRelease
Hit:8 http://autoinstall.plesk.com/pool/PHP_7.1.33_98 focal InRelease
Hit:9 http://autoinstall.plesk.com/pool/PHP_7.2.34_151 focal InRelease
Hit:10 http://autoinstall.plesk.com/pool/PHP_7.3.33_248 focal InRelease
Hit:11 http://archive.canonical.com/ubuntu focal InRelease
Hit:12 http://autoinstall.plesk.com/PHP74_17 focal InRelease
Hit:13 http://autoinstall.plesk.com/PHP80_17 focal InRelease
Hit:14 http://autoinstall.plesk.com/PHP81_17 focal InRelease
Reading package lists... Done
N: Ignoring file 'plesk.list.ai_back' in directory
'/etc/apt/sources.list.d/' as it has an invalid filename extension
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
   plesk-libpoco-1.9.0 plesk-python3-regex sw-tar
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 2887 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://autoinstall.plesk.com/pool/PSA_18.0.43_8703 focal/all amd64
plesk-libpoco-1.9.0 amd64 1.9.0-ubuntu.20.04.220401.1930 [2075 kB]
Get:2 http://autoinstall.plesk.com/pool/PSA_18.0.43_8703 focal/all amd64
plesk-python3-regex amd64
2021.11.10-v.ubuntu.20.04+p18.0.43.0+t220406.2051 [332 kB]
Get:3 http://autoinstall.plesk.com/pool/PSA_18.0.43_8703 focal/all amd64
sw-tar amd64 1.34-v.ubuntu.20.04+p18.0.43.0+t220401.1930 [480 kB]
Fetched 2887 kB in 0s (12.6 MB/s)
N: Ignoring file 'plesk.list.ai_back' in directory
'/etc/apt/sources.list.d/' as it has an invalid filename extension
(Reading database ... 87632 files and directories currently installed.)
Preparing to unpack
.../plesk-libpoco-1.9.0_1.9.0-ubuntu.20.04.220401.1930_amd64.deb ...
Unpacking plesk-libpoco-1.9.0 (1.9.0-ubuntu.20.04.220401.1930) over
(1.9.0-ubuntu.20.04.220117.1118) ...
Preparing to unpack
.../plesk-python3-regex_2021.11.10-v.ubuntu.20.04+p18.0.43.0+t220406.2051_amd64.deb
...
Unpacking plesk-python3-regex
(2021.11.10-v.ubuntu.20.04+p18.0.43.0+t220406.2051) over
(2021.11.10-v.ubuntu.20.04+p18.0.42.0+t220121.1925) ...
Preparing to unpack
.../sw-tar_1.34-v.ubuntu.20.04+p18.0.43.0+t220401.1930_amd64.deb ...
Unpacking sw-tar (1.34-v.ubuntu.20.04+p18.0.43.0+t220401.1930) over
(1.34-v.ubuntu.20.04+p18.0.41.0+t211213.2038) ...
Setting up plesk-python3-regex
(2021.11.10-v.ubuntu.20.04+p18.0.43.0+t220406.2051) ...
Setting up plesk-libpoco-1.9.0 (1.9.0-ubuntu.20.04.220401.1930) ...
Setting up sw-tar (1.34-v.ubuntu.20.04+p18.0.43.0+t220401.1930) ...
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
N: Ignoring file 'plesk.list.ai_back' in directory
'/etc/apt/sources.list.d/' as it has an invalid filename extension
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
N: Ignoring file 'plesk.list.ai_back' in directory
'/etc/apt/sources.list.d/' as it has an invalid filename extension
Reading package lists... Done
Building dependency tree
Reading state information... Done
Del fail2ban 1:0.11.2-v.ubuntu.20.04+p18.0.42.0+t220222.1946 [664 kB]
Del plesk-dovecot 2.3.18-v.ubuntu.20.04+p18.0.42.0+t220208.1413 [1483 kB]
Del plesk-dovecot-core 2.3.18-v.ubuntu.20.04+p18.0.42.0+t220208.1413
[3015 kB]
Del plesk-dovecot-pigeonhole
0.5.18-v.ubuntu.20.04+p18.0.42.0+t220208.1413 [682 kB]
Del plesk-roundcube 1.4.13-v.ubuntu.20.04+p18.0.42.0+t220208.1413 [5129 kB]
N: Ignoring file 'plesk.list.ai_back' in directory
'/etc/apt/sources.list.d/' as it has an invalid filename extension


After removing the file by hand the warning is gone!


Code:
root@hosting:~# rm /etc/apt/sources.list.d/plesk.list.ai_back



root@hosting:~# update
Hit:1 http://autoinstall.plesk.com/pool/PSA_18.0.43_8703 focal InRelease
Hit:2 http://autoinstall.plesk.com/SITEBUILDER_18.0.29 all InRelease
Hit:3 http://autoinstall.plesk.com/PMM_0.1.11 focal InRelease
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:5 http://archive.canonical.com/ubuntu focal InRelease
Hit:6 https://autoinstall.plesk.com/grafana/deb stable InRelease
Hit:7 http://autoinstall.plesk.com/pool/PHP_7.1.33_98 focal InRelease
Hit:8 http://autoinstall.plesk.com/pool/PHP_7.2.34_151 focal InRelease
Hit:9 http://autoinstall.plesk.com/pool/PHP_7.3.33_248 focal InRelease
Hit:10 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:11 http://autoinstall.plesk.com/PHP74_17 focal InRelease
Hit:12 http://autoinstall.plesk.com/PHP80_17 focal InRelease
Hit:13 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:14 http://autoinstall.plesk.com/PHP81_17 focal InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done


Is there a fix for this problem? I know this is just a warning but I want to get rid of this warning!
 
Today i had an update - but just a small one (Plesk 18.x.y Update z) but there is no file /etc/apt/sources.list.d/plesk.list.ai_back anymore...

I think that issue is really really simple to fix ("Hello World" so to say) for the plesk developers - isn't it? ;-)
 
@IgorG thanks,
I did the following:

Added a # in the file /etc/apt/sources.list.d/plesk-ext-site-import.list because it contained PMM_.

Bash:
grep -r "PMM_" /etc/apt/sources.list*
/etc/apt/sources.list.d/plesk-ext-site-import.list:#deb [arch=amd64] http://autoinstall.plesk.com/PMM_0.1.11 focal all

Apt updates working without any issues so far.
Let's see what happens after the next plesk update.
 
Back
Top