Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install a package due to perl package dependency error #767

Open
gellenburg opened this issue Apr 27, 2023 · 5 comments
Open

Unable to install a package due to perl package dependency error #767

gellenburg opened this issue Apr 27, 2023 · 5 comments
Labels
Bug This is a problem.

Comments

@gellenburg
Copy link

Describe the bug
I'm trying to install Webmin from the Webmin Debian apt repository. It's complaining about perlapi but perl is already installed.

To Reproduce
Steps to reproduce the behavior:

  1. curl -o setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh
  2. sudo sh setup-repos.sh
  3. sudo apt-get update
  4. sudo apt-get install webmin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libauthen-pam-perl : Depends: perlapi-5.32.0
 libio-pty-perl : Depends: perlapi-5.32.0
 libnet-ssleay-perl : Depends: perlapi-5.32.0
E: Unable to correct problems, you have held broken packages.
gme@DESKTOP-TIEUOMF:~$ dpkg -l | grep perl-base
ii  perl-base                         5.36.0-7                          amd64        minimal Perl system
gme@DESKTOP-TIEUOMF:~$

Perl 5.36.0 is already installed.

Expected behavior
Webmin to install. It installs on Ubuntu.

Screenshots

Additional context

Basic Troubleshooting Checklist

[X] I have searched Google for the error message.
[X] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[X] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[X] I have searched the Pengwin issues page: https://github.com/WhitewaterFoundry/Pengwin/issues.
[X] I have run Windows 10 updates and restarted.
[X] I have restarted WSL service: wsl.exe --terminate WLinux wsl.exe --shutdown.

What other troubleshooting have you attempted?

Might be related to #196 but that issue is 5 years old and there's no way I'm downgrading my system.

Insert here:

Pengwin Version

Run grep "PENGWIN_VERSION" /etc/os-release in Pengwin.

Insert here:

PENGWIN_VERSION="23.03.1"

WSL general info

Run wslsys in Pengwin.

Insert here:

gme@DESKTOP-TIEUOMF:~$ wslsys
Release Install Date: Mon Mar  6 18:59:38 EST 2023
Branch: ni_release
Build: 22621
Full Build: 22621.1.amd64fre.ni_release.220506-1250
Display Scaling: 1.25
Locale (Windows): en_US
Theme (Windows): dark
Uptime (Windows): 0d 6h 24m
Version (WSL): 2
Uptime (WSL): 0d 3h 22m
Release: Pengwin
Kernel: Linux 5.15.90.1-microsoft-standard-WSL2
Packages: 563
IPv4 Address: 172.25.26.70
System Type (Windows): Desktop
SystemD Status: disabled
gme@DESKTOP-TIEUOMF:~$
@gellenburg gellenburg added the Bug This is a problem. label Apr 27, 2023
@crramirez
Copy link
Collaborator

crramirez commented Apr 27, 2023 via email

@crramirez
Copy link
Collaborator

crramirez commented May 7, 2023

Hello @gellenburg,

I tried to reproduce the error with a clean installation of Pengwin and it works. The perl-base included is:

~$ dpkg -l | grep perl-base
ii  perl-base                         5.32.1-4+deb11u2               amd64        minimal Perl system

Could you share your /etc/apt/sources.list file?

@lionderful
Copy link

me too. debian, perl-base 5.36.0-7

@crramirez
Copy link
Collaborator

Check of your /etc/apt/sources.list has the testing repo enabled and if it does, comment it. Then sudo apt uodate

@andika-eka
Copy link

I was having the same problem on ubuntu. I forced ubuntu version using synaptic on the perl-base package. if you don't have synaptic you can try download the .deb manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a problem.
Projects
None yet
Development

No branches or pull requests

4 participants