Solved remove/install loop with tcl86 pkg

Hi. When I do # pkg autoremove, it removes lang/tcl86 and after # pkg upgrade, it tries to install it again. I did # pkg check -ad but it seems like it's not required. It's not a big problem for me but I'd like to know why that loop happens. Thanks.

Code:
# pkg autoremove
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages:

Installed packages to be REMOVED:
        tcl86: 8.6.14_2

Number of packages to be removed: 1

The operation will free 11 MiB.

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling tcl86-8.6.14_2...
[1/1] Deleting files for tcl86-8.6.14_2: 100%


# pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating DE repository catalogue...
pkg: file:///usr/ports/packages/meta.txz: No such file or directory
repository DE has no meta file, using default settings
pkg: file:///usr/ports/packages/data.pkg: No such file or directory
pkg: file:///usr/ports/packages/data.txz: No such file or directory
pkg: file:///usr/ports/packages/packagesite.pkg: No such file or directory
pkg: file:///usr/ports/packages/packagesite.txz: No such file or directory
Unable to update repository DE
Updating Signal repository catalogue...
Signal repository is up to date.
Error updating repositories!
Checking for upgrades (30 candidates): 100%
Processing candidates (30 candidates): 100%
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        tcl86: 8.6.14_2 [FreeBSD]

Number of packages to be installed: 1

The process will require 11 MiB more space.

Proceed with this action? [y/N]:
 
There's something wrong with your pkg(8) configuration too, /usr/ports/packages is not a repository.
Actually /usr/ports/packages is mentioned as a repository in the pkg-repo(8) manual, under EXAMPLES:

Code:
     Create a repository and sign it with a local RSA key.  The public key
     would be shared on all client servers with SIGNATURE_TYPE set to PUBKEY
     and its path set via PUBKEY setting in the repository configuration file:

           pkg repo /usr/ports/packages repo.key

Probably nxjoseph has a package repository configured, but the repository files are missing.
 
Something is pulling it in as a dependency, but it appears to be incorrectly registered, removing it doesn't remove whatever depended on it, and pkg-check(8) also claims there's nothing depending on it. That makes it rather difficult to track down the culprit.
 
Something is pulling it in as a dependency, but it appears to be incorrectly registered, removing it doesn't remove whatever depended on it, and pkg-check(8) also claims there's nothing depending on it. That makes it rather difficult to track down the culprit.
Yeah, this might be it.
 
may this can help
pkg check -Ba
It threw some "no such file or directory" errors but I can't find lang/tcl86 between errors.

EDIT: I tried disabling "Signal" repository which i was using to install net-im/signal-desktop and there are no more remove/install loop happening with lang/tcl86. I don't need to use "Signal" repository because I don't use Signal anymore but i am keen on why that loop happened when the package is available in both enabled repositories. Installing lang/tcl86 from the "Signal" repository didn't cause a remove/install loop.

Code:
root@hale /home/yusuf # pkg search -r FreeBSD tcl86
tcl86-8.6.14_2                 Tool Command Language
tcl86-sql-20000114_8           TCL module for accessing MySQL databases
root@hale /home/yusuf # pkg search -r Signal tcl86
tcl86-8.6.14_2                 Tool Command Language
root@hale /home/yusuf # cat /usr/local/etc/pkg/repos/Signal.conf
Signal: {
        url: "https://cocyte.westeurope.cloudapp.azure.com/signal-desktop/141amd64-signal-default/"
        enabled: yes
}

EDIT 2: I did remove packages installed from Signal repository and did install required ones from FreeBSD repository, now everything do seem fine.

Code:
root@hale /home/yusuf # pkg query -a '%R %o' | sort | grep -E 'unknown|DE|Signal'
DE x11-wm/dwm
DE x11/sterm
unknown-repository mail/hydroxide
unknown-repository net/spoofdpi
unknown-repository www/tgpt
root@hale /home/yusuf # pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating DE repository catalogue...
DE repository is up to date.
All repositories are up to date.
Checking for upgrades (4 candidates): 100%
Processing candidates (4 candidates): 100%pkg auto
Checking integrity... done (0 conflicting)
Your packages are up to date.
root@hale /home/yusuf # pkg autoremove
Checking integrity... done (0 conflicting)
Nothing to do.
root@hale /home/yusuf # pkg info tcl86
pkg: No package(s) matching tcl86
root@hale /home/yusuf # pkg check -ad
Checking all packages: 100%
 
Back
Top