Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2022 23:21:46 +0000 (UTC)
From:      doug <doug@safeport.com>
To:        Graham Perrin <grahamperrin@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg-autoremove(8): portaudio, python38, sndio and tcl86
Message-ID:  <29657d17-a4b-7abd-f2d1-759271a5a5fb@safeport.com>
In-Reply-To: <c4b1132b-5321-cdfc-48a4-5d1e01987a34@freebsd.org>
References:  <c4b1132b-5321-cdfc-48a4-5d1e01987a34@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--621616949-497080786-1657322506=:77035
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8BIT



On Fri, 8 Jul 2022, Graham Perrin wrote:

> portaudio, python38, sndio and tcl86. Why do I find these four repeatedly 
> automatically installed but removable?
>
> For example, an installation of tmux:
>
> root@fuji:~ # pkg install tmux
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> Updating poudriere repository catalogue...
> poudriere repository is up to date.
> All repositories are up to date.
> The following 5 package(s) will be affected (of 0 checked):
>
> New packages to be INSTALLED:
>        portaudio: 19.6.0_6,1 [poudriere]
>        python38: 3.8.13_2 [poudriere]
>        sndio: 1.8.1 [FreeBSD]
>        tcl86: 8.6.12 [FreeBSD]
>        tmux: 3.2a [FreeBSD]
>
> Number of packages to be installed: 5
>
> The process will require 129 MiB more space.
> 3 MiB to be downloaded.
>
> Proceed with this action? [y/N]: y
> [1/3] Fetching tcl86-8.6.12.pkg: 100%    2 MiB   1.3MB/s    00:02
> [2/3] Fetching tmux-3.2a.pkg: 100%  389 KiB 398.5kB/s    00:01
> [3/3] Fetching sndio-1.8.1.pkg: 100%  111 KiB 113.6kB/s    00:01
[cut]

I get a very different result. On a 12.2 system with tmux already 
installed:

artemis:~/Projects> pkg info -rdx tmux | less
tmux-3.2a
Depends on     :
         libevent-2.1.12

So I moved to a 12.2 without tmux. The is a lot of extra interactions which 
I assume are well understood:

york:/home/doug# pkg info tmux
pkg: No package(s) matching tmux

What I wanted so lets install it:

york:/home/doug# pkg install tmux
Updating FreeBSD repository catalogue...
[york] Fetching packagesite.pkg: 100%    6 MiB   6.7MB/s    00:01
Processing entries:   0%
Newer FreeBSD version for package openupsd:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1203000
- running kernel: 1202000
Ignore the mismatch and continue? [y/N]: y
Processing entries: 100%
FreeBSD repository update completed. 31269 packages processed.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
         pkg: 1.17.5 -> 1.17.5_1

Number of packages to be upgraded: 1

7 MiB to be downloaded.

Proceed with this action? [y/N]: y
[york] [1/1] Fetching pkg-1.17.5_1.pkg: 100%    7 MiB   7.7MB/s    00:01
Checking integrity... done (0 conflicting)
[york] [1/1] Upgrading pkg from 1.17.5 to 1.17.5_1...
[york] [1/1] Extracting pkg-1.17.5_1: 100%
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
         tmux: 3.2a

Number of packages to be installed: 1

388 KiB to be downloaded.

Proceed with this action? [y/N]: n

I did not want it on this system. The the above systems used the default 
FreeBSD respository. It seem possible in your case the fault lies there
--621616949-497080786-1657322506=:77035--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29657d17-a4b-7abd-f2d1-759271a5a5fb>