jhtwu / vigor2130

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

Can not install ext2 #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Login to the Vigor running 1.5.1 via SSH
2. Download the files libext2fs_1.40.11-1_arm.ipk and 
e2fsprogs_1.40.11-1_arm.ipk to /tmp via wget.
3. Run opkg install libext2fs_1.40.11-1_arm.ipk opkg install 
e2fsprogs_1.40.11-1_arm.ipk

What is the expected output? What do you see instead?
Successful installation of the ext2 library and tools

What version of the product are you using? On what operating system?
Firmware 1.5.1 from the Draytek website.

Please provide any additional information below.
root@Vigor2130:/tmp# opkg install libext2fs_1.40.11-1_arm.ipk -V 4
opkg_conf_parse_file: Loading conf file /etc/opkg.conf.
pkg_hash_load_feeds:
pkg_hash_load_status_files:
pkg_info_preinstall_check: Updating file owner list.
Installing libext2fs (1.40.11-1) to usb...
pkg_run_script: Running script /tmp/opkg-29iMK1/libext2fs-dPQ68T/preinst.
opkg_install_pkg: Installing maintainer scripts.
opkg_install_pkg: Installing data files for libext2fs.
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/libext2fs.list file for pkg 
libext2fs.
opkg_install_pkg: Resolving conf files for libext2fs
Unknown package '4'.
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
Configuring libext2fs.
pkg_run_script: Running script 
/mnt/usb_disk1/opkg-install//usr/lib/opkg/info/libext2fs.postinst.
write_status_files_if_changed: Writing status file.
pkg_write_changed_filelists: Saving changed filelists.
Collected errors:
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libvtss_api.list: No such file or directory.
 * opkg_install_cmd: Cannot install package 4.

opkg install e2fsprogs_1.40.11-1_arm.ipk -V 4
opkg_conf_parse_file: Loading conf file /etc/opkg.conf.
pkg_hash_load_feeds:
pkg_hash_load_status_files:
pkg_info_preinstall_check: Updating file owner list.
Installing e2fsprogs (1.40.11-1) to usb...
pkg_run_script: Running script /tmp/opkg-jP6N16/e2fsprogs-veAZCX/preinst.
opkg_install_pkg: Installing maintainer scripts.
opkg_install_pkg: Installing data files for e2fsprogs.
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/e2fsprogs.list file for pkg 
e2fsprogs.
opkg_install_pkg: Resolving conf files for e2fsprogs
Unknown package '4'.
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
Configuring e2fsprogs.
pkg_run_script: Running script 
/mnt/usb_disk1/opkg-install//usr/lib/opkg/info/e2fsprogs.postinst.
write_status_files_if_changed: Writing status file.
pkg_write_changed_filelists: Saving changed filelists.
Collected errors:
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libvtss_api.list: No such file or directory.
 * opkg_install_cmd: Cannot install package 4.

Original issue reported on code.google.com by TheEvilO...@googlemail.com on 5 Jul 2011 at 12:53

GoogleCodeExporter commented 9 years ago
 * opkg_install_cmd: Cannot install package 4.
You need to remove the "-V 4" in the command

Original comment by jht...@gmail.com on 6 Jul 2011 at 4:01

GoogleCodeExporter commented 9 years ago
that was supposed to cause verbose mode.
The error 
pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libvtss_api.list: 
No such file or directory.
persists

Original comment by TheEvilO...@googlemail.com on 6 Jul 2011 at 4:08

GoogleCodeExporter commented 9 years ago
root@Vigor2130:/tmp# opkg install libext2fs_1.40.11-1_arm.ipk -V4 
>/mnt/usb_sdd1/libext2fs_1.40.11-1_arm.ipk.log
Collected errors:
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libvtss_api.list: No such file or directory.
root@Vigor2130:/tmp# opkg install e2fsprogs_1.40.11-1_arm.ipk -V4 
>/mnt/usb_sdd1/e2fsprogs_1.40.11-1_arm.ipk.log
Collected errors:
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libvtss_api.list: No such file or directory.

-V4 was taken from http://wiki.openwrt.org/doc/techref/opkg

Original comment by TheEvilO...@googlemail.com on 6 Jul 2011 at 4:50

Attachments:

GoogleCodeExporter commented 9 years ago
You can ignore the error message. It should have been successfully installed.

Original comment by jht...@gmail.com on 6 Jul 2011 at 1:05

GoogleCodeExporter commented 9 years ago
if that was the case shouldn't i be able to run mkfs.ext2?

root@Vigor2130:/# mkfs.ext2
-ash: mkfs.ext2: not found

Original comment by TheEvilO...@googlemail.com on 6 Jul 2011 at 3:20

GoogleCodeExporter commented 9 years ago
We have ext2/ext3 support in latest beta firmware.
If you don't mind experimenting and risking instability, we can send that for 
you.

Original comment by vincent....@gmail.com on 7 Jul 2011 at 9:03

GoogleCodeExporter commented 9 years ago
Absolutely please do so.

Original comment by TheEvilO...@googlemail.com on 7 Jul 2011 at 12:24

GoogleCodeExporter commented 9 years ago
The password is 'For beta tester only'

Again, this firmware is still under beta version.
Any comments about this beta are welcomed.
Please post any feedback or problems you might experience here.
Thank you.

Original comment by vincent....@gmail.com on 8 Jul 2011 at 2:14

Attachments:

GoogleCodeExporter commented 9 years ago
About the error:
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libvtss_api.list: 
No such file or directory.

You can try to remove the package
opkg remove --force-remove libvtss_api

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