Severety: grave
thanks

This incorrect registration as an alternative breaks other FTP clients (can they be treated as unrelated software?), and manual creation of symlinks is required in order to recover.

Example (assuming that all previous alternatives for ftp are initially purged):

home:~# aptitude install tnftp
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be installed:
  tnftp
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/160kB of archives. After unpacking 352kB will be used.
Writing extended state information... Done
Media Change: Please insert the disc labeled 'Debian GNU/Linux testing _Etch_ - Official Snapshot i386 DVD Binary-2 20070108-09:43' in the drive '/media/cdrom1/' and press enter

Selecting previously deselected package tnftp.
(Reading database ... 86617 files and directories currently installed.)
Unpacking tnftp (from .../tnftp_20050625-0.1_i386.deb) ...
Setting up tnftp (20050625-0.1) ...

home:~# ls -l /etc/alternatives/ftp
lrwxrwxrwx 1 root root 14 Jan 26 15:37 /etc/alternatives/ftp -> /usr/bin/tnftp
home:~# ls -l /usr/bin/ftp
-rwxr-xr-x 1 root root 205716 Jul 19  2006 /usr/bin/ftp

(Here I attempted to use the "ftp" command, and didn't like this implementation. Thus, I intended to install inetutils-ftp, purge tnftp, and thus make inetutils-ftp the preferred alternative for ftp)

home:~# aptitude install inetutils-ftp
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be installed:
  inetutils-ftp
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/99.2kB of archives. After unpacking 201kB will be used.
Writing extended state information... Done
Selecting previously deselected package inetutils-ftp.
(Reading database ... 86628 files and directories currently installed.)
Unpacking inetutils-ftp (from .../inetutils-ftp_1.5.dfsg.1-2_i386.deb) ...
Setting up inetutils-ftp (1.5.dfsg.1-2) ...

home:~# aptitude purge tnftp
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following packages will be REMOVED:
  tnftp{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 352kB will be freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
(Reading database ... 86637 files and directories currently installed.)
Removing tnftp ...

RC bug follows.

home:~# ls -l /usr/bin/ftp /etc/alternatives/ftp
ls: /usr/bin/ftp: No such file or directory
lrwxrwxrwx 1 root root 14 Jan 26 15:37 /etc/alternatives/ftp -> /usr/bin/tnftp

home:~# update-alternatives --config ftp

There is only 1 program which provides ftp
(/usr/bin/inetutils-ftp). Nothing to configure.

Purging  and reinstalling inetutils-ftp doesn't help to recover.

--
Alexander E. Patrakov


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to