Error Reading /profiles/arch.list
Sign in Pricing Blog Support Search GitHub This repository Watch 9 Star 8 Fork 4 gentoo-perl/g-cpan Code Issues 9 Pull requests 1 Projects 0 Pulse Graphs Permalink Branch: master Switch branches/tags Branches Tags g-cpan-0.16-mpc master Nothing to show v0.16.9 v0.16.8 v0.16.7 v0.16.6 v0.16.5 v0.16.4 v0.16.3 v0.16.2 v0.16.1 v0.16.0 v0.15.0 v0.14.0 v0.13.03 v0.13.02 v0.12 Nothing to show Find file Copy path g-cpan/bin/g-cpan Fetching contributors… Cannot retrieve contributors at this time Raw Blame History 1218 lines (1015 sloc) 40.3 KB #!/usr/bin/perl -w package main; use strict; use warnings; use Carp; use Cwd qw( cwd ); use DirHandle; use File::Spec; use File::Path; use File::Basename; use File::Copy; use Getopt::Long; use IO::File; use Log::Agent; use Log::Agent::Driver::File; use Log::Agent::Driver::Silent; use Term::ANSIColor; use YAML; use YAML::Node; use Gentoo; use Gentoo::UI::Console; Getopt::Long::Configure('bundling'); our $VERSION = "0.16.9"; my $prog = basename($0); ##### Establish our tmpdir unless ($ENV{TMPDIR}) { $ENV{TMPDIR} = '/var/tmp/g-cpan' } my %dep_list = (); my @perl_dirs = (qw( dev-perl perl-core perl-gcpan dev-lang )); ############################### # Command line interpretation # ############################### # Declare options # First, the main switches my @main_switches = \my ($search, $list, $install, $generate, $buildpkgonly); # Then, additional switches my @additional_switches = \my ($upgrade, $pretend, $buildpkg, $ask, $cpan_reload); # Then, the normal options my ($debug, $verbose, $log); # Set colors here so we can use them at will anywhere :) my $green = color("bold green"); my $white = color("bold white"); my $cyan = color("bold cyan"); my $reset = color("reset"); #Get & Parse them GetOptions( 'verbose|v' => \$verbose, 'search|s' => \$search, 'install|i' => \$install, 'upgrade|u' => \$upgrade, 'list|l' => \$list, 'log|L' => \$log, 'pretend|p' => \$pretend, 'buildpkg|b' => \$buildpkg, 'buildpkgonly|B' => \$buildpkgonly, 'ask|a' => \$ask, 'generate|g' => \$generate, 'debug|d' => \$debug, 'cpan_reload' => \$cpan_reload, 'help|h' => sub { exit_usage(); } ) or exit_usage(); if ($log) { open my $log_test, q{>>}, "/var/log/$prog/$prog.err" or fatal(print_err("You don't have permission to perform logging to /var/log/$prog/$prog.err: $!")); close($log_test); my $log_driver = Log::Agent::Driver::File->make( -prefix => "$prog", -magic_open => 0, -stampfmt => 'date', -channels => { 'error' => "/var/log/$prog/$prog.err", 'output' =>
#1 2015-10-31 17:47:16 FreakyCheeseMan Member Registered: 2013-05-21 Posts: 10 Netctl Profile does not exist or is not readable Any attempt I make to use netctl throwsProfile '/etc/netctl/wlp3s0-NETGEAR52' does not exist or is not readablewifi-menu, however, works just fine. netctl list produces$ netctl list * wlp3s0-NETGEAR52 wireless-wpaA list of /etc/netctl shows$ ls -l /etc/netctl/ total 20 drwxr-xr-x https://github.com/gentoo-perl/g-cpan/blob/master/bin/g-cpan 2 root root 4096 Jun 17 01:27 examples drwxr-xr-x 2 root root 4096 Jun 17 01:27 hooks drwxr-xr-x 2 root root 4096 Jun 17 01:27 interfaces -rw-rw-rw- 1 root root 426 Oct 31 09:50 wireless-wpa -rw-rw-rw- 1 root root 204 Oct 31 09:33 wlp3s0-NETGEAR52The https://bbs.archlinux.org/viewtopic.php?id=204533 profile in question looks like:Description='Automatically generated profile by wifi-menu' Interface=wlp3s0 Connection=wireless Security=wpa ESSID=NETGEAR52 IP=dhcp Key=\"************************* systemctl's status info$ systemctl status netctl@wireless\x2dwpa.service ● netctl@wirelessx2dwpa.service - Networking for netctl profile wirelessx2dwpa Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled) Active: inactive (dead) Docs: man:netctl.profile(5)And some stuff about my wifi. iwconfig enp0s25 no wireless extensions. lo no wireless extensions. wlp3s0 IEEE 802.11abgn ESSID:"NETGEAR52" Mode:Managed Frequency:2.437 GHz Access Point: 20:E5:2A:3F:58:21 Bit Rate=2 Mb/s Tx-Power=22 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:on Link Quality=68/70 Signal level=-42 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:15 Missed beacon:003:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59) Subsystem: Intel Corporation Dual Band Wireless-AC 7265 Kernel driver in use: iwlwifi Kernel modules: iwlwifi Offline #2 2015-10-31 18:06:10 Head_on_a_Stick Member From: A
Lintian still reports an error or warning. This can have the following reasons: Lintian has a bug itself, a specific Lintian check is not smart enough to know about a special case allowed by policy, or the policy does allow exceptions to some rule in general.
In the first case (where Lintian has a bug) you should send a bug report to the Debian bug tracking system and describe which package you checked, which messages have been displayed, and why you think Lintian has a bug. Best would be, if you would run Lintian again over your packages using the -d (or --debug) option, which will cause Lintian to output much more information (debugging info), and include these messages in your bug report. This will simplify the debugging process for the authors of Lintian. In the other two cases (where the error is actually an exception to policy), you should probably add an override. If you're unsure though whether it's indeed a good case for an override, you should contact the Lintian maintainers too, including the Lintian error message and a short note, stating why you think this is an exception. This way, the Lintian maintainers can be sure the problem is not actually a bug in Lintian or an error in the author's reading of policy. Please do not override bugs in lintian, they should rather be fixed than overridden. Once it has been decided that an override is needed, you can easily add one by supplying an overrides file. If the override is for a binary or udeb package, you have to place it at /usr/share/lintian/overrides/