brogos
(Thiago)
July 4, 2019, 6:05pm
1
When I try to update my Silverblue 31 instalation using rpm-ostree update
I get following error: error: Unrecognized archive format
. This is the whole output of the command:
sudo rpm-ostree update
1 metadata, 0 content objects fetched; 569 B transferred in 2 seconds
Checking out tree af7560f… done
Enabled rpm-md repositories: rawhide fedora-modular rpmfusion-free-updates updates-modular rpmfusion-free rpmfusion-free-rawhide updates-testing updates
Updating metadata for ‘rawhide’… done
rpm-md repo ‘rawhide’; generated: 2019-07-03T07:56:00Z
Updating metadata for ‘fedora-modular’… done
rpm-md repo ‘fedora-modular’; generated: 2019-07-03T07:51:26Z
Updating metadata for ‘rpmfusion-free-updates’… done
rpm-md repo ‘rpmfusion-free-updates’; generated: 2019-07-03T17:49:33Z
Updating metadata for ‘updates-modular’… done
rpm-md repo ‘updates-modular’; generated: 2019-07-03T07:51:26Z
Updating metadata for ‘rpmfusion-free’… done
rpm-md repo ‘rpmfusion-free’; generated: 2019-07-03T17:49:33Z
Updating metadata for ‘rpmfusion-free-rawhide’… done
rpm-md repo ‘rpmfusion-free-rawhide’; generated: 2019-07-03T17:49:33Z
Updating metadata for ‘updates-testing’… done
rpm-md repo ‘updates-testing’; generated: 2019-07-03T07:56:00Z
Updating metadata for ‘updates’… done
rpm-md repo ‘updates’; generated: 2019-07-03T07:56:00Z
Importing rpm-md… done
Resolving dependencies… done
Will download: 1 package (38,9 kB)
Downloading from ‘rawhide’… done
Importing packages… done
error: Unrecognized archive format
1 Like
brogos
(Thiago)
July 6, 2019, 4:17pm
3
Unfortunately, It’ s not able to install any package:
sudo rpm-ostree install gtk3-devel glib2-devel
[sudo] senha para thiago:
Checking out tree 4096266... done
Enabled rpm-md repositories: rawhide fedora-modular rpmfusion-free-updates updates-modular rpmfusion-free rpmfusion-free-rawhide updates-testing updates
rpm-md repo 'rawhide' (cached); generated: 2019-07-04T20:28:37Z
rpm-md repo 'fedora-modular' (cached); generated: 2019-07-04T20:23:29Z
rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2019-07-04T12:20:08Z
rpm-md repo 'updates-modular' (cached); generated: 2019-07-04T20:23:29Z
rpm-md repo 'rpmfusion-free' (cached); generated: 2019-07-04T12:20:08Z
rpm-md repo 'rpmfusion-free-rawhide' (cached); generated: 2019-07-04T12:20:08Z
rpm-md repo 'updates-testing' (cached); generated: 2019-07-04T20:28:37Z
rpm-md repo 'updates' (cached); generated: 2019-07-04T20:28:37Z
Importing rpm-md... done
Resolving dependencies... done
Will download: 62 packages (15,9 MB)
Downloading from 'fedora-modular'... done
Downloading from 'rawhide'... done
Importing packages... done
error: Unrecognized archive format
brogos
(Thiago)
July 6, 2019, 4:22pm
4
This is the output of journalctl:
journalctl -b -t 'rpm-ostree'
-- Logs begin at Mon 2019-06-10 20:57:18 -03, end at Sat 2019-07-06 13:21:32 -03. --
jul 06 12:06:02 localhost.localdomain rpm-ostree[2360]: Reading config file '/etc/rpm-ostreed.conf'
jul 06 12:06:05 localhost.localdomain rpm-ostree[2360]: In idle state; will auto-exit in 61 seconds
jul 06 12:06:05 localhost.localdomain rpm-ostree[2360]: Allowing active client :1.554 (uid 1000)
jul 06 12:06:05 localhost.localdomain rpm-ostree[2360]: client(id:gnome-software dbus:1.554 unit:session-2.scope uid:1000) added; new total=1
jul 06 12:06:12 localhost.localdomain rpm-ostree[2360]: Initiated txn RefreshMd for client(id:gnome-software dbus:1.554 unit:session-2.scope uid:1000): /org/projectatomic/rpmostree1/fedora_workstation
jul 06 12:06:26 localhost.localdomain rpm-ostree[2360]: Txn RefreshMd on /org/projectatomic/rpmostree1/fedora_workstation successful
jul 06 13:14:11 localhost.localdomain rpm-ostree[2360]: client(id:cli dbus:1.694 unit:dbus-:1.2-com.gexperts.Tilix@0.service uid:0) added; new total=2
jul 06 13:14:12 localhost.localdomain rpm-ostree[2360]: Initiated txn PkgChange for client(id:cli dbus:1.694 unit:dbus-:1.2-com.gexperts.Tilix@0.service uid:0): /org/projectatomic/rpmostree1/fedora_workstation
jul 06 13:15:46 localhost.localdomain rpm-ostree[2360]: Preparing pkg txn; enabled repos: ['rawhide', 'fedora-modular', 'rpmfusion-free-updates', 'updates-modular', 'rpmfusion-free', 'rpmfusion-free-rawhide', 'updates-testing', 'updates'] solvables: 1839>
jul 06 13:15:53 localhost.localdomain rpm-ostree[2360]: Txn PkgChange on /org/projectatomic/rpmostree1/fedora_workstation failed: Unrecognized archive format
jul 06 13:15:53 localhost.localdomain rpm-ostree[2360]: client(id:cli dbus:1.694 unit:dbus-:1.2-com.gexperts.Tilix@0.service uid:0) vanished; remaining=1
brogos
(Thiago)
July 8, 2019, 6:35pm
5
I don’t … maybe there are some corrupted packages in Fedora repo. I was able to install gcc, g++, gnome-tweak-tools, vim and tilix. But I was not able to install fish, clang and neovim.
brogos
(Thiago)
July 9, 2019, 1:10am
6
One package with this problem is libuv. It’ s possible to download it from http://download-ib01.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/l/libuv-1.30.1-1.fc31.x86_64.rpm . I was able to extract the content of this package using rpm2cpio. It seems to be correct. But there is something wrong with this file, I just don’ t know how to check it.
tpb
(tpb)
July 12, 2019, 12:35pm
7
I don’t know what the issue was, but rebasing to 30 and then back to rawhide got it unstuck for me.
brogos
(Thiago)
July 12, 2019, 3:13pm
8
@tpb , some packages from Fedora 31 are archived using ZSTD compression format. Unfortunately, today rpm-ostree is not able to deal with this format. But there is already a pull request waiting for being accepted into rpm-ostree. See unpacker: Add support for zstd by jlebon · Pull Request #1866 · coreos/rpm-ostree · GitHub
tpb
(tpb)
July 12, 2019, 8:50pm
9
Ah. I must have gotten lucky that the first update after rebasing had no issues.
walters
(Colin Walters)
July 12, 2019, 10:30pm
10
We’ll get an update into f30 ASAP to fix this, https://koji.fedoraproject.org/koji/taskinfo?taskID=36210834 is building now. (Although ironically it may be zstd compressed, going to check at the end; regardless will update this post (and the github issue) with workaround instructions once we have them.
walters
(Colin Walters)
July 12, 2019, 11:18pm
11
Wait no, this doesn’t seem to affect f30. If someone is really hitting it on f30, please post exactly which package you had and which rpm-md repos you had enabled. (For example, if you had the rawhide
repo enabled on f30, that would cause this but that’s clearly not a default)
brogos
(Thiago)
July 12, 2019, 11:37pm
14
I’m having this problem when updating in rawhide (f31):
sudo rpm-ostree update
[sudo] senha para thiago:
1 metadata, 0 content objects fetched; 569 B transferred in 3 seconds
Checking out tree 053e8a9… done
Enabled rpm-md repositories: rawhide fedora-modular updates-modular updates-testing updates
rpm-md repo ‘rawhide’ (cached); generated: 2019-07-12T02:33:03Z
rpm-md repo ‘fedora-modular’ (cached); generated: 2019-07-09T17:59:48Z
rpm-md repo ‘updates-modular’ (cached); generated: 2019-07-12T02:27:34Z
rpm-md repo ‘updates-testing’ (cached); generated: 2019-07-12T02:33:03Z
rpm-md repo ‘updates’ (cached); generated: 2019-07-12T02:33:03Z
Importing rpm-md… done
Resolving dependencies… done
Will download: 1 package (6,7 MB)
Downloading from ‘rawhide’… done
Importing packages… done
error: Unrecognized archive format
walters
(Colin Walters)
July 13, 2019, 12:09am
15
Fixing rawhide should be done now with: rpm-ostree-2019.4.28.g44395673-3.fc31 | Build Info | koji
Now of course…those packages are zstd compressed…so, you have two choices; the first of which is to uninstall all layered packages, wait till the next treecompose (should be…daily?) and then upgrade, then reinstall your layered packages.
Alternatively, using the f30 version should work:
$ rpm-ostree override replace https://kojipkgs.fedoraproject.org//packages/rpm-ostree/2019.4.28.g44395673/3.fc30/x86_64/rpm-ostree-{libs-,}2019.4.28.g44395673-3.fc30.x86_64.rpm
brogos
(Thiago)
July 13, 2019, 12:17am
16
Hi @walters , unfortunately the package are using zstd (I replace f30 with f31):
sudo rpm-ostree override replace https://kojipkgs.fedoraproject.org//packages/rpm-ostree/2019.4.28.g44395673/3.fc31/x86_64/rpm-ostree-{libs-,}2019.4.28.g44395673-3.fc31.x86_64.rpm
Downloading 'https://kojipkgs.fedoraproject.org//packages/rpm-ostree/2019.4.28.g44395673/3.fc31/x86_64/rpm-ostree-libs-2019.4.28.g44395673-3.fc31.x86_64.rpm'... done!
Downloading 'https://kojipkgs.fedoraproject.org//packages/rpm-ostree/2019.4.28.g44395673/3.fc31/x86_64/rpm-ostree-2019.4.28.g44395673-3.fc31.x86_64.rpm'... done!
error: Unrecognized archive format
Maybe I’ll have to wait next treecompose and uninstall all layered packages.
kbjji
(Bumjoon Kim)
July 13, 2019, 12:16pm
17
I have the same problem.
I’ve reinstalled the packages after “rpm-ostree reset”.
sudo rpm-ostree reset
sudo rpm-ostree install \
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm \
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm
sudo rpm-ostree install <RPMS>
I have not found any problems with the Fedora silverblue rawhide package update.
But
In my case, the same problem when installing the kmod-nvidia package.
rpm-ostree install kmod-nvidia
...
error: Unrecognized archive format
After “rpm-ostree reset”, I was able to solve the problem.
I’m sorry I did not have good English.
milos
(Milos Vyletel)
July 16, 2019, 9:32am
18
~ » rpm-ostree override replace https://kojipkgs.fedoraproject.org//packages/rpm-ostree/2019.4.28.g44395673/3.fc30/x86_64/rpm-ostree-2019.4.28.g44395673-3.fc30.x86_64.rpm https://kojipkgs.fedo
raproject.org//packages/rpm-ostree/2019.4.28.g44395673/3.fc30/x86_64/rpm-ostree-libs-2019.4.28.g44395673-3.fc30.x86_64.rpm
Downloading 'https://kojipkgs.fedoraproject.org//packages/rpm-ostree/2019.4.28.g44395673/3.fc30/x86_64/rpm-ostree-2019.4.28.g44395673-3.fc30.x86_64.rpm'... done!
Downloading 'https://kojipkgs.fedoraproject.org//packages/rpm-ostree/2019.4.28.g44395673/3.fc30/x86_64/rpm-ostree-libs-2019.4.28.g44395673-3.fc30.x86_64.rpm'... done!
Checking out tree eca1473... done
Enabled rpm-md repositories: keybase flatcap-neomutt rawhide google-chrome-beta
Updating metadata for 'keybase'... done
rpm-md repo 'keybase'; generated: 2019-07-10T18:38:48Z
rpm-md repo 'flatcap-neomutt' (cached); generated: 2019-07-16T07:54:55Z
rpm-md repo 'rawhide' (cached); generated: 2019-07-15T20:48:27Z
rpm-md repo 'google-chrome-beta' (cached); generated: 2019-07-15T20:55:49Z
Importing rpm-md... done
Resolving dependencies... done
error: Could not depsolve transaction; 3 problems detected:
Problem 1: conflicting requests
- nothing provides librpm.so.8()(64bit) needed by rpm-ostree-libs-2019.4.28.g44395673-3.fc30.x86_64
- nothing provides librpmio.so.8()(64bit) needed by rpm-ostree-libs-2019.4.28.g44395673-3.fc30.x86_64
Problem 2: conflicting requests
- nothing provides librpm.so.8()(64bit) needed by rpm-ostree-2019.4.28.g44395673-3.fc30.x86_64
- nothing provides librpmio.so.8()(64bit) needed by rpm-ostree-2019.4.28.g44395673-3.fc30.x86_64
so I guess the only option is to rebase to f30 and then back to rawhide
1 Like
brogos
(Thiago)
July 17, 2019, 2:00am
19
@milos , just do rpm-ostree update. The update will install the fix to this problem.
arxcruz
(Arx Cruz)
July 17, 2019, 10:02am
20
Any chance to have unpacker: Add support for zstd by jlebon · Pull Request #1866 · coreos/rpm-ostree · GitHub packed to Silverblue 30? I am not able to upgrade from 30 to rawhide because of this.
milos
(Milos Vyletel)
July 17, 2019, 10:41am
21
right. it finally worked when I removed all overlay rpms. little bit inconvenient to upgrade in two steps but at least it worked
arxcruz
(Arx Cruz)
July 17, 2019, 11:42am
22
did you update from 30 to rawhide? I’m not being able to do so… can you tell me what you did?