Ryzen PC on Debian Buster - I broke libpsl5 or dpkg

Kernels & Hardware, configuring network, installing services

Ryzen PC on Debian Buster - I broke libpsl5 or dpkg

Postby FrankensteinRyzen » 2018-06-10 02:14

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.

Mostly everything works except just 2 minor errors, 1 of which is because it has an AMD Radeon video card (only one I have unfortunately) which is necessary for OpenMediaVault's initial setup, after which it will be removed.

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

1) it was far easier than compiling and back-porting the kernel as my only other PC is an ancient Windows 7 machine. I could not just install Stretch and upgrade through Debian as Ryzen is completely unsupported in the kernel on Stretch.

2) My Internet (ISP) and LAN (router) are both extremely suspect. In addition to my WAN connection dropping frequently, I believe that my router is overheating or otherwise malfunctioning. 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: Select all
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: Select all
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/pkgrepo ... ge=libpsl5

When I tried to manually reinstall libpsl5:amd64 as instructed I received this error:
Code: Select all
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
FrankensteinRyzen
 
Posts: 5
Joined: 2018-06-10 01:45

Re: Ryzen PC on Debian Buster - I broke libpsl5 or dpkg

Postby llivv » 2018-06-10 04:00

since your running frankendebian - why not just hang windows desktop on top
All the systemd hooks are in place - kinda like macos on dragonfly only it cost less.

post what you get after running dpkg --configure -a

it should show why the lib is not getting configured and give the first hint about what else is involved in the error.
You've heard the old testers saying "when it breaks you get to keep all the parts"

than you can purge the lib to remove the very bad inconsistent state of the lib \
using the output from dpkg --configure -a as a guide to the begining of the conflict(s) resolution

no carrier
in the kitchen with Julia
The Past, Christmas Present and Future
Get on the Dbus to Bcan
User avatar
llivv
 
Posts: 5614
Joined: 2007-02-14 18:10
Location: cold storage

Re: Ryzen PC on Debian Buster - I broke libpsl5 or dpkg

Postby FrankensteinRyzen » 2018-06-10 07:12

llivv wrote:since your running frankendebian - why not just hang windows desktop on top
All the systemd hooks are in place - kinda like macos on dragonfly only it cost less.

post what you get after running dpkg --configure -a

it should show why the lib is not getting configured and give the first hint about what else is involved in the error.
You've heard the old testers saying "when it breaks you get to keep all the parts"

than you can purge the lib to remove the very bad inconsistent state of the lib \
using the output from dpkg --configure -a as a guide to the begining of the conflict(s) resolution

no carrier



ahh, I knew I was forgetting to include something!


Code: Select all
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: Select all
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: Select all
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 :)
FrankensteinRyzen
 
Posts: 5
Joined: 2018-06-10 01:45

Re: Ryzen PC on Debian Buster - I broke libpsl5 or dpkg

Postby Head_on_a_Stick » 2018-06-10 08:59

FrankensteinRyzen wrote:I could not just install Stretch and upgrade through Debian

Yes you can: load up an Ubuntu live USB that supports your CPU then follow https://www.debian.org/releases/stretch ... 03.en.html to install Debian to the disk and use the stretch-backports kernel & firmware.
ESTRAGON: We always find something, eh, Didi, to give us the impression we exist?
VLADIMIR (impatiently): Yes, yes, we're magicians.
User avatar
Head_on_a_Stick
 
Posts: 7893
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Ryzen PC on Debian Buster - I broke libpsl5 or dpkg

Postby FrankensteinRyzen » 2018-06-10 23:11

Head_on_a_Stick wrote:Yes you can: load up an Ubuntu live USB that supports your CPU then follow https://www.debian.org/releases/stretch ... 03.en.html to install Debian to the disk and use the stretch-backports kernel & firmware.


if what I made is a Franken Debian, these instructions would result in its progeny after multiple generations of direct inbreeding. For seemingly no gain, with the possibility of additional complications:

1) As explained above, network install is not an option. Must be from an image.

2) I already have the same packages, kernel, & firmware that you are suggesting, so what would this accomplish besides taking additional time to get me exactly to where I am now?
FrankensteinRyzen
 
Posts: 5
Joined: 2018-06-10 01:45

Re: Ryzen PC on Debian Buster - I broke libpsl5 or dpkg

Postby llivv » 2018-06-10 23:30

for a guy running testing you give up easy.

only you can decide to say yes to what apt shows
what it looks like to me is irrelevent
you are the doc

apt-get -f install
apt-get --purge
apt-get --reinstall

dpkg -P lib
dpkg --force-help
in the kitchen with Julia
The Past, Christmas Present and Future
Get on the Dbus to Bcan
User avatar
llivv
 
Posts: 5614
Joined: 2007-02-14 18:10
Location: cold storage

Re: Ryzen PC on Debian Buster - I broke libpsl5 or dpkg

Postby FrankensteinRyzen » 2018-06-11 00:35

llivv wrote:for a guy running testing you give up easy.

