You are not logged in.

#1 2016-05-15 22:58:33

hjaltello
Member
Registered: 2016-05-15
Posts: 23

Can't install package-query

I have downloaded package-query-git and I have tried to

makepkg -s

it, but it outputs:

$ makepkg -s                                                                                                                                               [0:54:16]
==> Making package: package-query-git 1.8.r23.gf3d29a1-1 (Mon 16 May 00:54:20 CEST 2016)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for hjaltello:
resolving dependencies...
looking for conflicting packages...

Packages (1) pacman-5.0.1-3

Total Installed Size:  4.42 MiB
Net Upgrade Size:      0.47 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                                                      [##########################################################] 100%
(1/1) checking package integrity                                                                    [##########################################################] 100%
(1/1) loading package files                                                                         [##########################################################] 100%
(1/1) checking for file conflicts                                                                   [##########################################################] 100%
error: failed to commit transaction (conflicting files)
pacman: /usr/lib/libalpm.so.10 exists in filesystem
pacman: /usr/lib/libalpm.so.10.0.1 exists in filesystem
pacman: /usr/share/locale/az_AZ/LC_MESSAGES/pacman-scripts.mo exists in filesystem
pacman: /usr/share/locale/az_AZ/LC_MESSAGES/pacman.mo exists in filesystem
pacman: /usr/share/locale/br/LC_MESSAGES/libalpm.mo exists in filesystem
pacman: /usr/share/locale/br/LC_MESSAGES/pacman-scripts.mo exists in filesystem
pacman: /usr/share/locale/br/LC_MESSAGES/pacman.mo exists in filesystem
pacman: /usr/share/locale/eo/LC_MESSAGES/libalpm.mo exists in filesystem
pacman: /usr/share/locale/eo/LC_MESSAGES/pacman-scripts.mo exists in filesystem
pacman: /usr/share/locale/is/LC_MESSAGES/libalpm.mo exists in filesystem
pacman: /usr/share/locale/is/LC_MESSAGES/pacman-scripts.mo exists in filesystem
pacman: /usr/share/locale/is/LC_MESSAGES/pacman.mo exists in filesystem
pacman: /usr/share/locale/ka/LC_MESSAGES/libalpm.mo exists in filesystem
pacman: /usr/share/locale/ka/LC_MESSAGES/pacman-scripts.mo exists in filesystem
pacman: /usr/share/locale/ka/LC_MESSAGES/pacman.mo exists in filesystem
pacman: /usr/share/locale/th/LC_MESSAGES/pacman.mo exists in filesystem
pacman: /usr/share/makepkg/lint_package.sh exists in filesystem
pacman: /usr/share/makepkg/lint_package/build_references.sh exists in filesystem
pacman: /usr/share/makepkg/lint_package/missing_backup.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/arch.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/backup.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/changelog.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/epoch.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/install.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/optdepends.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/options.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/package_function.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/pkgbase.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/pkglist.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/pkgname.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/pkgrel.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/pkgver.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/provides.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/source.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/util.sh exists in filesystem
pacman: /usr/share/makepkg/lint_pkgbuild/variable.sh exists in filesystem
pacman: /usr/share/makepkg/source.sh exists in filesystem
pacman: /usr/share/makepkg/source/bzr.sh exists in filesystem
pacman: /usr/share/makepkg/source/file.sh exists in filesystem
pacman: /usr/share/makepkg/source/git.sh exists in filesystem
pacman: /usr/share/makepkg/source/hg.sh exists in filesystem
pacman: /usr/share/makepkg/source/local.sh exists in filesystem
pacman: /usr/share/makepkg/source/svn.sh exists in filesystem
pacman: /usr/share/makepkg/tidy.sh exists in filesystem
pacman: /usr/share/makepkg/tidy/docs.sh exists in filesystem
pacman: /usr/share/makepkg/tidy/emptydirs.sh exists in filesystem
pacman: /usr/share/makepkg/tidy/libtool.sh exists in filesystem
pacman: /usr/share/makepkg/tidy/optipng.sh exists in filesystem
pacman: /usr/share/makepkg/tidy/purge.sh exists in filesystem
pacman: /usr/share/makepkg/tidy/staticlibs.sh exists in filesystem
pacman: /usr/share/makepkg/tidy/strip.sh exists in filesystem
pacman: /usr/share/makepkg/tidy/upx.sh exists in filesystem
pacman: /usr/share/makepkg/tidy/zipman.sh exists in filesystem
pacman: /usr/share/makepkg/util.sh exists in filesystem
pacman: /usr/share/makepkg/util/message.sh exists in filesystem
pacman: /usr/share/makepkg/util/option.sh exists in filesystem
pacman: /usr/share/makepkg/util/pkgbuild.sh exists in filesystem
pacman: /usr/share/makepkg/util/source.sh exists in filesystem
pacman: /usr/share/makepkg/util/util.sh exists in filesystem
pacman: /usr/share/man/man5/alpm-hooks.5.gz exists in filesystem
Errors occurred, no packages were upgraded.
==> ERROR: 'pacman' failed to install missing dependencies.
FAIL: 1

I don't know what to do at all, I tried a few things suggested on these forums, but nothing's worked yet.

Offline

#2 2016-05-15 23:43:56

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: Can't install package-query

Pacman is a missing dependency? That doesn't look right, it should definitely be installed on your system. Is your system updated properly?

Looks like there are some conflicting files. You can use pacman to check which package owns these files.

Offline

#3 2016-05-16 10:10:16

hjaltello
Member
Registered: 2016-05-15
Posts: 23

Re: Can't install package-query

I have already tried using

pacman -Qo

on all the files it always says

error: No package owns /usr/share/makepkg/lint_pkgbuild/pkgver.sh

also the output of

pacman -V

is

.--.                  Pacman v5.0.1 - libalpm v10.0.1
/ _.-' .-.  .-.  .-.   Copyright (C) 2006-2016 Pacman Development Team
\  '-. '-'  '-'  '-'   Copyright (C) 2002-2006 Judd Vinet
'--'
                       This program may be freely redistributed under
                       the terms of the GNU General Public License.

so it's quite the mystery, BTW please help me as fast as possible I am trying to downgrade xorg-server to 1.17, but I can't untill I have yaourt installed and yaourt requires package-query and catalyst-utils requires xorg-server 1.17 and I'd like to have a working driver installed. So please hurry smile

Offline

#4 2016-05-16 10:19:16

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: Can't install package-query

I am trying to downgrade xorg-server to 1.17, but I can't untill I have yaourt installed

Why not? https://wiki.archlinux.org/index.php/Do … g_packages

Do you have a /var/lib/pacman/local/pacman-5.0.1-3 directory? What is in there?

Please also post the output of

pacman -Qs pacman
uname -a

Last edited by WorMzy (2016-05-16 10:20:07)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2016-05-16 11:42:15

hjaltello
Member
Registered: 2016-05-15
Posts: 23

Re: Can't install package-query

Well because I have some packages that rely on xorg-server 1.18 can't remember what ones, but it would be a nightmare to all this manually so that's why. My output for

pacman -Qs pacman

:

local/downgrader 1.8.0-7
    Powerful packages downgrader for Archlinux. Works with libalpm, ARM and pacman logs
local/pacman 4.2.1-4 (base base-devel)
    A library-based package manager with dependency support
local/pacman-mirrorlist 20160124-1
    Arch Linux mirror list for use by pacman
local/pkgfile 15-1
    a pacman .files metadata explorer

and the output for

uname -a

:

Linux localhost 4.3.3-3-ARCH #1 SMP PREEMPT Wed Jan 20 08:12:23 CET 2016 x86_64 GNU/Linux

Thanks for the response smile

Offline

#6 2016-05-16 12:33:41

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: Can't install package-query

Did you update to pacman 5.0 before 2016-04-23 as was recommended here? You can check in /var/log/pacman.log:

grep "upgraded pacman (4\..*-> 5\..*)" /var/log/pacman.log

What about the directory WorMzy asked about?

Offline

#7 2016-05-16 12:44:26

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: Can't install package-query

Something is very wrong with your system, your kernel is almost four months old, pacman thinks it's version 5.0.1, but it's database thinks it's version 4.2.1, but doesn't own any files..

How did you get into this state?  Have you been installing packages with "sudo make install" or something? When is the last time you did a full system upgrade? How did you install Arch in the first place?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2016-05-16 12:59:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Can't install package-query

Please post your full pacman log to a file sharing site and link to it here.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2016-05-16 14:56:57

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Can't install package-query

You do realize that -s is not a valid option for Pacman.  Never mind, we are talking makepkg.

Last edited by ewaller (2016-05-16 14:58:17)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#10 2016-05-16 17:09:12

hjaltello
Member
Registered: 2016-05-15
Posts: 23

Re: Can't install package-query

The directory WorMzy was talking about doesn't even exist. Here's my whole pacman log

. I got into this state by not being able to update or do anything in pacman because of me not being able to update it. I was planning to do a full system upgrade when I had updated pacman, but it gives me an error message when it has downloaded everything(Approx 5gbs of data) and I have tried this at least 3 times. I installed arch by downloading it and then using some online tutorial because I am still a noob, but there was this gaming thing that was easier to do on arch(And it was), so I was satisfied untill this began happening. I have no idea what to do, but I'll definitely read a little more up on how to do everything myself after this has been resolved, thank you everyone for helping smile

Offline

#11 2016-05-16 17:53:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Can't install package-query

hjaltello wrote:

The directory WorMzy was talking about doesn't even exist.

This is a real problem.  We should double check to make sure you are not mistaken, but if that path doesn't exist at all the problem is much more severe than just not being able to install package-query.  This is likely given the following:

hjaltello wrote:

I was planning to do a full system upgrade when I had updated pacman, but it gives me an error message when it has downloaded everything(Approx 5gbs of data)

Did you share this error?  Sorry if I missed it, or if you are referring to an error somewhere above, but we need to see *this* error message.  Put the package-query stuff aside for now, just update your system with `pacman -Syu` and work at that until it succeeds.

hjaltell wrote:

I installed arch by downloading it and then using some online tutorial because I am still a noob

This was a mistake.  We may not be able to help you - but I'll try.  Many unofficial tutorials promise to help you install archlinux "the easy way" but only get you started on the wrong foot so everything comes crashing down later.  This seems to be what happened here.  You might just need to start again from scratch and do things right.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#12 2016-05-16 18:13:13

hjaltello
Member
Registered: 2016-05-15
Posts: 23

Re: Can't install package-query

Well it's the same error message as with makepkg -s so you already know that. Also if it's because of the way I installed arch I can just reinstall it I have 3tb of external space I can just offload all important documents and movies to that and then reinstall with official instructions, though this would be my last way out, I'd like to have it all fixed and then I am gonna read the arch page on every package and component in my pc and afterwards I am going to read way more man pages, I'd like some future-proofing advise afterwards if it's no bother.

Offline

#13 2016-05-17 11:05:14

hjaltello
Member
Registered: 2016-05-15
Posts: 23

Re: Can't install package-query

But first we need to get this fixed, I don't have much experience with makepkg, so I am kinda riding on you to fix it. Thanks for all the help up till now, I appreciate it.

Offline

#14 2016-05-17 11:15:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Can't install package-query

I'd advise a complete reinstall.  I can imagine a few approaches that might patch this over, but they'd all leave major issues still lurking only to come up later and cause severe problems.  The fact is, we see the symptoms of only one problem, but there are likely many others we are not currently seeing.

As for future proofing, that cannot come from a promise to learn about your system later.  Learn about it now as you reinstall it properly.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB