Modify

Opened 4 years ago

Last modified 4 years ago

#15202 new defect

openssh-client isn't upgradable

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

root@router:~# opkg install openssh-server openssh-client openssh-keygen libopenssl
Upgrading openssh-server on root from 6.4p1-5 to 6.5p1-1...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/openssh-server_6.5p1-1_ar71xx.ipk.
Upgrading openssh-client on root from 6.4p1-5 to 6.5p1-1...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/openssh-client_6.5p1-1_ar71xx.ipk.
Upgrading openssh-keygen on root from 6.4p1-5 to 6.5p1-1...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/openssh-keygen_6.5p1-1_ar71xx.ipk.
Upgrading libopenssl on root from 1.0.1e-2 to 1.0.1f-1...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/libopenssl_1.0.1f-1_ar71xx.ipk.
Configuring libopenssl.
Configuring openssh-keygen.
Configuring openssh-server.
Collected errors:
 * resolve_conffiles: Existing conffile /etc/ssh/sshd_config is different from the conffile in the new package. The new conffile will be placed at /etc/ssh/sshd_config-opkg.
 * check_data_file_clashes: Package openssh-client wants to install file /usr/bin/scp
        But that file is already provided by package  * dropbear
 * check_data_file_clashes: Package openssh-client wants to install file /usr/bin/ssh
        But that file is already provided by package  * dropbear
 * opkg_install_cmd: Cannot install package openssh-client.
root@router:~#

Removing it, everything works:

root@router:~# opkg remove openssh-client
Removing package openssh-client from root...
Not deleting modified conffile /etc/ssh/ssh_config.
root@router:~# opkg install openssh-client
Installing openssh-client (6.5p1-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/openssh-client_6.5p1-1_ar71xx.ipk.
Configuring openssh-client.
Collected errors:
 * resolve_conffiles: Existing conffile /etc/ssh/ssh_config is different from the conffile in the new package. The new conffile will be placed at /etc/ssh/ssh_config-opkg.

A better solution could be this:

  • remove /usr/bin/scp and /usr/bin/ssh from the dropbear's package.
  • scp and ssh must be linked to dropbear after its installation or when openssh-client (or any other ssh client) is removed.

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by zxdavb

this worked for me:

opkg install openssh-client --force-install


It removed the ssh/scp symlinks (/usr/bin/s*), but kept the dropbear executable intact (/usr/sbin/dropbear).

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.