Jens Rasmus Liland
2009-Aug-01 14:17 UTC
Error when using 'portupgrade -ay' (and several others) [Second attempt]
Hi, I'm getting really weird problems when trying to upgrade my ports. I've already discussed this with Dan Naumov on the stable mailing list, and he is out of ideas on what I am to do. I've tried to fix the problem using many different methods (i.e. csup stable-ports-supfile; Portmaster -a/-af, portupgrade -ay, nuking the entire ports tree and then doing fetch ports; extract, and similar stuff), but everyone seems to get the same error, and not come any further. The ports my system is trying to update is not in the ports tree anymore either, so it is really strange that it is trying to update it self. Here is some outputs I've already posted on the stable mailinglist: Running 'portupgrade -ay'. Got this output: ---> Session started at: Fri, 10 Jul 2009 18:58:30 +0200 ** Port directory not found: x11-drivers/xf86-video-vga ** Port marked as IGNORE: x11-drivers/xf86-video-via: requires pciVideoPtr typedef ** Port directory not found: x11/xorg-protos ** Port directory not found: x11/xphelloworld ---> Skipping 'x11-drivers/xorg-drivers' (xorg-drivers-7.3_3) because a requisite package 'xf86-video-vga-4.1.0_2' (x11-drivers/xf86-video-vga) failed (specify -k to force) ---> ** Upgrade tasks 3: 0 done, 4 ignored, 1 skipped and 0 failed ---> Skipping 'x11/xorg-apps' (xorg-apps-7.3) because a requisite package 'xphelloworld-1.0.1_1' (x11/xphelloworld) failed (specify -k to force) ---> ** Upgrade tasks 3: 0 done, 4 ignored, 2 skipped and 0 failed ---> Skipping 'x11/xorg' (xorg-7.3_2) because a requisite package 'xorg-drivers-7.3_3' (x11-drivers/xorg-drivers) failed (specify -k to force) ---> ** Upgrade tasks 3: 0 done, 4 ignored, 3 skipped and 0 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) - x11-drivers/xf86-video-vga (port directory error) - x11-drivers/xf86-video-via (marked as IGNORE) - x11/xorg-protos (port directory error) - x11/xphelloworld (port directory error) * x11-drivers/xorg-drivers (xorg-drivers-7.3_3) * x11/xorg-apps (xorg-apps-7.3) * x11/xorg (xorg-7.3_2) ---> Packages processed: 0 done, 4 ignored, 3 skipped and 0 failed ---> Session ended at: Fri, 10 Jul 2009 18:58:46 +0200 (consumed 00:00:15) [root@machine ~]# portupgrade -ay ---> Session started at: Wed, 29 Jul 2009 18:30:36 +0200 ** Port directory not found: x11-drivers/xf86-video-vga ** Port marked as IGNORE: x11-drivers/xf86-video-via: requires pciVideoPtr typedef ** Port directory not found: x11/xorg-protos ** Port directory not found: x11/xphelloworld [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 20501 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000.........20000..... ..... done] ---> Skipping 'x11-drivers/xorg-drivers' (xorg-drivers-7.3_3) because a requisite package 'xf86-video-vga-4.1.0_2' (x11-drivers/xf86-video-vga) failed (specify -k to force) ---> ** Upgrade tasks 3: 0 done, 4 ignored, 1 skipped and 0 failed ---> Skipping 'x11/xorg-apps' (xorg-apps-7.3) because a requisite package 'xphelloworld-1.0.1_1' (x11/xphelloworld) failed (specify -k to force) ---> ** Upgrade tasks 3: 0 done, 4 ignored, 2 skipped and 0 failed ---> Skipping 'x11/xorg' (xorg-7.3_2) because a requisite package 'xorg-drivers-7.3_3' (x11-drivers/xorg-drivers) failed (specify -k to force) ---> ** Upgrade tasks 3: 0 done, 4 ignored, 3 skipped and 0 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) - x11-drivers/xf86-video-vga (port directory error) - x11-drivers/xf86-video-via (marked as IGNORE) - x11/xorg-protos (port directory error) - x11/xphelloworld (port directory error) * x11-drivers/xorg-drivers (xorg-drivers-7.3_3) * x11/xorg-apps (xorg-apps-7.3) * x11/xorg (xorg-7.3_2) ---> Packages processed: 0 done, 4 ignored, 3 skipped and 0 failed ---> Session ended at: Wed, 29 Jul 2009 18:30:59 +0200 (consumed 00:00:22) [root@machine ~]# [root@machine ~]# portsdb -Uu; portupgrade -ay Updating the ports index ... Generating INDEX.tmp - please wait..Warning: Duplicate INDEX entry: cvsup-without-gui-16.1h_4 Done. done [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 20503 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000.........20000..... ..... done] ---> Session started at: Thu, 30 Jul 2009 14:47:18 +0200 ** Port directory not found: x11-drivers/xf86-video-vga ** Port marked as IGNORE: x11-drivers/xf86-video-via: requires pciVideoPtr typedef ** Port directory not found: x11/xorg-protos ** Port directory not found: x11/xphelloworld ---> Skipping 'x11-drivers/xorg-drivers' (xorg-drivers-7.3_3) because a requisite package 'xf86-video-vga-4.1.0_2' (x11-drivers/xf86-video-vga) failed (specify -k to force) ---> ** Upgrade tasks 3: 0 done, 4 ignored, 1 skipped and 0 failed ---> Skipping 'x11/xorg-apps' (xorg-apps-7.3) because a requisite package 'xphelloworld-1.0.1_1' (x11/xphelloworld) failed (specify -k to force) ---> ** Upgrade tasks 3: 0 done, 4 ignored, 2 skipped and 0 failed ---> Skipping 'x11/xorg' (xorg-7.3_2) because a requisite package 'xorg-drivers-7.3_3' (x11-drivers/xorg-drivers) failed (specify -k to force) ---> ** Upgrade tasks 3: 0 done, 4 ignored, 3 skipped and 0 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) - x11-drivers/xf86-video-vga (port directory error) - x11-drivers/xf86-video-via (marked as IGNORE) - x11/xorg-protos (port directory error) - x11/xphelloworld (port directory error) * x11-drivers/xorg-drivers (xorg-drivers-7.3_3) * x11/xorg-apps (xorg-apps-7.3) * x11/xorg (xorg-7.3_2) ---> Packages processed: 0 done, 4 ignored, 3 skipped and 0 failed ---> Session ended at: Thu, 30 Jul 2009 14:47:34 +0200 (consumed 00:00:16) [root@machine ~]# Ran "portmaster -a". Got this output: [root@machine /usr/ports/ports-mgmt/portmaster]# portmaster -a ===>>> Gathering distinfo list for installed ports ===>>> Starting check of installed ports for available updates ===>>> Checking ports for recursive 'make config' ===>>> The x11-drivers/xf86-video-vga port has been deleted: Removed ===>>> Aborting update [root@machine /usr/ports/ports-mgmt/portmaster]# Then I ran "portmaster -af", and got a lot of output and this at the end: [...] ===>>> The x11-drivers/xf86-video-vga port has been deleted: Removed ===>>> Aborting update Terminated Terminated Terminated Terminated Terminated Terminated Terminated Terminated Terminated Terminated [root@machine /usr/ports/ports-mgmt/portmaster]# [root@machine /home/user]# portmaster --force-config -a ===>>> Gathering distinfo list for installed ports ===>>> Starting check of installed ports for available updates ===>>> Checking ports for recursive 'make config' ===>>> The x11-drivers/xf86-video-vga port has been deleted: Removed ===>>> Aborting update [root@machine /home/user]# Then ran "portmaster --force-config -af" - this was better, but I still got this at the end: ===>>> Launching child to update xf86-video-vesa-2.1.0_2 to xf86-video-vesa-2.1.0_2 ===>>> Port directory: /usr/ports/x11-drivers/xf86-video-vesa ===> No options to configure ===>>> Gathering dependency list for x11-drivers/xf86-video-vesa from ports ===>>> Starting recursive 'make config' check ===>>> Recursive 'make config' check complete for x11-drivers/xf86-video-vesa ===>>> Returning to update check of installed ports ===>>> The x11-drivers/xf86-video-vga port has been deleted: Removed ===>>> Aborting update Terminated [root@machine /home/user]# /Rasmus
Barney Wolff
2009-Aug-01 15:32 UTC
Error when using 'portupgrade -ay' (and several others) [Second attempt]
I got around this by using -k. Dependencies are a maze of twisty little passages, all alike. I'll take my chances with the grue. On Sat, Aug 01, 2009 at 04:17:17PM +0200, Jens Rasmus Liland wrote:> Hi, > > I'm getting really weird problems when trying to upgrade my ports. I've > already discussed this with Dan Naumov on the stable mailing list, and he is > out of ideas on what I am to do. I've tried to fix the problem using many > different methods (i.e. csup stable-ports-supfile; Portmaster -a/-af, > portupgrade -ay, nuking the entire ports tree and then doing fetch ports; > extract, and similar stuff), but everyone seems to get the same error, and > not come any further. The ports my system is trying to update is not in the > ports tree anymore either, so it is really strange that it is trying to > update it self. > > Here is some outputs I've already posted on the stable mailinglist: > > Running 'portupgrade -ay'. Got this output: > > ---> Session started at: Fri, 10 Jul 2009 18:58:30 +0200 > ** Port directory not found: x11-drivers/xf86-video-vga > ** Port marked as IGNORE: x11-drivers/xf86-video-via: > requires pciVideoPtr typedef > ** Port directory not found: x11/xorg-protos > ** Port directory not found: x11/xphelloworld
David Southwell
2009-Aug-01 15:48 UTC
Error when using 'portupgrade -ay' (and several others) [Second attempt]
> Hi, > > I'm getting really weird problems when trying to upgrade my ports. I've > already discussed this with Dan Naumov on the stable mailing list, and he > is out of ideas on what I am to do. I've tried to fix the problem using > many different methods (i.e. csup stable-ports-supfile; Portmaster -a/-af, > portupgrade -ay, nuking the entire ports tree and then doing fetch ports; > extract, and similar stuff), but everyone seems to get the same error, and > not come any further. The ports my system is trying to update is not in the > ports tree anymore either, so it is really strange that it is trying to > update it self. > > Here is some outputs I've already posted on the stable mailinglist: > > Running 'portupgrade -ay'. Got this output: > > ---> Session started at: Fri, 10 Jul 2009 18:58:30 +0200 > ** Port directory not found: x11-drivers/xf86-video-vga > ** Port marked as IGNORE: x11-drivers/xf86-video-via: > requires pciVideoPtr typedef > ** Port directory not found: x11/xorg-protos > ** Port directory not found: x11/xphelloworld > ---> Skipping 'x11-drivers/xorg-drivers' (xorg-drivers-7.3_3) because a > requisite package 'xf86-video-vga-4.1.0_2' (x11-drivers/xf86-video-vga) > failed (specify -k to force) > ---> ** Upgrade tasks 3: 0 done, 4 ignored, 1 skipped and 0 failed > ---> Skipping 'x11/xorg-apps' (xorg-apps-7.3) because a requisite package > 'xphelloworld-1.0.1_1' (x11/xphelloworld) failed (specify -k to force) > ---> ** Upgrade tasks 3: 0 done, 4 ignored, 2 skipped and 0 failed > ---> Skipping 'x11/xorg' (xorg-7.3_2) because a requisite package > 'xorg-drivers-7.3_3' (x11-drivers/xorg-drivers) failed (specify -k to > force) ---> ** Upgrade tasks 3: 0 done, 4 ignored, 3 skipped and 0 failed > ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) - > x11-drivers/xf86-video-vga (port directory error) > - x11-drivers/xf86-video-via (marked as IGNORE) > - x11/xorg-protos (port directory error) > - x11/xphelloworld (port directory error) > * x11-drivers/xorg-drivers (xorg-drivers-7.3_3) > * x11/xorg-apps (xorg-apps-7.3) > * x11/xorg (xorg-7.3_2) > ---> Packages processed: 0 done, 4 ignored, 3 skipped and 0 failed > ---> Session ended at: Fri, 10 Jul 2009 18:58:46 +0200 (consumed 00:00:15) > > [root@machine ~]# portupgrade -ay > ---> Session started at: Wed, 29 Jul 2009 18:30:36 +0200 > > ** Port directory not found: x11-drivers/xf86-video-vga > ** Port marked as IGNORE: x11-drivers/xf86-video-via: > requires pciVideoPtr typedef > ** Port directory not found: x11/xorg-protos > ** Port directory not found: x11/xphelloworld > [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 20501 port > entries found > .........1000.........2000.........3000.........4000.........5000.........6 >000.........7000.........8000.........9000.........10000.........11000...... >...12000.........13000.........14000.........15000.........16000.........170 >00.........18000.........19000.........20000..... ..... done] > > ---> Skipping 'x11-drivers/xorg-drivers' (xorg-drivers-7.3_3) because a > requisite package 'xf86-video-vga-4.1.0_2' (x11-drivers/xf86-video-vga) > failed (specify -k to force) > ---> ** Upgrade tasks 3: 0 done, 4 ignored, 1 skipped and 0 failed > ---> Skipping 'x11/xorg-apps' (xorg-apps-7.3) because a requisite package > 'xphelloworld-1.0.1_1' (x11/xphelloworld) failed (specify -k to force) > ---> ** Upgrade tasks 3: 0 done, 4 ignored, 2 skipped and 0 failed > ---> Skipping 'x11/xorg' (xorg-7.3_2) because a requisite package > 'xorg-drivers-7.3_3' (x11-drivers/xorg-drivers) failed (specify -k to > force) ---> ** Upgrade tasks 3: 0 done, 4 ignored, 3 skipped and 0 failed > ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) - > x11-drivers/xf86-video-vga (port directory error) > - x11-drivers/xf86-video-via (marked as IGNORE) > - x11/xorg-protos (port directory error) > - x11/xphelloworld (port directory error) > * x11-drivers/xorg-drivers (xorg-drivers-7.3_3) > * x11/xorg-apps (xorg-apps-7.3) > * x11/xorg (xorg-7.3_2) > ---> Packages processed: 0 done, 4 ignored, 3 skipped and 0 failed > ---> Session ended at: Wed, 29 Jul 2009 18:30:59 +0200 (consumed 00:00:22) > [root@machine ~]# > > [root@machine ~]# portsdb -Uu; portupgrade -ay > Updating the ports index ... Generating INDEX.tmp - please wait..Warning: > Duplicate INDEX entry: cvsup-without-gui-16.1h_4 > Done. > done > [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 20503 port > entries found > .........1000.........2000.........3000.........4000.........5000.........6 >000.........7000.........8000.........9000.........10000.........11000...... >...12000.........13000.........14000.........15000.........16000.........170 >00.........18000.........19000.........20000..... ..... done] > ---> Session started at: Thu, 30 Jul 2009 14:47:18 +0200 > > ** Port directory not found: x11-drivers/xf86-video-vga > ** Port marked as IGNORE: x11-drivers/xf86-video-via: > requires pciVideoPtr typedef > ** Port directory not found: x11/xorg-protos > ** Port directory not found: x11/xphelloworld > ---> Skipping 'x11-drivers/xorg-drivers' (xorg-drivers-7.3_3) because a > requisite package 'xf86-video-vga-4.1.0_2' (x11-drivers/xf86-video-vga) > failed (specify -k to force) > ---> ** Upgrade tasks 3: 0 done, 4 ignored, 1 skipped and 0 failed > ---> Skipping 'x11/xorg-apps' (xorg-apps-7.3) because a requisite package > 'xphelloworld-1.0.1_1' (x11/xphelloworld) failed (specify -k to force) > ---> ** Upgrade tasks 3: 0 done, 4 ignored, 2 skipped and 0 failed > ---> Skipping 'x11/xorg' (xorg-7.3_2) because a requisite package > 'xorg-drivers-7.3_3' (x11-drivers/xorg-drivers) failed (specify -k to > force) ---> ** Upgrade tasks 3: 0 done, 4 ignored, 3 skipped and 0 failed > ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) - > x11-drivers/xf86-video-vga (port directory error) > - x11-drivers/xf86-video-via (marked as IGNORE) > - x11/xorg-protos (port directory error) > - x11/xphelloworld (port directory error) > * x11-drivers/xorg-drivers (xorg-drivers-7.3_3) > * x11/xorg-apps (xorg-apps-7.3) > * x11/xorg (xorg-7.3_2) > ---> Packages processed: 0 done, 4 ignored, 3 skipped and 0 failed > ---> Session ended at: Thu, 30 Jul 2009 14:47:34 +0200 (consumed 00:00:16) > [root@machine ~]# > > Ran "portmaster -a". Got this output: > > [root@machine /usr/ports/ports-mgmt/portmaster]# portmaster -a > ===>>> Gathering distinfo list for installed ports > > ===>>> Starting check of installed ports for available updates > ===>>> Checking ports for recursive 'make config' > > ===>>> The x11-drivers/xf86-video-vga port has been deleted: Removed > ===>>> Aborting update > > [root@machine /usr/ports/ports-mgmt/portmaster]# > > Then I ran "portmaster -af", and got a lot of output and this at the end: > > [...] > > ===>>> The x11-drivers/xf86-video-vga port has been deleted: Removed > ===>>> Aborting update > > Terminated > Terminated > Terminated > Terminated > Terminated > Terminated > Terminated > Terminated > Terminated > Terminated > [root@machine /usr/ports/ports-mgmt/portmaster]# > > [root@machine /home/user]# portmaster --force-config -a > > ===>>> Gathering distinfo list for installed ports > > ===>>> Starting check of installed ports for available updates > ===>>> Checking ports for recursive 'make config' > > ===>>> The x11-drivers/xf86-video-vga port has been deleted: Removed > ===>>> Aborting update > > [root@machine /home/user]# > > Then ran "portmaster --force-config -af" - this was better, but I still got > this at the end: > > ===>>> Launching child to update xf86-video-vesa-2.1.0_2 to > xf86-video-vesa-2.1.0_2 > > ===>>> Port directory: /usr/ports/x11-drivers/xf86-video-vesa > ===> No options to configure > ===>>> Gathering dependency list for x11-drivers/xf86-video-vesa from ports > ===>>> Starting recursive 'make config' check > ===>>> Recursive 'make config' check complete for > x11-drivers/xf86-video-vesa > > ===>>> Returning to update check of installed ports > > > > ===>>> The x11-drivers/xf86-video-vga port has been deleted: Removed > ===>>> Aborting update > > Terminated > [root@machine /home/user]# > > /RasmusThe only thing I can suggest is to use a -x glob to exclude the ports that are causing you trouble. I believe the drivers are no longer used so no harm would come. David
Jens Rasmus Liland
2009-Aug-03 15:55 UTC
Fwd: Error when using 'portupgrade -ay' (and several others) [Second attempt]
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. >