View previous topic :: View next topic |
Author |
Message |
colo-des Tux's lil' helper
Joined: 20 May 2011 Posts: 97
|
Posted: Mon Apr 01, 2024 8:08 pm Post subject: [solved] How to use "list resume_backup" |
|
|
Leave re building all the packages at night and back I find that the package: app-office/libreoffice-l10n
gave error (related to xz unfortunate)
# emerge -evaDN @world
rpm2tar: ./LibreOffice_7.6.4.1_Linux_x86-64_rpm_langpack_xx/RPMS//libobasis7.6-xx-7.6.4.1-1.x86_64.rpm: failed to extract cpio via xz (not actually an RPM?)
I have xz-utils-5.41, I will see it up to 5.4.2, just downloading the ebuild to my local tree.
In a test in another terminal I tried: # emerge -av1 app-offfice/libreoffice-l10n and gave the same error,
so I tried to jump with: # emerge --skipfirst --resume --ask
But it was already too late, he only tries to resume this last attempt.
Reading for the forum and with $ man emaint, I find the command that shows my current situation:
Code: | # emaint --check cleanresume
Emaint: check cleanresume 100% [============================================>]
resume list 'resume' contains 1 packages
resume list 'resume_backup' contains 765 packages |
How to discard "list resume" and leave alone "list resume_backup" to continue with # emerge --skipfirst --resume --ask
Last edited by colo-des on Tue Apr 02, 2024 9:20 pm; edited 4 times in total |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3140
|
Posted: Mon Apr 01, 2024 9:06 pm Post subject: |
|
|
Emerge keeps 2 resume lists as a stack.
Once your most-recently-failed list completes, the second last becomes your new resume list. Since you only have a single item, --resume --skip-first should clear that task and let you process resume_backup next by running emerge --resume again.
Make sure not to initiate another installation in the meantime (like in: don't run emerge without --resume), your oldest resume list would be dropped. _________________ Make Computing Fun Again |
|
Back to top |
|
|
colo-des Tux's lil' helper
Joined: 20 May 2011 Posts: 97
|
Posted: Tue Apr 02, 2024 3:15 am Post subject: |
|
|
I wasn't lucky, with: # emerge --resume --skipfirst --ask but gives error...
rpm2tar: ./LibreOffice_7.6.4.1_Linux_x86-64_rpm_langpack_xx/RPMS//libobasis7.6-xx-7.6.4.1-1.x86_64.rpm: failed to extract cpio via xz (not actually an RPM?)
emerge never removes it and he doesn't let skip.
reading this page:
https://ahelpme.com/linux/gentoo/gentoo-emerge-resume-invalid-resume-list-and-clean-the-list/
"The list is located in the binary file: /var/cache/edb/mtimedb and to clean the list you should execute:"
make a backup:
Code: | # cp -v /var/cache/edb/mtimedb /home/my-user/adm
'/var/cache/edb/mtimedb' -> '/home/my-user/adm/mtimedb' |
edit the original:
Code: | # nano /var/cache/edb/mtimedb |
replaced the app-office/libreoffice-l10n-7.6.4.1 with app-arch/rpm2targz-2021.03.16 in the resume section
so that can delete the section resume and automatically rename the resume_backup to resume.
Code: | "resume": {
"favorites": [
"app-office/libreoffice-l10n"
],
"mergelist": [
[
"ebuild",
"/",
- "app-office/libreoffice-l10n-7.6.4.1",
+ "app-arch/rpm2targz-2021.03.16",
"merge"
]
],
"myopts": {
"--autounmask": "n",
"--keep-going": true,
"--oneshot": true,
"--quiet-build": "n",
"--regex-search-auto": "y",
"--resume": true,
"--verbose": true,
"--with-bdeps": "y"
}
},
"resume_backup": {
"favorites": [
"@world"
],
"mergelist": [
[
"ebuild",
"/",
"app-office/libreoffice-l10n-7.6.4.1",
"merge"
],
[
"ebuild",
"/",
"sys-libs/slang-2.3.3-r1",
"merge"
], |
Code: | # emerge --resume --ask
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 5.77 s.
[ebuild R ] app-arch/rpm2targz-2021.03.16::gentoo 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Would you like to resume merging these packages? [Yes/No] y |
that eliminates the resume section
Code: | # emaint --check cleanresume
Emaint: check cleanresume 100% [============================================>]
resume list 'resume_backup' contains 765 packages |
emerge the 765 packages skiping app-offfice/libreoffice-l10n-7.6.4.1
Code: | # emerge --skipfirst --resume --ask
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 12.80 s.
...
...
...
Total: 764 packages (764 reinstalls), Size of downloads: 0 KiB
Would you like to resume merging these packages? [Yes/No] y |
all perfect, but before accepting with yes, I opened another terminal and
verify the change of name in section from resume_backup to resume
Code: | # emaint --check cleanresume
Emaint: check cleanresume 100% [============================================>]
resume list 'resume' contains 765 packages |
finally, he resolved and learned where he emerge keep the resume copies.
Regards.
Last edited by colo-des on Tue Apr 02, 2024 5:18 am; edited 1 time in total |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2963 Location: Edge of marsh USA
|
Posted: Tue Apr 02, 2024 4:04 am Post subject: |
|
|
skipfirst spelling is "--skipfirst" not "--skip-first." _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
colo-des Tux's lil' helper
Joined: 20 May 2011 Posts: 97
|
Posted: Tue Apr 02, 2024 5:22 am Post subject: |
|
|
Usually I edit the messages in an editor and then paste in the post, this was not the case.
But in reality if I used --skipfirst --resume --ask
Thanks, now I'm going to correct it so as not to confuse anyone.
Everything continues well for now:
Code: | $ genlop -c
Currently merging 221 out of 764
* sys-block/parted-3.6-r1
current merge time: 51 seconds.
ETA: less than a minute. |
|
|
Back to top |
|
|
colo-des Tux's lil' helper
Joined: 20 May 2011 Posts: 97
|
Posted: Tue Apr 02, 2024 9:20 pm Post subject: |
|
|
Code: | >>> Completed (764 of 764) net-print/foomatic-db-4.0.20190226::gentoo
$ emaint --check cleanresume
Emaint: check cleanresume 100% [============================================>] |
It has ended without problems and the list resume is no longer show.
The problem I had with libreoffice-l10n was that in a # emerge --depclean
was removed the app-arch/cpio package due to a pending issue with app-alternatives/cpio
I am ending the thread and thank szatox and figueroa for their collaborations.
Thanks. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|