Project

General

Profile

Bug #29989

Ubuntu packages can't be installed

Added by Lars Wagner over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Smart Proxy
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

On ubuntu 18.04 the package ruby-smart-proxy-salt can't be installed/updated, because due to its dependency ruby-smart-proxy-salt-core will also be installed and it contains the same file (/usr/lib/ruby/vendor_ruby/smart_proxy_salt_core/salt_runner.rb):

# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
  ruby-smart-proxy-salt
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
13 not fully installed or removed.
Need to get 0 B/11.3 kB of archives.
After this operation, 9216 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 166021 files and directories currently installed.)
Preparing to unpack .../ruby-smart-proxy-salt_3.1.1-1_all.deb ...
Unpacking ruby-smart-proxy-salt (3.1.1-1) over (2.1.9-1) ...
dpkg: error processing archive /var/cache/apt/archives/ruby-smart-proxy-salt_3.1.1-1_all.deb (--unpack):
 trying to overwrite '/usr/lib/ruby/vendor_ruby/smart_proxy_salt_core/salt_runner.rb', which is also in package ruby-smart-proxy-salt-core 0.0.2-1
Errors were encountered while processing:
 /var/cache/apt/archives/ruby-smart-proxy-salt_3.1.1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Associated revisions

Revision 56b444b6 (diff)
Added by Michael Moll over 1 year ago

Fixes #29989 - remove _core files from main gem

Revision b086d6a5
Added by Bernhard Suttner over 1 year ago

Merge pull request #48 from mmoll/exclude_gem_files

Fixes #29989 - remove _core files from main gem

History

#1 Updated by Anonymous over 1 year ago

  • Assignee set to Anonymous
  • Status changed from New to Assigned
  • Category changed from Foreman Integration to Smart Proxy

#2 Updated by The Foreman Bot over 1 year ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/smart_proxy_salt/pull/48 added

#3 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases 13.2.0 added

#4 Updated by Anonymous over 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF