You are not logged in.

#1 2018-06-04 21:32:43

iAR
Member
Registered: 2018-06-04
Posts: 3

Octopi and Pamac broken after pacman update

Hi. First, Im new, newbie and English isn’t my first language, so please excuse any mistakes.

So, two weeks ago I updated Pacman, then Octopi and pamac were dead.

When i run octopi in the terminal: octopi: error while loading shared libraries: libalpm.so.10: cannot open shared object file: No such file or directory

I follow this instructions

git clone https://aur.archlinux.org/package-query.git
cd package-query/
makepkg -si

and

git clone https://aur.archlinux.org/packages/yaourt-git/
cd yaourt/
makepkg -si

But Octopi and pamac are still dead.

What can i do?

My system is Arch with Plasma.

Offline

#2 2018-06-04 21:35:33

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Octopi and Pamac broken after pacman update

How did you install pamac and octopi?  Why do you think updating package-query and yaourt would fix pamac and octopi?

Offline

#3 2018-06-04 22:06:54

iAR
Member
Registered: 2018-06-04
Posts: 3

Re: Octopi and Pamac broken after pacman update

loqs wrote:

How did you install pamac and octopi?

From AUR.

loqs wrote:

Why do you think updating package-query and yaourt would fix pamac and octopi?

Because someone say it in this forum https://forum.manjaro.org/t/package-que … tory/48393

Last edited by iAR (2018-06-04 22:16:12)

Offline

#4 2018-06-04 22:29:11

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Octopi and Pamac broken after pacman update

Are you using manjaro?  pamac and alpm_octopi_utils need rebuilding.  As AUR packages you are expected to rebuild them yourself if they are affected by a package in the official repositories being updated.

Offline

#5 2018-06-04 22:42:09

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

Re: Octopi and Pamac broken after pacman update

That manjaro forum post was addressing a related issue but with a different package.  The problem on that thread was that yaourt and package-query were failing, so they needed to be rebuilt against the new libs.  Your problem is that pamac and octopi are not working, so pamac and octopi are what you need to rebuild, not yaourt and package-query.

Don't copy and paste commands without at least some understanding of what they are doing.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2018-06-05 00:03:46

iAR
Member
Registered: 2018-06-04
Posts: 3

Re: Octopi and Pamac broken after pacman update

Trilby wrote:

our problem is that pamac and octopi are not working, so pamac and octopi are what you need to rebuild, not yaourt and package-query.

Ok. Someone in the octopi repo say it the same https://aur.archlinux.org/packages/octopi/ : "You did it wrong and crapy. Need to rebuild the package-query... That's all."


loqs wrote:

Are you using manjaro? pamac and alpm_octopi_utils need rebuilding.

Arch. Do you have a guide of how can i do that?

Offline

#7 2018-06-05 00:06:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Octopi and Pamac broken after pacman update

loqs wrote:

Are you using manjaro? pamac and alpm_octopi_utils need rebuilding.

iAR wrote:

Arch. Do you have a guide of how can i do that?

Read the wiki.

How did you install Arch?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2018-06-05 00:11:57

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Octopi and Pamac broken after pacman update

axtor wrote:

"From today octopi doesn't work any more:

[mozo@mozo ~]$ octopi

octopi: error while loading shared libraries: libalpm.so.10: cannot open shared object file: No such file or directory

It's obvious that last pacman update broke it because of different library name.

sudo ln -s /usr/lib/libalpm.so.11 /usr/lib/libalpm.so.10

And it works again."

You did it wrong and crapy. Need to rebuild the package-query... That's all.

No that poster is wrong.  Their solution of symlinking is naive and dangerous and repeatedly warned against on the forums.

Arch_User_Repository covers how to build AUR packages a rebuild is just building the package again then installing the newly built version.
I suggest if you have to ask this you remove octopi, yaourt and pamac and familiarize yourself more with makepkg and pacman usage.

Last edited by loqs (2018-06-05 00:14:08)

Offline

#9 2018-06-05 07:39:28

pb
Member
From: Krakow, PL
Registered: 2014-12-26
Posts: 336
Website

Re: Octopi and Pamac broken after pacman update

IAR - Pamac probably will be works when you build and install it in 6.4.0 version. (I don't use it, so only "probably").
Octopi needs:
1. for all version in AUR: you need to rebuild alpm_octopi_utils and
2. for different version of octopi - if you are:
a. octopi-git user - this version works after build it from AUR, but you should add 'pacman-contib' to depends array in PKGBUILD.
b. octopi 0.8.5-3 user - this version couldn't be build on Qt5.11 at all. If you want to use this version it should be patched. If you want to use this version you can use PKGBUILD (and the other, releted files) from POLAUR
c. octopi-kde-git user - after rebuild it from AUR it works.
Remember to not using yaourt to build octopi. See pinned comments in octopi 0.8.5-3

EDIT:
There are new version of alpm_octopi_utils and octopi in AUR, so just rebuild them (octopi in POLAUR is not longer available).

Last edited by pb (2018-06-05 20:52:03)

Offline

Board footer

Powered by FluxBB