1

Lenovo sent me a brand new laptop with 22.04 installed all my other systems use 24.04.1. Grrr. Is there an easy command-line way to upgrade to 24.04.1 before I start to seriously use the thing?

Tried this:

$ sudo do-release-upgrade
[sudo] password for scohen: 
Checking for a new Ubuntu release
In /etc/update-manager/release-upgrades Prompt 
is set to never so upgrading is not possible.

Changed it to "normal" as per sleepyhead's comment below and get a bunch of errors leading to a quick abort:

Error during update

A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry.

E:The repository 'file:/usr/share/volatile/lenovo-oem/archive Release' does not have a Release file., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., W:Skipping acquire of configured file 'jiayi/binary-amd64/Packages' as repository 'http://oem.archive.canonical.com noble InRelease' doesn't have the component 'jiayi' (component misspelt in sources.list?), W:Skipping acquire of configured file 'jiayi/binary-i386/Packages' as repository 'http://oem.archive.canonical.com noble InRelease' doesn't have the component 'jiayi' (component misspelt in sources.list?), W:Skipping acquire of configured file 'jiayi/i18n/Translation-en' as repository 'http://oem.archive.canonical.com noble InRelease' doesn't have the component 'jiayi' (component misspelt in sources.list?), W:Skipping acquire of configured file 'jiayi/dep11/Components-amd64.yml' as repository 'http://oem.archive.canonical.com noble InRelease' doesn't have the component 'jiayi' (component misspelt in sources.list?), W:Skipping acquire of configured file 'jiayi/dep11/icons-48x48.tar' as repository 'http://oem.archive.canonical.com noble InRelease' doesn't have the component 'jiayi' (component misspelt in sources.list?), W:Skipping acquire of configured file 'jiayi/dep11/icons-64x64.tar' as repository 'http://oem.archive.canonical.com noble InRelease' doesn't have the component 'jiayi' (component misspelt in sources.list?), W:Skipping acquire of configured file 'jiayi/dep11/icons-64x64@2.tar' as repository 'http://oem.archive.canonical.com noble InRelease' doesn't have the component 'jiayi' (component misspelt in sources.list?), W:Skipping acquire of configured file 'jiayi/cnf/Commands-amd64' as repository 'http://oem.archive.canonical.com noble InRelease' doesn't have the component 'jiayi' (component misspelt in sources.list?)

Restoring original system state

Aborting Reading package lists... Done
Building dependency tree... Done Reading state information... Done

There is no "network problem" as evidenced by the fact that these posts are going through.

UPDATE: What on earth makes anyone think that this issue and How to resolve Skipping acquire of configured file Ubuntu 18.04.2 LTS are similar? In the case of the latter, simply changing the name of the ubuntu release repository to the correct one solved the problem. In this case we are talking about a Lenovo OEM repository. If you think that there IS a repository I could switch to that has the required packages, please put a link to it here. But no one has been able to point me at that repository and I don't think one currently exists.

0 Answers0