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        library for layout and rendering of text
pdfgrep-2.1.2       tool to search text in PDF files
pigz-2.6            parallel implementation of gzip utilizing multiple cores
pinentry-1.1.0p0    PIN or passphrase entry dialog (ncurses interface)
poppler-21.03.0     PDF rendering library
poppler-utils-21.03.0 PDF conversion tools and utilities
popt-1.16p2         getopt(3)-like library with a number of enhancements
py3-pip-20.3.4      tool for installing Python packages
python-2.7.18p1     interpreted object-oriented programming language
python-3.8.12       interpreted object-oriented programming language
qt4-4.8.7p24        C++ X11 GUI toolkit
qtbase-5.15.2p1     C++ general-purpose toolkit
quirks-3.633        exceptions to pkg_add rules
radeondrm-firmware-20201218 firmware binary images for radeondrm(4) driver
recode-3.6p12       convert files between character sets and usages
ripgrep-12.1.0      line oriented search tool using Rust's regex library
rsync-3.2.3p0       mirroring/synchronization over low bandwidth links
shared-mime-info-2.1 shared mime database for desktops
socat-1.7.4.1       relay for bidirectional data transfer
st-0.8.4            simple X terminal
sysclean-2.9        list obsolete files between OpenBSD upgrades
thunderbird-78.14.0 Mozilla e-mail, calendar, rss and usenet client
ugrep-3.1.10        ultra fast universal grep
unrar-6.00v2        extract, list, and test RAR archives
unzip-6.0p14        extract, list & test files in a ZIP archive
vim-8.2.2580-no_x11 vi clone, many additional features
vlc-3.0.12p0        VideoLAN client; multimedia player
vmm-firmware-1.11.0p3 firmware binary images for vmm(4) driver
vorbis-tools-1.4.2  play, encode, and manage Ogg Vorbis files
wget-1.20.3p3       retrieve files from the web via HTTP, HTTPS and FTP
xfce-4.16           Xfce desktop meta-package (base installation)
xfce-extras-4.16    Xfce desktop meta-package (full installation)

Reply via email to