sudo apt remove xclip sudo apt sudo E: Sub-process /usr/bin/dpkg returned an error code (1)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
При удалении пакетов мною была допущена ошибка в тексте команды. Вот полное описание процесса:
beginner@
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Следующие пакеты устанавливались автоматически и больше не требуются:
extlinux gdebi-core gnome-icon-theme libgksu2-0 linux-headers-
linux-
linux-
Для их удаления используйте «sudo apt autoremove».
Будут установлены следующие дополнительные пакеты:
sudo-ldap
Пакеты, которые будут УДАЛЕНЫ:
apt apt-utils gdebi gksu sudo ubuntu-minimal unattended-upgrades unetbootin
xclip
НОВЫЕ пакеты, которые будут установлены:
sudo-ldap
ВНИМАНИЕ: Эти существенно важные пакеты будут удалены.
НЕ ДЕЛАЙТЕ этого, если вы НЕ представляете себе все возможные последствия!
apt
обновлено 0, установлено 1 новых пакетов, для удаления отмечено 9 пакетов, и 0 пакетов не обновлено.
Необходимо скачать 420 kБ архивов.
После данной операции, объём занятого дискового пространства уменьшится на 6 050 kB.
То, что вы хотите сделать, может иметь нежелательные последствия.
Чтобы продолжить, введите фразу: «Да, делать, как я скажу!»
?] Да, делать, как я скажу!
Пол:1 http://
Получено 420 kБ за 20с (20,8 kБ/c)
(Чтение базы данных … на данный момент установлено 307670 файлов и каталогов.)
Удаляется unattended-upgrades (0.90ubuntu0.9) …
Удаляется ubuntu-minimal (1.361.1) …
Удаляется apt-utils (1.2.25) …
Удаляется apt (1.2.25) …
Удаляется gdebi (0.9.5.7ubuntu1) …
Удаляется unetbootin (608-1) …
Удаляется gksu (2.0.2-9ubuntu1) …
Удаляется sudo (1.8.16-0ubuntu1.5) …
You have asked that the sudo package be removed,
but no root password has been set.
Without sudo, you may not be able to gain administrative privileges.
If you would prefer to access the root account with su(1)
or by logging in directly,
you must set a root password with "sudo passwd".
If you have arranged other means to access the root account,
and you are sure this is what you want,
you may bypass this check by setting an environment variable
(export SUDO_FORCE_
Refusing to remove sudo.
dpkg: ошибка при обработке пакета sudo (--remove):
подпроцесс установлен сценарий pre-removal возвратил код ошибки 1
Удаляется xclip (0.12+svn84-4) …
Обрабатываются триггеры для man-db (2.7.5-1) …
Обрабатываются триггеры для libc-bin (2.23-0ubuntu10) …
Обрабатываются триггеры для gnome-menus (3.13.3-6ubuntu3.1) …
Обрабатываются триггеры для desktop-file-utils (0.22-1ubuntu5.1) …
Обрабатываются триггеры для bamfdaemon (0.5.3~
Rebuilding /usr/share/
Обрабатываются триггеры для mime-support (3.59ubuntu1) …
При обработке следующих пакетов произошли ошибки:
sudo
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: sudo 1.8.16-0ubuntu1.5
ProcVersionSign
Uname: Linux 4.13.0-36-generic x86_64
Architecture: amd64
Date: Fri Feb 23 11:53:32 2018
ErrorMessage: подпроцесс установлен сценарий pre-removal возвратил код ошибки 1
InstallationDate: Installed on 2018-01-29 (24 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
SourcePackage: sudo
Title: package sudo 1.8.16-0ubuntu1.5 failed to install/upgrade: подпроцесс установлен сценарий pre-removal возвратил код ошибки 1
UpgradeStatus: No upgrade log present (probably fresh install)
VisudoCheck:
/etc/sudoers: parsed OK
/etc/sudoers.
Changed in sudo (Ubuntu): | |
status: | New → Invalid |
ребята, как мне исправить ситуация. В мире Linux я - новичок.