Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dpkg --force-all --purge libpam-runtime
- dpkg: libpam-runtime: dependency problems, but removing anyway as you requested:
- cron depends on libpam-runtime (>= 1.0.1-11).
- login depends on libpam-runtime.
- openssh-server depends on libpam-runtime (>= 0.76-14).
- ubuntu-core-config depends on libpam-runtime (>= 1.0.1-6).
- at depends on libpam-runtime (>= 1.0.1-11).
- ppp depends on libpam-runtime.
- libpam-cap:amd64 depends on libpam-runtime (>= 1.1.3-2~).
- libpam-systemd:amd64 depends on libpam-runtime (>= 1.0.1-6).
- dovecot-core depends on libpam-runtime (>= 0.76-13.1).
- (Reading database ... 261535 files and directories currently installed.)
- Removing libpam-runtime (1.1.8-3.7) ...
- Purging configuration files for libpam-runtime (1.1.8-3.7) ...
- dpkg: warning: while removing libpam-runtime, directory '/var/lib/pam' not empty so not removed
- Processing triggers for man-db (2.8.3-2) ...
- [9x]::[09:34 PM]:[/]
- [root@rescue]$dpkg --force-all --purge libpam-modules
- dpkg: libpam-modules:amd64: dependency problems, but removing anyway as you requested:
- login depends on libpam-modules (>= 1.1.8-1); however:
- Package libpam-modules:amd64 is to be removed.
- openssh-server depends on libpam-modules (>= 0.72-9).
- passwd depends on libpam-modules.
- sudo depends on libpam-modules.
- ppp depends on libpam-modules.
- (Reading database ... 261433 files and directories currently installed.)
- Removing libpam-modules:amd64 (1.1.8-3.7) ...
- Purging configuration files for libpam-modules:amd64 (1.1.8-3.7) ...
- Processing triggers for man-db (2.8.3-2) ...
- [9x]::[09:34 PM]:[/]
- [root@rescue]$rm -rf /etc/pam.d
- [9x]::[09:34 PM]:[/]
- [root@rescue]$rm -rf /lib/security
- [9x]::[09:34 PM]:[/]
- [root@rescue]$apt install libpam-runtime libpam-modules
- 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:
- libpam-modules : PreDepends: libpam-modules-bin (= 1.1.8-3.6ubuntu2)
- Recommends: update-motd but it is not going to be installed
- E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
- [9x]::[09:34 PM]:[/]
- [root@rescue]$apt --fix-broken install
- 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:
- asterisk-config asterisk-core-sounds-en asterisk-core-sounds-en-gsm
- asterisk-modules asterisk-moh-opsound-gsm dctrl-tools freetds-common
- galera-3 gnupg-l10n gnupg-utils gpg-agent gpg-wks-server gpgsm
- i965-va-driver kpackagetool5 ktorrent-data kwayland-data
- kwayland-integration liba52-0.7.4 libaacs0 libaccountsservice0 libapparmor1
- libaribb24-0 libass9 libavahi-core7 libavahi-glib1 libavcodec57
- libavformat57 libavutil55 libbasicusageenvironment1 libbdplus0 libbluray2
- libcddb2 libchromaprint1 libcryptsetup12 libcrystalhd3 libdaemon0 libdaq2
- libdbusmenu-qt5-2 libdc1394-22 libdca0 libdvbpsi10 libdvdnav4 libdvdread4
- libebml4v5 libecap3 libecpg-compat3 libecpg-dev libecpg6 libexttextcat-2.0-0
- libexttextcat-data libfaad2 libfam0 libgme0 libgmime-3.0-0 libgpgme11
- libgpgmepp6 libgroupsock8 libhfstospell9 libiksemel3 libkate1 libkf5archive5
- libkf5attica5 libkf5auth-data libkf5bookmarks-data libkf5codecs-data
- libkf5codecs5 libkf5completion-data libkf5completion5 libkf5config-bin
- libkf5config-data libkf5configcore5 libkf5configgui5
- libkf5configwidgets-data libkf5coreaddons-data libkf5coreaddons5
- libkf5crash5 libkf5dbusaddons-bin libkf5dbusaddons-data libkf5dbusaddons5
- libkf5declarative-data libkf5dnssd-data libkf5dnssd5 libkf5doctools5
- libkf5globalaccel-bin libkf5globalaccel-data libkf5globalaccel5
- libkf5globalaccelprivate5 libkf5guiaddons5 libkf5i18n-data libkf5i18n5
- libkf5iconthemes-data libkf5idletime5 libkf5itemviews-data libkf5itemviews5
- libkf5jobwidgets-data libkf5jobwidgets5 libkf5kcmutils-data libkf5kiocore5
- libkf5kiontlm5 libkf5krosscore5 libkf5notifications-data
- libkf5notifications5 libkf5notifyconfig-data libkf5package-data
- libkf5package5 libkf5parts-data libkf5plotting5 libkf5service-bin
- libkf5service-data libkf5service5 libkf5solid5 libkf5solid5-data
- libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data
- libkf5wallet-data libkf5wallet5 libkf5waylandclient5
- libkf5widgetsaddons-data libkf5widgetsaddons5 libkf5windowsystem-data
- libkf5windowsystem5 libkf5xmlgui-bin libkf5xmlgui-data libksba8
- libkwalletbackend5-5 liblirc-client0 liblivemedia62 liblua5.1-0
- libmatroska6v5 libmbim-glib4 libmbim-proxy libmicrodns0 libmm-glib0
- libmpcdec6 libmpeg2-4 libmtp-common libmtp-runtime libmtp9 libneon27-gnutls
- libnfs11 libnpth0 libntfs-3g88 libodbc1 libopenjp2-7 libopenmpt-modplug1
- libopenmpt0 libpgtypes3 libphonon4qt5-4 libpj2 libpjlib-util2 libpjmedia2
- libpjnath2 libpjsip-simple2 libpjsip-ua2 libpjsip2 libplacebo4 libplymouth4
- libpolkit-agent-1-0 libpolkit-gobject-1-0 libpostproc54 libproxy-tools
- libpulse-mainloop-glib0 libqca-qt5-2 libqca-qt5-2-plugins libqmi-glib5
- libqmi-proxy libqt5script5 libqt5texttospeech5 libqt5x11extras5 libradcli4
- libresample1 libresid-builder0c2a libshine3 libsidplay2 libsoxr0 libspandsp2
- libspeexdsp1 libsqlite0 libsrtp2-1 libssh-gcrypt-4 libssl-doc libswresample2
- libswscale4 libsybdb5 libupnp6 liburiparser1 libusageenvironment3 libva-drm2
- libva-wayland2 libva-x11-2 libva2 libvdpau1 libvlc-bin libvlc5 libvlccore9
- libvo-amrwbenc0 libvoikko1 libvulkan1 libwebpmux3 libx264-152 libx265-146
- libxcb-xv0 libxvidcore4 libzvbi-common libzvbi0 mariadb-server-core-10.1
- mesa-va-drivers mesa-vdpau-drivers modemmanager oinkmaster phonon4qt5
- phonon4qt5-backend-vlc pinentry-curses procmail python-dbus python3-exabgp
- python3-yaml snort-common-libraries sonnet-plugins squashfs-tools
- squid-common squid-langpack sysstat torsocks usb-modeswitch
- usb-modeswitch-data va-driver-all vdpau-driver-all vlc-data vlc-plugin-base
- vlc-plugin-video-output xauth
- Use 'apt autoremove' to remove them.
- The following additional packages will be installed:
- anacron
- Suggested packages:
- default-mta | mail-transport-agent
- Recommended packages:
- cron | cron-daemon
- The following packages will be REMOVED:
- accountsservice adduser apt apt-utils asterisk asterisk-voicemail at
- avahi-daemon bluez chkrootkit cron dbus dirmngr dovecot-core dovecot-imapd
- dovecot-pop3d exabgp friendly-recovery fuse geoclue-2.0 gnupg gpg-wks-client
- ifupdown iio-sensor-proxy init initramfs-tools initramfs-tools-core kinit
- kio kpackagelauncherqml kross ktorrent language-selector-common
- libgeoclue-2-0 libkf5auth5 libkf5bookmarks5 libkf5configwidgets5
- libkf5declarative5 libkf5iconthemes-bin libkf5iconthemes5 libkf5kcmutils5
- libkf5kiofilewidgets5 libkf5kiowidgets5 libkf5krossui5 libkf5notifyconfig5
- libkf5parts-plugins libkf5parts5 libkf5quickaddons5 libkf5syndication5
- libkf5textwidgets5 libkf5wallet-bin libkf5webkit5 libkf5xmlgui5
- libktorrent-l10n libktorrent6 libnss-mdns libnss-systemd libpam-cap
- libpam-modules-bin libpam-systemd libpolkit-qt5-1-1
- linux-image-3.2.0-23-generic login mariadb-server mariadb-server-10.1 mdadm
- media-player-info mlocate netplan.io nplan ntfs-3g openssh-client
- openssh-server openssh-sftp-server passwd plymouth
- plymouth-theme-ubuntu-text postfix postgresql postgresql-10 postgresql-all
- postgresql-common postgresql-plperl-10 postgresql-plpython-10
- postgresql-plpython3-10 postgresql-pltcl-10 postgresql-server-dev-10
- postgresql-server-dev-all ppp pppconfig pppoeconf python-keyring
- python-secretstorage python3-keyring python3-secretstorage snapd snort
- snort-common snort-rules-default squid squid3 ssh-import-id ssl-cert
- stunnel4 sudo systemd systemd-sysv tor tor-geoipdb ubuntu-core-config
- ubuntu-core-launcher ubuntu-core-libs ubuntu-minimal ubuntu-standard udev
- uuid-runtime wpasupplicant
- The following NEW packages will be installed:
- anacron
- WARNING: The following essential packages will be removed.
- This should NOT be done unless you know exactly what you are doing!
- apt adduser (due to apt) init systemd-sysv (due to init) login
- 0 upgraded, 1 newly installed, 117 to remove and 0 not upgraded.
- Need to get 26.3 kB of archives.
- After this operation, 444 MB disk space will be freed.
- You are about to do something potentially harmful.
- To continue type in the phrase 'Yes, do as I say!'
- ?] n
- Abort.
- [9x]::[09:36 PM]:[/]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement