Socat depends on libreadline5 and fails to link properly.

Bug #1057573 reported by Oliver Heard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
socat (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Socat is linked with libreadline.so.5 which is not installable.

libreadline5 has no installation candidate, on my machine it's installed but I have no libreadline.so.5 file anywhere on my machine. I have every Ubuntu repository enabled, including universe, multiverse, restricted and propsed updates.

## Program Output

# Looking for libreadline.so.5
oliver@afidev05:~$ sudo find / -type f -name 'libreadline.so.5'
oliver@afidev05:~$

# Aptitude Info: libreadline5
oliver@afidev05:~$ aptitude show libreadline5
Package: libreadline5
State: installed
Automatically installed: no
Multi-Arch: same
Version: 5.2-11
Priority: optional
Section: libs
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Uncompressed Size: 354 k
Depends: readline-common, libc6 (>= 2.11), libtinfo5
PreDepends: multiarch-support
Breaks: libreadline5 (!= 5.2-11)
Replaces: libreadline5 (< 5.2-11)
Description: GNU readline and history libraries, run-time libraries
 The GNU readline library aids in the consistency of user interface across
 discrete programs that need to provide a command line interface.

 The GNU history library provides a consistent user interface for recalling
 lines of previously typed input.

#Aptitude Info: socat
oliver@afidev05:~$ aptitude show socat
Package: socat
State: installed
Automatically installed: no
Version: 1.7.1.3-1.2
Priority: extra
Section: universe/net
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Uncompressed Size: 907 k
Depends: libc6 (>= 2.4), libreadline5 (>= 5.2), libssl1.0.0 (>= 1.0.0), libwrap0
         (>= 7.6-4~)
Conflicts: socat
Description: multipurpose relay for bidirectional data transfer
 Socat (for SOcket CAT) establishes two bidirectional byte streams and transfers
 data between them. Data channels may be files, pipes, devices (terminal or
 modem, etc.), or sockets (Unix, IPv4, IPv6, raw, UDP, TCP, SSL). It provides
 forking, logging and tracing, different modes for interprocess communication
 and many more options.

 It can be used, for example, as a TCP relay (one-shot or daemon), as an
 external socksifier, as a shell interface to Unix sockets, as an IPv6 relay, as
 a netcat and rinetd replacement, to redirect TCP-oriented programs to a serial
 line, or to establish a relatively secure environment (su and chroot) for
 running client or server shell scripts inside network connections. Socat
 supports sctp as of 1.7.0.
Homepage: http://www.dest-unreach.org/socat/

Oliver Heard (ogheard)
summary: - Socat depends on libreadline5 which is no longer available.
+ Socat depends on libreadline5 and fails to link properly.
Revision history for this message
Micah Gersten (micahg) wrote :

Could you please provide the output of 'apt-cache policy libreadline5' and 'dpkg -L libreadline5'?

Changed in socat (Ubuntu):
status: New → Incomplete
Revision history for this message
Oliver Heard (ogheard) wrote :

Thanks for that Micah, it looks like my libreadline5 install was broken and perhaps it was missing from the repos for a short period as I was able to reinstall it just now.

I've included the output you requested below in case you're curious but I believe this issue should now be closed, my mistake. :-(

oliver@afidev05:~$ apt-cache policy libreadline5
libreadline5:
  Installed: 5.2-11
  Candidate: 5.2-11
  Version table:
 *** 5.2-11 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status
oliver@afidev05:~$ dpkg -L libreadline5
/.
/etc
/lib
/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu/libreadline.so.5.2
/lib/x86_64-linux-gnu/libhistory.so.5.2
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libreadline5
/usr/share/doc/libreadline5/USAGE
/usr/share/doc/libreadline5/inputrc.arrows
/usr/share/doc/libreadline5/examples
/usr/share/doc/libreadline5/examples/Inputrc
/usr/share/doc/libreadline5/copyright
/usr/share/doc/libreadline5/changelog.Debian.gz
/usr/share/doc/libreadline5/README.Debian
/lib/x86_64-linux-gnu/libreadline.so.5
/lib/x86_64-linux-gnu/libhistory.so.5

Revision history for this message
Micah Gersten (micahg) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in socat (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.