LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Debian + Ryzen, minor hiccups with dpkg and libpsl5 (https://www.linuxquestions.org/questions/debian-26/debian-ryzen-minor-hiccups-with-dpkg-and-libpsl5-4175631664/)

BusterBluthRyzen 06-10-2018 07:19 PM

Debian + Ryzen, minor hiccups with dpkg and libpsl5
 
I built a Ryzen PC that will be running OpenMediaVault atop Debian as a headless server.

At the moment it's running Debian Buster from the Buster Official Snapshot amd64 DVD Binary-1 20180604 DVD image, and apt is pulling from the buster contrib main non-free repo.

Now before you criticize me for creating a FrankenDebian I have 2 reasons:

1) I could not just install Stretch and upgrade/backport kernel through Debian, as Ryzen is completely unsupported in the kernel on Stretch (I learned this by trying to do exactly that and getting an unbootable system lol)

2) My Internet (ISP) and LAN (router) do not work well enough to allow for network installation, it must be done through a disc image. I'm moving in 3-6 months and will be getting a new router then but until then it's much easier to just deal with it. (yes, everything is hard-wired, and rebooted daily)



anyway, it seems I broke libpsl5 and/or dpkg itself. When I try to interact with apt I get some errors:

Code:

Need to get 53.7 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian buster/main amd64 libpsl5 amd64 0.20.2-1 [53.7 kB]
Fetched 53.7 kB in 1s (37.9 kB/s)
dpkg: error processing package libpsl5:amd64 (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
Errors were encountered while processing:
 libpsl5:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

dpkg -l lists this as the only installed pkg with error(s) flagged:

Code:

iUR libpsl5:amd64              0.20.2-1          amd64              Library for Public Suffix List (shared libraries)
there are no bugs reported here

https://bugs.debian.org/cgi-bin/pkgr...ackage=libpsl5

When I tried to manually reinstall libpsl5:amd64 as instructed I received this error:
Code:

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

unfortunately this winds up in a circle:


Code:

root@debian:~# dpkg --configure -a
dpkg: error processing package libpsl5:amd64 (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
Errors were encountered while processing:
 libpsl5:amd64


Code:

root@debian:~# apt purge
Reading package lists... Done
Building dependency tree     
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
1 not fully installed or removed.
Need to get 0 B/53.7 kB of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: error processing package libpsl5:amd64 (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
Errors were encountered while processing:
 libpsl5:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)


Code:

root@debian:~# apt remove libpsl5
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following packages were automatically installed and are no longer required:
  accountsservice apg bogofilter bogofilter-bdb bogofilter-common bolt
  brasero-common cdrdao cheese-common coinor-libcbc3 coinor-libcgl1
  coinor-libclp1 coinor-libcoinmp1v5 coinor-libcoinutils3v5 coinor-libosi1v5
  dleyna-server dnsmasq-base evolution-common evolution-data-server-common
  fonts-liberation2 fonts-opensymbol freepats gedit-plugin-bookmarks
  gedit-plugin-bracket-completion gedit-plugin-character-map
  gedit-plugin-code-comment gedit-plugin-color-picker
  gedit-plugin-color-schemer gedit-plugin-commander gedit-plugin-dashboard
  gedit-plugin-draw-spaces gedit-plugin-find-in-files gedit-plugin-join-lines
  gedit-plugin-multi-edit gedit-plugin-smart-spaces gedit-plugin-synctex
  gedit-plugin-terminal gedit-plugin-translate gedit-plugin-word-completion
  gedit-plugin-zeitgeist gedit-plugins-common gir1.2-accountsservice-1.0
  gir1.2-gck-1 gir1.2-gcr-3 gir1.2-gdm-1.0 gir1.2-gepub-0.6 gir1.2-gmenu-3.0
  gir1.2-gnomebluetooth-1.0 gir1.2-gucharmap-2.90 gir1.2-ibus-1.0
  gir1.2-mediaart-2.0 gir1.2-mutter-2 gir1.2-nm-1.0 gir1.2-nma-1.0
  gir1.2-packagekitglib-1.0 gir1.2-polkit-1.0 gir1.2-tracker-2.0
  gir1.2-upowerglib-1.0 gir1.2-vte-2.91 gir1.2-zeitgeist-2.0 gir1.2-zpj-0.0
  gnome-control-center-data gnome-session-bin gnome-session-common
  gnome-software-common gnome-todo-common gstreamer1.0-clutter-3.0 hplip-data
  hyphen-en-us iputils-arping libabw-0.1-1 libaccountsservice0
  libappstream-glib8 libapr1 libaprutil1 libaprutil1-dbd-sqlite3
  libaprutil1-ldap libart-2.0-2 libayatana-appindicator3-1
  libayatana-ido3-0.4-0 libayatana-indicator3-7 libboost-atomic1.62.0
  libboost-chrono1.62.0 libboost-date-time1.62.0 libboost-filesystem1.62.0
  libboost-iostreams1.62.0 libboost-locale1.62.0 libboost-system1.62.0
  libboost-thread1.62.0 libburn4 libcamel-1.2-61 libcdio-cdda2
  libcdio-paranoia2 libclucene-contribs1v5 libclucene-core1v5 libcryptui0a
  libcue2 libdazzle-1.0-0 libdbusmenu-glib4 libdbusmenu-gtk3-4 libdc1394-22
  libdca0 libde265-0 libdee-1.0-4 libdleyna-connector-dbus-1.0-1
  libdleyna-core-1.0-3 libdmapsharing-3.0-2 libe-book-0.1-1 libenca0 libeot0
  libepubgen-0.1-1 libetonyek-0.1-1 libexttextcat-2.0-0 libexttextcat-data
  libfaad2 libfluidsynth1 libfolks-telepathy25 libfreehand-0.1-1 libfwupd2
  libgcab-1.0-0 libgdata-common libgdm1 libgepub-0.6-0 libgexiv2-2 libgif7
  libgmime-3.0-0 libgnome-autoar-gtk-0-0 libgnome-menu-3-0 libgnome-todo
  libgom-1.0-0 libgpgmepp6 libgpod-common libgpod4
  libgstreamer-plugins-bad1.0-0 libgtkspell3-3-0 libgucharmap-2-90-7
  libgupnp-igd-1.0-4 libhttp-parser2.8 libibus-1.0-5 libiptcdata0 libisofs6
  libjte1 libkate1 liblangtag-common liblangtag1 liblilv-0-0 liblirc-client0
  liblua5.2-0 liblua5.3-0 libmhash2 libminiupnpc17 libmission-control-plugins0
  libmjpegutils-2.1-0 libmms0 libmodplug1 libmpcdec6 libmpeg2encpp-2.1-0
  libmplex2-2.1-0 libmspub-0.1-1 libmtp-common libmtp-runtime libmtp9
  libmwaw-0.3-3 libmythes-1.2-0 libnatpmp1 libndp0 libnfs11 libnghttp2-14
  libnice10 libnma0 libnss-myhostname libodfgen-0.1-1 libofa0 libopenal-data
  libopenal1 liborcus-0.13-0 libosinfo-1.0-0 libpagemaker-0.0-0
  libperl4-corelibs-perl libphonenumber7 libprotobuf10 libpst4
  libquvi-scripts-0.9 libqxp-0.0-0 libreoffice-common libreoffice-style-galaxy
  libreoffice-style-tango libreofficekit-data librtmp1 libsane-hpaio
  libserd-0-0 libsgutils2-2 libsord-0-0 libsoundtouch1 libspandsp2
  libsratom-0-0 libsrtp2-1 libssh2-1 libstaroffice-0.0-0 libtagc0 libteamdctl0
  libtelepathy-glib0 libtotem-plparser-common libtracker-miner-2.0-0
  libvo-aacenc0 libvo-amrwbenc0 libvulkan1 libwildmidi-config libwildmidi2
  libwps-0.4-4 libxapian30 libxmlsec1 libxmlsec1-nss libyajl2 libytnef0
  libzapojit-0.0-0 libzbar0 libzeitgeist-2.0-0 libzmf-0.0-0 lp-solve lua-bitop
  lua-expat lua-json lua-lpeg lua-socket media-player-info
  mobile-broadband-provider-info mousetweaks mythes-en-us osinfo-db
  publicsuffix python3-debian python3-httplib2 python3-mako python3-markupsafe
  python3-olefile python3-pexpect python3-pil python3-ptyprocess
  python3-renderpm python3-reportlab python3-reportlab-accel realmd
  rhythmbox-data seahorse-daemon shotwell-common switcheroo-control
  telepathy-mission-control-5 totem-common transmission-common uno-libs3 ure
  xwayland zeitgeist-core
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  apache2-bin cheese chrome-gnome-shell evolution evolution-data-server
  evolution-plugin-bogofilter evolution-plugin-pstimport evolution-plugins
  foomatic-db-engine gdm3 gedit-plugin-git gedit-plugins gir1.2-gdata-0.0
  gir1.2-ggit-1.0 gir1.2-grilo-0.3 gir1.2-lokdocview-0.1 gir1.2-rb-3.0
  gir1.2-totem-1.0 gir1.2-totemplparser-1.0 gnome gnome-calendar
  gnome-contacts gnome-control-center gnome-core gnome-documents gnome-music
  gnome-online-miners gnome-session gnome-shell gnome-shell-extensions
  gnome-software gnome-todo gnome-user-share gnome-video-effects
  grilo-plugins-0.3 gstreamer1.0-plugins-bad gvfs-backends hplip
  libapache2-mod-dnssd libbrasero-media3-1 libcheese-gtk25 libcheese8
  libcmis-0.5-5v5 libcurl3-gnutls libcurl4 libebackend-1.2-10 libebook-1.2-19
  libebook-contacts-1.2-2 libecal-1.2-19 libedata-book-1.2-25
  libedata-cal-1.2-28 libedataserver-1.2-23 libedataserverui-1.2-2
  libevolution libfolks-eds25 libgdata22 libgit2-26 libgit2-glib-1.0-0
  libgrilo-0.3-0 liblibreofficekitgtk liboauth0 libpsl5 libquvi-0.9-0.9.3
  libraptor2-0 librasqal3 librdf0 libreoffice-avmedia-backend-gstreamer
  libreoffice-base-core libreoffice-calc libreoffice-core libreoffice-draw
  libreoffice-gnome libreoffice-gtk3 libreoffice-help-en-us
  libreoffice-impress libreoffice-math libreoffice-writer librhythmbox-core10
  libtotem-plparser18 libtotem0 nautilus-extension-brasero network-manager
  network-manager-gnome printer-driver-postscript-hp python3-debianbts
  python3-pycurl python3-pysimplesoap python3-reportbug
  python3-software-properties python3-uno reportbug rhythmbox
  rhythmbox-plugin-cdrecorder rhythmbox-plugins shotwell
  software-properties-common software-properties-gtk task-gnome-desktop totem
  totem-plugins tracker-extract tracker-miner-fs transmission-gtk unoconv wget
0 upgraded, 0 newly installed, 105 to remove and 31 not upgraded.
1 not fully installed or removed.
After this operation, 369 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

Should I choose yes? I thought about trying it, but I didn't want to put extra nails in my FrankenDebian's head and make it worse :)


Thanks for any assistance :)

hydrurga 06-12-2018 06:03 AM

Try throwing this at it:

Code:

sudo dpkg --purge libpsl5
If that doesn't work, try this:

Code:

sudo dpkg --purge --force-all libpsl5
if either of these work, check your system with:

Code:

dpkg --audit

sudo apt-get clean



All times are GMT -5. The time now is 06:53 PM.