انجمنهای فارسی اوبونتو
تازه کار => انجمن تازهکاران => نویسنده: inscrutable در 09 امرداد 1392، 01:58 قظ
-
با سلام
من سیستممو گذاشته بودم برای آپدیت.بعد از این که تموم شد نوشت که دوتا پکیج درست نصب نشدن و نوشت دستور apt-get --configure -a رو بزنید تا درست بشه .اما درست نشد حتی با apt-get autoremove هم که زدم نتونست پاکشون کنه . میخواستم ببینم کسی از دوستان میدونه باید چی کار کنم.
-
دستوراتی که زدید چیکار کردند؟
دستور زیر را هم بزنید
sudo apt-get install -f
-
وقتی دستور اولیو زدم خواست پکیجو دوباره نصب کنه ولی نشد . دستور دومی هم که میخواست اون چیزایی که ناقص گرفترو پاک کنه بازم نشد .
این دستوری هم که گفتین قبلا زدم باز میگه apt-get --configure -a رو بزنین!!
-
نشد یعنی چی؟میشه متن خطاش را بذارید؟
-
apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up virtualbox-ose-dkms (3.1.6-dfsg-2ubuntu2.1) ...
Removing old virtualbox-ose-3.1.6 DKMS files...
------------------------------
Deleting module version: 3.1.6
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-ose-3.1.6 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.6
Building for architecture i686
Building initial module for 3.2.6
Error! Bad return status for module build on kernel: 3.2.6 (i686)
Consult the make.log in the build directory
/var/lib/dkms/virtualbox-ose/3.1.6/build/ for more information.
dpkg: error processing virtualbox-ose-dkms (--configure):
subprocess installed post-installation script returned error exit status 10
Setting up subterfuge (4.3-bt0) ...
tar: SubterfugePublicBeta4.3.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
/var/lib/dpkg/info/subterfuge.postinst: line 6: cd: subterfuge/: No such file or directory
python: can't open file 'installer_old.py': [Errno 2] No such file or directory
rm: cannot remove `SubterfugePublicBeta4.3.tar.gz': No such file or directory
dpkg: error processing subterfuge (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
virtualbox-ose-dkms
subterfuge
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
میشه لطفا خطا ها و کد ها را در تگ کد که با علامت # در ادیتور انجمن مشخص شده است بگذارید.
-
شرمنده آقا بلد نبودم
root@bt:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up virtualbox-ose-dkms (3.1.6-dfsg-2ubuntu2.1) ...
Removing old virtualbox-ose-3.1.6 DKMS files...
------------------------------
Deleting module version: 3.1.6
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-ose-3.1.6 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.6
Building for architecture i686
Building initial module for 3.2.6
Error! Bad return status for module build on kernel: 3.2.6 (i686)
Consult the make.log in the build directory
/var/lib/dkms/virtualbox-ose/3.1.6/build/ for more information.
dpkg: error processing virtualbox-ose-dkms (--configure):
subprocess installed post-installation script returned error exit status 10
Setting up subterfuge (4.3-bt0) ...
tar: SubterfugePublicBeta4.3.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
/var/lib/dpkg/info/subterfuge.postinst: line 6: cd: subterfuge/: No such file or directory
python: can't open file 'installer_old.py': [Errno 2] No such file or directory
rm: cannot remove `SubterfugePublicBeta4.3.tar.gz': No such file or directory
dpkg: error processing subterfuge (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
virtualbox-ose-dkms
subterfuge
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
شما هسته ی 3.2.6 رو دستی نصب کردید ؟
یکبار برای من همین مشکل ایجاد شد .
یادم نیست هسته جدیده رو پاک کردم یا کهنه تره رو . به هر روی مشکل همینه
-
نه اقا ما اصلا در این حد نیستیم بخوایم از این کارا بکنیم ;D
اینو فقط من وقتی داشت آپدیت میشد اخراش یهو نتم قطع شد بعد هرچی دوباره دستور آپدیتو زدم اینو نشون میده.
-
برای منم یه بار این مشل پیش اومد.
که اول کد زیر رو زدم. آخر ارور، فایلی که خرابه رو نشونم داد.
sudo apt-get update
بعد با فرمان زیر اون فایل رو پاک کردم:
sudo rm MASIRE FILE KHARAB
مسیر فایل خراب توی کد همون مسیریه که توی ارور بت میگه.
بعد از پاک کردن با فرمان زیر پکیج دوباره دانلود و نصب میشه:
sudo apt-get install -f
امیدوارم مشکلت حل بشه.
-
آقا اون دستور آپدیتو که میزنم هیچی نمیشه یعنی فقط ریپوزیتوری ها رو چک میکنه .
اگه توی ارورو ببنین یکی از پکیج ها که مشکل داره مشکلش اینه که یه سری فایل های مورد نیازشو نداره(که فکر کنم به خاطر همون قطع شدن نتم باشه)
Setting up subterfuge (4.3-bt0) ...
tar: SubterfugePublicBeta4.3.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
/var/lib/dpkg/info/subterfuge.postinst: line 6: cd: subterfuge/: No such file or directory
python: can't open file 'installer_old.py': [Errno 2] No such file or directory
rm: cannot remove `SubterfugePublicBeta4.3.tar.gz': No such file or directory
dpkg: error processing subterfuge (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
subterfuge
من مشکل اصلیم با این پکیج subterfuge . نمیدونم چی کارش کنم هرچیزی هم میخوام نصب کنم اولا میخواد این پکیجو نصب کنه اما چون مشکل داره نمیزاره پروسه جلو بره .
-
خطایی که داده میگه که ۲ تا بسته را نتونسته کامل نصب کنه یا کامل حذف کنه بهتر اون ۲ تا بسته ها را بزنید نصب بشه ببینید خطایی میدهد یا نه
-
کدوم دو تا بسته؟
میشه بنویسید برا نصبش چی باید زنم :)
-
بنظر میاد که این ۲ تا باشند
sudo apt-get install virtualbox-ose-dkms subterfuge
ولی برای اطمینان بیشتر یکبار دیگه دستور زیر را اجرا کنید و خروجیش را بذارید
sudo apt-get install -f
راستی شما چیزی را کامپایل کردید؟
-
آقا درست شد . البته وقتی Install را زدم بازم ارور داد بعد گفتم بزار remove کنم . بعد که remove شد دباره نصب کردم اوکی شد .
نه چیزی کامپایل نکردم.
از همه دوستان ممنونم
-
پس الآن دیگه مشکلی ندارید دیگه؟پس لطفا (حل شد) را به اسم تاپیک اضافه کنید