GithubHelp home page GithubHelp logo

apt-file's People

Contributors

debian-janitor avatar jwilk avatar landfillbaby avatar nthykier avatar pabs3 avatar thijskh avatar

Stargazers

 avatar  avatar

Watchers

 avatar

apt-file's Issues

Support for tor apt-transport

apt-file currently fails if source.list entries are configured with tor+http(s) apt transport.

W: Don't know how to handle tor+http
W: Don't know how to handle tor+https
E: No valid sources in /etc/apt/sources.list

50apt-file.conf using wrong commenting syntax

Hi, the file

50apt-file.conf

is using both double and single hashes for comments but APT uses C-style commenting for its configuration files. So either // or the /* abcde */ style commenting should be used.

This can cause some tools to fail. For example when a "cupt why" command is given to the cupt package manager, it spits out

E: syntax error: line 1, character 1: expected: clear directive ('#clear') or option name (letters, numbers, slashes, points, dashes, double colons allowed)
E: unable to parse the config file '//etc/apt/apt.conf.d/50apt-file.conf'
W: skipped the configuration file '//etc/apt/apt.conf.d/50apt-file.conf'

All the file's comments should be converted to C-style as per "man 5 apt.conf".

`apt-file` has no results, is that due to missing `Contents` files?

Hello,

From what I can tell fromt he internets apt-file is not working for us because our repos do not have a Contents file.

I created this OBS issue to see about having it built in the pipeline.

Can you confirm that the reason apt-file would return not results (exits 1) is because the source is missing the Contents file? In other words if there was a valid Contents[.gz] apt-file would find the info no problem.

If so then this OBS issue is valid, if not it needs adjusted/closed and something else done.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.