Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1026123
| From | Faustin Lammler <faustin@fala.red> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#970681: [debian-mysql] Bug#970681: /usr/bin/mytop: mytop fails to start: ‘perl -w’: No such file or directory |
| Date | 2020-09-23 12:30 +0200 |
| Message-ID | <ASaca-5bp-7@gated-at.bofh.it> (permalink) |
| References | <ARtAe-4D7-9@gated-at.bofh.it> <ARtAe-4D7-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Control: forwarded -1 https://jira.mariadb.org/browse/MDEV-23697 Hi Lucio! Thanks for your report. Indeed: | docker run --name test --privileged -d -v /sys/fs/cgroup:/sys/fs/cgroup:ro fauust/docker-systemd:debian-sid | docker exec -it test bash -c "apt update && apt -y install mariadb-server" | docker exec -it test bash -c "systemctl start mariadb && mytop" | /usr/bin/env: 'perl -w': No such file or directory | /usr/bin/env: use -[v]S to pass options in shebang lines Seems to be related with https://jira.mariadb.org/browse/MDEV-23697. Workaround is to edit '/usr/bin/mytop' and replace: | #!/usr/bin/env perl -w with | #!/usr/bin/env perl But then there is a dependency problem: | Unknown option: default-character-set | install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (you may need to install the DBD::mysql module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.3 /usr/local/share/perl/5.30.3 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl) at (eval 21) line 3. | Perhaps the DBD::mysql perl module hasn't been fully installed, | or perhaps the capitalisation of 'mysql' isn't right. | Available drivers: DBM, ExampleP, File, Gofer, MariaDB, Mem, Proxy, Sponge. | at /usr/bin/mytop line 291. And you have to install 'libdbd-mysql-perl' packages: | sudo apt install libdbd-mysql-perl Faustin
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#970681: /usr/bin/mytop: mytop fails to start: ‘perl -w’: No such file or directory Lucio Crusca <lucio@sulweb.org> - 2020-09-21 15:00 +0200
Bug#970681: [debian-mysql] Bug#970681: /usr/bin/mytop: mytop fails to start: ‘perl -w’: No such file or directory Faustin Lammler <faustin@fala.red> - 2020-09-23 12:30 +0200
Bug#970681: [debian-mysql] Bug#970681: Bug#970681: /usr/bin/mytop: mytop fails to start: ‘perl -w’: No such file or directory Otto Kekäläinen <otto@debian.org> - 2020-09-23 15:00 +0200
Bug#970681: [debian-mysql] Bug#970681: Bug#970681: /usr/bin/mytop: mytop fails to start: ‘perl -w’: No such file or directory Faustin Lammler <faustin@fala.red> - 2020-09-23 15:00 +0200
csiph-web