Re: pkg_info -m: libraries and dependencies marked as manually installed

2021-09-20 Thread Jordan Geoghegan



On 9/19/21 3:21 PM, Stuart Henderson wrote:
> On 2021-09-19, Jordan Geoghegan  wrote:
>> Hello,
>>
>> I recently decided to clean up my desktop machine of unused packages etc. 
>> I've been running release/stable on this machine since around the OpenBSD 
>> 6.2 era. The machine has been upgraded over the years all the way to 6.9. 
>> I'm not sure that it's relevant, but I've regularly run sysclean in an 
>> effort to keep my install clean and fresh.
>>
>> When running "pkg_info -m", within the output list I am shown a number of 
>> random dependencies which I did not manually install. Is there a way to 
>> remove the "manually installed" tag from these library/dependency packages 
>> to allow them to potentially be cleaned up by "pkg_delete -a"?
> Yes, with pkg_add(1):
>
> "-aa  Force already installed packages to be tagged as
>   installed automatically."
>
>

Thanks Stuart, you're a saint - that certainly did the trick!

Regards,

Jordan



Re: pkg_info -m: libraries and dependencies marked as manually installed

2021-09-19 Thread Stuart Henderson
On 2021-09-19, Jordan Geoghegan  wrote:
> Hello,
>
> I recently decided to clean up my desktop machine of unused packages etc. 
> I've been running release/stable on this machine since around the OpenBSD 6.2 
> era. The machine has been upgraded over the years all the way to 6.9. I'm not 
> sure that it's relevant, but I've regularly run sysclean in an effort to keep 
> my install clean and fresh.
>
> When running "pkg_info -m", within the output list I am shown a number of 
> random dependencies which I did not manually install. Is there a way to 
> remove the "manually installed" tag from these library/dependency packages to 
> allow them to potentially be cleaned up by "pkg_delete -a"?

Yes, with pkg_add(1):

"-aa  Force already installed packages to be tagged as
  installed automatically."




pkg_info -m: libraries and dependencies marked as manually installed

2021-09-19 Thread Jordan Geoghegan
Hello,

I recently decided to clean up my desktop machine of unused packages etc. I've 
been running release/stable on this machine since around the OpenBSD 6.2 era. 
The machine has been upgraded over the years all the way to 6.9. I'm not sure 
that it's relevant, but I've regularly run sysclean in an effort to keep my 
install clean and fresh.

When running "pkg_info -m", within the output list I am shown a number of 
random dependencies which I did not manually install. Is there a way to remove 
the "manually installed" tag from these library/dependency packages to allow 
them to potentially be cleaned up by "pkg_delete -a"?


$ pkg_info -m
ImageMagick-6.9.12.2 image processing tools
adwaita-icon-theme-3.38.0 base icon theme for GNOME
aggregate-1.6p1 optimise a list of route prefixes
aggregate6-1.0.12p1 optimise a list of IPv4/IPv6 prefixes
amdgpu-firmware-20201218 firmware binary images for amdgpu(4) driver
aria2-1.35.0p0  lightweight multi-protocol & multi-source download utility
at-spi2-atk-2.38.0  atk-bridge for at-spi2
at-spi2-core-2.38.0 service interface for assistive technologies
atk-2.36.0  accessibility toolkit used by gtk+
avahi-0.8p0 framework for Multicast DNS Service Discovery
cairo-1.16.0    vector graphics library
cloc-1.86   count lines of code
coreutils-8.32p0    file, shell and text manipulation utilities
cowsay-3.04 speaking ascii cow
cups-libs-2.3.3.2   CUPS libraries and headers
dbus-glib-0.112v0   glib bindings for dbus message system
dconf-0.40.0    configuration backend system
desktop-file-utils-0.26 utilities for dot.desktop entries
dolphin-5.0.0.20190621p1 Nintendo GameCube and Wii emulator with GUI
dvd+rw-tools-7.1p1  mastering tools for DVD+RW/+R/-R/-RW
e2fsprogs-1.42.12p5 utilities to manipulate ext2 filesystems
evince-3.38.2-light GNOME document viewer
fdupes-2.1.2    identify or delete duplicate files
firefox-esr-78.14.0 Firefox web browser, Extended Support Release
freerdp-2.3.2   client for Microsoft RDP (remote desktop protocol)
gcr-3.38.1  library for bits of crypto UI and parsing
gdbm-1.19   GNU dbm
gdk-pixbuf-2.42.4   image data transformation library
gegl04-0.4.30p0 graph based image processing framework (API version 0.4)
geoclue-0.12.99p9   modular geoinformation service on top of D-Bus
gettext-runtime-0.21p1 GNU gettext runtime libraries and programs
ggrep-3.6   GNU versions of grep pattern matching utilities
gimp-2.10.24    GNU Image Manipulation Program
git-2.31.1  distributed version control system
glib2-2.66.8    general-purpose utility library
glib2-networking-2.66.0 network-related gio modules for GLib
gnome-icon-theme-3.12.0p5 base icon theme for GNOME
gnome-icon-theme-symbolic-3.12.0p3 base icon theme extension for special UI 
contexts
gnupg-2.2.23p2  GNU privacy guard - a free PGP replacement
gnutls-3.6.16   GNU Transport Layer Security library
go-1.16.2   Go programming language
gsettings-desktop-schemas-3.38.0 collection of shared GSettings schemas
gtk+2-2.24.33p0 multi-platform graphical toolkit
gtk+3-3.24.28p1 multi-platform graphical toolkit
gtk-update-icon-cache-3.24.28 gtk+ icon theme caching utility
gvfs-1.46.2 GNOME Virtual File System
gxemul-0.6.3.1  ARM/M88k/MIPS/PowerPC/SuperH machines emulator
harfbuzz-2.8.0  text shaping library
harfbuzz-icu-2.8.0  ICU support for libharfbuzz
httrack-3.48.21p2   offline browser
iwm-firmware-20191022p1 firmware binary images for iwm(4) driver
keepassxc-2.6.4 management tool for password and sensitive data
ksh93-20120801p1    AT&T Korn Shell
libassuan-2.5.5 IPC library used by GnuPG and gpgme
libcroco-0.6.13p0   generic CSS parsing library for GNOME project
libexif-0.6.22  extract digital camera info tags from JPEG images
libgcrypt-1.9.4 crypto library based on code used in GnuPG
libgpg-error-1.42   error codes for GnuPG related software
libidn-1.36 internationalized string handling
libksba-1.4.0   X.509 library
libmypaint-1.6.1    library for making brushstrokes
libnotify-0.7.9 send desktop notifications to a notification daemon
libproxy-0.4.17 library handling all the details of proxy configuration
libpsl-0.21.1   public suffix list library
libreoffice-7.0.5.2v0 multi-platform productivity suite
librsvg-2.50.3  SAX-based render library for SVG files
libsecret-0.20.4    library for storing and retrieving passwords and secrets
libsoup-2.72.0  HTTP client/server library for GNOME
mawk-1.3.4.20200120p0 fast POSIX-compliant awk
mupdf-1.18.0    graphic library, pdf parser, viewer and utilities
mupen64plus-2.5.9   n64 emulator (default plugins)
nmap-7.80p0 scan ports and fingerprint stack of network hosts
opus-tools-0.2  encode, inspect, and decode Opus files
p11-kit-0.23.22p0   library for loading and enumerating PKCS#11 modules
p7zip-16.02p6   file archiver with high compression ratio
pango-1.48.4    lib