Project

General

Profile

Actions

Bug #35543

closed

Unable to install ruby-foreman-tasks during foreman upgrade to 3.4

Added by Lars Wagner over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Debian/Ubuntu
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

I can not install the ruby-foreman-tasks package during the foreman upgrade to 3.4. The ruby-foreman-tasks installs the same file /usr/share/foreman/vendor/cache/ruby2_keywords-0.0.5.gem as the foreman pkg.

Error during the upgrade:

Preparing to unpack .../ruby-foreman-tasks_7.0.0-1_all.deb ...
Unpacking ruby-foreman-tasks (7.0.0-1) ...
dpkg: error processing archive /var/cache/apt/archives/ruby-foreman-tasks_7.0.0-1_all.deb (--unpack):
 trying to overwrite '/usr/share/foreman/vendor/cache/ruby2_keywords-0.0.5.gem', which is also in package foreman 3.4.0-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/ruby-foreman-tasks_7.0.0-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Actions #1

Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Project changed from foreman-tasks to Packaging
  • Category set to Debian/Ubuntu
  • Triaged changed from No to Yes
  • Found in Releases 3.4.0 added

Looks like this is a packaging bug that was solved in 7.0.0-2 (cdbd9c02a0e5cdb611804f1e53ed05c902d01828) but that's not in 3.4.

Actions #2

Updated by Lars Wagner over 2 years ago

Any chance that new packages will be built with that fix included?

Actions #3

Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 3.4.1
  • Pull request https://github.com/theforeman/foreman-packaging/pull/8513 added

Yes, I just took a lunch break in between. I hope this PR works, otherwise I need to split this into two PRs (given one depends on the other).

Actions #4

Updated by Lars Wagner over 2 years ago

Everything works fine now. Thank you! Issue can be closed.

Actions #5

Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Status changed from Ready For Testing to Closed
  • Assignee set to Ewoud Kohl van Wijngaarden
  • Target version deleted (3.4.1)
Actions

Also available in: Atom PDF