• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Resolved apt conflict with javascript-common

TobiasP

Regular Pleskian
Hi,
I wanted to upgrade packages but suddenly I only get:

psa : Conflicts: javascript-common but 11 is to be installed

apt remove javascript-common does nothing since javascript-common is not installed
I have no idea what package wants javascript-common... certainly nothing I have installed...
installing javascript-common would remove plesk packages so I did not go ahead with that.

server is deb 9.13 with 18.0.32 Update #1

any ideas?
cheer,
Tobias
 
never mind
apt-get --purge remove javascript-common
sudo dpkg --configure -a

also had to apt remove glances

this seemed to fixed it in the end
 
I am following the instructions to dist-upgrade from Ubuntu 16 to Ubuntu 18 from here, but I'm getting this same error:

Code:
The following packages have unmet dependencies:
 psa : Conflicts: javascript-common but 11 is to be installed
E: Broken packages

I have tried:
Bash:
apt-get --purge remove javascript-common
which does nothing:
Bash:
The package "javascript-common" not installed so not removed
Also:
Bash:
sudo dpkg --configure -a
does nothing.
I have tried all kinds of combinations of apt clean, apt autoclean, apt autoremove, apt-get install -f, to no avail.
If I try to install javascript-common , apt wants to uninstall a bunch of plesk packages!
Bash:
The following packages will be REMOVED:
  libpam-plesk plesk-aps-php-runtime plesk-backup-utilities plesk-completion plesk-core plesk-core-utilities plesk-dovecot
  plesk-dovecot-imap-driver plesk-dovecot-pigeonhole plesk-git-http plesk-l10n plesk-mail-pc-driver plesk-modsecurity-configurator
  plesk-repair-kit plesk-roundcube plesk-service-node-utilities plesk-task-manager plesk-web-hosting plesk-web-socket pp-sitebuilder
  psa psa-firewall psa-horde psa-imp psa-ingo psa-kronolith psa-libxml-proxy psa-locale-base-en-us psa-logrotate
  psa-mail-driver-common psa-mailman-configurator psa-mnemo psa-passwd psa-php-configurator psa-phpmyadmin psa-proftpd psa-turba
  psa-updates psa-vhost wpb-core wpb-headers
The following NEW packages will be installed:
  javascript-common
I obviously don't allow that to happen.
How can I fix this?
 
I went ahead and did the apt-get dist-upgrade, and it seems to have been successful and I seem to no longer receive this error.
 
I have the same problem - after a migration from Ubuntu 18 to 20
Code:
apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 psa : Conflicts: javascript-common but 11 is to be installed
E: Broken packages
Code:
apt-get --purge remove javascript-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'javascript-common' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
root@vmd41977:~# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
root@vmd41977:~# apt install javascript-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libapache2-mod-passenger-plesk libpam-plesk passenger passenger-dev plesk-awstats-configurator plesk-backup-utilities plesk-completion plesk-config-troubleshooter plesk-core plesk-core-utilities plesk-dovecot plesk-dovecot-imap-driver
  plesk-dovecot-pigeonhole plesk-git-http plesk-l10n plesk-mail-pc-driver plesk-modsecurity-configurator plesk-repair-kit plesk-resctrl plesk-roundcube plesk-service-node-utilities plesk-task-manager plesk-web-hosting plesk-web-socket psa
  psa-drweb-configurator psa-fileserver psa-firewall psa-libxml-proxy psa-locale-base-en-us psa-logrotate psa-mail-driver-common psa-php-configurator psa-phpmyadmin psa-proftpd psa-spamassassin psa-updates psa-vhost psa-watchdog
The following NEW packages will be installed:
  javascript-common
0 upgraded, 1 newly installed, 39 to remove and 9 not upgraded.
Need to get 6,066 B of archives.
After this operation, 437 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
Is there a solution for this so that the updates can be installed on the system again?
 
I could probably solve the problem now. The cause was old packages, which were probably not removed during the upgrade.
Bash:
:~# apt-cache rdepends --installed javascript-common
javascript-common
Reverse Depends:
  libjs-jquery
  psa
  libjs-jquery-mousewheel
  libjs-jquery-mousewheel
  libjs-jquery-fancybox
  libjs-jquery-easing
I have therefore removed the "libjs-jquery" package
Bash:
:~# apt remove libjs-jquery
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fonts-glyphicons-halflings libjs-bootstrap
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  imagemagick-6-doc imagemagick-doc libjs-jquery libjs-jquery-easing libjs-jquery-fancybox libjs-jquery-mousewheel
0 upgraapt install image    ded, 0 newly installed, 6 to remove and 23 not upgraded.
After this operation, 60.4 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 207295 files and directories currently installed.)
Removing imagemagick-doc (8:6.9.10.23+dfsg-2.1ubuntu11.7) ...
Removing imagemagick-6-doc (8:6.9.10.23+dfsg-2.1ubuntu11.7) ...
Removing libjs-jquery-fancybox (12-1.1) ...
Removing libjs-jquery-mousewheel (12-1) ...
Removing libjs-jquery-easing (12-1.1) ...
Removing libjs-jquery (3.3.1~dfsg-3) ...
After that, there was only one dependency for the package in use:
Bash:
:~# apt-cache rdepends --installed javascript-common
javascript-common
Reverse Depends:
  psa
After that, all the problems were "gone".
 
Back
Top