انجمنهای فارسی اوبونتو
		تازه کار => انجمن تازهکاران => نویسنده: yasina در 13 امرداد 1396، 07:49 قظ
		
			
			- 
				سلام دوستان چند وقتی میشد موقعی که می خواستم یه پکیج رو نصب کنم این اررور ها رو می داد
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 You might want to run 'apt-get -f install' to correct these:
 The following packages have unmet dependencies:
 brackets : Depends: libgcrypt11 (>= 1.4.5) but it is not installable
 google-chrome-stable : Depends: libappindicator1 but it is not going to be installed
 jondo : Depends: default-jre or
 java-runtime
 Depends: java-wrappers but it is not going to be installed
 kmplayer:i386 : Depends: kde-runtime:i386 but it is not going to be installed
 Depends: libc6:i386 (>= 2.4) but it is not going to be installed
 Depends: libcairo2:i386 (>= 1.2.4) but it is not going to be installed
 Depends: libdbus-1-3:i386 (>= 1.0.2) but it is not going to be installed
 Depends: libdbus-glib-1-2:i386 (>= 0.78) but it is not going to be installed
 Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
 Depends: libglib2.0-0:i386 (>= 2.16.0) but it is not going to be installed
 Depends: libgtk2.0-0:i386 (>= 2.24.0) but it is not going to be installed
 Depends: libkdecore5:i386 (>= 4:4.4.0) but it is not going to be installed
 Depends: libkdeui5:i386 (>= 4:4.3.4) but it is not going to be installed
 Depends: libkio5:i386 (>= 4:4.4.0) but it is not going to be installed
 Depends: libkmediaplayer4:i386 (>= 4:4.3.4) but it is not going to be installed
 Depends: libkparts4:i386 (>= 4:4.5.85) but it is not going to be installed
 Depends: libphonon4:i386 (>= 4:4.2.0) but it is not going to be installed
 Depends: libqt4-dbus:i386 (>= 4:4.5.3) but it is not going to be installed
 Depends: libqt4-network:i386 (>= 4:4.5.3) but it is not going to be installed
 Depends: libqt4-qt3support:i386 (>= 4:4.5.3) but it is not going to be installed
 Depends: libqt4-svg:i386 (>= 4:4.5.3) but it is not going to be installed
 Depends: libqt4-xml:i386 (>= 4:4.5.3) but it is not going to be installed
 Depends: libqtcore4:i386 (>= 4:4.7.0~beta1) but it is not going to be installed
 Depends: libqtgui4:i386 (>= 4:4.6.1) but it is not going to be installed
 Depends: libsolid4:i386 (>= 4:4.3.4) but it is not going to be installed
 Depends: libstdc++6:i386 (>= 4.6) but it is not going to be installed
 Depends: libx11-6:i386 but it is not going to be installed
 Depends: phonon:i386 but it is not going to be installed
 ubuntu-tweak : Depends: gksu but it is not going to be installed
 Depends: python-apt but it is not going to be installed
 Depends: python-dbus but it is not going to be installed
 Depends: python-xdg but it is not going to be installed
 Depends: python-lxml but it is not going to be installed
 Depends: python-aptdaemon but it is not going to be installed
 Depends: python-aptdaemon.gtk3widgets but it is not going to be installed
 Depends: python-defer but it is not going to be installed
 Depends: python-compizconfig but it is not going to be installed
 Depends: gir1.2-gconf-2.0 but it is not going to be installed
 Depends: gir1.2-webkit-3.0 but it is not going to be installed
 E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