only you can decide to say yes to what apt shows
what it looks like to me is irrelevent
you are the doc

apt-get -f install
apt-get --purge
apt-get --reinstall

dpkg -P lib
dpkg --force-help



who said anything about giving up? :D

I'm just trying to avoid making things worse. At the same time, this is my first time using Linux of any kind so I'm unfamiliar with everything.

And some of these commands seem not to exist:
apt/apt-get
Code: Select all
root@debian:~# apt-get --reinstall
E: Command line option --reinstall is not understood in combination with the other options
root@debian:~# apt-get libpsl5 --reinstall
E: Command line option --reinstall is not understood in combination with the other options
root@debian:~# apt libpsl5 --reinstall
E: Command line option --reinstall is not understood in combination with the other options
root@debian:~# apt-get --reinstall libpsl5
E: Command line option --reinstall is not understood in combination with the other options
root@debian:~# apt --reinstall libpsl5
E: Command line option --reinstall is not understood in combination with the other options

root@debian:~# apt-get --purge
E: Command line option --purge is not understood in combination with the other options
root@debian:~# apt-get --reinstall libpsl5
E: Command line option --reinstall is not understood in combination with the other options
root@debian:~# apt --reinstall libpsl5
E: Command line option --reinstall is not understood in combination with the other options
root@debian:~# apt-get -reinstall libpsl5
E: Command line option 'r' [from -reinstall] is not understood in combination with the other options.
root@debian:~# apt-get -f install libpsl5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libpsl5 is already the newest version (0.20.2-1).
libpsl5 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 55 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.
Do you want to continue? [Y/n] y
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

Code: Select all
root@debian:~# dpkg --force-help
dpkg forcing options - control behaviour when problems found:
  warn but continue:  --force-<thing>,<thing>,...
  stop with error:    --refuse-<thing>,<thing>,... | --no-force-<thing>,...
 Forcing things:
  [!] all                Set all force options
  [*] downgrade          Replace a package with a lower version
      configure-any      Configure any package which may help this one
      hold               Process incidental packages even when on hold
      not-root           Try to (de)install things even when not root
      bad-path           PATH is missing important programs, problems likely
      bad-verify         Install a package even if it fails authenticity check
      bad-version        Process even packages with wrong versions
      overwrite          Overwrite a file from one package with another
      overwrite-diverted Overwrite a diverted file with an undiverted version
  [!] overwrite-dir      Overwrite one package's directory with another's file
  [!] unsafe-io          Do not perform safe I/O operations when unpacking
  [!] script-chrootless  Do not chroot into maintainer script environment
  [!] confnew            Always use the new config files, don't prompt
  [!] confold            Always use the old config files, don't prompt
  [!] confdef            Use the default option for new config files if one
                         is available, don't prompt. If no default can be found,
                         you will be prompted unless one of the confold or
                         confnew options is also given
  [!] confmiss           Always install missing config files
  [!] confask            Offer to replace config files with no new versions
  [!] architecture       Process even packages with wrong or no architecture
  [!] breaks             Install even if it would break another package
  [!] conflicts          Allow installation of conflicting packages
  [!] depends            Turn all dependency problems into warnings
  [!] depends-version    Turn dependency version problems into warnings
  [!] remove-reinstreq   Remove packages which require installation
  [!] remove-essential   Remove an essential package

WARNING - use of options marked [!] can seriously damage your installation.
Forcing options marked [*] are enabled by default.




root@debian:~# dpkg --force --configure -a
dpkg: error: unknown force/refuse option '--configure'

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
root@debian:~# dpkg --force-configure
dpkg: error: unknown force/refuse option 'configure'
Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
root@debian:~# dpkg --configure--force
dpkg: error: unknown option --configure--force




root@debian:~# dpkg --configure -a
dpkg: error: dpkg status database is locked by another process






root@debian:~# dpkg --force-remove-reinstreq
dpkg: error: need an action option

root@debian:~# dpkg --force-remove-reinstreq libpsl5
dpkg: error: need an action option
=

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
root@debian:~#




and now I'm getting a new error despite (seemingly) changing nothing

Code: Select all
root@debian:~# apt remove libpsl5
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?
root@debian:~# apt purge
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?
root@debian:~# rm /var/lib/apt/lists/lock
root@debian:~# rm /var/cache/apt/archives/lock
root@debian:~# apt remove libpsl5
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?


As for being apprehensive despite running testing -- Nowhere in the official Debian documentation is it stated that the stable release only supports many years-old, legacy hardware. I found myself on this road unexpectedly despite purchasing hardware that has been available at retail for well over a year and perusing Debian documentation quite intensively. I expected to run into snags with software (and hopefully in the future), not hardware and firmware and at the very beginning.
FrankensteinRyzen
 
Posts: 5
Joined: 2018-06-10 01:45

Re: Ryzen PC on Debian Buster - I broke libpsl5 or dpkg

Postby Head_on_a_Stick » 2018-06-11 05:13

