Joined: 26 Mar 2013 Posts: 1856 Location: Hung Hom, Hong Kong
Posted: Tue Apr 25, 2023 10:01 Post subject:
ho1Aetoo wrote:
That you need to uninstall vim if you want to install vim-full.
Code:
opkg remove --autoremove vim
I did remove vim, and made sure that it's gone by running "opkg list-installed | grep -i vi".
Anyway, I found that I could use "--force-depends" to install it.
Funny thing is the same error happened if I then removed and installed vim-full again. SO the "vim *" error didn't go away after installing vim-full once.
vim still works after installing the package with "--force-depends". _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
The package vim is the stripped down variant of vim
and the package vim-full is the version with all features - you can NOT install both packages at the same time.
Joined: 26 Mar 2013 Posts: 1856 Location: Hung Hom, Hong Kong
Posted: Tue Apr 25, 2023 10:14 Post subject:
ho1Aetoo wrote:
The error is in your head.
The package vim is the stripped down variant of vim
and the package vim-full is the version with all features - you can NOT install both packages at the same time.
But I had removed vim (the Tiny build) before installing vim-full. There was nothing left (~# opkg list-installed | grep -i vi ) related to vim when I run "opkg install vim-full", except the vi of DD-WRT's Busybox.
It's not in my head. _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Then your package database is probably broken if it thinks that vim is installed.
(force is a great way to break it, by the way)
Code:
root@DD-WRT:/# opkg install vim
Installing vim (9.0-1) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/vim_9.0-1_armv7-3.2.ipk
Installing libncurses (6.4-1) to root...
Downloading http://bin.entware.net/armv7sf-k3.2/libncurses_6.4-1_armv7-3.2.ipk
Configuring libncurses.
Configuring vim.
root@DD-WRT:/# opkg install vim-full
Installing vim-full (9.0-1) to root...
Collected errors:
* check_conflicts_for: The following packages conflict with vim-full:
* check_conflicts_for: vim *
* opkg_install_cmd: Cannot install package vim-full.
root@DD-WRT:/# opkg remove --autoremove vim
Removing package vim from root...
libncurses was autoinstalled and is now orphaned, removing.
Removing package libncurses from root...
root@DD-WRT:/# opkg install vim-full
Package vim-full (9.0-1) installed in root is up to date.
root@DD-WRT:/# opkg list-installed | grep -i vi
vim-full - 9.0-1
Joined: 26 Mar 2013 Posts: 1856 Location: Hung Hom, Hong Kong
Posted: Tue Apr 25, 2023 10:44 Post subject:
ho1Aetoo wrote:
Then your package database is probably broken if it thinks that vim is installed.
Thanks.
Other than deleting everything opkg and restarted, could I resolve or remove this unknown "vim *" conflict? _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
install vim again and remove it properly and hope it solves the problem.
But if vim is not installed but the database thinks it is installed then there is definitely something wrong.
Joined: 26 Mar 2013 Posts: 1856 Location: Hung Hom, Hong Kong
Posted: Tue Apr 25, 2023 10:50 Post subject:
ho1Aetoo wrote:
install vim again and remove it properly and hope it solves the problem.
But if vim is not installed but the database thinks it is installed then there is definitely something wrong.
Failed to find anything in Google about repairing the Entware database....
And the error didn't list the file(s) in conflict, well...
Thank you again!!
BTW, the content of the two packages:
Code:
Package vim-full (9.0-1) is installed on root and has the following files:
/opt/bin/vimdiff
/opt/share/vim/vimrc
/opt/bin/vim
/opt/lib/upgrade/keep.d/vim-full
Package vim (9.0-1) is installed on root and has the following files:
/opt/share/vim/vimrc
/opt/bin/vim
/opt/lib/upgrade/keep.d/vim
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Joined: 26 Mar 2013 Posts: 1856 Location: Hung Hom, Hong Kong
Posted: Tue Apr 25, 2023 12:37 Post subject:
Alozaros wrote:
bangin my head ages ago with vim...i decided just to install nano instead..
than happy days...
I am fine with vim. I first used vi (no vim) of NCR Tower mini-computer in school decades ago. It's not that hard to use. Somehow I never forgot about vi's commands.
Back in DOS days, I used Wordstar-like editors, including Sidekick and QEdit. _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Joined: 26 Mar 2013 Posts: 1856 Location: Hung Hom, Hong Kong
Posted: Tue Apr 25, 2023 12:40 Post subject:
I actually executed "opkg remove --autoremove *" multiple times to eliminate all packages, reboot router, run generic.sh again to build a new Entware base. Same error when "opkg install vim-full"!
I will try again later. Maybe I didn't really remove all Entware system files. _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
And it would be very helpful if you could post the complete output so I can see which package is installed from which feed.
As you can see it works fine for me
Code:
opkg remove --autoremove vim
opkg remove --autoremove vim-full
opkg install vim
opkg remove --autoremove vim
opkg install vim-full