"No Release file" from do-release-upgrade with an aptly repo
Sam Varshavchik
mrsam at courier-mta.com
Tue Aug 16 00:29:39 UTC 2022
I wrote:
> I wrote:
>
>> I used pbuilder-dist to rebuild all of these packages for 22, so now my
>> question is: with all of that done, how do I actually upgrade from focal to
>> jammy, together with my private packages?
> So:
>
> root at ripper:/etc/update-manager/release-upgrades.d# cat mine.cfg
> [Sources]
> AllowThirdParty = yes
>
> This didn't help either. I found the following clue in /var/log/dist-upgrade:
>
> 2022-08-15 10:19:03,937 DEBUG examining: 'deb
> file:///home/mrsam/.aptly/public focal main'
> 2022-08-15 10:19:03,938 DEBUG verifySourcesListEntry: deb
> file:///home/mrsam/.aptly/public jammy main
> 2022-08-15 10:19:03,938 DEBUG url_downloadable:
> file:///home/mrsam/.aptly/public/dists/jammy/Release
> 2022-08-15 10:19:03,938 DEBUG s='file' n=''
> p='/home/mrsam/.aptly/public/dists/jammy/Release' q='' f=''
> 2022-08-15 10:19:03,938 DEBUG entry '# deb file:///home/mrsam/.aptly/public
> focal main' was disabled (no Release file)
>
> However, aptly most certainly created the Release file:
>
> root at ripper:/var/log/dist-upgrade# ls -al
> /home/mrsam/.aptly/public/dists/jammy/Release
> -rw-rw-r-- 1 mrsam mrsam 2664 Aug 14 20:02
> /home/mrsam/.aptly/public/dists/jammy/Release
>
> The Release file exists, so what is it complaining about?
It doesn't know how to download from a file:/// repository.
Picking apart DistUpgrade's python source, in utils.py, url_downloadable
recognizes only http://, https://, and ftp:// repositories.
apt has no issues whatsoever with shoving file:/// into /etc/apt/sources.list
But distupgrade chokes on it.
So, looks like I have to install apache, or vsftpd, in order to do this.
This seems way, way more complicated than it really has to be.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20220815/bd2f8f89/attachment.sig>
More information about the ubuntu-users
mailing list