Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I want to install samba. But some of the packages that it depends on need perlapi-5.8.7 to be installed which is a virtual package. But I can't install perlapi-5.8.7 . How can i solve this?
Code:
# aptitude install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:
libdigest-md4-perl libldap-2.4-2 libnet-ssleay-perl libunicode-map-perl libunicode-map8-perl libunicode-string-perl
The following NEW packages will be installed:
libconvert-asn1-perl{a} libcrypt-smbhash-perl{a} libio-socket-ssl-perl{a} libjcode-pm-perl{a} libldap2{a} libnet-ldap-perl{a}
libunicode-maputf8-perl{a} samba samba-common{a} smbldap-tools{a}
0 packages upgraded, 15 newly installed, 0 to remove and 24 not upgraded.
Need to get 7487kB of archives. After unpacking 19.7MB will be used.
The following packages have unmet dependencies:
libnet-ssleay-perl: Depends: perlapi-5.8.7 which is a virtual package.
libdigest-md4-perl: Depends: perlapi-5.8.7 which is a virtual package.
libunicode-map-perl: Depends: perlapi-5.8.8 which is a virtual package.
libunicode-string-perl: Depends: perlapi-5.8.7 which is a virtual package.
libldap-2.4-2: Conflicts: libldap2 but 2.1.30-13.3 is to be installed.
libunicode-map8-perl: Depends: perlapi-5.8.8 which is a virtual package.
The following actions will resolve these dependencies:
Remove the following packages:
libldap-2.4-2
libpq5
libsmbclient
php5-pgsql
Keep the following packages at their current version:
libcrypt-smbhash-perl [Not Installed]
libdigest-md4-perl [Not Installed]
libio-socket-ssl-perl [Not Installed]
libnet-ssleay-perl [Not Installed]
libunicode-map-perl [Not Installed]
libunicode-map8-perl [Not Installed]
libunicode-maputf8-perl [Not Installed]
libunicode-string-perl [Not Installed]
smbldap-tools [Not Installed]
Downgrade the following packages:
gnupg [1.4.6-2.2 (now) -> 1.4.6-2 (stable)]
libaprutil1 [1.2.12+dfsg-3 (now) -> 1.2.7+dfsg-2 (stable)]
Leave the following dependencies unresolved:
samba recommends smbldap-tools
Score is 1271
Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
Code:
# aptitude install perlapi-5.8.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
"perlapi-5.8.7" exists in the package database, but it is not a
real package and no package provides it.
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
I want to run a samba server in this machine.
I am not sure what happenned before because the administrator was another person. But I found /etc/apt/sources.list mixed with stable and etch entries. Now it is all etch.
# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/ etch/updates main contrib
Certainly someone was playing around with mixed sources...
I want to run a samba server in this machine.
I am not sure what happenned before because the administrator was another person. But I found /etc/apt/sources.list mixed with stable and etch entries. Now it is all etch.
So is it time to do the update/upgrade dance before going back to your "real" problem?
# aptitude install --without-recommends samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:
libldap-2.4-2
The following NEW packages will be installed:
libldap2{a} samba samba-common{a}
The following packages are RECOMMENDED but will NOT be installed:
smbldap-tools
0 packages upgraded, 3 newly installed, 0 to remove and 24 not upgraded.
Need to get 5794kB of archives. After unpacking 14.0MB will be used.
The following packages have unmet dependencies:
libldap-2.4-2: Conflicts: libldap2 but 2.1.30-13.3 is to be installed.
The following actions will resolve these dependencies:
Remove the following packages:
libldap-2.4-2
libpq5
libsmbclient
php5-pgsql
Downgrade the following packages:
gnupg [1.4.6-2.2 (now) -> 1.4.6-2 (stable)]
libaprutil1 [1.2.12+dfsg-3 (now) -> 1.2.7+dfsg-2 (stable)]
Score is 1386
Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
Is this a production machine? If not, I'd be tempted to let it try the solution (removing 4 packages and then downgrading 2 others). Or first try aptitude update && aptitude dist-upgrade.
The first package libldap (btw, version 2.4-2 is in lenny, not Etch, so your buddy must have also installed some of this stuff from testing) has to do with directory services, the 2nd is a PostgresSQL library, the 3rd has to do with samba and will probably get replaced anyway, the 4th allows direct interaction from PHP scripts to Postgres, gnupg is key signing (encryption), and libaprutil1 is the apache portable runtime utility library.
So if any of those look important to your machine, you may try handling them one by one. Otherwise, I'd just go for it (but again, I'm not responsible for anything more than my home network)...
Lots and lots of packages were from lenny. This was causing lots of dependencies problems. So i changed /etc/apt/sources;list for lenny. Now everythnig is fine.
Thanks for the help
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.