Unable to register Ubuntu 22.04

Problem:
can’t able to install “python3-subscription-manager_1.28.24-8_amd64.deb” on ubuntu 22.04. And also looking the correct process to attach with foreman.

Expected outcome:
attached ubuntu 22.04 with foreman

Foreman and Proxy versions:
3.3.0

Foreman and Proxy plugin versions:
foreman-tasks 6.0.0
foreman_remote_execution 7.1.1
katello 4.5.0
Distribution and version:
Ubuntu 22.04.1 LTS
Other relevant data:
root@ubuntu-client01:/home/imtiaza1# apt install python3-subscription-manager_1.28.24-8_amd64.deb
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package python3-subscription-manager_1.28.24-8_amd64.deb

I have enabled universe repo but still no luck.

Finally fix the repo issue and able to attach with foreman… but I am not sure how to check repos “i.e yum repolist” equivalent command for ubuntu?

apt doesn’t have an equivalent to yum repolist. You can look in /etc/apt/sources.list /etc/apt/sources.list.d/*. There is subscription-manager repos for katello provided repos.

It doesn’t really look the same as with yum/dnf repolist, but there is apt-cache policy which shows all enabled repos by priority

But am also with rgp there, subscription-manager repos shows kind of what’s needed :+1:

Thanks @lumarel !!!

1 Like