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

کمک و پشتیبانی => نصب، راه‌اندازی و بروزآوری => نویسنده: googerdi در 07 مهر 1386، 10:45 ب‌ظ

عنوان: [حل شد]how to repair synaptic
ارسال شده توسط: googerdi در 07 مهر 1386، 10:45 ب‌ظ
سلام راستش چند وقت پیش یک پکج نصب کردم که الان synaptic را خراب کرده ومشکل بوجود آورده است. synaptic را با dpkg دوباره نصب کردم اما مشکل حل نشده است. پکج هم هیچ جوری پاک نمی شه. آیا راهی وجود دارد.
The Pachage pachagename Needs to be reinstalled but I cannot find an archive for it
عنوان: پاسخ به: how to repair synaptic
ارسال شده توسط: محمدرضا بوذری در 07 مهر 1386، 10:55 ب‌ظ
دقیقا چه اتفاقی برای synaptic افتاده ... وقتی می‌خوای پکیج ها رو پاک کنی چه خروجی بهت می‌ده !؟ آیا می‌تونی با apt-get از مخازن پکیج دانلود کنی ؟!

میتونید با این پاک کنید

sudo dpkg --purge pakagename

یا با این

sudo aptitude remove pakagename
فک کنم اینم باشه

sudo apt-get dpkg remove --purge pakagename
البته اینو مطمئن نیستم !

امتحان کنید خبرش رو بدین !
عنوان: پاسخ به: how to repair synaptic
ارسال شده توسط: googerdi در 07 مهر 1386، 11:27 ب‌ظ
راستش قبلا این دستورات را امتحان کرده بودم و حتی کارهای بیشتری کرده بودم اما جواب ندادند.
عنوان: پاسخ به: how to repair synaptic
ارسال شده توسط: googerdi در 07 مهر 1386، 11:57 ب‌ظ
وقتی می خواهم دوباره نصبش کنم این پیغام ها را می دهد:


find: warning: you have specified the -mindepth option after a non-option argument -name, but options are not positional (-mindepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

find: warning: you have specified the -maxdepth option after a non-option argument -name, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.


Could not identify your distribution's way of automatically loading modules,
Exiting.

dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
find: warning: you have specified the -mindepth option after a non-option argument -name, but options are not positional (-mindepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

find: warning: you have specified the -maxdepth option after a non-option argument -name, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.


Could not identify your distribution's way of automatically loading modules,
Exiting.

dpkg: error processing ./Desktop/ltmodem-2.6.8-2-386_8.31a11_i386.deb (--install):
 subprocess new post-removal script returned error exit status 1
 find: warning: you have specified the -mindepth option after a non-option argument -name, but options are not positional (-mindepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

 find: warning: you have specified the -maxdepth option after a non-option argument -name, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.


 Could not identify your distribution's way of automatically loading modules,
 Exiting.

 dpkg: error while cleaning up:
  subprocess post-removal script returned error exit status 1
  Errors were encountered while processing:
   ./Desktop/ltmodem-2.6.8-2-386_8.31a11_i386.deb
عنوان: پاسخ به: how to repair synaptic
ارسال شده توسط: سید مهدی در 08 مهر 1386، 01:01 ق‌ظ
برید فایل var/lib/dpkg/status/ رو با یک ادیتور باز کنید و قسمتی که اطلاعات مربوط به اون پکیج هست رو کاملاً از بیخ و بن پاک کنید (یادتون نره قبل این کار یک بک آپ از این فایل بگیرید  ;) ) بعدش که این کار رو کردید برید و با استفاده از همون دستور apt-get یا dpkg یا هر روش دیگه اون پکیجی که می خواهید رو بزنید دوباره نصب بشه. احتمالاً این کار مشکلتون رو حل می کنه  ;)
عنوان: پاسخ به: how to repair synaptic
ارسال شده توسط: googerdi در 08 مهر 1386، 10:35 ق‌ظ
خبلی ممنون مشکل کاملا حل شد ;)