You are not logged in.

#1 2014-02-21 00:14:25

rexineffect
Member
Registered: 2014-02-16
Posts: 48

[SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

I know this is probably really newb question but I dont want to mess up my stuff.

Im trying to install Multisystem, its a tool to make a bootable usb stick with multiple iso's on it from linux to windows to mac and even tools like gparted.

so I did meat -i multisystem

and it just installed xxd then looked for conflicts and it gave me that error,

:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

I have Vim text editor installed. I don't know why they are in conflict or what it means maybe someone could help me UNDERSTAND why this is happening?


Thanks

Last edited by rexineffect (2014-02-21 01:48:15)

Offline

#2 2014-02-21 00:20:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

Offline

#3 2014-02-21 00:23:56

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

I did I just don't get why does that make it a problem. So both of them have it, xxd is not a dependencie of vim or gvim so I guess its just included in the vim package. But I want to understand it is what Im asking.

if it is included in vim and gvim why do i have to install it at all?

why cant multisystem use vim or gvims xxd?

See I want to UNDERSTAND whats really going on here if someone knows.

Offline

#4 2014-02-21 00:26:07

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

If you pass the -i twice to cower or meat, you can also see dependencies and conficts.

Offline

#5 2014-02-21 00:26:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

multisystem depends on xxd. If you change the metadata of vim or gvim so they too provide xxd - it will work.

Offline

#6 2014-02-21 00:30:34

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

karol wrote:

multisystem depends on xxd. If you change the metadata of vim or gvim so they too provide xxd - it will work.

Cool, Thanks. Do you know what will happen if I don't uninstall gvim like it is asking now?

WonderWoofy wrote:

If you pass the -i twice to cower or meat, you can also see dependencies and conficts.

Thanks

Offline

#7 2014-02-21 00:35:14

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

I tried it with removing vim and now when it got all done and tried to install multisystem it says it needs vim now.

WTH!!

so obviously I have to fix the conflic if someone knows the best way to do this plz

Offline

#8 2014-02-21 00:35:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

Use ABS to edit and rebuild vim's PKGBUILD or use xyne's repkg https://bbs.archlinux.org/viewtopic.php?pid=1238667
pacman knows only what's in the PKGBUILD, so vim's PKGBUILD should say

provides=("xxd")

Alternatively you can change multisystem's PKGBUILD, so it depends on vim, not on xxd, even though https://aur.archlinux.org/packages/mu/m … m/PKGBUILD

if pacman -Qq vim-runtime >/dev/null 2>&1; then
  depends=('vim' 'cdrkit' 'cryptsetup' 'dosfstools' 'gksu' 'grub' 'gtkdialog-svn' 'gvfs' 'hdparm' 'imagemagick' 'lsb-release' 'lsof' 'mtools' 'parted' 'qemu' 'rsync' 'squashfs-tools' 'sudo' 'syslinux' 'unzip' 'wmctrl' 'xdotool' 'xterm' 'zenity');
else
  depends=('xxd' 'cdrkit' 'cryptsetup' 'dosfstools' 'gksu' 'grub' 'gtkdialog-svn' 'gvfs' 'hdparm' 'imagemagick' 'lsb-release' 'lsof' 'mtools' 'parted' 'qemu' 'rsync' 'squashfs-tools' 'sudo' 'syslinux' 'unzip' 'wmctrl' 'xdotool' 'xterm' 'zenity');
fi

multisystem shouldn't force you to install xxd, if you have vim-runtime.

Offline

#9 2014-02-21 00:43:18

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

karol wrote:

Use ABS to edit and rebuild vim's PKGBUILD or use xyne's repkg https://bbs.archlinux.org/viewtopic.php?pid=1238667
pacman knows only what's in the PKGBUILD, so vim's PKGBUILD should say

provides=("xxd")

Alternatively you can change multisystem's PKGBUILD, so it depends on vim, not on xxd, even though https://aur.archlinux.org/packages/mu/m … m/PKGBUILD

if pacman -Qq vim-runtime >/dev/null 2>&1; then
  depends=('vim' 'cdrkit' 'cryptsetup' 'dosfstools' 'gksu' 'grub' 'gtkdialog-svn' 'gvfs' 'hdparm' 'imagemagick' 'lsb-release' 'lsof' 'mtools' 'parted' 'qemu' 'rsync' 'squashfs-tools' 'sudo' 'syslinux' 'unzip' 'wmctrl' 'xdotool' 'xterm' 'zenity');
else
  depends=('xxd' 'cdrkit' 'cryptsetup' 'dosfstools' 'gksu' 'grub' 'gtkdialog-svn' 'gvfs' 'hdparm' 'imagemagick' 'lsb-release' 'lsof' 'mtools' 'parted' 'qemu' 'rsync' 'squashfs-tools' 'sudo' 'syslinux' 'unzip' 'wmctrl' 'xdotool' 'xterm' 'zenity');
fi

multisystem shouldn't force you to install xxd, if you have vim-runtime.


Thanks karol I think I understand the error and whats going on now.

So Im going to try and do the first one you said, edit vim pakbuild to supply/prvoide xxd.

So I have to go back and find out where pacman stored my pkgbuild of vim first, but i think it is called gvim actually. and also umm what about vim-runtime, i dont have to mess with that right?

So ill find gvim pkgbuild, edit it to say what u said, provide xxd with your code. do i just tack that on at the end?
Then I will reinstall gvim through pacman.
then I will uninstall xxd
then i will install multisystem


Does that sound right?
Thanks!

Offline

#10 2014-02-21 00:48:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

Do you have vim-runtime installed?
If so, you shouldn't need to change anything and you're not forced to install xxd.

Offline

#11 2014-02-21 00:51:04

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

Yea man I do

rex@localhost ~/build/multisystem $ pacman -Ss gvim
extra/gvim 7.4.135-2
    Vi Improved, a highly configurable, improved version of the vi text
    editor (with advanced features, such as a GUI)
extra/vim-runtime 7.4.135-2 [installed]
    Runtime for vim and gvim
rex@localhost ~/build/multisystem $

But I just uninstalled vim when it asked a second ago because of the conflict, but then it said multisystem also needs vim installed to work.
but still it is saying a conflict when i try to install vim now.

So.... I had it installed the whole time tho, the runtime

Offline

#12 2014-02-21 00:53:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

I have vim-runtime and vim, I don't have xxd. I have no conflict.
Keep vim and vim-runtime, remove xxd if you have it installed and try again.

Offline

#13 2014-02-21 00:56:17

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

gvim and vim runtime installed, xxd uninstalled, then:

rex@localhost ~/build/multisystem $ meat -d multisystem
Cower is downloading packages...

AUR Targets (2): multisystem xxd

Proceed with installation? [Y/n]

Offline

#14 2014-02-21 00:59:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

I don't know what 'meat -d' does. I did

$ cower -d multisystem
$ cd multisystem
$ makepkg -si

Offline

#15 2014-02-21 01:06:11

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

meat -d downloads and the missing repos from aur and main arch repos

Offline

#16 2014-02-21 01:07:59

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

rex@localhost ~/build/multisystem :( $ makepkg -s
==> Making package: multisystem 1.0284-1 (Thu Feb 20 16:06:21 AKST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found multisystem.tar.bz2
==> Validating source files with md5sums...
    multisystem.tar.bz2 ... FAILED
==> ERROR: One or more files did not pass the validity check!
rex@localhost ~/build/multisystem :( $

see i did makepkg -s the first time i tried to install multisystem and it said i was missing repos, some of those repos being in the aur so the makepkg -s would not work because it dosn't install from aur, so i turned to meat and then the problem came of the xxd conflict. but now its being retarded again and talking about md4sums

Offline

#17 2014-02-21 01:08:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

Now we're getting somewhere. I too get prompted to download and install xxd when using meat.
Drop meat, use just cower and makepkg.

Edit: Update the checksums with updpkgsums.

Last edited by karol (2014-02-21 01:09:10)

Offline

#18 2014-02-21 01:13:07

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

check this out, with meat when u do the

meat -ii multisystem

it says depends on vim

when you go to the multisystem aur page:
https://aur.archlinux.org/packages/multisystem/

vim is not listen under dependencies

also i just found md5sums fix in the comments of that page.


also cower does it too with -ii there

Last edited by rexineffect (2014-02-21 01:13:23)

Offline

#19 2014-02-21 01:15:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

I guess vim is not listed as a dependency because of the 'if' clause in the PKGBUILD.
Dependency parsing isn't AUR's strongest suit ;P

Offline

#20 2014-02-21 01:18:22

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

So i dont get it we are installing multisystem without the xxd dependency even though it needs it? thats what we are doing here right? dont i have to fix the pkgbuild of vim to make it suppoly xxd?

Offline

#21 2014-02-21 01:23:16

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

i just did updpkgsums -whatever that is if u could explain real quick how does that work, cause in the aur for multisystem there is a way way longer method to fixing it

and it is installing, actually it just finished and worked....but what about xxd now though....

Offline

#22 2014-02-21 01:26:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

$ updpkgsums -h
usage: updpkgsums [buildfile]

    -h, --help        display this help message and exit
    -V, --version     display version information and exit

updpkgsums will perform an in place update the checksums in the
path specified by [buildfile], defaulting to PKGBUILD in the current
working directory.
$ which updpkgsums
/usr/bin/updpkgsums

Now

$ less /usr/bin/updpkgsums

will show you what exactly is going on under the hood when you run it.




Edit:

rexineffect wrote:

but what about xxd now though....

What do you mean?

$ which xxd
/usr/bin/xxd

Last edited by karol (2014-02-21 01:27:38)

Offline

#23 2014-02-21 01:30:17

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

Thanks man that will help a lot, the which command. thats a new one.

So i have multisystem installed and it looks like its working but still though.... the xxd dependency. isn't it messed up?

Offline

#24 2014-02-21 01:33:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

The person who created the multisystem PKGBUILD doesn't want to force anyone to install vim just to use multisystem - some people use other editors like nano or emacs and they only need to install xxd.

Offline

#25 2014-02-21 01:35:35

rexineffect
Member
Registered: 2014-02-16
Posts: 48

Re: [SOLVED]:: xxd and gvim are in conflict (vim). Remove gvim? [y/N]

well wait a sec cause i dont have xxd installed remember u said remove it and leave gvim and vim-runtime installed so....

Offline

Board footer

Powered by FluxBB