Fwd: Error when using 'portupgrade -ay' (and several others)
[Second attempt]
Jens Rasmus Liland
jensrasmus at gmail.com
Mon Aug 3 15:55:49 UTC 2009
Oh, I did forget to forward this to the list.
---------- Forwarded message ----------
From: Jens Rasmus Liland <jensrasmus at gmail.com>
Date: Sun, Aug 2, 2009 at 3:46 PM
Subject: Re: Error when using 'portupgrade -ay' (and several others) [Second
attempt]
To: Greg Miller <gmiller at classic-games.com>
[root at machine ~]# pkg_deinstall -f xf86-video-vga-4.1.0_2
---> Deinstalling 'xf86-video-vga-4.1.0_2'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 315 packages
found (-1 +0) (...) done]
[root at machine ~]# pkgdb -F
---> Checking the package registry database
Stale origin: 'x11/xorg-protos': perhaps moved or obsoleted.
-> The port 'x11/xorg-protos' was removed on 2009-01-23 because:
"Not really necessary"
-> Hint: xorg-protos-7.3_2 is not required by any other package
-> Hint: checking for overwritten files...
-> No files installed by xorg-protos-7.3_2 have been overwritten by other
packages.
Deinstall xorg-protos-7.3_2 ? [no] yes
---> Deinstalling 'xorg-protos-7.3_2'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 314 packages
found (-1 +0) (...) done]
--> Done.
Stale origin: 'x11/xphelloworld': perhaps moved or obsoleted.
-> The port 'x11/xphelloworld' was removed on 2009-01-24 because:
"Xprint application, deprecated upstream"
-> Hint: xphelloworld-1.0.1_1 is required by the following package(s):
xorg-apps-7.3
xorg-7.4_2
-> Hint: checking for overwritten files...
-> No files installed by xphelloworld-1.0.1_1 have been overwritten by
other packages.
Deinstall xphelloworld-1.0.1_1 ? [no] yes
---> Deinstalling 'xphelloworld-1.0.1_1'
pkg_delete: package 'xphelloworld-1.0.1_1' is required by these other
packages
and may not be deinstalled:
xorg-7.4_2
xorg-apps-7.3
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! xphelloworld-1.0.1_1 (pkg_delete failed)
Command failed [exit code 1]: /usr/local/sbin/pkg_deinstall
xphelloworld-1.0.1_1
[root at machine ~]#
Seems still to be some errors present at the end
On Sun, Aug 2, 2009 at 12:14 AM, Greg Miller <gmiller at classic-games.com>wrote:
> Jens Rasmus Liland wrote:
>
> [root at machine ~]# pkgdb -F
>> ---> Checking the package registry database
>> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 315 packages
>> found (-0 +1) . done]
>> Stale origin: 'x11-drivers/xf86-video-vga': perhaps moved or obsoleted.
>> -> The port 'x11-drivers/xf86-video-vga' was removed on 2009-06-13
>> because:
>> "Removed"
>> -> Hint: xf86-video-vga-4.1.0_2 is required by the following package(s):
>> xorg-drivers-7.3_3
>> xorg-7.3_2
>> -> Hint: checking for overwritten files...
>> -> No files installed by xf86-video-vga-4.1.0_2 have been overwritten by
>> other packages.
>> Deinstall xf86-video-vga-4.1.0_2 ? [no] yes
>> ---> Deinstalling 'xf86-video-vga-4.1.0_2'
>> pkg_delete: package 'xf86-video-vga-4.1.0_2' is required by these other
>> packages
>> and may not be deinstalled:
>> xorg-7.3_2
>> xorg-drivers-7.3_3
>> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>> ! xf86-video-vga-4.1.0_2 (pkg_delete failed)
>> Command failed [exit code 1]: /usr/local/sbin/pkg_deinstall
>> xf86-video-vga-4.1.0_2
>> [root at machine ~]#
>>
>
>
> OK, try a "pkg_deinstall -f xf86-video-vga-4.1.0_2" and then a pkgdb -F
>
> The pkgdb run should complain about a missing dependency, which you can
> safely delete.
>
> --
> http://www.velocityvector.com/ | http://www.classic-games.com/
> Any government that can give you everything you want
> can take everything you have.
>
More information about the freebsd-stable
mailing list