VirtualBox-ose failing to upgrade

Hello, I am trying to update virtualbox-ose but I recive this error:

Code:
# portmaster emulators/virtualbox-ose

===>>> Currently installed version: virtualbox-ose-4.1.22
===>>> Port directory: /usr/ports/emulators/virtualbox-ose

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for emulators/virtualbox-ose in background
===>>> Gathering dependency list for emulators/virtualbox-ose from ports

===>>> The dependency for devel/kBuild
       seems to be handled by kBuild-devel-0.1.9998


===>>> The devel/kBuild-devel port has been deleted: Not required anymore; use devel/kBuild instead
===>>> Aborting update

Terminated


Any idea of how to fix it?
 
Did you check /usr/ports/UPDATING, as should always be done before updating ports? Specifically, entry 20130103.
 
I did it now, but I google about the error before and found that solution:

Code:
# pkg_delete -f kBuild-\*
kg_delete: no such package 'kBuild-*' installed
 
wblock@ said:
Now retry updating VirtualBox. If you have not been following UPDATING, there may be other problems.

Code:
# portmaster emulators/virtualbox-ose

===>>> Currently installed version: virtualbox-ose-4.1.22
===>>> Port directory: /usr/ports/emulators/virtualbox-ose

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for emulators/virtualbox-ose in background
===>>> Gathering dependency list for emulators/virtualbox-ose from ports

===>>> The dependency for devel/kBuild
       seems to be handled by kBuild-devel-0.1.9998


===>>> The devel/kBuild-devel port has been deleted: Not required anymore; use devel/kBuild instead
===>>> Aborting update

Terminated
 
adripillo said:
Code:
===>>> The dependency for devel/kBuild
       seems to be handled by kBuild-devel-0.1.9998


===>>> The devel/kBuild-devel port has been deleted: Not required anymore; use devel/kBuild instead
===>>> Aborting update

Terminated
The port devel/kBuild-devel appears to no longer be in the ports tree. According to /usr/ports/UPDATING it should be sufficient to simply # pkg_delete -f kBuild-\* and try again.
 
fonz said:
The port devel/kBuild-devel appears to no longer be in the ports tree. According to /usr/ports/UPDATING it should be sufficient to simply # pkg_delete -f kBuild-\* and try again.

I already tried but there is nothing to be deleted

Code:
# pkg_delete -f kBuild-\*
pkg_delete: no such package 'kBuild-*' installed
 
adripillo said:
I already tried but there is nothing to be deleted

Code:
# pkg_delete -f kBuild-\*
pkg_delete: no such package 'kBuild-*' installed

Please, show output % pkg_info -Ix kBuild
 
Are you using pkgng perhaps? In that case it's # pkg delete -f kBuild
 
SirDice said:
Are you using pkgng perhaps? In that case it's # pkg delete -f kBuild

Code:
# pkg delete -f kBuild
Package(s) not found!
# pkg_delete -f kBuild
pkg_delete: no such package 'kBuild' installed
 
What's the output of # ls -l /usr/local/bin/kmk*?

If they're still around the removal of the package hasn't been completely successful.

Also, # pkg_info -W /usr/local/bin/kmk might tell us if some other package installed those binaries.
 
SirDice said:
What's the output of # ls -l /usr/local/bin/kmk*?

If they're still around the removal of the package hasn't been completely successful.

Also, # pkg_info -W /usr/local/bin/kmk might tell us if some other package installed those binaries.

Here the output

