FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
Proteus
Posts: 289 Joined: 2013-04-14 05:08
Location: Holzgerlingen
Post
by Proteus » 2019-02-10 17:57
Hallo,
in letzter Zeit häufiger aufgefallen das es manchmal zu Problem beim Update mit folgenden Programmen gibt.
Code: Select all
! devel/py-setuptools (py36-setuptools-40.6.3) (install error)
* dns/py-py3dns (py36-py3dns-3.2.0)
* mail/py-authres (py36-authres-1.1.1)
* mail/py-pyspf (py36-pyspf-2.0.12_4)
* mail/postfix-policyd-spf-python (py36-postfix-policyd-spf-python-2.0.2)
Habe dann py-setuptools dann händisch deinstalliert und das update-ports nochmals angeworfen. Erst dann ist das Update durchgelaufen. Wollte es nur mal als Feed abgegeben haben.
LG
Proti
"Die Kamera wird bei hohen ISO Werten aber rauschen. Nichts ahnend hielt er sich die Kamera ans Ohr!"
Joe User
Project Manager
Posts: 11190 Joined: 2003-02-27 01:00
Location: Hamburg
Post
by Joe User » 2019-02-11 18:38
Hast Du die aktuelle Script-Fassung im Einsatz?
Hast Du immernoch einen Mix aus Ports und Packages?
Proteus
Posts: 289 Joined: 2013-04-14 05:08
Location: Holzgerlingen
Post
by Proteus » 2019-02-12 15:57
Joe User wrote: ↑ 2019-02-11 18:38
Hast Du die aktuelle Script-Fassung im Einsatz?
Ja.
Code: Select all
#!/bin/sh
portsnap fetch update
printf "\v================================================================================\v\n"
pkg updating -d `date -r /usr/ports/UPDATING -v-3m "+%Y%m%d"`
printf "\v================================================================================\v\n"
read -p "Update ports now? [y/N] " REPLY
if [ "x$REPLY" != "xy" ]
then
exit 0
fi
echo "#!/bin/sh" > /tmp/update-ports
portversion -c -C "-f -r" >> /tmp/update-ports
chmod 0755 /tmp/update-ports
/bin/sh /tmp/update-ports
rm -f /tmp/update-ports
portsclean -CDDL
Nein. Gar nicht mehr.
Hast Du immernoch einen Mix aus Ports und Packages?
Kann es vielleicht sein wenn es einen neuen Kernel gibt, in meinem Fall ein 12-0-RELEASE-p3, dass es dann zu Problemen kommen könnte?
Oha, ich sehe das sich da was geändert hat!
Code: Select all
#!/bin/sh
portsnap fetch update
printf "\v================================================================================\v\n"
pkg updating -d `date -u -v-3m "+%Y%m%d"`
printf "\v================================================================================\v\n"
read -p "Update ports now? [y/N] " REPLY
if [ "x$REPLY" != "xy" ]
then
exit 0
fi
pkg check -Ba -da -sa -ra
portsdb -Fu
portmaster --no-confirm --no-term-title --index-first -d -w -a -y
portmaster --no-confirm --no-term-title --index-first --clean-distfiles -y
portmaster --no-confirm --no-term-title --index-first --clean-packages -y
portmaster --no-confirm --no-term-title --index-first --check-depends -y
portmaster --no-confirm --no-term-title --check-port-dbdir -y
portsclean -CDDL
Ich denke ich muss wieder öfter reinschauen! ;)
LG
Proti
"Die Kamera wird bei hohen ISO Werten aber rauschen. Nichts ahnend hielt er sich die Kamera ans Ohr!"