The package system is broken

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Gamey
Level 1
Level 1
Posts: 2
Joined: Fri Mar 22, 2019 6:58 pm

The package system is broken

Post by Gamey »

I will start with what i did before that happened.

I tried to install the official AMD drivers for my rx480 and found multible tutorials that tolled me to update the kernel first (i tried it without and had to reinstall my whole system) so i updated to the Linux Kernel 4.18.0-14 and installed the amd drivers after and after that i tried to remove the base drivers but all i got was The package system is broken

full massage:

Code: Select all

The package system is broken

The following packages have unmet dependencies:



amdgpu-dkms: Depends: amdgpu-core but it is not installed
amdgpu-lib: Depends: amdgpu-core (= 18.50-725072) but it is not installed
glamor-amdgpu: Depends: amdgpu-core but it is not installed
               Depends: libc6 (>= 2.14) but 2.27-3ubuntu1 is installed
gst-omx-amdgpu: Depends: libc6 (>= 2.14) but 2.27-3ubuntu1 is installed
                Depends: libglib2.0-0 (>= 2.37.3) but 2.56.3-0ubuntu0.18.04.1 is installed
                Depends: libgstreamer-plugins-base1.0-0 (>= 1.6.0) but 1.14.1-1ubuntu1~ubuntu18.04.1 is installed
                Depends: amdgpu-core but it is not installed
libdrm-amdgpu-common: Depends: amdgpu-core but it is not installed
libdrm2-amdgpu: Depends: amdgpu-core but it is not installed
libdrm2-amdgpu:i386: Depends: amdgpu-core but it is not installed
libegl1-amdgpu-mesa: Depends: amdgpu-core but it is not installed
libegl1-amdgpu-mesa:i386: Depends: amdgpu-core but it is not installed
libgbm1-amdgpu: Depends: amdgpu-core but it is not installed
libgbm1-amdgpu:i386: Depends: amdgpu-core but it is not installed
libgl1-amdgpu-mesa-dri: Depends: amdgpu-core but it is not installed
libgl1-amdgpu-mesa-dri:i386: Depends: amdgpu-core but it is not installed
libglapi-amdgpu-mesa: Depends: amdgpu-core but it is not installed
libglapi-amdgpu-mesa:i386: Depends: amdgpu-core but it is not installed
libllvm7.0-amdgpu: Depends: amdgpu-core but it is not installed
libllvm7.0-amdgpu:i386: Depends: amdgpu-core but it is not installed
libwayland-amdgpu-client0: Depends: libc6 (>= 2.14) but 2.27-3ubuntu1 is installed
                           Depends: libffi6 (>= 3.0.4) but 3.2.1-8 is installed
                           Depends: amdgpu-core but it is not installed
libwayland-amdgpu-client0:i386: Depends: libc6 (>= 2.10) but 2.27-3ubuntu1 is installed
                                Depends: libffi6 (>= 3.0.4) but 3.2.1-8 is installed
                                Depends: amdgpu-core but it is not installed
libwayland-amdgpu-egl1: Depends: libc6 (>= 2.2.5) but 2.27-3ubuntu1 is installed
                        Depends: amdgpu-core but it is not installed
libwayland-amdgpu-egl1:i386: Depends: libc6 (>= 2.1.3) but 2.27-3ubuntu1 is installed
                             Depends: amdgpu-core but it is not installed
libwayland-amdgpu-server0: Depends: libc6 (>= 2.14) but 2.27-3ubuntu1 is installed
                           Depends: libffi6 (>= 3.0.4) but 3.2.1-8 is installed
                           Depends: amdgpu-core but it is not installed
libwayland-amdgpu-server0:i386: Depends: libc6 (>= 2.10) but 2.27-3ubuntu1 is installed
                                Depends: libffi6 (>= 3.0.4) but 3.2.1-8 is installed
                                Depends: amdgpu-core but it is not installed
mesa-amdgpu-va-drivers: Depends: amdgpu-core but it is not installed
mesa-amdgpu-va-drivers:i386: Depends: amdgpu-core but it is not installed
mesa-amdgpu-vdpau-drivers: Depends: amdgpu-core but it is not installed
mesa-amdgpu-vdpau-drivers:i386: Depends: amdgpu-core but it is not installed
xserver-xorg-amdgpu-video-amdgpu: Depends: amdgpu-core but it is not installed
I am not the most skilled Linux user and the people in the IRC chat kicked me and werent helpful at all in general so i was thinking why not ask here hope someone can help me
Last edited by Moem on Fri Mar 22, 2019 7:17 pm, edited 1 time in total.
Reason: Adding [code] tags. They retain some formatting that makes your output easier to read.
Gamey
Level 1
Level 1
Posts: 2
Joined: Fri Mar 22, 2019 6:58 pm

Re: The package system is broken

Post by Gamey »

Oh and thats what i get from sudo apt-get install -f

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  amdgpu-core
The following NEW packages will be installed:
  amdgpu-core
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
78 not fully installed or removed.
Need to get 0 B/2.348 B of archives.
After this operation, 12,3 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-core 18.50-725072 [2.348 B]
(Reading database ... 354758 files and directories currently installed.)
Preparing to unpack .../amdgpu-core_18.50-725072_all.deb ...
ERROR: This package can only be installed on Ubuntu 18.04.
dpkg: error processing archive /var/opt/amdgpu-pro-local/./amdgpu-core_18.50-725072_all.deb (--unpack):
 new amdgpu-core package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/opt/amdgpu-pro-local/./amdgpu-core_18.50-725072_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bennili
Level 1
Level 1
Posts: 1
Joined: Sun Mar 24, 2019 3:24 pm

Re: The package system is broken

Post by Bennili »

I had the same issue.
I found this Forum-thread:
https://ubuntuforums.org/showthread.php ... 843&page=3
His problem is a bit different, but this lines solved my problem:
sudo dpkg --configure -a
sudo dpkg --force-all -P NAME_OF_THE_DAMAGED_PACKAGE (maybe more than one. I had to run this line three times)
S_M_Fahim
Level 1
Level 1
Posts: 4
Joined: Tue Oct 08, 2019 8:48 am

Re: The package system is broken

Post by S_M_Fahim »

Bennili wrote:
Sun Mar 24, 2019 3:35 pm
I had the same issue.
I found this Forum-thread:
https://ubuntuforums.org/showthread.php ... 843&page=3
His problem is a bit different, but this lines solved my problem:
sudo dpkg --configure -a
sudo dpkg --force-all -P NAME_OF_THE_DAMAGED_PACKAGE (maybe more than one. I had to run this line three times)
This helped me! Thanks!
sleeper12
Level 11
Level 11
Posts: 3625
Joined: Thu May 25, 2017 3:22 pm

Re: The package system is broken

Post by sleeper12 »

It might help us to see your system details. Post results of:

Code: Select all

 inxi -Fxz 
Post Reply

Return to “Newbie Questions”