Open a Terminal and type sudo apt-get upgrade
. Check if you see an error similar to:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a'
to correct the problem.
It means that the upgrade was halted midway. You need to complete the upgrade manually by typing the following commands:
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update && sudo apt-get upgrade
If the error is something like:
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
In this case, the upgrade process was unable to remove its lock file before exiting. Let’s remove the lock files and try again:
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
Now, type:
sudo apt-get update
sudo apt-get upgrade
That’s it. You should be good to go now.
Open a Terminal and type sudo apt-get upgrade
. Check if you see an error similar to:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a'
to correct the problem.
It means that the upgrade was halted midway. You need to complete the upgrade manually by typing the following commands:
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update && sudo apt-get upgrade
If the error is something like:
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
In this case, the upgrade process was unable to remove its lock file before exiting. Let’s remove the lock files and try again:
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
Now, type:
sudo apt-get update
sudo apt-get upgrade
That’s it. You should be good to go now.
- Печать
Страницы: [1] Вниз
Тема: Проблема с пакетами. (Прочитано 2623 раз)
0 Пользователей и 1 Гость просматривают эту тему.
Alexander_S
Как можно исправить эту ошибку?
произошла ошибка.Пожалуйста запустите менеджер пакетов из меню Система-Администрирование или введите команду <<sudo apt-get install -f>> чтобы увидеть что произошло и исправить ошибку.Сообщение об ошибке BrokenCount >0.Обычно это обозначает что ваши установленные пакеты имеют неразрешенные зависимости
После того как ввел <<sudo apt-get install -f>> :
update: ввел sudo dpkg —configure -a
вот что получилось:
При обработке следующих пакетов произошли ошибки:
libxml2:i386
libssl1.0.0:i386
wine1.6-i386
libxslt1.1:i386
wine1.6
libgnutls-openssl27:amd64
libsasl2-modules:i386
libgstreamer0.10-0:i386
libgnutls26:i386
libgphoto2-6:i386
libldap-2.4-2:i386
wine1.6-amd64
libsane:i386
libgstreamer-plugins-base0.10-0:i386
libcups2:i386
« Последнее редактирование: 12 Декабря 2015, 12:36:28 от Alexander_S »
F12
Alexander_S,
а что и как ставил то?..
Alexander_S
Удалите кеш пакетов:
sudo apt-get clean
Удалите осиротевшие пакеты:
sudo apt-get autoremove
Обновите список пакетов:
sudo apt-get update
Исправьте зависимости:
sudo apt-get -f install
Помогло
- Печать
Страницы: [1] Вверх
- Forum
- The Ubuntu Forum Community
- Ubuntu Official Flavours Support
- General Help
- [SOLVED] Error: BrokenCount > 0
-
I keep running into ‘Error: BrokenCount > 0’, which started appearing after an update and a few program installs.
This is the error in more detail:
Code:
The following packages have unmet dependencies: bind9-host: Depends: libbind9-80 (= 1:9.8.1.dfsg.P1-4ubuntu0.2) but 1:9.8.1.dfsg.P1-4ubuntu0.3 is installed Depends: libdns81 (= 1:9.8.1.dfsg.P1-4ubuntu0.2) but 1:9.8.1.dfsg.P1-4ubuntu0.3 is installed Depends: libisc83 (= 1:9.8.1.dfsg.P1-4ubuntu0.2) but 1:9.8.1.dfsg.P1-4ubuntu0.3 is installed Depends: libisccfg82 (= 1:9.8.1.dfsg.P1-4ubuntu0.2) but 1:9.8.1.dfsg.P1-4ubuntu0.3 is installed Depends: liblwres80 (= 1:9.8.1.dfsg.P1-4ubuntu0.2) but 1:9.8.1.dfsg.P1-4ubuntu0.3 is installed dnsutils: Depends: libbind9-80 (= 1:9.8.1.dfsg.P1-4ubuntu0.2) but 1:9.8.1.dfsg.P1-4ubuntu0.3 is installed Depends: libdns81 (= 1:9.8.1.dfsg.P1-4ubuntu0.2) but 1:9.8.1.dfsg.P1-4ubuntu0.3 is installed Depends: libisc83 (= 1:9.8.1.dfsg.P1-4ubuntu0.2) but 1:9.8.1.dfsg.P1-4ubuntu0.3 is installed Depends: libisccfg82 (= 1:9.8.1.dfsg.P1-4ubuntu0.2) but 1:9.8.1.dfsg.P1-4ubuntu0.3 is installed Depends: liblwres80 (= 1:9.8.1.dfsg.P1-4ubuntu0.2) but 1:9.8.1.dfsg.P1-4ubuntu0.3 is installed
I also tried to do a sudo apt-get install -f, but ran into this error:
Code:
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: libunity6 linux-headers-3.2.0-24 linux-headers-3.2.0-24-generic linux-headers-3.2.0-24-generic-pae Use 'apt-get autoremove' to remove them. The following extra packages will be installed: bind9-host dnsutils Suggested packages: rblcheck The following packages will be upgraded: bind9-host dnsutils 2 upgraded, 0 newly installed, 0 to remove and 361 not upgraded. 2 not fully installed or removed. Need to get 0 B/197 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y dpkg: dependency problems prevent configuration of bind9-host: bind9-host depends on libbind9-80 (= 1:9.8.1.dfsg.P1-4ubuntu0.2); however: Version of libbind9-80 on system is 1:9.8.1.dfsg.P1-4ubuntu0.3. bind9-host depends on libdns81 (= 1:9.8.1.dfsg.P1-4ubuntu0.2); however: Version of libdns81 on system is 1:9.8.1.dfsg.P1-4ubuntu0.3. bind9-host depends on libisc83 (= 1:9.8.1.dfsg.P1-4ubuntu0.2); however: Version of libisc83 on system is 1:9.8.1.dfsg.P1-4ubuntu0.3. bind9-host depends on libisccfg82 (= 1:9.8.1.dfsg.P1-4ubuntu0.2); however: Version of libisccfg82 on system is 1:9.8.1.dfsg.P1-4ubuntu0.3. bind9-host depends on liblwres80 (= 1:9.8.1.dfsg.P1-4ubuntu0.2); however: Version of liblwres80 on system is 1:9.8.1.dfsg.P1-4ubuntu0.3. dpkg: error processing bind9-host (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. dpkg: dependency problems prevent configuration of dnsutils: dnsutils depends on libbind9-80 (= 1:9.8.1.dfsg.P1-4ubuntu0.2); however: Version of libbind9-80 on system is 1:9.8.1.dfsg.P1-4ubuntu0.3. dnsutils depends on libdns81 (= 1:9.8.1.dfsg.P1-4ubuntu0.2); however: Version of libdns81 on system is 1:9.8.1.dfsg.P1-4ubuntu0.3. dnsutils depends on libisc83 (= 1:9.8.1.dfsg.P1-4ubuntu0.2); however: Version of libisc83 on system is 1:9.8.1.dfsg.P1-4ubuntu0.3. dnsutils depends on libisccfg82 (= 1:9.8.1.dfsg.P1-4ubuntu0.2); however: Version of libisccfg82 on system is 1:9.8.1.dfsg.P1-4ubuntu0.3. dnsutils depends on liblwres80 (= 1:9.8.1.dfsg.P1-4ubuntu0.2); however: Version of liblwres80 on system is 1:9.8.1.dfsg.P1-4ubuntu0.3. dnsutils depends on bind9-host | host; however: Package bind9-host is not configured yet. Package host is not installed. Package bind9-host which provides host is not configured yet. dpkg: error processing dnsutils (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: bind9-host dnsutils E: Sub-process /usr/bin/dpkg returned an error code (1)
So what should I try to do to fix this? Thanks.
-
Re: Error: BrokenCount > 0
-
Re: Error: BrokenCount > 0
which ubuntu are you using ?
is it a genuine install ?
where come from the extra installed apps ?Please post the result of that command into a terminal:
cat /etc/apt/sources.list
-
Re: Error: BrokenCount > 0
Originally Posted by dino99
which ubuntu are you using ?
is it a genuine install ?
where come from the extra installed apps ?Please post the result of that command into a terminal:
cat /etc/apt/sources.list
Using 12.04LTS 32Bit, and it is a genuine install dual-booted with windows 7.
Code:
cat /etc/apt/sources.list # deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ precise universe deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ precise-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. deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise-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://us.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse # deb-src http://us.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu precise-security main restricted deb-src http://security.ubuntu.com/ubuntu precise-security main restricted deb http://security.ubuntu.com/ubuntu precise-security universe deb-src http://security.ubuntu.com/ubuntu precise-security universe deb http://security.ubuntu.com/ubuntu precise-security multiverse deb-src http://security.ubuntu.com/ubuntu precise-security 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 natty partner # deb-src http://archive.canonical.com/ubuntu natty partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu precise main deb-src http://extras.ubuntu.com/ubuntu precise main
Also apt-get update works fine but it doesn’t do anything to fix the problem.
Last edited by Tovarishch; October 9th, 2012 at 08:14 PM.
-
Re: Error: BrokenCount > 0
-
Re: Error: BrokenCount > 0
Originally Posted by Tovarishch
[Bump] Still Unresolved.
I’ve tried everything I could think of, I don’t know whatelse to do.
-
Re: Error: BrokenCount > 0
I tried downloading the files separate from the Ubuntu packages, but it wouldn’t let me install it.
Tried also to do apt-get clean and autoclean, and that didn’t do anything either.
-
Re: Error: BrokenCount > 0
-
Re: Error: BrokenCount > 0
Hi
Let’s have a look at the ppa’s you have installed on your system as well as tha main sources.list file.
Open a terminal and type
Code:
grep -H -v ^# /etc/apt/sources.list.d/*
This command is case sensitive so requires a capital H. Please post back the results.
This is an upgrade from Natty ?
Kind regards
If you believe everything you read, you better not read. ~ Japanese Proverb
If you don’t read the newspaper, you’re uninformed. If you read the newspaper, you’re mis-informed. — Mark Twain
Thinking about becoming an Ubuntu Member?
-
Re: Error: BrokenCount > 0
See if clearing APT’s cache before attempting to fix broken packages helps:
Code:
sudo apt-get clean sudo apt-get update sudo dpkg --configure -a sudo apt-get install -f
Check if that fixes it. If it doesn’t, you can try a bit more drastically clearing out old stuff and updating, using the following commands:
Code:
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available sudo rm -rf /var/lib/dpkg/updates/* sudo rm -rf /var/lib/apt/lists/* sudo mkdir /var/lib/apt/lists/partial sudo rm /var/cache/apt/*.bin sudo apt-get clean sudo apt-get autoremove sudo apt-get update sudo dpkg --configure -a sudo apt-get install -f
Asus K55A (Core i5-3210M @ 2.5GHz/8GB RAM/120GB SSD/Intel HD 4000) with Ubuntu 12.10 Beta 2
Compaq Presario C700 (Pentium Dual-Core @ 1.6GHz/2.5GB RAM/500GB HDD/Intel GM965) with Arch Linux and Linux Mint Debian Edition
Bookmarks
Bookmarks
Posting Permissions
У меня вверху на панели висит значок ошибки. Я навожу на него и вижу «Произошла ошибка. Пожалуйста, запустите менеджер пакетов из меню командой sudo apt-get install -f, чтобы увидеть, в чём ошибка. Обычно это означает, что установленные пакеты имеют неразрешённые зависимости»
Сообщение об ошибке: Ошибка BrokenCount>0
Обычно это означает, что пакеты имеют неразрешённые зависимости.
При попытке ввести эту команду в консоли получил это. При этом не могу установить ни одно приложение, постоянно вылезает ошибка.