انجمن‌های فارسی اوبونتو

کمک و پشتیبانی => انجمن عمومی => نویسنده: maziyar mirzaei در 05 آبان 1395، 05:53 ق‌ظ

عنوان: مشکل نصب نشدن برنامه ها
ارسال شده توسط: maziyar mirzaei در 05 آبان 1395، 05:53 ق‌ظ
سلام
بعد اجرای دستور
sudo apt-get install git-daemon-run
با ارور زیر رو به رو شدم و هیچی دیگ نمی تونم نصب کنم
Reading package lists... Done
Building dependency tree       
Reading state information... Done
git-daemon-run is already the newest version (1:2.7.4-0ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up runit (2.1.2-3ubuntu1) ...
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
dpkg: error processing package runit (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of git-daemon-run:
 git-daemon-run depends on runit; however:
  Package runit is not configured yet.

dpkg: error processing package git-daemon-run (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 runit
 git-daemon-run
E: Sub-process /usr/bin/dpkg returned an error code (1)

دستور های
 sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -f install


رو هم زدم فایده نکرد

راهنماییم می کنید لطفا
ممنون
عنوان: پاسخ : مشکل نصب نشدن برنامه ها
ارسال شده توسط: B در 05 آبان 1395، 09:45 ق‌ظ
با سرچ متن خطا به این رسیدم
http://askubuntu.com/a/772095/292410 (http://askubuntu.com/a/772095/292410)
اون دستوراتی که گفته شده رو عینا تایپ کنید
sudo apt-get purge runit
 sudo apt-get purge git-all
 sudo apt-get purge git
 sudo apt-get autoremove
 sudo apt update
 sudo apt install git