goalmarketing / vigor2130

Automatically exported from code.google.com/p/vigor2130
0 stars 0 forks source link

SAMBA can not be installed: tries to installt to //usr #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
it tries to install files to 
/mnt/usb_disk1/opkg-install//usr/lib/opkg/info/samba3.list what can't work, 
because of the doubled //

__     ___                    ____  _ _____  ___
 \ \   / (_) __ _  ___  _ __  |___ \/ |___ / / _ \
  \ \ / /| |/ _` |/ _ \| '__|   __) | | |_ \| | | |
   \ V / | | (_| | (_) | |     / __/| |___) | |_| |
    \_/  |_|\__, |\___/|_|    |_____|_|____/ \___/
            |___/
 Firmware version ("v1.5.1")

 ---------------------------------------------------
root@Vigor2130:~# /etc/init.d/samba install
killall: smbd: no process killed
killall: nmbd: no process killed
Connecting to vigor2130.googlecode.com (74.125.39.82:80)
vigor.txt            100% 
|*******************************************************************************
********************************************************************************
******************************************|     1  --:--:-- ETA
opkg_conf_parse_file: Loading conf file /etc/opkg.conf.
pkg_hash_load_feeds: 
pkg_hash_load_status_files: 
Downloading http://vigor2130.googlecode.com/files/samba3_3.0.24-2_arm.ipk.
pkg_info_preinstall_check: Updating file owner list.
Installing samba3 (3.0.24-2) to usb...
pkg_run_script: Running script /tmp/opkg-l8f7sT/samba3-IuyNel/preinst.
opkg_install_pkg: Installing maintainer scripts.
opkg_install_pkg: Installing data files for samba3.
install_data_files: Extracting data files to /mnt/usb_disk1/opkg-install/.
pkg_write_filelist: Creating 
/mnt/usb_disk1/opkg-install//usr/lib/opkg/info/samba3.list file for pkg samba3.
opkg_install_pkg: Resolving conf files for samba3
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
Configuring samba3.
pkg_run_script: Running script 
/mnt/usb_disk1/opkg-install//usr/lib/opkg/info/samba3.postinst.
write_status_files_if_changed: Writing status file.
pkg_write_changed_filelists: Saving changed filelists.
pkg_write_filelist: Creating //usr/lib/opkg/info/comgt.list file for pkg comgt.
pkg_write_filelist: Creating //usr/lib/opkg/info/iptables-mod-ipopt.list file 
for pkg iptables-mod-ipopt.
pkg_write_filelist: Creating //usr/lib/opkg/info/base-files-vsc75xx.list file 
for pkg base-files-vsc75xx.
pkg_write_filelist: Creating //usr/lib/opkg/info/iptables.list file for pkg 
iptables.
Collected errors:
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libvtss_api.list: No such file or directory.
root@Vigor2130:~# 

Original issue reported on code.google.com by johannes...@gmail.com on 18 Jun 2011 at 3:02

GoogleCodeExporter commented 8 years ago
In WUI menu: 'USB Application >> Disk Shares'
Did you see the 'Samba General Settings' ?
Or just a 'Install' button?

Original comment by vincent....@gmail.com on 20 Jun 2011 at 11:06

GoogleCodeExporter commented 8 years ago
only install button

Original comment by johannes...@gmail.com on 20 Jun 2011 at 11:20

GoogleCodeExporter commented 8 years ago
Try to fix this by:
opkg remove --force-remove libvtss_api

Original comment by jht...@gmail.com on 18 Jul 2011 at 7:22

GoogleCodeExporter commented 8 years ago
what is the libvtss_api? what am I going to delete? any risk?

Original comment by johannes...@gmail.com on 19 Jul 2011 at 2:18

GoogleCodeExporter commented 8 years ago
It is the package name issue.
Refer to https://dev.openwrt.org/ticket/7325

And the opkg remove won't remove any files. 
You can do "opkg remove libvtss_api" first

The real package libvtss_api is now in libvtss.list
root@Vigor2130:/usr/lib# cat /rom/usr/lib/opkg/info/libvtss.list
/
/usr/
/usr/lib/
/usr/lib/libvtss_switch_api.so.0.0.0
/usr/lib/libvtss_switch_api.so
/usr/lib/libvtss_switch_api.so.0

Original comment by jht...@gmail.com on 19 Jul 2011 at 11:15

GoogleCodeExporter commented 8 years ago
I've got the same issue. Btw both the remove commands complain about the files 
not being there (// involved again)

Original comment by peter.lo...@outlook.com on 21 Aug 2011 at 6:00

GoogleCodeExporter commented 8 years ago
I've the issue, too. How do I solve the package name issue?

Original comment by g.hes...@googlemail.com on 1 Jan 2012 at 3:10

GoogleCodeExporter commented 8 years ago
opkg remove --force-remove libvtss_api

Does this work?

Another way is to factory default and do the settings again.

Original comment by jht...@gmail.com on 2 Jan 2012 at 1:30

GoogleCodeExporter commented 8 years ago
I tried the steps outlined below, and it does not resolve the issue at all.

The issue appears to be with the package itself. (I test on 1.5.1, 1.5.1.1, 
1.5.2, and 1.5.3 firmware versions)

Attached, is verbose out of the installation process under firmware 1.5.3.

Original comment by jorge.pa...@gmail.com on 5 Nov 2013 at 12:17

Attachments: