• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Plesk installer fails because sources cannot be read from /etc/apt/sources.list

Sébastien_Rossé

New Pleskian
I am trying to update Plesk but whenever i try do so with the installer, the update fails because data is somehow added to /etc/apt/sources.list and sources cannot be read anymore. This happens both with the admin panel and the command lines.

Here is the command I'm running:

Code:
 plesk installer --all-versions --select-product-id plesk --select-release-latest --show-components >/dev/null && plesk installer --version

Here is the output :

Code:
Doing restart of Parallels Installer...
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading ppsmbe.inf3: 18%..79%..99%..100% was finished.
File downloading sitebuilder.inf3: 23%..100% was finished.
File downloading sso.inf3: 24%..100% was finished.
File downloading setemplates.inf3: 45%..100% was finished.
File downloading pp-sitebuilder.inf3: 10%..23%..32%..41%..50%..60%..72%..86%..91%..100% was finished.
File downloading billing.inf3: 11%..21%..32%..40%..52%..63%..73%..80%..93%..100% was finished.
File downloading mysql.inf3: 74%..100% was finished.
File downloading apache.inf3: 100% was finished.
File downloading nginx.inf3: 13%..56%..71%..92%..100% was finished.
File downloading php56.inf3: 100% was finished.
File downloading php55.inf3: 100% was finished.
File downloading php54.inf3: 100% was finished.
File downloading php53.inf3: 100% was finished.
File downloading php52.inf3: 100% was finished.
Checking for installed packages...
File downloading PSA_12.1.16/plesk-12.1.16-ubt14.04-x86_64.inf3: 12%..20%..30%..42%..55%..61%..71%..87%..96%..100% was finished.
File downloading SITEBUILDER_12.1.0/sitebuilder-12.1.0-deball-all.inf3: 61%..100% was finished.
File downloading NGINX_1.6.2/nginx-1.6.2-ubt14.04-x86_64.inf3: 100% was finished.
File downloading PHP_5.6.3/php56-5.6.3-ubt14.04-x86_64.inf3: 34%..100% was finished.
File downloading PHP_5.5.20/php55-5.5.20-ubt14.04-x86_64.inf3: 34%..100% was finished.
File downloading PHP_5.4.37/php54-5.4.37-ubt14.04-x86_64.inf3: 34%..100% was finished.
File downloading PHP_5.3.29/php53-5.3.29-ubt14.04-x86_64.inf3: 33%..100% was finished.
File downloading PHP_5.2.17/php52-5.2.17-ubt14.04-x86_64.inf3: 34%..100% was finished.
OK
Registering i386 architecture support
Synchronizing the Debian APT package index files...
E: Type 'root:x:0:0:root:/root:/bin/bash' is not known on line 1 in source list /etc/apt/sources.list
E: The list of sources could not be read.
Warning: there are errors in 'apt-get update'
E: Type 'root:x:0:0:root:/root:/bin/bash' is not known on line 1 in source list /etc/apt/sources.list
E: The list of sources could not be read.
E: The package lists or status file could not be parsed or opened.
Parallels Installer command line: /usr/local/psa/admin/sbin/autoinstaller '--version'

Doing restart of Parallels Installer...
Parallels Installer 3.17.15 (built on 2015-01-20 16:02)

And here is the content of my /etc/apt/sources.list file after the command is ran:

Code:
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
libuuid:x:100:101::/var/lib/libuuid:
syslog:x:101:104::/home/syslog:/bin/false
messagebus:x:102:106::/var/run/dbus:/bin/false
landscape:x:103:109::/var/lib/landscape:/bin/false
sshd:x:104:65534::/var/run/sshd:/usr/sbin/nologin
bind:x:105:112::/var/cache/bind:/bin/false
mysql:x:106:113:MySQL Server,,,:/nonexistent:/bin/false
psaadm:x:999:1000:psa user:/opt/psa/admin:/bin/false
popuser:x:30:31:POP3 service user:/var/qmail/popuser:/bin/false
mhandlers-user:x:31:31:mail handlers user:/:/bin/false
sw-cp-server:x:998:998:sw-cp-server user:/var/lib/sw-cp-server:/bin/false
postfix:x:107:115::/var/spool/postfix:/bin/false
drweb:x:108:1004:Dr.Web system account:/var/drweb:/bin/false
roundcube_sysuser:x:997:1005:roundcube webmail user:/usr/share/psa-roundcube:/bin/false
horde_sysuser:x:996:1006:horde webmail user:/usr/share/psa-horde:/bin/false
nginx:x:995:997:Nginx user:/var/lib/nginx:/bin/false
psaftp:x:994:1007:anonftp psa user:/:/bin/false

## This is temporary appended by Autoinstaller for 
## specify source of product's packages for APT.
deb http://parallels.mirrors.ovh.net/parallels/ubuntu/PSA_12.1.16 trusty all
deb http://parallels.mirrors.ovh.net/parallels/debian/SITEBUILDER_12.1.0 all all
deb http://parallels.mirrors.ovh.net/parallels/ubuntu/PHP_5.6.3 trusty all
deb http://parallels.mirrors.ovh.net/parallels/ubuntu/PHP_5.5.20 trusty all
deb http://parallels.mirrors.ovh.net/parallels/ubuntu/PHP_5.4.37 trusty all
deb http://parallels.mirrors.ovh.net/parallels/ubuntu/PHP_5.3.29 trusty all
deb http://parallels.mirrors.ovh.net/parallels/ubuntu/PHP_5.2.17 trusty all

The piece of data above the sources keeps coming back everytime I run the command even though I'm deleting it.

Would anybody happen to know what's going on cause I'm really stuck here?

Thanks a lot !
 
Something is misconfigured in your OS. The first part of file is content of /etc/passwd file.
 
Have you checked that /etc/passwd has the same content and then remove this part from /etc/apt/sources.list file?
 
I can confim that /etc/passwd contains the exact same data (from the line starting with "root" to line starting with "psaftp").

Whenever I remove this content from /etc/apt/sources.list, it comes back if I run the installer or if I try to access the "Updates and Upgrades" page via the admin panel.
 
Developers have tested and confirmed that it is really issue not caused by Plesk.
 
Back
Top