Problems while rebasing from rawhide back to 28

Earlier I wanted to play a bit with rawhide. So I rebased to it and now I can’t seem to go back.

$ rpm-ostree rebase fedora/28/x86_64/workstation
1 metadata, 0 content objects fetched; 569 B transferred in 3 seconds
Checking out tree 952ea99... done
Importing metadata [=============] 100%                                                                                                  
Resolving dependencies... failed
error: The following base packages would be removed: python3-PyYAML-3.12-10.fc28.x86_64, speech-dispatcher-espeak-0.8.8-4.fc28.x86_64

Current status (too late for rollback):

$ rpm-ostree status
State: idle
AutomaticUpdates: ex-stage; rpm-ostreed-automatic.timer: last run 1min 45s ago
Deployments:
● ostree://fedora-workstation:fedora/rawhide/x86_64/workstation
                   Version: Rawhide.20180825.n.0 (2018-08-25 09:26:01)
                BaseCommit: 06ab2ac5b5178470c60df82d080cf4745cce1f811177ccb23a1d1b54869b8340
              GPGSignature: Valid signature by F1D8EC98F241AAF20DF69420EF3C111FCFC659B9
           LayeredPackages: ansible arduino chromium clang codeblocks gitflow gnome-tweaks go htop iftop iotop iptraf ipython3 java-1.8.0-openjdk
                        keepassxc libreoffice libreoffice-langpack-pl nano pypy3 qbittorrent redis strace syncthing tmux vim youtube-dl

  ostree://fedora-workstation:fedora/rawhide/x86_64/workstation
                   Version: Rawhide.20180825.n.0 (2018-08-25 09:26:01)
                BaseCommit: 06ab2ac5b5178470c60df82d080cf4745cce1f811177ccb23a1d1b54869b8340
              GPGSignature: Valid signature by F1D8EC98F241AAF20DF69420EF3C111FCFC659B9
           LayeredPackages: arduino bmon bwm-ng chromium clang codeblocks gitflow gnome-tweaks go htop iftop iotop iptraf ipython3 java-1.8.0-openjdk
                        keepassxc libreoffice libreoffice-langpack-pl nano nethogs nload pypy3 qbittorrent redis strace syncthing tcptrack tmux
                        trafshow vim youtube-dl
             LocalPackages: duplicati-2.0.3.3-2.0.3.3_beta_20180402.noarch

I’m not sure exactly what’s going on here but I think it’s related to this bug. If I were you I would reset your installation back to defaults and then add back in your layered packages.

so try the following

  • rpm-ostree ex reset && rpm-ostree rebase fedora/28/x86_64/workstation
  • reboot
  • rpm-ostree install ansible arduino chromium clang codeblocks gitflow gnome-tweaks go htop iftop iotop iptraf ipython3 java-1.8.0-openjdk keepassxc libreoffice libreoffice-langpack-pl nano pypy3 qbittorrent redis strace syncthing tmux vim youtube-dl
  • reboot

This will reset your installation back to f28 workstation and then you can add your layered packages back after the reboot. I don’t think you should lose any data as a result of this but please take a backup first before you run it.

1 Like

Thank you. It worked.

1 Like