Skip to main content

All Questions

Tagged with
0 votes
1 answer
44 views

version `XCRYPT_2.0' not found after Update Debian 10 to Debian 12

I was instructed to upgrade Debian 10 to Debian 12. After the upgrade, I noticed that the ssh.service was not working. Now I found out that no 'apt' commands work. I can't install anything. Here the ...
Szymon Tesmer's user avatar
1 vote
1 answer
62 views

How many codes written by perl in debian?

My debian os: cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" ...
showkey's user avatar
  • 405
1 vote
1 answer
230 views

Why does Debian package Scalar::Util in libperl and perl-base?

I was just checking something out on Debian, when I use apt-file to search for Scalar/Util.pm a CORE Perl module I see three results, $ apt-file search Scalar/Util.pm libperl5.34: /usr/lib/x86_64-...
Evan Carroll's user avatar
  • 31.8k
-1 votes
3 answers
1k views

Perl script from Ubuntu doesn't run on Debian

I have a Perl script which I created on Ubuntu 20.04 LTS. It's okay and works. I took this script on another machine with Debian on it. It doesn't run with: ./my_script.pl This gave me: ./my_script....
J M Kane's user avatar
0 votes
1 answer
718 views

Setting up disk quotas for every new user account

I'm trying to set up default disk quotas for every new user that gets an account created in my Debian10 server. For example, user1 gets an account created and the first time he logs in the system (...
wolfvc's user avatar
  • 1
0 votes
0 answers
19 views

Perl resets the EUID only when executing multiple commands through `env - /usr/bin/perl -e 'system("...")'`? [duplicate]

I was playing around with setuid perl for command execution (insecure). I learned from another question, that env - /usr/bin/perl -e 'system("...")' doesn't reset the EUID to RUID, like it's the ...
Shuzheng's user avatar
  • 4,601
3 votes
1 answer
566 views

Is it possible to get the apache server-status page without sending a GET request to one of the workers?

I have the server-status page setup and can access it through http://localhost/server-status and commands like apache2ctl status. Is there a way to access the infromation in the server-status page ...
Boyan Atanasov's user avatar
0 votes
1 answer
943 views

Compiling the output from the Perl Compiler (B::C), I get “EXTERN.h: No such file or directory”

If I try to compile something generated by B::C, $ perl -MO=C,-omyTest.c -e'print "Hello World!";' -e syntax OK And then run `gcc myTest $ gcc ./myTest.c ./myTest.c:3:10: fatal error: EXTERN.h: No ...
Evan Carroll's user avatar
  • 31.8k
0 votes
1 answer
353 views

Why might a perl CGI script fail to connect to MySQL, when it works from console?

I'm migrating to new server hardware, which also means learning the idiosyncrasies of a new Linux distribution (Debian buster). I've got a Perl CGI script which when run from the console runs, but ...
Rowland Shaw's user avatar
2 votes
3 answers
7k views

How to install Perl modules on Debian 9?

On a tutorial for installing SendEmail, I found instructions to install 2 prequisites, 2 perl modules apt-get install 'perl(Net::SSLeay)' 'perl(IO::Socket::SSL)' This syntax also resulted strange to ...
realtebo's user avatar
  • 957
0 votes
2 answers
2k views

Controlling curl output on Debian

I'd like to run a curl command and only have content written to stdout if there is an error. When I run the command from the terminal I get this functionality by default. When I run the command from ...
Nathan Wiles's user avatar
1 vote
1 answer
120 views

I can't print the default text in the Readline input

I am writing an interface to my database and would like to be able to edit entries. I thought I'd use Readline, but can't get it work. I'd say my code should work, based on Term::ReadLine::Gnu and ...
user avatar
1 vote
1 answer
281 views

cpanm vs apt upgrades

I'm updating my Perl modules. I've found this command elsewhere: cpan-outdated -p | cpanm I'm wondering if this won't bring in any conflicts with my Debian's apt-installed Perl modules. I had this ...
user avatar
4 votes
1 answer
97 views

Does Debian have a Perl style guide?

I'm going to be writing some heavy patches for Debian perl utilities. I have a lot of experience doing this. Some of their methods are really antiquated, like bareword file handles.. Is there a style ...
Evan Carroll's user avatar
  • 31.8k
2 votes
1 answer
720 views

Install program with Perl?

I'm trying to install GTK YouTube Viewer from GitHub (https://github.com/trizen/youtube-viewer) in Q4OS (Debian-based). I downloaded the .zip file and extracted it, then tried to run the first ...
Martin's user avatar
  • 71

15 30 50 per page