The officially official Devuan Forum!

You are not logged in.

#1 2018-08-08 07:45:52

paulwratt
Member
Registered: 2018-08-08
Posts: 7  

[SOLVED] apt-file constructs wrong url from /etc/apt/sources.list

"apt-file" perl script is bugged in Devuan 1 (jessie-stable-old?)
looks for "dir/Content-_arch_.gz" instead of "dir/binary-_arch_/Packages.gz"

use "apt-file -v update" to reproduce debug confirmation of issue.

Why was this package allowed thru? Does the same bug appear in Devuan 2? Someone is letting the team down ...

Update
it appears the solution is simply to change repos to point to deb.devuan.org.

Last edited by paulwratt (2018-08-19 14:16:16)

Offline

#2 2018-08-08 12:50:59

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

Re: [SOLVED] apt-file constructs wrong url from /etc/apt/sources.list

Not the Devuan team.   https://pkginfo.devuan.org/cgi-bin/d1pk … elease=any  Talk to Debian.  We have not touched that package.

Offline

#3 2018-08-08 19:06:26

GNUser
Member
Registered: 2017-03-16
Posts: 570  

Re: [SOLVED] apt-file constructs wrong url from /etc/apt/sources.list

paulwratt, in Devuan jessie I had problems with apt-file not finding Contents-arch.gz, it may be related to your issue:
https://dev1galaxy.org/viewtopic.php?id=519

In Devuan ASCII the problem went away.

Offline

#4 2018-08-18 05:51:27

paulwratt
Member
Registered: 2018-08-08
Posts: 7  

Re: [SOLVED] apt-file constructs wrong url from /etc/apt/sources.list

golinux wrote:

Not the Devuan team.   https://pkginfo.devuan.org/cgi-bin/d1pk … elease=any  Talk to Debian.  We have not touched that package.

In Devuan ASCII the problem went away.

can a Devuan patch be applied to the Jessie repos to fix this, from a diff between Dev1 Jessie & Dev1 Ascii then?

Last edited by paulwratt (2018-08-18 06:01:00)

Offline

#5 2018-08-18 06:22:01

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

Re: [SOLVED] apt-file constructs wrong url from /etc/apt/sources.list

paulwratt wrote:

can a Devuan patch be applied to the Jessie repos to fix this, from a diff between Dev1 Jessie & Dev1 Ascii then?

I'm guessing that if you use deb.devuan.org in your sources.list instead of auto.mirror.devuan.org, that issue may be resolved.  The auto.mirror default shipped on the jessie isos is now deprecated.  But then it's late and I'm really tired . . .

Offline

#6 2018-08-19 13:32:47

paulwratt
Member
Registered: 2018-08-08
Posts: 7  

Re: [SOLVED] apt-file constructs wrong url from /etc/apt/sources.list

after mucking around a bit I just realized the contents of those Packages.xz (package info) is not the same as Contents.gz (hostfs => pkgfs)

EDIT: in fact after a quick check it turns out @golinux is right, there is no issue with the original script IF your repo points to deb.devuan.org

Last edited by paulwratt (2018-08-19 13:45:58)

Offline

Board footer