Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2009 17:55:47 +0200
From:      Jens Rasmus Liland <jensrasmus@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Fwd: Error when using 'portupgrade -ay' (and several others) [Second attempt]
Message-ID:  <63e02e980908030855o41fe0fd7pc36c0775cc93ae0a@mail.gmail.com>
In-Reply-To: <63e02e980908020646h5e1a6318h4356f255a1793fe@mail.gmail.com>
References:  <63e02e980908010717w79ddf14ei2dc6bf156ce1174a@mail.gmail.com> <20090801145042.GA32107@pit.databus.com> <63e02e980908011050i133fe5ffv125dab63aadd3ca8@mail.gmail.com> <4A748337.1020905@classic-games.com> <63e02e980908011240w656b934cvcba8e6a1ab054cb3@mail.gmail.com> <4A74BE37.5010604@classic-games.com> <63e02e980908020646h5e1a6318h4356f255a1793fe@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Oh, I did forget to forward this to the list.

---------- Forwarded message ----------
From: Jens Rasmus Liland <jensrasmus@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@classic-games.com>


[root@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@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@machine ~]#

Seems still to be some errors present at the end


On Sun, Aug 2, 2009 at 12:14 AM, Greg Miller <gmiller@classic-games.com>wrote:

> Jens Rasmus Liland wrote:
>
>  [root@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@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.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63e02e980908030855o41fe0fd7pc36c0775cc93ae0a>