Code:
# ls -l /usr/local/bin/kmk*
-r-xr-xr-x  1 root  wheel  619720 Dec 18 14:00 /usr/local/bin/kmk
-r-xr-xr-x  1 root  wheel    9816 Dec 18 14:00 /usr/local/bin/kmk_append
-r-xr-xr-x  1 root  wheel  201936 Dec 18 14:00 /usr/local/bin/kmk_ash
-r-xr-xr-x  1 root  wheel   17840 Dec 18 14:00 /usr/local/bin/kmk_cat
-r-xr-xr-x  1 root  wheel   26992 Dec 18 14:00 /usr/local/bin/kmk_chmod
-r-xr-xr-x  1 root  wheel   18432 Dec 18 14:00 /usr/local/bin/kmk_cmp
-r-xr-xr-x  1 root  wheel   42112 Dec 18 14:00 /usr/local/bin/kmk_cp
-r-xr-xr-x  1 root  wheel    5776 Dec 18 14:00 /usr/local/bin/kmk_echo
-r-xr-xr-x  1 root  wheel   16280 Dec 18 14:00 /usr/local/bin/kmk_expr
-r-xr-xr-x  1 root  wheel  192392 Dec 18 14:00 /usr/local/bin/kmk_gmake
-r-xr-xr-x  1 root  wheel   28824 Dec 18 14:00 /usr/local/bin/kmk_install
-r-xr-xr-x  1 root  wheel   15688 Dec 18 14:00 /usr/local/bin/kmk_ln
-r-xr-xr-x  1 root  wheel   17864 Dec 18 14:00 /usr/local/bin/kmk_md5sum
-r-xr-xr-x  1 root  wheel   18168 Dec 18 14:00 /usr/local/bin/kmk_mkdir
-r-xr-xr-x  1 root  wheel   16280 Dec 18 14:00 /usr/local/bin/kmk_mv
-r-xr-xr-x  1 root  wheel   22592 Dec 18 14:00 /usr/local/bin/kmk_printf
-r-xr-xr-x  1 root  wheel   11488 Dec 18 14:00 /usr/local/bin/kmk_redirect
-r-xr-xr-x  1 root  wheel   32856 Dec 18 14:00 /usr/local/bin/kmk_rm
-r-xr-xr-x  1 root  wheel   13768 Dec 18 14:00 /usr/local/bin/kmk_rmdir
-r-xr-xr-x  1 root  wheel  173856 Dec 18 14:00 /usr/local/bin/kmk_sed
-r-xr-xr-x  1 root  wheel    7824 Dec 18 14:00 /usr/local/bin/kmk_sleep
-r-xr-xr-x  1 root  wheel   17760 Dec 18 14:00 /usr/local/bin/kmk_test
-r-xr-xr-x  1 root  wheel    9344 Dec 18 14:00 /usr/local/bin/kmk_time
 
I have a feeling your package information is highly corrupt. Which is probably why the binaries are still around and the system can't find the package info for it.
 
SirDice said:
I have a feeling your package information is highly corrupt. Which is probably why the binaries are still around and the system can't find the package info for it.

Is there any way to delete it and get the correct one? or maybe some way to fix it?.
 
Tricky to fix. You could look at the directory names in /var/db/pkg/, each directory is a port/package that's installed. The only way I could think of to fix it is to reinstall all of them, or at least the ones that are corrupted.
 
SirDice said:
Tricky to fix. You could look at the directory names in /var/db/pkg/, each directory is a port/package that's installed. The only way I could think of to fix it is to reinstall all of them, or at least the ones that are corrupted.


Only files inside /var/db/pkg/ are

Code:
# ls
auditfile       local.sqlite    pkg-1.0.9_2     pkgdb.db        repo.sqlite

And inside of pkg-1.0.9_2 this

Code:
# ls
distfiles
 
Ok, in that case, you're using pkgng. The /var/db/pkg/pkg-1.0.9_2 directory is probably a leftover, just remove it.

Since you're using pkgng we need to use a different command:
# pkg which /usr/local/bin/kmk
 
SirDice said:
Ok, in that case, you're using pkgng. The /var/db/pkg/pkg-1.0.9_2 directory is probably a leftover, just remove it.

Since you're using pkgng we need to use a different command:
# pkg which /usr/local/bin/kmk

Ok, so here it is

Code:
# pkg which /usr/local/bin/kmk
/usr/local/bin/kmk was installed by package kBuild-devel-0.1.9998
 
Back
Top