update system & ports

Hi there.
I want to update my system.
Fist I updated the ports collection
Code:
csup -g -L 2 /root/ports-supfile
and after I tried portmaster
Code:
===>>> The x11/xorg-protos port has been deleted: Not really necessary
===>>> Aborting update
and it's stop
what's happened? how can I continue the update?

thanks
 
I don't use portmaster - I use portupgrade, but given you have had no other advice, this is what I did:

1. De-install the x11/xorg-protos port (from memory I might have had to force it due to old dependencies on this port)
2. pkgdb -Fu to delete the irrelevant dependencies on x11/xorg-protos
3. The X11 upgrade then went smoothly (sort of :)
 
After csup'ing the ports tree, don't forget to rebuild /usr/ports/INDEX.

cd /usr/ports && make index
 
SirDice said:
After csup'ing the ports tree, don't forget to rebuild /usr/ports/INDEX.

cd /usr/ports && make index

Or, you can fetch a complete INDEX file using make fetchindex, instead of building one locally.
 
SirDice said:
cd /usr/ports && make index
I did:
Code:
cd /usr/ports && make index 
Generating INDEX-7 - please wait..Warning: Duplicate INDEX entry: cvsup-without-gui-16.1h_4
Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.6                                           
 Done.
and after :
Code:
# portmaster -a
....
===>>> Port directory: /usr/ports/lang/perl5.8
===>>> Launching 'make checksum' for lang/perl5.8 in background
===>>> Gathering dependency list for lang/perl5.8 from ports
===>>> No dependencies for lang/perl5.8
===>>> Continuing 'make config' dependency check for ftp/curl
===>>> Launching child to update security/ca_root_nss
        curl-7.18.0 >> security/ca_root_nss

===>>> Port directory: /usr/ports/security/ca_root_nss
Terminated
Terminated
Terminated

===>>> Update for /usr/ports/security/ca_root_nss failed
===>>> Aborting update

===>>> Update for curl-7.18.0 failed
===>>> Aborting update
and
Code:
portsdb -Fu
portsdb: Command not found.
where it belongs portdb?
thankx
 
hirohitosan said:
Code:
portsdb -Fu
portsdb: Command not found.
where it belongs portdb?
It's part of ports-mgmt/portupgrade.

Try building /usr/ports/security/ca_root_nss by hand, maybe it'll give a 'better' error message..
 
trev said:
1. De-install the x11/xorg-protos port (from memory I might have had to force it due to old dependencies on this port)
thx, but I cannot find whereis xorg-protos. I have no port with this name ...
 
SirDice said:
Try building /usr/ports/security/ca_root_nss by hand,
thx
I installed /usr/ports/security/ca_root_nss
and try again portmaster -a but it stopped at xorg-protos, but I cannot find whereis xorg-protos ... It is not in /usr/ports/x11
and whereis xorg-protos gives me nothing
 
The port has been remove but you may still have it installed.
Try removing it with pkg_delete xorg-protos-\*.
 
SirDice said:
removing it with pkg_delete xorg-protos-\*.
well it's strange ... I tried
Code:
pkg_delete xorg-protos-\*.
pkg_delete: no such package 'xorg-protos-*.' installed
# pkg_delete xorg-protos-7.3_2
pkg_delete: package 'xorg-protos-7.3_2' is required by these other packages
and may not be deinstalled:
xorg-7.3_2
I don't understand who requires xorg-protos?

how can I remove it?

thx
 
hirohitosan said:
well it's strange ... I tried
Code:
pkg_delete xorg-protos-\*.
pkg_delete: no such package 'xorg-protos-*.' installed
This might be due to your shell. The * gets treated differently.

Code:
# pkg_delete xorg-protos-7.3_2
pkg_delete: package 'xorg-protos-7.3_2' is required by these other packages
and may not be deinstalled:
xorg-7.3_2
I don't understand who requires xorg-protos?

how can I remove it?
Ok.. Try pkg_delete -f xorg-protos-7.3_2 then continue to update your system.
 
SirDice said:
pkg_delete -f xorg-protos-7.3_2 then continue to update your system.
thanks It works. After portmaster -a it's stop at:
Code:
===>>> The x11/xphelloworld port has been deleted: Xprint application, deprecated upstream
===>>> Aborting update
maybe I should deinstall and reinstall X?

or do the same with pkg_delete -f x11/xphelloworld ?
 
Solved

thanks guys,
afer pkg_delete -fix xphelloworld, portmaster -a works smoothly :)

well not quite solved ... after update my mouse doesn't work in X. I have an USB mouse :(
 
hirohitosan said:
well not quite solved ... after update my mouse doesn't work in X. I have an USB mouse :(

Add

Code:
Option "AllowEmptyInput" "off"

to the ServerLayout section of /etc/X11/xorg.conf.
 
Note:

20090124:
AFFECTS: users of x11-servers/xorg-server, sysutils/hal
AUTHOR: r[spam-no]@FreeBSD.org

sysutils/hal has been updated and should now properly detect
mice for use in Xorg. Use of AllowEmptyInput should no longer
be needed for most users and moused should now work fine
.
 
thanks guys .... I'm sorry for this questions but I cannot stop X server. My mouse doesn't work, I tried Ctr-Alt-BkSpace and nothing. I'm running Fluxbox. There is a way to stop X server without reboot from console?
 
hirohitosan said:
thanks guys .... I'm sorry for this questions but I cannot stop X server. My mouse doesn't work, I tried Ctr-Alt-BkSpace and nothing. I'm running Fluxbox. There is a way to stop X server without reboot from console?

ctrl-alt-backspace should work but it sounds like your keyboard isn't working either.

Do you have another machine you can use to ssh into this box?


Make sure hald is running too. Xorg needs it nowadays.
 
hirohitosan said:
thanks guys .... I'm sorry for this questions but I cannot stop X server. My mouse doesn't work, I tried Ctr-Alt-BkSpace and nothing. I'm running Fluxbox. There is a way to stop X server without reboot from console?

Press Control + Alt + Backspace to kill the X server and return to the console (assuming you aren't using a graphical login manager).

Check if your /etc/X11/xorg.conf has the following:

Code:
Section "ServerFlags"
        Option          "AllowEmptyInput"       "off"
        Option          "AllowAddDevices"       "off"
EndSection

And check your keyboard also, mine is:

Code:
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option          "XkbRules" "xorg"
        Option          "XkbModel" "pc105"
        Option          "XkbLayout" "pt"
EndSection

Btw did you compile X with hal? And are you enabling hal in rc.conf?
 
If Ctrl+Alt+Backspace isn't working check if your xorg.conf has

Code:
Option "DontZap" "true"

If so disable it.
 
SirDice said:
ctrl-alt-backspace should work but it sounds like your keyboard isn't working either.
well it doesn't work. I can switch to console Alt-F2 but in X it does't work
SirDice said:
Do you have another machine you can use to ssh into this box?
yes I have
SirDice said:
Make sure hald is running too. Xorg needs it nowadays.
how can I do this?
 
Back
Top