can not delete qt-copy-3.3.8_14

Dear friends:

When running pkg info
Code:
qt-copy-3.3.8_14               Multiplatform C++ application framework (+ KDE patches)
is there. But if I run pkg_delete -f qt-copy-3.3.8_14, then I see:
Code:
pkg_delete: no such package 'qt-copy-3.3.8_14' installed

I can't understand it at all!
 
You're using the wrong tool. You have PKGNG and you should use the PKGNG tools, not the traditional pkg_* tools.

# pkg delete qt-copy-3.3.8_14
 
SirDice said:
You're using the wrong tool. You have PKGNG and you should use the PKGNG tools, not the traditional pkg_* tools.

# pkg delete qt-copy-3.3.8_14

thanks!

Or, does that mean I should delete all the package as pkg_*?
 
If you migrated to PKGNG, you'll have to use ports-mgmt/pkg. You should not use pkg_* anymore. All things pkg_* are in the base system, and are not packages.

If you want to get rid of them, add
Code:
WITHOUT_PKGTOOLS=yes
to your /etc/src.conf, and then # cd /usr/src && make check-old to see which components of the base system will be deleted. You can then use # make delete-old to delete them. Each time, it will ask you for conformation.

If you think you can just delete all of them without querying, use # yes | make delete-old.

See build(7)() and src.conf(5)() for more information before proceeding. Also, see rebuilding world and deleting obsolete files in the FreeBSD Handbook.
 
Back
Top