![]() Mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9839fe7000Īccess("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) Hopefully that will show what is going on.Īccess("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) This will create a file in your home directory called t.txt and it may potentially be quite large. Sudo strace -o ~/t.txt update-alternatives -verbose -install /usr/bin/editor editor /usr/bin/gedit 10 I would sgeest running it through strace at this pointy to see what the code is doing. I'm not sure if this is a bug in the code or a configuration problem and the error messages are not giving much clue. I was hoping for me error messages than that though. Update-alternatives: error: error creating symbolic link `/etc/alternatives/editor.dpkg-tmp': No such file or expected the same error. Update-alternatives: setting up automatic selection of editor. Same sudo update-alternatives -verbose -install /usr/bin/editor editor /usr/bin/gedit 10 Update-alternatives: error: error creating symbolic link `/etc/alternatives/editor.dpkg-tmp': No such file or cat here is the end of my bach.rc Update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/editor (editor) in auto mode. Update-alternatives: error: error creating symbolic link `/etc/alternatives/editor.dpkg-tmp': No such file or is The results of both sudo update-alternatives -install /usr/bin/editor editor /usr/bin/gedit 10 Update-alternatives: using /bin/ed to provide /usr/bin/editor (editor) in manual mode. Press enter to keep the current choice, or type selection number: 1 There are 9 choices for the alternative editor (providing /usr/bin/editor). version show the sudo update-alternatives -config editor In automatic mode (relevant for -config only) skip-auto skip prompt for alternatives correctly configured force allow replacing files with alternative links. admindir change the administrative directory. altdir change the alternatives directory. is an integer options with higher numbers have higher priority in is the location of one of the alternative target files. is the symlink pointing to /etc/alternatives/. ![]() config show alternatives for the group and ask the set-selections read alternative status from standard input. get-selections list master alternative names and their status. query machine parseable version of -display. display display information about the group. auto switch the master link to automatic mode. remove-all remove group from the alternatives system. remove remove from the group alternative. Same sudo update-alternatives -install /usr/bin/editor editor /usr/bin/geditĪdd a group of alternatives to the system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |