Home | News | Download | Packages | Forum | Wiki | Github

Holding a package so I can upgrade the rest


(John Peach) #1

Am I misunderstanding how package holding works? I was going to do a system upgrade and libreoffice is being rebuilt causing a failure. I put libreoffice on hold and still get the failure on libreoffice when I try to update…

#xbps-query -p hold -s ""
libreoffice-5.4.2.2_1: true

xbps-install -Su

[] Updating https://repo.voidlinux.eu/current/x86_64-repodata' ... [*] Updatinghttps://repo.voidlinux.eu/current/multilib/nonfree/x86_64-repodata’ …
[
] Updating https://repo.voidlinux.eu/current/multilib/x86_64-repodata' ... x86_64-repodata: 506KB [avg rate: 12GB/s] [*] Updatinghttps://repo.voidlinux.eu/current/nonfree/x86_64-repodata’ …
libreoffice-5.4.2.2_1: broken, unresolvable shlib `libpoppler.so.71’
Transaction aborted due to unresolved shlibs.


#2

I think it’s poppler you have to hold.


(John Peach) #3

I already tried holding that one with the same result. I even tried holding both of them without success.


#4

Was popler already upgraded? Then you would have to downgrade it. But I’d just wait.


(John Peach) #5

I don’t believe it was upgraded as I do have libpoppler.so.71. I wasn’t going to mess with downgrading, just wondered if I was actually trying the right thing.


#6

This is common with void because they push out packages to the mirrors as soon as they’re built. The updated lib is pushed out(poppler (0.60.1_2 -> 0.61.1_1) ) first but the package linking to it(libreoffice) isn’t available on the mirror yet . Users wouldn’t have this issue if the updated lib and all linked packages were held from the mirrors in a local store until all linked packages were rebuilt.
My recommendation is to wait 12 hours, all linked packages should be on the mirrors.


#7

Now I got confused, too :wink: When I explicitly set the package linking to (in this case) poppler on hold (and poppler itself, too), why can’t I update packages not depending on that lib? Would I have to set the whole dependency tree on hold then? That’s just too much trouble.


(John Peach) #8

I was really just interested in why what I thought should work, did not. I don’t mind waiting for the build to finish.


#9

I don’t mind waiting either, you just got me interested as well. :wink:


#10

It should work as intended, but you have to hold the package and all packages that depend on it.
xbps-query -X poppler


(John Peach) #11

Think I’ll just wait…

#xbps-query -X poppler
cups-filters-1.17.9_3
libreoffice-5.4.2.2_1
poppler-glib-0.60.1_2
poppler-qt5-0.60.1_1
poppler-utils-0.60.1_2

#xbps-pkgdb -m hold cups-filters libreoffice poppler poppler-glib poppler-qt5 poppler-utils

#xbps-install -Su
[] Updating https://repo.voidlinux.eu/current/x86_64-repodata' ... [*] Updatinghttps://repo.voidlinux.eu/current/multilib/nonfree/x86_64-repodata’ …
[
] Updating https://repo.voidlinux.eu/current/multilib/x86_64-repodata' ... [*] Updatinghttps://repo.voidlinux.eu/current/nonfree/x86_64-repodata’ …
libreoffice-5.4.2.2_1: broken, unresolvable shlib `libpoppler.so.71’
Transaction aborted due to unresolved shlibs.

#xbps-query -p hold -s ""
cups-filters-1.17.9_3: true
libreoffice-5.4.2.2_1: true
poppler-0.60.1_2: true
poppler-glib-0.60.1_2: true
poppler-qt5-0.60.1_1: true
poppler-utils-0.60.1_2: true


#12

Same here. It’s not working. I just wonder why. Are we doing something wrong?

# xbps-query -X poppler
cups-filters-1.17.9_3
inkscape-0.92.2_3
libreoffice-5.4.2.2_1
poppler-glib-0.60.1_2
poppler-utils-0.60.1_2
texlive2017-bin-2017_1

# sudo xbps-pkgdb -m hold cups-filters inkscape libreoffice poppler-glib poppler-utils texlive2017-bin

# sudo xbps-install -Su
[*] Updating `https://repo.voidlinux.eu/current/x86_64-repodata' ...
[*] Updating `https://repo.voidlinux.eu/current/multilib/x86_64-repodata' ...
[*] Updating `https://repo.voidlinux.eu/current/nonfree/x86_64-repodata' ...
libreoffice-5.4.2.2_1: broken, unresolvable shlib `libpoppler.so.71'
Transaction aborted due to unresolved shlibs.

(James Shawn) #13

bluemoon please come back with updates if you find something new for us. i see that you know these things pretty well, could you help me with some questions that i might have for you? i’m currently taking some illegal steroids because that’s what my doctor said and it is hard for me to concentrate. but later i might come back so i would appreciate some help! thanks!


#14

This seems to be a problem with the update to libreoffice. If I remove libreoffice, everything else updates without issue.


#15

@Sall1981 there are many things I don’t know. I just read the man pages and use trial and error. If I think I can contribute something to the solution of a problem I’ll do so. When you have questions just open a new topic. :slight_smile: