• Diese Seite verwendet Cookies. Indem du diese Website weiterhin nutzt, erklärst du dich mit der Verwendung von Cookies einverstanden. Erfahre mehr

portupgrade [held by user]

lockdoc

Well-Known Member
Themenstarter #1
Hi,

wie krieg ich denn die folgenden Ports geupdated?
portupgrade -a gibt mir folgenden Fehler:
Code:
--->  Skipping 'bsdpan-Text-Abbrev-1.02' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-libwww-perl-6.04' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-I18N-Collate-1.02' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-IPC-SysV-2.03' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-Search-Dict-1.07' because it is held by user (specify -f to force)
--->  Skipping 'mail/p5-Email-Abstract' because it is held by user (specify -f to force)
--->  Skipping 'devel/p5-Time-HiRes' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-Term-ReadLine-1.10' because it is held by user (specify -f to force)
--->  Skipping 'devel/p5-Sub-Uplevel' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-DB_File-1.827' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-lib-0.63' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-Safe-2.33' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-Foo-Bar-0.01' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-MIME-tools-5.503' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-Devel-DProf-20110802.00' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-Devel-SelfStubber-1.05' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-SelfLoader-1.20' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-if-0.0601' because it is held by user (specify -f to force)
--->  Skipping 'devel/p5-PathTools' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-File-CheckTree-4.41' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-CPAN-1.9800' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-Thread-Semaphore-2.12' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-B-Debug-1.18' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-Dumpvalue-1.17' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-B-Lint-1.14' because it is held by user (specify -f to force)
--->  Skipping 'devel/p5-Test-TCP' because it is held by user (specify -f to force)
--->  Skipping 'bsdpan-MailTools-2.09' because it is held by user (specify -f to force)
** No origin recorded: bsdpan-Local-Works-Fine-0.10_1
** Specify one with -o option, or run 'pkgdb -F' to interactively fix it.
/usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:955:in `initialize': ArgumentError (ArgumentError)
        from /usr/local/sbin/portupgrade:1046:in `new'
        from /usr/local/sbin/portupgrade:1046:in `do_upgrade'
        from /usr/local/sbin/portupgrade:843:in `main'
        from /usr/local/sbin/portupgrade:838:in `each'
        from /usr/local/sbin/portupgrade:838:in `main'
        from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
        from /usr/local/sbin/portupgrade:235:in `new'
        from /usr/local/sbin/portupgrade:235:in `main'
        from /usr/local/sbin/portupgrade:2304
 

Gulp

Well-Known Member
#2
Hy,
is die Frage ernstgemeint?
specify -f to force
Dieses "held by user" kann man in /usr/local/etc/pkgtools.conf
unter HOLD_PKGS festlegen. Allerdings kam bei mir nie so'ne Meldung,
bsdpan hab ich auch noch nie in den ports gesehen. Was is das überhaupt...

Gruß
 

pit234a

Well-Known Member
#3
spontan geantwortet: mach mal, was die UPDATING sagt und sieh dir deine PERL Version an.
Dies ist nur ein klein wenig mehr, als ein Schuss ins Blaue. So ähnlich sah es bei mir irgendwann auch mal aus und ich hatte eine ziemliche Mühe, bis ich kapierte, dass ich das perl-after-update-script nicht oder unvollständig hatte laufen lassen. Oder hatte ich den Versions-Wechsel von Perl ganz verpasst? ich weiß es nicht mehr, aber es hatte sehr wahrscheinlich damit zu tun und war beschrieben, nur ich hatte mal wieder nicht gelesen.