[Bug 1849587] Re: apt-file doesn't find anything

2019-10-30 Thread Adam Conrad
*** This bug is a duplicate of bug 1848768 ***
https://bugs.launchpad.net/bugs/1848768

** This bug has been marked a duplicate of bug 1848768
   19.10:  cache is empty. You need to run "apt-file update" first.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1849587

Title:
  apt-file doesn't find anything

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-file/+bug/1849587/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1849587] Re: apt-file doesn't find anything

2019-10-28 Thread Akkana Peck
Someone on #ubuntu suggested it might be due to the lack of a Contents-
amd64.gz in the eoan release, mentioned in
https://lists.ubuntu.com/archives/ubuntu-devel/2019-October/040832.html

If true, might that explain why it works for some searches and not for
other? Is the Contents file perhaps different for the various different
lines in /etc/apt/sources.list? I don't really understand this "release
pocket" terminology or where the Contents file should be.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1849587

Title:
  apt-file doesn't find anything

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-file/+bug/1849587/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1849587] Re: apt-file doesn't find anything

2019-10-28 Thread David A. Desrosiers
I can also confirm that this happens for _some_ searches, while others
do produce results, although not entirely correct results. This looks to
be some regex fragility.

Review the following, for example, using apt-file 3.2.2 on Eoan:

$ dpkg -S $(which joe); apt-file search joe; echo $?
joe: /usr/bin/joe
1 

$ dpkg -S $(which bash); apt-file search bash; echo $?
bash: /bin/bash
librust-cargo-dev: 
/usr/share/cargo/registry/cargo-0.37.0/src/etc/cargo.bashcomp.sh
linux-tools-common: /usr/share/bash-completion/completions/bpftool
0

Here's the same search done with apt-file 2.5.2ubuntu1 on Trusty:

$ dpkg -S $(which bash); apt-file search 'bin/bash'; echo $?
bash: /bin/bash
bash: /bin/bash
bash: /usr/bin/bashbug
bash-static: /bin/bash-static
bashburn: /usr/bin/bashburn
bashdb: /usr/bin/bashdb
0

$ dpkg -S $(which joe); apt-file search 'bin/joe'; echo $?
joe: /usr/bin/joe
joe: /usr/bin/joe
joe-jupp: /usr/bin/joe
0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1849587

Title:
  apt-file doesn't find anything

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-file/+bug/1849587/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1849587] Re: apt-file doesn't find anything

2019-10-28 Thread Akkana Peck
** Description changed:

  On eoan, apt-file never finds anything.
  
  For instance:
  
- - sudo apt-file update
~/src/scripts
- Hit:1 http://us.archive.ubuntu.com/ubuntu eoan InRelease  
 
- Get:2 http://us.archive.ubuntu.com/ubuntu eoan-updates InRelease [79.7 kB]
 
- Get:3 http://security.ubuntu.com/ubuntu eoan-security InRelease [79.7 kB] 
 
- Ign:4 http://code.bitlbee.org/debian/master/disco/amd64 ./ InRelease  
 
- Hit:5 http://code.bitlbee.org/debian/master/disco/amd64 ./ Release
 
- Hit:7 http://us.archive.ubuntu.com/ubuntu eoan-backports InRelease
 
- Get:8 http://security.ubuntu.com/ubuntu eoan-security/main Sources [10.3 kB]  
- Get:9 http://us.archive.ubuntu.com/ubuntu eoan-updates/main Sources [10.3 kB] 
 
+ - sudo apt-file update
+ Hit:1 http://us.archive.ubuntu.com/ubuntu eoan InRelease
+ Get:2 http://us.archive.ubuntu.com/ubuntu eoan-updates InRelease [79.7 kB]
+ Get:3 http://security.ubuntu.com/ubuntu eoan-security InRelease [79.7 kB]
+ Ign:4 http://code.bitlbee.org/debian/master/disco/amd64 ./ InRelease
+ Hit:5 http://code.bitlbee.org/debian/master/disco/amd64 ./ Release
+ Hit:7 http://us.archive.ubuntu.com/ubuntu eoan-backports InRelease
+ Get:8 http://security.ubuntu.com/ubuntu eoan-security/main Sources [10.3 kB]
+ Get:9 http://us.archive.ubuntu.com/ubuntu eoan-updates/main Sources [10.3 kB]
  Get:10 http://us.archive.ubuntu.com/ubuntu eoan-updates/multiverse Sources 
