Release upgrade failed! Or not?
#1
I'm running postmarketOS.

Today I tried to upgrade from 23.06 to 23.12 by running

Code:
postmarketos-release-upgrade

via SSH.

At the end I got the message:

Code:
Executing devicepkg-utils-0.2.0-r1.pre-upgrade
ERROR: devicepkg-utils-0.2.0-r1: trying to overwrite etc/deviceinfo owned by device-pine64-pinetab-kernel-allwinner-0.13-r4.
1 error; 1501 MiB in 830 packages
>>> ERROR: Release upgrade failed!
>>> ERROR:
>>> ERROR: Find the log and backup of /etc/apk/repositories in:
>>> ERROR: /var/lib/postmarketos-release-upgrade/2024-02-05-100344
>>> ERROR:
>>> ERROR: If this is a simple packaging error, running 'apk fix' may help.
>>> ERROR:
>>> ERROR: If apk failed to install packages (e.g. due to network outage),
>>> ERROR: running 'apk upgrade -a' again may help.
>>> ERROR:
>>> ERROR: If you need help now, consider joining the postmarketOS chat.
>>> ERROR: Some nice folks hang out there in their free time and may help
>>> ERROR: you out: https://postmarketos.org/chat
>>> ERROR:
>>> ERROR: The wiki page for release upgrades may also have further
>>> ERROR: troubleshooting information: https://postmarketos.org/upgrade
>>> ERROR:
>>> ERROR: If this looks like a bug (i.e. no network outage etc.):
>>> ERROR: please check if there's an existing bug report for this, and if
>>> ERROR: not, then report a new bug at:
>>> ERROR: https://gitlab.com/postmarketOS/postmarketos-release-upgrade/

The log contains the exact same information and didn't help me. So I ran
Code:
postmarketos-release-upgrade

again, to see what happens and it said:

Code:
>>> Nothing to do, you are on the latest stable v23.12.

What does that mean now? Was the upgrade successful or not?
  Reply
#2
I would believe that it has upgraded successfully. Although it may still be a good idea to run
Code:
apk fix
as suggested. But the fact that the next upgrade command said that upgrade was successful suggests it worked fine.

It seems like this kind of error on upgrades is known, and it shouldn't cause install errors, see for example the comment at the bottom of this link or of this.
[url=https://gitlab.com/postmarketOS/postmarketos-release-upgrade/-/issues/5][/url]
  Reply
#3
(02-06-2024, 06:18 AM)FortunateFowl Wrote: I would believe that it has upgraded successfully. Although it may still be a good idea to run
Code:
apk fix
as suggested. But the fact that the next upgrade command said that upgrade was successful suggests it worked fine.

It seems like this kind of error on upgrades is known, and it shouldn't cause install errors, see for example the comment at the bottom of this link or of this.
[url=https://gitlab.com/postmarketOS/postmarketos-release-upgrade/-/issues/5][/url]

Thanks for that information. I ran
Code:
apk fix

but the error remains:

Code:
The following packages will be reinstalled:
  devicepkg-utils
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
(1/1) Reinstalling devicepkg-utils (0.2.0-r1)
Executing devicepkg-utils-0.2.0-r1.pre-upgrade
ERROR: devicepkg-utils-0.2.0-r1: trying to overwrite etc/deviceinfo owned by device-pine64-pinetab-kernel-allwinner-0.13-r4.
1 error; 1501 MiB in 830 packages

This isn't a problem of any file permissions, is it?
  Reply
#4
(02-06-2024, 06:18 AM)FortunateFowl Wrote: I would believe that it has upgraded successfully. Although it may still be a good idea to run
Code:
apk fix
as suggested. But the fact that the next upgrade command said that upgrade was successful suggests it worked fine.

It seems like this kind of error on upgrades is known, and it shouldn't cause install errors, see for example the comment at the bottom of this link or of this.
[url=https://gitlab.com/postmarketOS/postmarketos-release-upgrade/-/issues/5][/url]

Have you encountered any issues or error messages during the upgrade process, and have you tried running the "apk fix" command as suggested to ensure a successful upgrade?
  Reply
#5
(02-20-2024, 03:11 AM)deep22 Wrote:
(02-06-2024, 06:18 AM)FortunateFowl Wrote: I would believe that it has upgraded successfully. Although it may still be a good idea to run
Code:
apk fix
as suggested. But the fact that the next upgrade command said that upgrade was successful suggests it worked fine.

It seems like this kind of error on upgrades is known, and it shouldn't cause install errors, see for example the comment at the bottom of this link or of this.
[url=https://gitlab.com/postmarketOS/postmarketos-release-upgrade/-/issues/5][/url]

Have you encountered any issues or error messages during the upgrade process, and have you tried running the "apk fix" command as suggested to ensure a successful upgrade?

The only error/issue I encountered is/stays the one I described in my last post. There I stated, that I ran "apk fix" and that the error remained.
But this was the only issue and doesn't seem to have any negative effects.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Turn off 10 minute lockout after 3 failed log in attempts. rqkeating 0 572 06-18-2023, 12:00 PM
Last Post: rqkeating
  PineTab Mobian Upgrade issue - Pin no longer works thomzane 3 4,138 04-30-2021, 06:52 AM
Last Post: thomzane

Forum Jump:


Users browsing this thread: 1 Guest(s)