از روی اررور ها فهمیدم که مشکل از نرم افزارهای jondo brackets ubuntu-tweak kmplayer و google chrome هست
 این نرم افزار ها رو من از اینترنت دانلود کرده بودم و با دستور
 dpkg package_nameنصبشون کرده بودم
 خب حالا که مشکل رو فهمیده بودم تصمیم گرفتم تک تک نرم افزار ها رو حذف کنم پس دستور حذف jondo یعنی اولین نرم افزار رو زدم
 sudo apt-get remove jondoاما واسه ی چهار تای دیگه یعنی به شکل زیر اررور داد
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 You might want to run 'apt-get -f install' to correct these:
 The following packages have unmet dependencies:
 brackets : Depends: libgcrypt11 (>= 1.4.5) but it is not installable
 google-chrome-stable : Depends: libappindicator1 but it is not going to be installed
 kmplayer:i386 : Depends: kde-runtime:i386 but it is not going to be installed
 Depends: libc6:i386 (>= 2.4) but it is not going to be installed
 Depends: libcairo2:i386 (>= 1.2.4) but it is not going to be installed
 Depends: libdbus-1-3:i386 (>= 1.0.2) but it is not going to be installed
 Depends: libdbus-glib-1-2:i386 (>= 0.78) but it is not going to be installed
 Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
 Depends: libglib2.0-0:i386 (>= 2.16.0) but it is not going to be installed
 Depends: libgtk2.0-0:i386 (>= 2.24.0) but it is not going to be installed
 Depends: libkdecore5:i386 (>= 4:4.4.0) but it is not going to be installed
 Depends: libkdeui5:i386 (>= 4:4.3.4) but it is not going to be installed
 Depends: libkio5:i386 (>= 4:4.4.0) but it is not going to be installed
 Depends: libkmediaplayer4:i386 (>= 4:4.3.4) but it is not going to be installed
 Depends: libkparts4:i386 (>= 4:4.5.85) but it is not going to be installed
 Depends: libphonon4:i386 (>= 4:4.2.0) but it is not going to be installed
 Depends: libqt4-dbus:i386 (>= 4:4.5.3) but it is not going to be installed
 Depends: libqt4-network:i386 (>= 4:4.5.3) but it is not going to be installed
 Depends: libqt4-qt3support:i386 (>= 4:4.5.3) but it is not going to be installed
 Depends: libqt4-svg:i386 (>= 4:4.5.3) but it is not going to be installed
 Depends: libqt4-xml:i386 (>= 4:4.5.3) but it is not going to be installed
 Depends: libqtcore4:i386 (>= 4:4.7.0~beta1) but it is not going to be installed
 Depends: libqtgui4:i386 (>= 4:4.6.1) but it is not going to be installed
 Depends: libsolid4:i386 (>= 4:4.3.4) but it is not going to be installed
 Depends: libstdc++6:i386 (>= 4.6) but it is not going to be installed
 Depends: libx11-6:i386 but it is not going to be installed
 Depends: phonon:i386 but it is not going to be installed
 ubuntu-tweak : Depends: gksu but it is not going to be installed
 Depends: python-apt but it is not going to be installed
 Depends: python-dbus but it is not going to be installed
 Depends: python-xdg but it is not going to be installed
 Depends: python-lxml but it is not going to be installed
 Depends: python-aptdaemon but it is not going to be installed
 Depends: python-aptdaemon.gtk3widgets but it is not going to be installed
 Depends: python-defer but it is not going to be installed
 Depends: python-compizconfig but it is not going to be installed
 Depends: gir1.2-gconf-2.0 but it is not going to be installed
 Depends: gir1.2-webkit-3.0 but it is not going to be installed
 E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
 
راه حل :
 بعد از اینکه کمی سرچ کردم و دیدم راه حل رو پیدا نمی کنم کم کم داشتم نا امید می شدم  ](*,) ](*,) :'( :'(
 که به فکرم رسید دستور زیر رو بزنم
 sudo apt-get remove jondo brackets google-chrome-stable kmplayer ubuntu-tweakیعنی دستور حذف هر پنج تا نرم افزار با هم
 و خوشبختانه جواب داد \\:D/ \\:D/ \\:D/ \\:D/
 امیدوارم به دردتون بخوره
- 
				کاری که خودش گفته بود(apt-get -f install) رو انجام دادید؟
			
- 
				کاری که خودش گفته بود(apt-get -f install) رو انجام دادید؟
 
 آره جواب نمی داد
 اتفاقا چند جایی هم دیدم که دوستان این مشکل رو داشتن واسه اون ها هم -f جواب نداده بود
- 
				به صورت کلی توصیه نمیشه نرمافزار خارج از مخزنهای اصلی اوبونتو رو نصب کنید.
 
 برای نصب کرومیوم (و نه کروم) میتونید از دستور زیر استفاده کنید. چون کرومیوم، نرمافزار آزاد هست و توی مخزن اوبونتو موجود هست.
 
 $ sudo apt install chromium-browser
 
و همچنین چون kmplayer توی مخزن هست، نباید با نصبش مشکل داشته باشید.
 $ sudo apt install kmplayer
 
- 
				به صورت کلی توصیه نمیشه نرمافزار خارج از مخزنهای اصلی اوبونتو رو نصب کنید.
 
 برای نصب کرومیوم (و نه کروم) میتونید از دستور زیر استفاده کنید. چون کرومیوم، نرمافزار آزاد هست و توی مخزن اوبونتو موجود هست.
 
 $ sudo apt install chromium-browser
 
و همچنین چون kmplayer توی مخزن هست، نباید با نصبش مشکل داشته باشید.
 $ sudo apt install kmplayer
 
 
 سلام و عرض ادب ببخشید از کجا متوجه بشم که خارج از مخرن هست من اندروید استودیو نصب کردم همچه خطایی میداد . چکار کنم که مشکلی نداشته باشه ؟ البته کار میداد ولی وقتی می خواستم نرم افزار دیگه نصب کنم گیر اندروید استودیو را می داد
- 
				yp@s:~$ sudo dpkg --configure -a
 dpkg: dependency problems prevent configuration of android-studio:
 android-studio depends on android-studio-2022.1.1; however:
 Package android-studio-2022.1.1 is not installed.
 
 dpkg: error processing package android-studio (--configure):
 dependency problems - leaving unconfigured
 Errors were encountered while processing:
 android-studio
 
- 
				لطفا موضوعات قدیمی رو بالا نیارید، یه موضوع جدید ایجاد کنید. ممنونم.