FrankensteinRyzen wrote:if what I made is a Franken Debian

No, my suggestion would result in a Debian stable system running the stretch-backports kernel & firmware, which should support your hardware with no need to deal with the rolling b0rk-fest that is testing/unstable ;)
ESTRAGON: We always find something, eh, Didi, to give us the impression we exist?
VLADIMIR (impatiently): Yes, yes, we're magicians.
User avatar
Head_on_a_Stick
 
Posts: 7893
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Ryzen PC on Debian Buster - I broke libpsl5 or dpkg

Postby FrankensteinRyzen » 2018-06-11 06:50

Head_on_a_Stick wrote:
FrankensteinRyzen wrote:if what I made is a Franken Debian

No, my suggestion would result in a Debian stable system running the stretch-backports kernel & firmware, which should support your hardware with no need to deal with the rolling b0rk-fest that is testing/unstable ;)


Which backport packages, in addition to amd64-microcode, do I need? The hardware I have is:
AMD Ryzen 3 1200
ASRock AB350 ITX
AMD Radeon R5 220



It's unclear from both
https://wiki.debian.org/GraphicsCard and https://support.amd.com/en-us/download/linux
which driver package I need for my graphics card

and it's unclear to me whether I need these backport packages as well:

firmware-misc-nonfree
kernel-common
kernel-package
linux-headers
linux-image-amd64




I should also note that Ubuntu -> Stretch results in me getting the error mentioned here:
https://bbs.archlinux.org/viewtopic.php?id=125482
but per Don't Break Debian I don't know what, if anything, I can do about it.
FrankensteinRyzen
 
Posts: 5
Joined: 2018-06-10 01:45

Re: Ryzen PC on Debian Buster - I broke libpsl5 or dpkg

Postby llivv » 2018-06-11 13:48

The most common reason for the cache lock message is that you have another instance of apt(-get) or another package manager running and holding the lock file open.
This prevents any user(s) on the system from running more than one instance of package management at a time.

It's not wise to run commands posted in forums without READING THE MANUAL page(s) to confirm the correctness of the command being run
before diving into a command with variables and/or added parameters.

Almost every command you used needed to be run with something eise in the commandline
as you should be able to see from the messages apt shows you.

apt-get install --reinstall (your lib name)
apt-get remove --reinstall (your lib name)

dpkg -P (your lib name)
Last edited by llivv on 2018-06-12 11:32, edited 1 time in total.
in the kitchen with Julia
The Past, Christmas Present and Future
Get on the Dbus to Bcan
User avatar
llivv
 
Posts: 5614
Joined: 2007-02-14 18:10
Location: cold storage

Re: Ryzen PC on Debian Buster - I broke libpsl5 or dpkg

Postby Head_on_a_Stick » 2018-06-11 19:56

FrankensteinRyzen wrote:Which backport packages, in addition to amd64-microcode, do I need? The hardware I have is:
AMD Ryzen 3 1200
ASRock AB350 ITX
AMD Radeon R5 220

I would try the kernel, firmware-linux-nonfree and maybe libgl1-mesa-dri as well.

which driver package I need for my graphics card

Hobson's choice in your case: there are no backports for xf86-video-{ati,amdgpu}.

it's unclear to me whether I need these backport packages as well:

firmware-misc-nonfree

Check the hardware list on the package page:

https://packages.debian.org/stretch/fir ... sc-nonfree
kernel-common
kernel-package
linux-headers
linux-image-amd64

I can't find a "kernel-common" or "kernel-package" package in the Debian repositories :?

The kernel headers are only needed to compile custom kernel modules (such as VirtualBox drivers) so you probably don't need those.

The linux-image-amd64 (meta)package is the one you want, it always depends on the latest kernel version available.
I should also note that Ubuntu -> Stretch results in me getting the error mentioned here:
https://bbs.archlinux.org/viewtopic.php?id=125482

You will have to be a little more specific than that — the actual `debootstrap` command used (and the subsequent configuration) would be a good start.

It is possible to install a functional Debian stable system from an Ubuntu live environment (provided `debootstrap` is directed to the Debian repositories), I usually do it from Arch and it works just fine.
ESTRAGON: We always find something, eh, Didi, to give us the impression we exist?
VLADIMIR (impatiently): Yes, yes, we're magicians.
User avatar
Head_on_a_Stick
 
Posts: 7893
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Ryzen PC on Debian Buster - I broke libpsl5 or dpkg

Postby stevepusser » 2018-06-11 20:00

AMD graphics all need firmware-amd-graphics...hopefully your card is supported by the drivers and firmware available in backports.

Buster by itself isn't a FrankenDebian---it's not even Debian, only the testing ground for the upcoming release. You get Frankened by messing up stable.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.6, Pale Moon 28.1.0, wine-staging 3.16, qBittorrent 4.1.3, Linux kernel 4.18.8, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9906
Joined: 2009-10-06 05:53


Return to System configuration

Who is online

Users browsing this forum: kedaha and 5 guests

fashionable