• 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 dependencies broken (unmet dependencies)

Richacinas

New Pleskian
Hi all,

Trying to install GIT on my server (Debian7) through SSH, i ran the following command because apt-get install git-core wasn't working:

Code:
apt install make libssl-dev libghc-zlib-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip

After this, it seems that Apache2 got an upgrade and there started to appear some extra config files (I kept all my config files through the process).

After this, all my Apache2 config seems broken and I can't access my websites anymore.

I tried:

Code:
plesk repair all -y

Getting this error:

Code:
There are incorrect permissions on some items: 
/var/www/cgi-bin/cgi_wrapper ...................................... [ERROR]
To see more details, run the command in the verbose mode: plesk repair fs -verbose
Do you want to repair incorrect permissions? [Y/n] Y
Repairing incorrect permissions ................................. [2019-03-27 22:52:01] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/fsmng' '--set-ac' '/var/www/cgi-bin/cgi_wrapper'] with exit code [1] 

fsmng failed: ERROR:[Errno 2] No such file or directory: '/var/www/cgi-bin/cgi_wrapper'

There are incorrect permissions on some items: 
/var/www/cgi-bin/cgi_wrapper/cgi_wrapper ............................ [ERROR]
To see more details, run the command in the verbose mode: plesk repair fs -verbose
Do you want to repair incorrect permissions? [Y/n] Y
Repairing incorrect permissions ................................... [2019-03-27 22:52:02] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/fsmng' '--set-ac' '/var/www/cgi-bin/cgi_wrapper/cgi_wrapper'] with exit code [1] 

fsmng failed: ERROR:[Errno 2] No such file or directory: '/var/www/cgi-bin/cgi_wrapper/cgi_wrapper'
[2019-03-27 22:52:07] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/fsmng' '--check-ac' '/var/lib/psa/dumps' '--perms' '0750' '--owner' 'psaadm' '--group' 'psaadm'] with exit code [1] 
fsmng failed: W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy/main/source/Sources 404 Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy/contrib/source/Sources 404 Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy/non-free/source/Sources 404 Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy/contrib/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy/non-free/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy/contrib/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy/non-free/binary-i386/Packages 404 Not Found


Then I tried to fix the CGI Wrapper problem following this guide from Plesk:

Apache fails to start: Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory

And the feedback error is:

Code:
The following packages have unmet dependencies:
plesk-php70-snmp : Depends: libsnmp15 (>= 5.4.3~dfsg) but it is not going to be installed
psa-php5-configurator : Depends: php5-gd but it is not going to be installed
PreDepends: libapache2-mod-php5 but it is not going to be installed

Finally, I went on to edit my /etc/cat/sources.list to make sure that my sources are OK:

Code:
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

And:

Code:
apt-get install -f
dpkg -a --configure
apt-get update

Without success. None of them say anything relevant (like these commands didn't fix anything) and the problem persists.

Out of despair, I upgraded my dist, and tried again to fix dependencies, without success.

Code:
apt-get dist-upgrade

Any ideas about what else could I do? Is there any packages that I can reinstall so maybe I fix it?

Thanks a lot for your help..
 
Hi, please note that Debian 7 reached EoL .. try this source list instead :

Code:
deb http://archive.debian.org/debian/ wheezy main contrib non-free
 
Back
Top