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

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

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


ارائه ۲۴٫۱۰ اوبونتو منتشر شد 🎉

نویسنده موضوع: مشکل در بروز رسانی ابونتو 12.4  (دفعات بازدید: 1694 بار)

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

آفلاین haghighati

  • Jr. Member
  • *
  • ارسال: 28
  • جنسیت : پسر
مشکل در بروز رسانی ابونتو 12.4
« : 06 دی 1392، 08:45 ق‌ظ »
سلام دوستان چند روزه وقتی می خوام بروز رسانی کنم با این ارور مواجه میشم

Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f

بعدش که فرمان خواسته شده رو توی ترمینال میزنم با این جواب مواجه میشم

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root؟

آفلاین بی نام تا اطلاع ثانوی

  • Sr. Member
  • *
  • ارسال: 401
  • جنسیت : پسر
پاسخ : مشکل در بروز رسانی ابونتو 12.4
« پاسخ #1 : 06 دی 1392، 09:10 ق‌ظ »
ابتدا این دستور رو بزنید
sudo rm /var/lib/dpkg/lock
وحالا
sudo apt-get install -f

آفلاین haghighati

  • Jr. Member
  • *
  • ارسال: 28
  • جنسیت : پسر
پاسخ : مشکل در بروز رسانی ابونتو 12.4
« پاسخ #2 : 06 دی 1392، 09:34 ق‌ظ »
حل نشد این دفعه این ارور رو میده:

E: Sub-process /usr/bin/dpkg returned an error code (1)

آفلاین بی نام تا اطلاع ثانوی

  • Sr. Member
  • *
  • ارسال: 401
  • جنسیت : پسر
پاسخ : مشکل در بروز رسانی ابونتو 12.4
« پاسخ #3 : 06 دی 1392، 10:48 ق‌ظ »
sudo dpkg --configure -a
اگر بازهم حل نشد متن کامل خطا رو بذارید

آفلاین haghighati

  • Jr. Member
  • *
  • ارسال: 28
  • جنسیت : پسر
پاسخ : مشکل در بروز رسانی ابونتو 12.4
« پاسخ #4 : 06 دی 1392، 11:28 ق‌ظ »
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libstlport4.6ldbl libboost-python1.46.1 gir1.2-ubuntuoneui-3.0 libcmis-0.2-0
  python-qt4 libubuntuoneui-3.0-1 python-sip libmagick++4 python-pythonmagick
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libreoffice-calc libreoffice-draw libreoffice-gnome libreoffice-gtk
  libreoffice-impress
Suggested packages:
  libreoffice-evolution
The following packages will be upgraded:
  libreoffice-calc libreoffice-draw libreoffice-gnome libreoffice-gtk
  libreoffice-impress
5 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
5 not fully installed or removed.
Need to get 0 B/9,917 kB of archives.
After this operation, 16.4 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: dependency problems prevent configuration of libreoffice-calc:
 libreoffice-calc depends on libreoffice-base-core (= 1:4.1.3-0ubuntu1~precise1~ppa1); however:
  Version of libreoffice-base-core on system is 1:4.1.4~rc2-0ubuntu1~precise1~ppa1.
 libreoffice-calc depends on libreoffice-core (= 1:4.1.3-0ubuntu1~precise1~ppa1); however:
  Version of libreoffice-core on system is 1:4.1.4~rc2-0ubuntu1~precise1~ppa1.
 libreoffice-core (1:4.1.4~rc2-0ubuntu1~precise1~ppa1) breaks libreoffice-calc (<< 1:4.1.4~rc2-0ubuntu1~precise1~ppa1) and is installed.
  Version of libreoffice-calc to be configured is 1:4.1.3-0ubuntu1~precise1~ppa1.
