pkg icon indicating copy to clipboard operation
pkg copied to clipboard

Conflict deinstall/upgrade oddity

Open kevans91 opened this issue 6 years ago • 0 comments

Went to install tshark:

Checking integrity... done (1 conflicting)
  - tshark-3.0.6 [FreeBSD] conflicts with wireshark-2.6.6_1 [installed] on /usr/local/bin/capinfos
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 4 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	tshark: 3.0.6 [FreeBSD]

Installed packages to be REINSTALLED:
	pkg-1.12.0 [FreeBSD]

Number of packages to be installed: 1
Number of packages to be reinstalled: 1

The process will require 99 MiB more space.
7 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching pkg-1.12.0.txz: 100%    7 MiB   7.1MB/s    00:01    
Fetching wireshark-3.0.6.txz:  63%   12 MiB   8.2kB/s    00:14 ETFetching wireshark-3.0.6.txz: 100%   19 MiB   1.4MB/s    00:14    
[1/4] Deinstalling wireshark-2.6.6_1...
[1/4] Deleting files for wireshark-2.6.6_1: 100%
[2/4] Reinstalling pkg-1.12.0...
[2/4] Extracting pkg-1.12.0: 100%
[3/4] Installing tshark-3.0.6...
[3/4] Extracting tshark-3.0.6: 100%
[3/4] Installing wireshark-3.0.6...
pkg: wireshark-3.0.6 conflicts with tshark-3.0.6 (installs files into the same place).  Problematic file: /usr/local/bin/capinfos

It detected that pre-existing wireshark conflicted, then went ahead and downloaded the new wireshark pkg (without mentioning it was going to try and upgrade wireshark), reinstalled pkg, installed tshark, then attempted to upgrade wireshark.

kevans91 avatar Dec 09 '19 03:12 kevans91