Hello. I picked toolbox and version 34 above, since they are making the most sense, but I feel the problem exists elsewhere. Description of problem: When I create container based on Fedora 34, it pulls packages from Rawhide branch. Version-Release number of selected component (if applicable): It's on every distro, that uses toolbox. How reproducible: Always Steps to Reproduce: 1. toolbox create --distro fedora --release 34 --container test34 2. toolbox enter test34 3. sudo su - 4. dnf repolist Actual results: fedora-cisco-openh264 rawhide rawhide-modular Expected results: Resitories from 34 branch. Additional info: Packages from Rawhide are available and they are installing fine, but F34 containers doesn't have Rawhide gpg keys installed.
I suspect that you had an old fedora-toolbox:34 image cached locally on your system from the time when Fedora 34 was Rawhide. See 'toolbox list'. I'd suggest deleting the image and re-creating the container, which will pull a new image as part of the process.
Thanks for a suggestion. I checked just now: # docker system prune --all # toolbox create --distro fedora --release 34 --container test11 # toolbox enter test11 # sudo su - # dnf update [pulls rawhide packages] # toolbox list 7f6c60b1df02 registry.fedoraproject.org/f34/fedora-toolbox:34 6 months ago So yes, I'm pulling rather old image of Fedora 34, but I still don't know why.
Try using the rm and rmi commands of toolbox(1) or podman(1). Toolbox uses Podman underneath, and Docker has an entirely different store for containers and images.
Sorry, it was "podman system prune -all". I really don't know what I pasted here.
Ok. The manual says that 'system prune' is meant to remove 'unused containers'. I am not sure, off hand, what 'unused' means in this context. I'd use 'toolbox list' to check if it did actually remove the old image and the container. If it didn't, I'd use 'rm' and 'rmi' to ensure that.
Thank You for patience. :) I did podman system prune -a podman image prune -a "toolbox list" showed no container and no image. Then: $ toolbox create --distro fedora --release 34 --container test11 Pulling registry.fedoraproject.org/f34/fedora-toolbox:34: [...] $ toolbox list IMAGE ID IMAGE NAME CREATED 7f6c60b1df02 registry.fedoraproject.org/f34/fedora-toolbox:34 7 months ago CONTAINER ID CONTAINER NAME CREATED STATUS IMAGE NAME 570162950f13 test11 About a minute ago configured registry.fedoraproject.org/f34/fedora-toolbox:34 $ toolbox enter test11 $ sudo su - We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. Welcome to the Toolbox; a container where you can install and run all your tools. - Use DNF in the usual manner to install command line tools. - To create a new tools container, run 'toolbox create'. For more information, see the documentation. ⬢[root@toolbox ~]# dnf update Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 2.5 kB 00:01 Fedora - Modular Rawhide - Developmental packages for the next Fedora release 1.0 MB/s | 1.9 MB 00:01 Fedora - Rawhide - Developmental packages for the next Fedora release 5.0 MB/s | 57 MB 00:11 Dependencies resolved. ================================================================================================================ Package Architecture Version Repository Size ================================================================================================================ Upgrading: alternatives x86_64 1.15-2.fc34 rawhide 35 k audit-libs x86_64 3.0.1-2.fc35 rawhide 115 k basesystem noarch 11-11.fc34 rawhide 7.0 k bash x86_64 5.1.4-1.fc35 rawhide 1.7 M [...]
(In reply to Łukasz Posadowski from comment #2) > # toolbox list > 7f6c60b1df02 registry.fedoraproject.org/f34/fedora-toolbox:34 6 months > ago > > So yes, I'm pulling rather old image of Fedora 34, but I still don't know > why. Please use registry.fedoraproject.org/fedora-toolbox:34. (f34/fedora-toolbox:34 is deprecated and obsolete). It would be nice if there was a redirect and also if toolbox always offered to pull the latest image.
(In reply to Jens Petersen from comment #7) > (In reply to Łukasz Posadowski from comment #2) > > # toolbox list > > 7f6c60b1df02 registry.fedoraproject.org/f34/fedora-toolbox:34 6 months > > ago > > > > So yes, I'm pulling rather old image of Fedora 34, but I still don't know > > why. > > Please use registry.fedoraproject.org/fedora-toolbox:34. > (f34/fedora-toolbox:34 is deprecated and obsolete). > It would be nice if there was a redirect and > also if toolbox always offered to pull the latest image. Oh, yes, that's it. Thanks, Jens. Maybe your toolbox RPM is too old, or the older fedora-toolbox:34 image actually never got deleted from your system.
Thank You. I would never figure that out. Fixed. :)