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

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید

اوبونتو ۲۴٫۰۴ با پشتیبانی بلند مدّت (۱۲ سال) منتشر شد 🎉

نویسنده موضوع: مشکل نصب هما 7.10.1 روی اوبونتو 7.10  (دفعات بازدید: 4390 بار)

0 کاربر و 1 مهمان درحال مشاهده موضوع.

آفلاین UbunTwo

  • Newbie
  • *
  • ارسال: 23
مشکل نصب هما 7.10.1 روی اوبونتو 7.10
« : 06 آذر 1386، 10:13 ب‌ظ »
من هما را به همون روشی که توی راهنمای داخل خود سی دی نوشته بود، نصب کردم.بعد وارد منوی Applications شدم و در System tools (یا یه همچین چیزی) روی Homa کلیک کردم و بازش کردم.بسته هام را انتخاب کردم ولی هرچی دکمه install را میزدم اتفاقی نمی افتاد.تصمیم به Reinstall هما گرفتم.
بعد پیغام میداد که نصب fail شده و توی ترمینالش این پیغام را میداد:
(Reading database ... 88982 files and directories currently installed.)
Preparing to replace homa 7.10.1-1 (using .../cdrom2/homa_7.10.1-1_i386.deb) ...
find: /usr/share/homa/: No such file or directory
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: error processing /media/cdrom2/homa_7.10.1-1_i386.deb (--install):
 subprocess new pre-removal script returned error exit status 1




مشکل کار من از کجاست؟؟

آفلاین Mehdi

  • ناظر ویژه انجمن
  • *
  • ارسال: 3284
  • جنسیت : پسر
    • هزاردستان
پاسخ به: مشکل نصب هما 7.10.1 روی اوبونتو 7.10
« پاسخ #1 : 06 آذر 1386، 10:30 ب‌ظ »
نیازی به نصب مجدد نیست. به فایل etc/apt/sources.list/ نگاه کنید، حداقل یک خط بدون # باشه... یعنی اینکه یکی از مخازنتون (غیر از سی‌دی ها) فعال باشه... یک بار هم دستور زیر رو تو ترمینال اجرا کنید و بعد مجددا از هما استفاده کنید...
sudo apt-get -f installالبته اگر نیازی به اجرای خط بالا باشه هما بهتون میگه... اگر باز هم مشکل داشتید تو ترمینال بنویسید homa و خروجی رو بگذارید ببینیم.
« آخرین ویرایش: 08 آذر 1386، 11:45 ق‌ظ توسط Mehdi »
Of one Essence is the human race,
Thusly has Creation put the Base;
One Limb impacted is sufficient,
For all Others to feel the Mace.
~Saadi (persian poet) -1258
Hezardastan | Free As in Freedom

آفلاین UbunTwo

  • Newbie
  • *
  • ارسال: 23
نصفه نیمه حل شد ولی بازم مشکل هست!
« پاسخ #2 : 07 آذر 1386، 06:15 ب‌ظ »
فایل Sources.list را باز کردم با gedit.ظاهرا فقط مخازن سی دی را فعال داشت و مخازن هما به دلیل اشکال فعال نبودند.
deb cdrom:[Kubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.1)]/ gutsy main restricted
deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071017)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# Line commented out by installer because it failed to verify:
# deb http://ir.archive.ubuntu.com/ubuntu/ gutsy main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://ir.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
# deb http://ir.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://ir.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# Line commented out by installer because it failed to verify:
# deb http://ir.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb-src http://ir.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb http://ir.archive.ubuntu.com/ubuntu/ gutsy-updates universe
# Line commented out by installer because it failed to verify:
# deb-src http://ir.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# Line commented out by installer because it failed to verify:
# deb http://ir.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://ir.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb http://ir.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://ir.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://ir.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://ir.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu gutsy partner
deb-src http://archive.canonical.com/ubuntu gutsy partner

# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy main universe restricted multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy universe main multiverse restricted #Added by software-properties


با تایپ ./homa هم در ترمینال میومد:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

بعد همین فایل sources.list را اجرا کردم و در تب third party دکمه add cd-rom را زدم و هما را add کرد. خوشبختانه توانستم بسته های هما را نصب کنم ولی بعد از هربار اجرای هما ، پیام زیر را به من میدهد و اجازه uninstall  کردن بسته ها را نمیدهد:
previously installed components have been detected.note that Homa CANNOT uninstall them;therefore,their checkboxes are disabled (grayed out).و بعضی مواقع هنگام نصب بسته میگوید:
Could not apply changes!
Fix broken packages first.

گیج شدم!!

آفلاین Mehdi

  • ناظر ویژه انجمن
  • *
  • ارسال: 3284
  • جنسیت : پسر
    • هزاردستان
پاسخ به: مشکل نصب هما 7.10.1 روی اوبونتو 7.10
« پاسخ #3 : 08 آذر 1386، 11:55 ق‌ظ »
۱. فقط کافیه یکی از خطوط فایل sources.list کامنت نباشه... که الان sources.list شما درسته.

۲. نیازی به اضافه کردن هما از طریق software sources و... نیست چون هما خودش (در نسخه اوبونتو، هنوز تو نسخه کوبونتو این امکان اضافه نشده) پیش از نصب اولین بسته‌ای که تیک زدید این کار رو انجام میده... حتما دیدید این امکان رو...

۳. پیغام زیر کاملا طبیعی و درسته و بهتون میگه که بعضی ار بسته‌ها دیگه تیک زدن نیستند و رنگشون خاکستری هستند و دلیلش هم اینه که این بسته‌ها قبلا نصب شده‌اند. این پیغام به این جهت داده میشه که شما تعجب نکنید که چرا برخی از بسته‌ها خاکستری رنگ شدن ;)
previously installed components have been detected.note that Homa CANNOT uninstall them;therefore,their checkboxes are disabled (grayed out).
۴. اون پیغام آخر هم برای این هست که سیستم apt شما دچار مشکلی شده. این اشکال نه از طریق هما بلکه ممکنه به دلایل مختلفی تو سیستم ایجاد بشه که البته راه حلش هم خیلی ساده است. دستور زیر. البته هما خودش این کار رو به محض اجرا مجدد انجام میده...
sudo apt-get -f installیا
sudo dpkg --configure -a
۵. ممنون برای تست و گزارش ایرادات. همین گزارشها ما رو کمک میکنه تا نسخه‌های بعدی با اشکالات کمتری عرضه بشن :)
« آخرین ویرایش: 08 آذر 1386، 12:04 ب‌ظ توسط Mehdi »
Of one Essence is the human race,
Thusly has Creation put the Base;
One Limb impacted is sufficient,
For all Others to feel the Mace.
~Saadi (persian poet) -1258
Hezardastan | Free As in Freedom