- Печать
Страницы: [1] Вниз
Тема: Проблема с пакетами. (Прочитано 2524 раз)
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 installedI 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
I’m new here
I have Ubuntu 18.04 LTS
When I run sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libc6-dbg : Depends: libc6 (= 2.27-3ubuntu1.2) but 2.27-3ubuntu1 is installed
libc6-dev : Depends: libc6 (= 2.27-3ubuntu1.2) but 2.27-3ubuntu1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Then I run sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
libsss-nss-idmap0
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libc6
Suggested packages:
glibc-doc
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 0 to remove and 72 not upgraded.
2 not fully installed or removed.
Need to get 0 B/2,827 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: warning: files list file for package 'linux-image-5.3.0-53-generic' missing; assuming package has no files currently installed
(Reading database ... 214594 files and directories currently installed.)
Preparing to unpack .../libc6_2.27-3ubuntu1.2_amd64.deb ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing archive /var/cache/apt/archives/libc6_2.27-3ubuntu1.2_amd64.deb (--unpack):
new libc6:amd64 package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.27-3ubuntu1.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I’ve tried to use sudo apt-get install -f, but still getting the same error
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
libsss-nss-idmap0
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libc6
Suggested packages:
glibc-doc
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 0 to remove and 72 not upgraded.
2 not fully installed or removed.
Need to get 0 B/2,827 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: warning: files list file for package 'linux-image-5.3.0-53-generic' missing; assuming package has no files currently installed
(Reading database ... 214594 files and directories currently installed.)
Preparing to unpack .../libc6_2.27-3ubuntu1.2_amd64.deb ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing archive /var/cache/apt/archives/libc6_2.27-3ubuntu1.2_amd64.deb (--unpack):
new libc6:amd64 package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.27-3ubuntu1.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Also, in the top-right corner of the screen, a notification appears saying:
An error ocurred, please run Package Manager from the right-clic menu or apt-get in a terminal to see what is wrong. The error message was: ‘Error: BrokenCount>0’. This usually means that your installed packages have unmet dependencies
And I try to install the new updates but Software Updater shows this message:
Not enough free disk space
The upgrade needs a total of 107 M free space on disk ‘/boot’. Please free at least an additional 49.6 M of disk space on ‘/boot’. You can remove old kernels using ‘sudo apt autoremove’, and you could also set COMPRESS=xz in /etc/initramfs-tools/initramfs.conf to reduce the size of your initramfs.
And I try sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libc6-dbg : Depends: libc6 (= 2.27-3ubuntu1.2) but 2.27-3ubuntu1 is installed
libc6-dev : Depends: libc6 (= 2.27-3ubuntu1.2) but 2.27-3ubuntu1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
These are all my installed kernels
$ sudo dpkg --list | egrep -i --color 'linux-image|linux-headers'
ii linux-headers-5.3.0-51 5.3.0-51.44~18.04.2 all Header files related to Linux kernel version 5.3.0
ii linux-headers-5.3.0-51-generic 5.3.0-51.44~18.04.2 amd64 Linux kernel headers for version 5.3.0 on 64 bit x86 SMP
ii linux-headers-5.3.0-53 5.3.0-53.47~18.04.1 all Header files related to Linux kernel version 5.3.0
ii linux-headers-5.3.0-53-generic 5.3.0-53.47~18.04.1 amd64 Linux kernel headers for version 5.3.0 on 64 bit x86 SMP
ii linux-headers-5.3.0-59 5.3.0-59.53~18.04.1 all Header files related to Linux kernel version 5.3.0
ii linux-headers-5.3.0-59-generic 5.3.0-59.53~18.04.1 amd64 Linux kernel headers for version 5.3.0 on 64 bit x86 SMP
ii linux-headers-generic-hwe-18.04 5.3.0.59.113 amd64 Generic Linux kernel headers
ri linux-image-5.3.0-53-generic 5.3.0-53.47~18.04.1 amd64 Signed kernel image generic
ii linux-image-5.3.0-59-generic 5.3.0-59.53~18.04.1 amd64 Signed kernel image generic
ii linux-image-generic-hwe-18.04 5.3.0.59.113 amd64 Generic Linux kernel image
I have virtual machine running Ubuntu version 18.04.3 Bionic Beaver. Back in Dec 2021 I did a patch upgrade and downloads all the debians upgrade locally for future uses. I installed those packages using dpkg -i ./folder/* to get my Ubuntu to 18.04.6. Now I messed up my OS and decided to reimage it back to my original 18.04.3. Installing those debian packages using the same method above now giving me Error: BrokenCount >0 using update-notifier/apt-check now.
I got curious so I did the sudo apt-get -f install --download-only to get all the missing dependencies. Here are some of the examples
dirmngr_2.2.4-1ubuntu1.6_amd64.deb
gnupg_2.2.4-1ubuntu1.6_amd64.deb
gnupg-l10n_2.2.4-1ubuntu1.6_all.deb
gnupg-utils_2.2.4-1ubuntu1.6_amd64.deb
gpg_2.2.4-1ubuntu1.6_amd64.deb
gpg-agent_2.2.4-1ubuntu1.6_amd64.deb
gpgconf_2.2.4-1ubuntu1.6_amd64.deb
Upgrading those seems to give me 0:0 for apt-check now. While it is nice, but some of the patches will be deployed. Thus, I might need a reliable ways to ensure that I can get the machine back to certain version. It was the reason why I download all those deb packages. Some of the files in the list above has recently been added to the ubuntu in 2022. Why is it affecting my current dependencies? I thought I had download the packages back in 2021. Should it not depend on say gnupg-utils_2.2.4-1ubuntu1.4_amd64.deb which is what I currently had saved off back in 2021, instead of gnupg-utils_2.2.4-1ubuntu1.6_amd64.deb (2022 files)
What can I do to prevent this from happening in the future? Is it not OK to save off the debian packages for future use?
Ubuntu 12.04.
После обновления я получаю красную предупреждающую иконку в системном трее, предупреждая об ошибке: сломанный счетчик> 0
Открытие диспетчера обновлений, я вижу что сломанный пакет linux-headers-3.2.0-33-generic-pae (new install)
Конкретно у меня есть мой ubuntu на AspireOne с внутренним хранилищем 8 ГБ.
Я попробовал apt-get clean, как было предложено в другом вопросе на этом сайте, и попытался переустановить пакет в Synaptic.
Я попытался перезагрузиться, но безрезультатно.
Я также пробовал apt-get install —fix-broken, и я получаю следующее:
Я пробовал все предложения, которые я мог найти:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -f install
sudo apt-get install --fix-broken
Тогда я увидел, что при ошибке было упоминание о свободном пространстве. Итак, я сделал df -h, и результат был:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7,0G 5,5G 1,1G 84% /
udev 235M 4,0K 235M 1% /dev
tmpfs 97M 816K 96M 1% /run
none 5,0M 0 5,0M 0% /run/lock
none 242M 352K 242M 1% /run/shm
Я вижу, что в моей корневой папке я имею 1.1Gb бесплатно. Сломанным пакетом является
linux-headers-3.2.0-33-generic-pae_3.2.0-33.52_i386.deb
, который занимает только 11.3Mb на моем жестком диске.
Я потерял soooo. Я действительно надеюсь, что здесь кое-что отсутствует. Я не хочу переформатировать это ведро. Это действительно не стоит времени. Любая помощь для исправления этого будет горячей.
задан
3 March 2017 в 01:58
поделиться
3 ответа
У меня была такая же ошибка при установке вина с менеджером обновлений, и единственное, что помогло, — удалить все мои пакеты с помощью rm / var / lib / apt / lists * -vf
sudo rm /var/lib/apt/lists/* -vf
It удалили мои пакеты, затем я запустил Software Center. Он сказал, что он сломал пакеты, поэтому я решил их восстановить. Он загрузил необходимые пакеты. После этого все прошло хорошо.
ответ дан devav2
25 May 2018 в 03:52
поделиться
Недавно я нашел ту же проблему, но виновником был сам Ubuntu. Из-за того, что он «не» обрабатывает «вращение».
Предыдущие версии пакета linux-headers-generic, а также пакеты linux-изображений никогда не удалялись. Если это были последние две или три проблемы, но было почти 20 версий заголовков ядра и ядра. в пакете linux-headers имеется огромное количество файлов, которые съедают все ваши i-узлы. С удалением всех, кроме последних заголовков ядер дерева (предыдущий linux-headers-generic-3.2.0-?), Я спустился с 100% i-узлов, используемых на 45%.
Сначала я не использовал » я знаю, что вызвало проблему, но после прочтения вашего дела я проверил количество своих i-узлов и был на 100% заполнен, на практике, как 200 бесплатных inodes из почти 700 000.
Просто удалив предыдущий Linux пакеты-headers делают трюк. Synaptic упрощает работу с функцией GUI + функции поиска и заказа.
Я пишу это также как помощь людям, сталкивающимся с этой проблемой в последнее время.
ответ дан RedComet
25 May 2018 в 03:52
поделиться
Все эти ответы мне не помогли. Но я нашел эту страницу, и, используя идеи, я мог быстро довести мой индекс inode от 100% до 50%: http://www.pkdavies.co.uk/142-dpkg-no-space-left-on -device.html
Идея состоит в том, чтобы найти папки, в которых есть inodes.
В терминале cd для запуска root:
# cd /
Затем найдите папки, в которых содержится большинство inodes:
# for i in `ls -1A`; do echo "`find $i | sort -u | wc -l` $i"; done | sort -rn | head -20
Это даст вам список папок. Следуйте приведенным выше шагам снова в cd в папку с наивысшим количеством inodes и снова запустите команду поиска.
Я нашел много неиспользуемых и удаленных ядер, которые по-прежнему занимали место и inodes в источниках ядра папок, например, в разделе /usr/src/linux-headers-*.
ОСТОРОЖНО, НЕ СНИМАЙТЕ ИСТОЧНИКИ ДЛЯ УСТАНОВЛЕННОГО КЕРНАЛА — ПРОВЕРЬТЕ С uname -rv, КОТОРЫЙ ОДИН ЭТО
Поэтому после Я нашел папки, я удалил устаревшие каталоги по одному, например, с помощью
root@gamma:/usr/src# sudo rm -rf linux-headers-3.2.0-30
. После этого я смог успешно выполнить это для восстановления моей системы:
# apt-get -f install
Надеюсь, это поможет.
ответ дан XavierStuvw
25 May 2018 в 03:52
поделиться