dpkg: error processing libreoffice-calc (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libreoffice-draw:
 libreoffice-draw depends on libreoffice-core (= 1:4.1.3-0ubuntu1~precise1~ppa1); however:
  Version of libreoffice-core on system is 1:4.1.4~rc2-0ubuntu1~precise1~ppa1.
 libreoffice-core (1:4.1.4~rc2-0ubuntu1~precise1~ppa1) breaks libreoffice-draw (<< 1:4.1.4~rc2-0ubuntu1~precise1~ppa1) and is installed.
  Version of libreoffice-draw to be configured is 1:4.1.3-0ubuntu1~precise1~ppa1.
dpkg: error processing libreoffice-draw (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-impress:
 libreoffice-impress depends on libreoffice-core (= 1:4.1.3-0ubuntu1~precise1~ppa1); however:
  Version of libreoffice-core on system is 1:4.1.4~rc2-0ubuntu1~precise1~ppa1.
 libreoffice-impress depends on libreoffice-draw (= 1:4.1.3-0ubuntu1~precise1~ppa1); however:
No apport report written because MaxReports is reached already
                                                                Package libreoffice-draw is not configured yet.
 libreoffice-core (1:4.1.4~rc2-0ubuntu1~precise1~ppa1) breaks libreoffice-impress (<< 1:4.1.4~rc2-0ubuntu1~precise1~ppa1) and is installed.
  Version of libreoffice-impress to be configured is 1:4.1.3-0ubuntu1~precise1~ppa1.
dpkg: error processing libreoffice-impress (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libreoffice-gtk:
 libreoffice-gtk depends on libreoffice-core (= 1:4.1.3-0ubuntu1~precise1~ppa1); however:
  Version of libreoffice-core on system is 1:4.1.4~rc2-0ubuntu1~precise1~ppa1.
 libreoffice-core (1:4.1.4~rc2-0ubuntu1~precise1~ppa1) breaks libreoffice-gtk (<< 1:4.1.4~rc2-0ubuntu1~precise1~ppa1) and is installed.
  Version of libreoffice-gtk to be configured is 1:4.1.3-0ubuntu1~precise1~ppa1.
dpkg: error processing libreoffice-gtk (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libreoffice-gnome:
 libreoffice-gnome depends on libreoffice-core (= 1:4.1.3-0ubuntu1~precise1~ppa1); however:
  Version of libreoffice-core on system is 1:4.1.4~rc2-0ubuntu1~precise1~ppa1.
 libreoffice-gnome depends on libreoffice-gtk; however:
  Package libreoffice-gtk is not configured yet.
 libreoffice-core (1:4.1.4~rc2-0ubuntu1~precise1~ppa1) breaks libreoffice-gnome (<< 1:4.1.4~rc2-0ubuntu1~precise1~ppa1) and is installed.
  Version of libreoffice-gnome to be configured is 1:4.1.3-0ubuntu1~precise1~ppa1.
dpkg: error processing libreoffice-gnome (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 libreoffice-calc
 libreoffice-draw
 libreoffice-impress
 libreoffice-gtk
 libreoffice-gnome
E: Sub-process /usr/bin/dpkg returned an error code (1)

آفلاین بی نام تا اطلاع ثانوی

  • Sr. Member
  • *
  • ارسال: 401
  • جنسیت : پسر
پاسخ : مشکل در بروز رسانی ابونتو 12.4
« پاسخ #5 : 06 دی 1392، 11:49 ق‌ظ »
ابتدا دستور زیر رو بزنید:
sudo apt-get autoremove
حالا  ppa زیر رو اضافه کنید به مخازنتون.
ppa:libreoffice/ppa


و بعد
sudo apt-get update
sudo apt-get install libreoffice
« آخرین ویرایش: 06 دی 1392، 11:51 ق‌ظ توسط سید ظهیر قاضوی »

آفلاین haghighati

  • Jr. Member
  • *
  • ارسال: 28
  • جنسیت : پسر
پاسخ : مشکل در بروز رسانی ابونتو 12.4
« پاسخ #6 : 06 دی 1392، 12:43 ب‌ظ »
اولین دستور رو که میزنم این پیام رو میده:

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:
 libreoffice-calc : Depends: libreoffice-base-core (= 1:4.1.3-0ubuntu1~precise1~ppa1) but 1:4.1.4~rc2-0ubuntu1~precise1~ppa1 is installed
                    Depends: libreoffice-core (= 1:4.1.3-0ubuntu1~precise1~ppa1) but 1:4.1.4~rc2-0ubuntu1~precise1~ppa1 is installed
 libreoffice-core : Breaks: libreoffice-calc (< 1:4.1.4~rc2-0ubuntu1~precise1~ppa1) but 1:4.1.3-0ubuntu1~precise1~ppa1 is installed
                    Breaks: libreoffice-draw (< 1:4.1.4~rc2-0ubuntu1~precise1~ppa1) but 1:4.1.3-0ubuntu1~precise1~ppa1 is installed
                    Breaks: libreoffice-gnome (< 1:4.1.4~rc2-0ubuntu1~precise1~ppa1) but 1:4.1.3-0ubuntu1~precise1~ppa1 is installed
                    Breaks: libreoffice-gtk (< 1:4.1.4~rc2-0ubuntu1~precise1~ppa1) but 1:4.1.3-0ubuntu1~precise1~ppa1 is installed
                    Breaks: libreoffice-impress (< 1:4.1.4~rc2-0ubuntu1~precise1~ppa1) but 1:4.1.3-0ubuntu1~precise1~ppa1 is installed
 libreoffice-draw : Depends: libreoffice-core (= 1:4.1.3-0ubuntu1~precise1~ppa1) but 1:4.1.4~rc2-0ubuntu1~precise1~ppa1 is installed
 libreoffice-gnome : Depends: libreoffice-core (= 1:4.1.3-0ubuntu1~precise1~ppa1) but 1:4.1.4~rc2-0ubuntu1~precise1~ppa1 is installed
 libreoffice-gtk : Depends: libreoffice-core (= 1:4.1.3-0ubuntu1~precise1~ppa1) but 1:4.1.4~rc2-0ubuntu1~precise1~ppa1 is installed
 libreoffice-impress : Depends: libreoffice-core (= 1:4.1.3-0ubuntu1~precise1~ppa1) but 1:4.1.4~rc2-0ubuntu1~precise1~ppa1 is installed
E: Unmet dependencies. Try using -f.

آفلاین xubuntu4iran

  • Hero Member
  • *
  • ارسال: 748
  • جنسیت : پسر
پاسخ : مشکل در بروز رسانی ابونتو 12.4
« پاسخ #7 : 06 دی 1392، 02:45 ب‌ظ »
این رو تو ترمینال وارد کن:
sudo apt-get -f install