The officially official Devuan Forum!

You are not logged in.

#1 2021-04-03 04:50:19

jobbautista9
Member
From: Philippines
Registered: 2020-07-11
Posts: 32  
Website

Can't upgrade my packages from deb.devuan.org's ftp server

I just reenabled ftp in my apt to see how it compares to http. apt-get update works fine. However apt-get upgrade doesn't. When I try to pull packages from the ftp server, it results in "No such file or directory" errors.

Is ftp in deb.devuan.org still officially supported? I mean I can just go back to http and upgrading will work fine, but I'm curious on the status of ftp.

Here's my sources.list config:

#deb cdrom:[Devuan GNU/Linux 3.0 (beowulf) amd64 - cd2 20200526]/ beowulf main
#deb cdrom:[Devuan GNU/Linux 3.0 (beowulf) amd64 - server 20200526]/ beowulf main

deb ftp://deb.devuan.org/devuan/merged chimaera main contrib non-free
deb-src ftp://deb.devuan.org/devuan/merged chimaera main contrib non-free

#deb ftp://deb.devuan.org/merged ceres main contrib non-free
deb-src ftp://deb.devuan.org/devuan/merged ceres main contrib non-free

deb ftp://deb.devuan.org/devuan/devuan experimental main contrib non-free

#deb http://linux-libre.gnulinux.si/freesh/ freesh main

deb http://dl.winehq.org/wine-builds/debian/ bullseye main

deb ftp://deb.devuan.org/devuan/merged ascii main contrib non-free

And here's a sample error from apt:

E: Failed to fetch ftp://deb.devuan.org/devuan/merged/pool/DEBIAN/main/l/ldb/python3-ldb_2.2.0-3.1_amd64.deb  Unable to fetch file, server said '/devuan/merged/pool/DEBIAN/main/l/ldb/python3-ldb_2.2.0-3.1_amd64.deb: No such file or directory  ' [IP: 131.188.12.211 21]

Former maintainer of the iwd package. See #639! smile

You can also find me on the Pale Moon forums. I develop XUL add-ons for Pale Moon.
My PGP public key

Offline

#2 2021-04-03 05:29:43

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: Can't upgrade my packages from deb.devuan.org's ftp server

In all the years I've been here, I've never heard any discussion about accessing the repos via ftp and on the website's "Packages" page only http and https are mentioned.  However, several of the  the mirrors in the round-robin offer ftp.  I think you'd have to chose one of those to test ftp.

Offline

#3 2021-04-03 06:01:50

jobbautista9
Member
From: Philippines
Registered: 2020-07-11
Posts: 32  
Website

Re: Can't upgrade my packages from deb.devuan.org's ftp server

I tried ftp.dau.de, which offers ftp, but pulling packages using apt results in the same error.

Last edited by jobbautista9 (2021-04-03 06:02:01)


Former maintainer of the iwd package. See #639! smile

You can also find me on the Pale Moon forums. I develop XUL add-ons for Pale Moon.
My PGP public key

Offline

#4 2021-04-03 06:05:19

jobbautista9
Member
From: Philippines
Registered: 2020-07-11
Posts: 32  
Website

Re: Can't upgrade my packages from deb.devuan.org's ftp server

It seems to be a problem with /merged. I pulled the experimental version of iwd, which is on /devuan, and it works.


Former maintainer of the iwd package. See #639! smile

You can also find me on the Pale Moon forums. I develop XUL add-ons for Pale Moon.
My PGP public key

Offline

#5 2021-04-03 07:07:26

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,253  

Re: Can't upgrade my packages from deb.devuan.org's ftp server

Afaik the package repositories are not provided over ftp anywhere; not sure how you got that idea.

The package file access relies on HTTP redirect as means for pulling packages from Devuan the store or the Debian store. The principle is simply that the filename for the package files has a prefix of either pool/DEVUAN or pool/DEBIAN and a server rewrite rule that maps the former into a local access whereas the latter is returned as an HTTP redirect to a deb.debian.org service.

Some release iso mirrors offer different file access protocols such as ftp and rsync for the isos.

Offline

#6 2021-04-03 16:34:55

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: Can't upgrade my packages from deb.devuan.org's ftp server

Some of the package mirrors also seem to offer ftp and rsync.  If that is not the case, that file should be edited.

Offline

#7 2021-04-04 00:54:13

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,253  

Re: Can't upgrade my packages from deb.devuan.org's ftp server

It's both simple and confusing smile

The FQDN deb.devuan.org is an HTTP mirror collection. The servers in that group are only required to serve HTTP.

If there were several FTP servers it could be useful to craft an ftp.devuan.org mirror collection, and likewise a possible rsync.devuan.org, as well as perhaps even sftp.devuan.org and uucp.devuan.org.

However, only HTTP allows the "HTTP 302 redirect" which tells the client to go elsewhere for package download.

Access for ftp, rsync, etc. requires the server either to house both Devaun and Debian packages themselves, or to have file access proxying. While the latter is not much of a technical challenge it means that any proxied packages would go in and out of the server and thereby doubling the bandwidth loading for them.

The option of housing Debian as well as Devuan is taken up by a couple of servers, typically by them adding Devuan to an already existing Debian mirroring. Then, to provide apt access for Devuan they also have the specially crafted root structure needed to handle the virtual pathnames of the Devuan merged packages.

Offline

Board footer