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

rpm installation leads to base package replacement #1746

Closed
fbruetting opened this issue Jan 29, 2019 · 4 comments
Closed

rpm installation leads to base package replacement #1746

fbruetting opened this issue Jan 29, 2019 · 4 comments

Comments

@fbruetting
Copy link

Host system details

● ostree://fedora-workstation:fedora/29/x86_64/silverblue
                   Version: 29.20190122.0 (2019-01-22T00:54:25Z)
                BaseCommit: cc179340ed53393683ead798a381717512f09aa6ad050f9d479ffdd8c0664dc3
              GPGSignature: Valid signature by 5A03B4DD8254ECA02FDA1637A20AA56B429476B4
       RemovedBasePackages: gnome-terminal-nautilus-3.30.2-1.fc29.x86_64
                            gnome-classic-session-3.30.1-1.fc29.noarch
                            gnome-shell-extension-places-menu-3.30.1-1.fc29.noarch
                            gnome-terminal-3.30.2-1.fc29.x86_64
                            gnome-shell-extension-apps-menu-3.30.1-1.fc29.noarch
                            gnome-shell-extension-launch-new-instance-3.30.1-1.fc29.noarch
                            gnome-shell-extension-window-list-3.30.1-1.fc29.noarch
                            gnome-shell-extension-alternate-tab-3.30.1-1.fc29.noarch
           LayeredPackages: adapta-gtk-theme aeskulap android-tools baobab bat cheese
                            chromium dconf-editor dnf easytag exa fd-find fedora-toolbox
                            ffmpeg file-roller file-roller-nautilus fuse-exfat git
                            gnome-encfs-manager gnome-logs gnome-tweaks gnome-usage gpick
                            hack-fonts htop iftop julia linux-libertine-biolinum-fonts
                            linux-libertine-fonts mosh neovim powerline-go pv
                            python3-matplotlib ripgrep snapd task tilix tilix-nautilus tmux
                            tokei xenlism-wildfire xenlism-wildfire-midnight youtube-dl zsh
             LocalPackages: rpmfusion-nonfree-release-29-0.5.noarch
                            rpmfusion-free-release-29-0.5.noarch

Expected vs actual behavior

# sudo rpm-ostree install ~/Downloads/mailspring-1.5.5-0.1.x86_64.rpm 
[sudo] Passwort für frank: 
Checking out tree cc17934... done
Enabled rpm-md repositories: updates fedora rpmfusion-free-updates-testing rpmfusion-free rpmfusion-nonfree-updates-testing rpmfusion-nonfree iowait-hack-fonts nalimilan-julia home_moritzmolch_gencfsm sattellite-bat
rpm-md repo 'updates' (cached); generated: 2019-01-29T02:26:33Z
rpm-md repo 'fedora' (cached); generated: 2018-10-24T22:20:15Z
rpm-md repo 'rpmfusion-free-updates-testing' (cached); generated: 2019-01-24T22:06:00Z
rpm-md repo 'rpmfusion-free' (cached); generated: 2018-10-23T11:05:19Z
rpm-md repo 'rpmfusion-nonfree-updates-testing' (cached); generated: 2019-01-24T22:22:40Z
rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2018-10-23T11:34:17Z
rpm-md repo 'iowait-hack-fonts' (cached); generated: 2018-03-31T16:10:44Z
rpm-md repo 'nalimilan-julia' (cached); generated: 2019-01-25T14:49:52Z
rpm-md repo 'home_moritzmolch_gencfsm' (cached); generated: 2018-07-03T08:40:46Z
rpm-md repo 'sattellite-bat' (cached); generated: 2018-11-22T11:03:28Z
Importing rpm-md... done
⠁ Resolving dependencies... 
Forbidden base package replacements:
  python3 3.7.2-1.fc29 -> 3.7.2-4.fc29 (updates)
Resolving dependencies... done
error: Some base packages would be replaced

Expected:

I expected the package (shouldn’t introduce any dependencies) to just get installed. Instead, rpm-ostree somehow seems to want to replace some base package. Because of the /home/-/var/home/ issue I’m currently not able to upgrade (and thus undeployed that broken deployment), but that installation command not even lets me install some stuff without upgrading… 😩

@jlebon
Copy link
Member

jlebon commented Mar 1, 2019

This is likely #415. Try:

$ rpm-ostree upgrade
$ rpm-ostree cleanup -m
$ rpm-ostree install ~/Downloads/mailspring-1.5.5-0.1.x86_64.rpm

@owtaylor
Copy link

owtaylor commented Mar 6, 2019

Definitely #415 - "Checking out tree cc17934" - that tree was generated 2019-01-22, and python-3.7.2-4 was pushed to stable 2019-01-24.

To explain more, something wanted a subpackage of the python package, and what was available in f29-updates was python3-[xxx]-3.7.2-4.fc29, which required python3 = 3.7.2-4.fc29, but the base image had python3 3.7.2-1.fc29 - so upgrading would have required replacing that package in the base image.

Can you explain "Because of the /home/-/var/home/ issue I’m currently not able to upgrade" ? Is there a reference to that problem?

@jlebon
Copy link
Member

jlebon commented Mar 6, 2019

Can you explain "Because of the /home/-/var/home/ issue I’m currently not able to upgrade" ? Is there a reference to that problem?

LIkely referring to https://bugzilla.redhat.com/show_bug.cgi?id=1669982 which should be fixed in the latest tree.

@fbruetting
Copy link
Author

Okay, works in the meantime!

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