Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple errors. Step 10 didn't show the results. #19

Open
Steven-Hammon opened this issue Sep 18, 2024 · 2 comments
Open

Multiple errors. Step 10 didn't show the results. #19

Steven-Hammon opened this issue Sep 18, 2024 · 2 comments

Comments

@Steven-Hammon
Copy link

Steven-Hammon commented Sep 18, 2024

@Kademo15

Not sure if we are supposed to get these errors or not. If we are then cool. If we aren't then not cool. But I have no idea if they are supposed to be errors or not. Like "Step 3. Install any pending updates. sudo apt-get update" I assume that's in "Terminal" correct?

So if it says, "Caution, entering any command will destroy your computer. Close this window now if you want to save your system." Then I ignore that and go to the next step and put in "sudo apt-get dist-upgrade"

With utterly no clue as to what it's supposed to be doing, I have no idea if it's working or not.
Is there a chance to take screenshots of the output it's supposed to do and show that in the steps? That way people can look at it and go "Wait amdgpu-uninstall: command not found was not meant to come up." Then they could actually google that actual issue and probably find out why.

I installed ubuntu-22.04.5-desktop-amd64.iso because Ubuntu® 22.04.3 LTS doesn't exist in that https://releases.ubuntu.com/jammy/ link. It updated to Ubuntu 24.04.1 LTS. It wouldn't let me install on my NVME or my other drives so I had to install it on an old 1tb hard drive.

Had no idea how to do my password since it didn't show any changes when I typed. I assumed my keyboard wasn't working. Had to google it and found out that it doesn't show anything when you type but it is actually going in there.

So I worked out my username by guessing. Took me a few goes. Not sure if other people would know how to work that out.

So this is my Terminal information:

To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.

steven@sirha:$ sudo apt-get update
[sudo] password for steven:
Sorry, try again.
[sudo] password for steven:
Hit:1 http://au.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://au.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://au.archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease
Reading package lists... Done
steven@sirha:
$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
mailcap
Use 'sudo apt autoremove' to remove it.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
steven@sirha:$ sudo usermod -aG video,render steven@sirha
usermod: user 'steven@sirha' does not exist
steven@sirha:
$ sudo usermod -aG video,render sirha
usermod: user 'sirha' does not exist
steven@sirha:$ sudo usermod -aG video,render steven
steven@sirha:
$ amdgpu-uninstall
amdgpu-uninstall: command not found
steven@sirha:$ sudo amdgpu-uninstall
sudo: amdgpu-uninstall: command not found
steven@sirha:
$ sudo apt-get purge amdgpu-install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package amdgpu-install
steven@sirha:~$ wget https://repo.radeon.com/amdgpu-install/6.0.2/ubuntu/jammy/amdgpu-install_6.0.60002-1_all.deb
--2024-09-18 13:17:10-- https://repo.radeon.com/amdgpu-install/6.0.2/ubuntu/jammy/amdgpu-install_6.0.60002-1_all.deb
Resolving repo.radeon.com (repo.radeon.com)... 202.7.187.112, 202.7.187.115, 2407:8800:bf00:1c1::ca07:bb73, ...
Connecting to repo.radeon.com (repo.radeon.com)|202.7.187.112|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16744 (16K) [application/octet-stream]
Saving to: ‘amdgpu-install_6.0.60002-1_all.deb’

amdgpu-install_6.0. 100%[===================>] 16.35K --.-KB/s in 0.002s

2024-09-18 13:17:11 (9.69 MB/s) - ‘amdgpu-install_6.0.60002-1_all.deb’ saved [16744/16744]

steven@sirha:$ sudo apt install ./amdgpu-install_6.0.60002-1_all.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'amdgpu-install' instead of './amdgpu-install_6.0.60002-1_all.deb'
The following package was automatically installed and is no longer required:
mailcap
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
dialog
The following NEW packages will be installed:
amdgpu-install dialog
0 to upgrade, 2 to newly install, 0 to remove and 0 not to upgrade.
Need to get 303 kB/320 kB of archives.
After this operation, 1,334 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 /home/steven/amdgpu-install_6.0.60002-1_all.deb amdgpu-install all 6.0.60002-1718217.22.04 [16.7 kB]
Get:2 http://au.archive.ubuntu.com/ubuntu noble/universe amd64 dialog amd64 1.3-20240101-1 [303 kB]
Fetched 303 kB in 0s (1,301 kB/s)
Selecting previously unselected package amdgpu-install.
(Reading database ... 204352 files and directories currently installed.)
Preparing to unpack .../amdgpu-install_6.0.60002-1_all.deb ...
Unpacking amdgpu-install (6.0.60002-1718217.22.04) ...
Selecting previously unselected package dialog.
Preparing to unpack .../dialog_1.3-20240101-1_amd64.deb ...
Unpacking dialog (1.3-20240101-1) ...
Setting up dialog (1.3-20240101-1) ...
Setting up amdgpu-install (6.0.60002-1718217.22.04) ...
Processing triggers for man-db (2.12.0-4build2) ...
N: Download is performed unsandboxed as root as file '/home/steven/amdgpu-install_6.0.60002-1_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
steven@sirha:
$ amdgpu-install -y --usecase=graphics,rocm,hip
Hit:1 http://au.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://au.archive.ubuntu.com/ubuntu noble-updates InRelease
Get:3 https://repo.radeon.com/amdgpu/6.0.2/ubuntu jammy InRelease [5,465 B]
Get:4 https://repo.radeon.com/rocm/apt/6.0.2 jammy InRelease [2,617 B]
Hit:5 http://au.archive.ubuntu.com/ubuntu noble-backports InRelease
Get:6 https://repo.radeon.com/amdgpu/6.0.2/ubuntu jammy/main amd64 Packages [13.9 kB]
Hit:7 http://security.ubuntu.com/ubuntu noble-security InRelease
Get:8 https://repo.radeon.com/amdgpu/6.0.2/ubuntu jammy/main i386 Packages [12.0 kB]
Get:9 https://repo.radeon.com/rocm/apt/6.0.2 jammy/main amd64 Packages [32.1 kB]
Fetched 66.1 kB in 2s (26.9 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-6.8.0-45-generic is already the newest version (6.8.0-45.45).
linux-headers-6.8.0-45-generic set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
rocm-gdb : Depends: libtinfo5 but it is not installable
Depends: libncurses5 but it is not installable
Depends: libpython3.10 but it is not installable or
libpython3.8 but it is not installable
E: Unable to correct problems, you have held broken packages.
steven@sirha:~$

Restarted Computer:

steven@sirha:$ dkms status
Command 'dkms' not found, but can be installed with:
sudo apt install dkms
steven@sirha:
$

I installed "sudo apt install dkms"
Then repeated the command "dkms status" but it does nothing.

steven@sirha:$ dkms status
steven@sirha:
$ dkms status
steven@sirha:~$

@Kademo15
Copy link
Collaborator

@Steven-Hammon You could add me on discord under the name kademo15 if you have that program, if not can you propose another software to communicate. I can see where the problem lies and walk you through it step by step and then update the guide based on the issues we encountered. This guide is a bit outdated see the older ubuntu version that you mentioned.

@ricperry
Copy link

ROCm is open source. You can install the full ROCm stack from the default Ubuntu repositories. Follow my guide here: https://www.reddit.com/r/comfyui/comments/1d8d1k6/rocm_ubuntu_2404_basic_comfyui_setup_instructions/ and avoid the hassle of the AMD-provided solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants