mehrab@mehrab-desktop:~$ sudo apt-get install libtool
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libtool: Depends: libc6-dev but it is not going to be installed or
libc-dev
E: Broken packages
mehrab@mehrab-desktop:~$
برای ترمیم broken packageها چه کار باید کرد؟
sudo apt-get install -f
و همچنینsudo dpkg --configure -a
چطور میتونم libtool رو نصب کنم؟ از طریق apt-get اقدام کردم. این ارور رو داد :دوست عزیزکد: [انتخاب]mehrab@mehrab-desktop:~$ sudo apt-get install libtool
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libtool: Depends: libc6-dev but it is not going to be installed or
libc-dev
E: Broken packages
mehrab@mehrab-desktop:~$
روش دیگهای برای نصبش هست؟ من از http://www.gnu.org/software/libtool/ (http://www.gnu.org/software/libtool/) فایلشو دانلود کردم ولی با استفاده از راهنماها نتونستم نصبش کنم. لطفا راهنمایی کنید.
ضمنا من برای نصب kiba-dock نیاز به نصب libtool دارم.
sudo apt-get install -f
echo "deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted" | sudo tee -a /etc/apt/sources.list
synapticیا شاید اینو؟
edit->Fix broken package
dpkg -l | grep broken
ممنون از جوابها. ولی اینجور که معلومه اشکال از broken package نیست. چون بعد از اجرای این دستور هیج بستهای اضافه یا حذف نمیشه. برای نصب libc6-dev چه مخزنی رو باید به لیست مخازن اضافه کنم. کسی تجربهای تو این زمینه داره؟
sudo apt-get install dpkg-dev
۲)یک پوشه به نام deb در دایرکتوری home ایجاد کن(برای اینکار از دستورات زیر استفاده کن):mkdir ~/deb
۳) تمام بسته های دبیانی با پسوند deb رو که دانلود کردی در این پوشه(deb)بریزgksu gedit /etc/apt/sources.list
(فایل متنی باز می شود)deb file:///home/hasan/ deb/
(مسیری که در آن مخزن قرار دارد را در فایل متنی فوق اضافه می کنیم)sudo apt-get update
dpkg-scanpackages -m deb /dev/null | gzip -9c > deb/Packages.gz
وsudo apt-get update
dpkg --get-selections -> ~/Desktop/install.txt
با استفاده از دستور فوق لیستی از همه بسته هایی که بر روی سیستم شما نصب هست در فایل install.txtقرار می گیرید.sudo apt-get install libc6-dev