Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#6518 - gvim 7.0.191-1 installation broken
Attached to Project:
Arch Linux
Opened by Andreas Hauser (buggs) - Saturday, 03 March 2007, 10:58 GMT
Last edited by Tobias Kieslich (tobias) - Tuesday, 21 August 2007, 20:58 GMT
Opened by Andreas Hauser (buggs) - Saturday, 03 March 2007, 10:58 GMT
Last edited by Tobias Kieslich (tobias) - Tuesday, 21 August 2007, 20:58 GMT
|
Detailsgvim 7.0.191-1 messus up the symlinks in /usr/bin.
|
This task depends upon
Closed by Tobias Kieslich (tobias)
Tuesday, 21 August 2007, 20:58 GMT
Reason for closing: Fixed
Additional comments about closing: that is fixed with the new vi,vim gvim layout
Tuesday, 21 August 2007, 20:58 GMT
Reason for closing: Fixed
Additional comments about closing: that is fixed with the new vi,vim gvim layout
0 lrwxrwxrwx 1 root root 12 3. Mär 19:55 /usr/bin/vi -> /usr/bin/vim*
0 lrwxrwxrwx 1 root root 3 1. Mär 13:49 /usr/bin/view -> vim*
24K -rwxr-xr-x 1 root root 21K 2. Feb 17:17 /usr/bin/viewres*
4,1M -rwxr-xr-x 1 root root 4,1M 21. Dez 22:57 /usr/bin/vim*
$ ls /usr/bin/gvi*
0 lrwxrwxrwx 1 root root 4 3. Mär 19:55 /usr/bin/gview -> gvim*
0 lrwxrwxrwx 1 root root 12 3. Mär 19:55 /usr/bin/gvim -> /usr/bin/vim*
0 lrwxrwxrwx 1 root root 4 3. Mär 19:55 /usr/bin/gvimdiff -> gvim*
$ pacman -Su
Targets: gvim-7.0.191-1
Total Package Size: 1.9 MB
Proceed with upgrade? [Y/n]
checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
recovering symlink names and binaries...done
upgrading gvim... done.
updating desktop and mime database...
moving symlinks to make vim binary more capable...mv: accessing `/usr/bin/vi': Too many levels of symbolic links
mv: accessing `/usr/bin/vim': Too many levels of symbolic links
done
Updating vim help tags...done.
$ ls -l /usr/bin/vi*
lrwxrwxrwx 1 root root 12 4. Mär 11:06 /usr/bin/vi -> /usr/bin/vim
lrwxrwxrwx 1 root root 3 1. Mär 13:49 /usr/bin/view -> vim
-rwxr-xr-x 1 root root 21K 2. Feb 17:17 /usr/bin/viewres*
lrwxrwxrwx 1 root root 12 3. Mär 19:55 /usr/bin/vim -> /usr/bin/vim
$ ls -l /usr/bin/gvi*
lrwxrwxrwx 1 root root 4 4. Mär 11:06 /usr/bin/gview -> gvim
lrwxrwxrwx 1 root root 12 4. Mär 11:06 /usr/bin/gvim -> /usr/bin/vim
lrwxrwxrwx 1 root root 4 4. Mär 11:06 /usr/bin/gvimdiff -> gvim
Notice how /usr/bin/vim -> /usr/bin/vim is broken.
This is on x86_64 btw.
pacman -R gvim; rm all leftover symlinks; pacman -S gvim seems to make gvim 7.0.191-1 work.
http://linux.derkeiler.com/Mailing-Lists/Kernel/2006-05/msg00679.html - you might want to try that patch over our stock kernel. but read the warning some apps might stop working.
right now kernel.org looks overloaded again. can you check for "nesting level" , "namei.h" and "MAX_NESTED_LINKS" later?
lrwxrwxrwx 1 root root 12 3. Mär 19:55 /usr/bin/vim -> /usr/bin/vim
This might happen in some update/reinstall process structure I cannot reproduce here. i think the reason is in the post install script that may sometime mix it too much up:
post_install() {
echo "updating desktop and mime database..."
update-desktop-database -q
echo -n "moving symlinks to make vim binary more capable..."
mv -f /usr/bin/vim /usr/bin/vi
mv -f /usr/bin/gvim /usr/bin/vim
ln -sf /usr/bin/vim /usr/bin/gvim
echo "done"
echo -n "Updating vim help tags..."
/usr/bin/vim --noplugins -u NONE -U NONE \
--cmd ":helptags /usr/share/vim/doc" --cmd ":q" > /dev/null 2>&1
echo "done."
}
the same is called after upgrading the package. it doesn't look bad but might get confused if you had removed packages with pacman -Rd or with --noscriptlet.
I don't see why this should be architecture dependend so I'm going to reassign it to the 32bit maintainer. May he close it as not fixable/works for him.
It's always easy to fix when it happens: just remove all remaining files and symlinks for vi/vim/gvim and reinstall the packages.