[712 B]
  Get:11 http://security.ubuntu.com/ubuntu eoan-security/multiverse Sources 
[712 B]
  Get:12 http://us.archive.ubuntu.com/ubuntu eoan-updates/main amd64 Packages 
[32.6 kB]
  Get:13 http://security.ubuntu.com/ubuntu eoan-security/main i386 Packages 
[17.0 kB]
  Get:14 http://us.archive.ubuntu.com/ubuntu eoan-updates/main i386 Packages 
[17.0 kB]
  Get:15 http://security.ubuntu.com/ubuntu eoan-security/main amd64 Packages 
[32.6 kB]
  Get:16 http://us.archive.ubuntu.com/ubuntu eoan-updates/main Translation-en 
[12.2 kB]
  Get:17 http://us.archive.ubuntu.com/ubuntu eoan-updates/main amd64 c-n-f 
Metadata [464 B]
  Get:18 http://security.ubuntu.com/ubuntu eoan-security/main Translation-en 
[12.2 kB]
  Get:19 http://us.archive.ubuntu.com/ubuntu eoan-updates/universe amd64 
Packages [5,572 B]
  Get:20 http://security.ubuntu.com/ubuntu eoan-security/main amd64 c-n-f 
Metadata [464 B]
  Get:21 http://us.archive.ubuntu.com/ubuntu eoan-updates/universe i386 
Packages [3,636 B]
  Get:22 http://security.ubuntu.com/ubuntu eoan-security/universe i386 Packages 
[3,636 B]
  Get:23 http://us.archive.ubuntu.com/ubuntu eoan-updates/universe 
Translation-en [4,572 B]
  Get:24 http://security.ubuntu.com/ubuntu eoan-security/universe amd64 
Packages [5,572 B]
  Get:25 http://us.archive.ubuntu.com/ubuntu eoan-updates/universe amd64 c-n-f 
Metadata [364 B]
  Get:26 http://us.archive.ubuntu.com/ubuntu eoan-updates/multiverse amd64 
Packages [1,164 B]
  Get:27 http://security.ubuntu.com/ubuntu eoan-security/universe 
Translation-en [4,572 B]
  Get:28 http://us.archive.ubuntu.com/ubuntu eoan-updates/multiverse i386 
Packages [1,332 B]
  Get:29 http://security.ubuntu.com/ubuntu eoan-security/universe amd64 c-n-f 
Metadata [364 B]
  Get:30 http://us.archive.ubuntu.com/ubuntu eoan-updates/multiverse 
Translation-en [632 B]
  Get:31 http://security.ubuntu.com/ubuntu eoan-security/multiverse amd64 
Packages [1,164 B]
  Get:32 http://security.ubuntu.com/ubuntu eoan-security/multiverse i386 
Packages [1,332 B]
  Get:33 http://security.ubuntu.com/ubuntu eoan-security/multiverse 
Translation-en [632 B]
- Fetched 340 kB in 9s (38.0 kB/s)  
 
+ Fetched 340 kB in 9s (38.0 kB/s)
  Reading package lists... Done
- Building dependency tree   
+ Building dependency tree
  Reading state information... Done
  3 packages can be upgraded. Run 'apt list --upgradable' to see them.
  - apt-file search /usr/sbin/arp
  zsh: exit 1 apt-file search /usr/sbin/arp
  - apt-file search bin/arp
- zsh: exit 1 apt-file search bin/arp   
+ zsh: exit 1 apt-file search bin/arp
  - which arp
  /usr/sbin/arp
  
  It almost always finds nothing, but occasionally it finds partial
  results but not the result I'm expecting:
  
  - apt-file search bin/ls
  linux-cloud-tools-common: /usr/sbin/lsvmbus
  - apt-file search /bin/ls
- zsh: exit 1 apt-file search /bin/ls   
+ zsh: exit 1 apt-file search /bin/ls
  - dpkg -S /bin/ls
  coreutils: /bin/ls
  
  It's not a matter of searching for pathnames (though that has always
  worked for me in past Ubuntu and Debian versions, prior to eoan):
  
  - apt-file search firefox
  zsh: exit 1 apt-file search firefox
  
  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: apt-file 3.2.2
  ProcVersionSignature: Ubuntu 5.3.0-19.20-generic 5.3.1
  Uname: Linux 5.3.0-19-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: