|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
|
|
||||
Quote:
Quote:
I am getting this Code:
# pkg_check -e keepassx-2.0.3p1.tgz pkg_check: Unknown option -e Usage: pkg_check [-FfIimnqvx] [-B pkg-destdir] [-D value] |
|
||||
Quote:
Code:
# pkg_check -e keepassx-2.0.3p1.tgz Quote:
Code:
pkg_info -e 'name->=1.3' Code:
$ pkg_info -e 'xpaint->=1.2' inst:xpaint-2.7.8.1p5 Code:
$ pkg_info -e 'keepassx->=2.0' $
__________________
My best friends are parrots Last edited by PapaParrot; 7th October 2017 at 05:12 PM. |
|
||||
Quote:
Code:
$ pkg_info -e 'keepassx->=2.0.3' $ Does that mean keepassx or any if its dependencies were not insalled ? Last edited by bsd007; 7th October 2017 at 05:32 PM. |
|
||||
Well, it does mean "keepassx" is not installed, I think, but
you still are not typing it as shown: Code:
$ pkg_info -e 'keepassx->=2.0' Code:
$ pkg_info -e 'keepassx=-2.0.3' $ Code:
man pkg_info Quote:
the dependencies packages names are,...
__________________
My best friends are parrots |
|
||||
The -f option ,
Code:
man pkg_info Quote:
__________________
My best friends are parrots |
|
||||
Quote:
to try to help, any way: How can I see what other packages are dependencies on OpenBsd And this is where I see about the -f option on pkg_info : https://unix.stackexchange.com/quest...-under-openbsd There also is this thread here: http://daemonforums.org/showthread.php?t=1576 Quote:
Code:
pkg_info -Q keepassx keepassx-2.0.3 xpaint as a exampple: Code:
$ pkg_info -Q xpaint tuxpaint-0.9.22 (installed) tuxpaint-config-0.0.13p0 (installed) tuxpaint-stamps-20140823p0 xpaint-2.7.8.1p5 (installed) Code:
pkg_info -S keepassx Information for http://ftp.openbsd.org/pub/OpenBSD/6.1/packages/i386/keepassx-2.0.3.tgz Signature: keepassx-2.0.3,@desktop-file-utils-0.23,@gtk-update-icon-cache-3.22.11,@libgcrypt-1.7.6,@qt4-4.8.7p11,@shared-mime-info-1.8,QtGui.10.1,X11.16.1,Xi.12.1,Xtst.11.0,c.89.3,gcrypt.19.3,lib/qt4/QtCore.9.0,m.10.0,stdc++.57.0,z.5.0 note: based on this: Quote:
to that package.
__________________
My best friends are parrots Last edited by PapaParrot; 7th October 2017 at 06:09 PM. |
|
||||
Code:
$ pkg_info -f 'keepassx->=2.0.3' | grep '^@depend' | cut -f 3 -d : desktop-file-utils-0.23 shared-mime-info-1.9 libgcrypt-1.8.1 gtk-update-icon-cache-3.22.21p0 qt4-4.8.7p13 But Code:
$ pkg_info -Q keepassx keepassx-2.0.3p1 keepassxc-2.2.0-yubikeyp1 keepassxc-2.2.0p1 or in the terminal. When I type keepass and tab it doesn't autocomplete. |
|
|||
I think in this case, your easiest option will be pkg_delete(1).
The installed dependecies will be listed as unused since keepass never got installed. |
|
||||
After running 'pkg_delete'
Code:
pkg_delete keepassx Code:
pkg_info -Q keepassx Code:
keepassx-2.0.3p1 keepassxc-2.2.0-yubikeyp1 keepassxc-2.2.0p1 Keep in mind to run 'pkg_delete" it must be done as root. ============= You DO NOT want to delete those other dependencies listed: Code:
$ pkg_info -f 'keepassx->=2.0.3' | grep '^@depend' | cut -f 3 -d : desktop-file-utils-0.23 shared-mime-info-1.9 libgcrypt-1.8.1 gtk-update-icon-cache-3.22.21p0 qt4-4.8.7p13 also depend on those. Quote:
and would not be in any menu, but also many packages/programs do not just automatically show in any menus, they sometimes need to be added to the menu manually.
__________________
My best friends are parrots Last edited by PapaParrot; 7th October 2017 at 06:31 PM. |
|
|||
No, that's not the way to use pkg_delete in this case.
You're not trying to delete keepassx, it's not installed. You don't have to care what the dependencies of keepassx are, pkg_delete can find unused dependencies. |
|
||||
Code:
# pkg_delete keepassx Can't find keepassx Problem finding keepassx Code:
# pkg_info -Q keepassx keepassx-2.0.3p1 keepassxc-2.2.0-yubikeyp1 keepassxc-2.2.0p1 Code:
# pkg_delete keepassx-2.0.3p1 Problem finding keepassx-2.0.3p1 # pkg_delete keepassxc-2.2.0-yubikeyp1 Problem finding keepassxc-2.2.0-yubikeyp1 # pkg_delete keepassxc-2.2.0p1 Problem finding keepassxc-2.2.0p1 |
|
||||
Quote:
Code:
pkg_delete -a Is there a way to do a simulation first before actually removing ? |
|
||||
Quote:
Quote:
Code:
man pkg_delete Quote:
Quote:
__________________
My best friends are parrots |
|
|||
Yes. There we go.
So when you aborted the install of keepass, had anything actually gotten installed? It would seem not. Yuo should be able to delete the thunderbird libs, though. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to remove a word and everything after? | bigb89 | Programming | 7 | 31st August 2014 01:47 AM |
How to remove these messages ? | sw2wolf | FreeBSD General | 4 | 11th July 2012 05:04 AM |
unwanted printing - cracking? | lumiwa | FreeBSD Security | 9 | 10th July 2012 01:28 PM |
How to remove Gnome and X | Malakim | Solaris | 2 | 12th April 2009 12:10 PM |