Bug#1057759: libdbd-oracle-perl: Package cannot be installed

2023-12-08 Thread gregor herrmann
On Fri, 08 Dec 2023 09:52:08 +0700, a.kozhemyakin--- via pkg-perl-maintainers 
wrote:

> When installing the package:
> apt-get install libdbd-oracle-perl
> ...
> The following packages have unmet dependencies:
>   libdbd-oracle-perl : Depends: oracle-instantclient-basic but it is not
> installable or
> oracle-instantclient-basiclite but it is not
> installable
> E: Unable to correct problems, you have held broken packages.
> 
> package oracle-instantclient-basic installed via alien
> dpkg-query -l | grep oracle
> ii oracle-instantclient12.1-basic 12.1.0.2.0-2 amd64 Oracle Instant Client
> Basic package

Well, libdbd-oracle-perl needs 'oracle-instantclient-basic' or
'oracle-instantclient-basiclite', and you have
'oracle-instantclient12.1-basic' installed which is a different
package name.
 
> On previous versions of debian, installation succeeds

Because you had the correct oracle package installed :)
 
> I resolved the situation by correcting the package name in the INFO file,
> oracle-instantclient12.1-basic replaced oracle-instantclient-basic, after
> which libdbd-oracle-perl was able to install

The package description of libdbd-oracle-perl says:

| Detailed instructions for this are available at 

which points to
https://salsa.debian.org/perl-team/modules/packages/libdbd-oracle-perl/-/blob/master/debian/README.Debian
(also installed as /usr/share/doc/libdbd-oracle-perl/README.Debian)
which says:

| Click to "Instant Client for Linux x86-64" (amd64) or
| "Instant Client for Linux x86" (i386), and get the RPM package (please,
| note that Instant Client packages no longer include the release number
| as part of the RPM name since release 21):

So apparently Oracle has changed the name of the client from
oracle-instantclient${VERSION}-basic to oracle-instantclient-basic,
and our libdbd-oracle-perl has accordingly updated the dependency.

This may be a bit unfortunate for updates (although it is nice for
the future as no versioned packages are needed) but
- I don't see any bug in the libdbd-oracle-perl package
- I don't see anything we could do about this name change

Cc'ing alexm as the one actually working on libdbd-oracle-perl.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   


signature.asc
Description: Digital Signature


Bug#1057759: libdbd-oracle-perl: Package cannot be installed

2023-12-07 Thread a . kozhemyakin

Package: libdbd-oracle-perl
Severity: important

Dear Maintainer,


When installing the package:
apt-get install libdbd-oracle-perl
...
The following packages have unmet dependencies:
  libdbd-oracle-perl : Depends: oracle-instantclient-basic but it is not 
installable or
oracle-instantclient-basiclite but it is 
not installable

E: Unable to correct problems, you have held broken packages.

package oracle-instantclient-basic installed via alien
dpkg-query -l | grep oracle
ii oracle-instantclient12.1-basic 12.1.0.2.0-2 amd64 Oracle Instant 
Client Basic package


On previous versions of debian, installation succeeds

I resolved the situation by correcting the package name in the INFO 
file,
oracle-instantclient12.1-basic replaced oracle-instantclient-basic, 
after which libdbd-oracle-perl was able to install



-- System Information:
Debian Release: 12.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable')

Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-13-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE 
not set

Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libdbd-oracle-perl depends on:
ii  libaio1  
0.3.113-4
ii  libc6
2.36-9+deb12u3

pn  libdbi-perl  
pn  oracle-instantclient-basic | oracle-instantclient-basiclite  
ii  perl 
5.36.0-7
ii  perl-base [perlapi-5.36.0]   
5.36.0-7

pn  perl-dbdabi-94   

libdbd-oracle-perl recommends no packages.

Versions of packages libdbd-oracle-perl suggests:
pn  perl-tk