Modify

Opened 12 years ago

Closed 12 years ago

#472 closed defect (fixed)

ipkg tries to overwrite files from kmod-usb-serial* packages

Reported by: b.candler@… Owned by: developers
Priority: normal Milestone: 0.9/rc6
Component: packages Version:
Keywords: Cc:

Description

I have used the OpenWRT RC5 ImageBuilder to build an image which includes all the kmod-usb-serial packages. However, now whenever I install or uninstall any other extra package, I get errors relating to these packages:

root@OpenWrt:~# ipkg install /tmp/l2tpd_0.70pre-2_mipsel.ipk
Installing l2tpd (0.70pre-2) to root...
Configuring l2tpd
pkg_write_filelist pkg=kmod-usb-serial returned 30
pkg_write_filelist pkg=kmod-usb-serial-belkin returned 30
pkg_write_filelist pkg=kmod-usb-serial-ftdi returned 30
pkg_write_filelist pkg=kmod-usb-serial-mct-u232 returned 30
pkg_write_filelist pkg=kmod-usb-serial-pl2303 returned 30
pkg_write_filelist pkg=kmod-usb-serial-visor returned 30
Successfully terminated.
Collected errors:
Could not open //usr/lib/ipkg/info/kmod-usb-serial.list for writing: Read-only file system
Could not open //usr/lib/ipkg/info/kmod-usb-serial-belkin.list for writing: Read-only file system
Could not open //usr/lib/ipkg/info/kmod-usb-serial-ftdi.list for writing: Read-only file system
Could not open //usr/lib/ipkg/info/kmod-usb-serial-mct-u232.list for writing: Read-only file system
Could not open //usr/lib/ipkg/info/kmod-usb-serial-pl2303.list for writing: Read-only file system
Could not open //usr/lib/ipkg/info/kmod-usb-serial-visor.list for writing: Read-only file system

I can't see why installing or uninstalling an unrelated package would attempt to re-write the file lists for those packages. Clearly it fails because they are on squashfs, but even if they were on jffs2 I don't think it should touch them.

Additional notes: my image uses 'ipkg', not 'ipkg-sh'. There is sufficient space on jffs2 for the extra package(s) I'm installing. I get the same errors when uninstalling a package from jffs2 as well. My image contains other packages, but errors are only displayed for the usb-serial ones.

The exact package list I used to build the flash image is:

base-files
base-files-brcm
bridge
busybox
chat
dropbear
ebtables
ipkg
iptables
iwlib
kmod-brcm-wl
kmod-diag
kmod-ebtables
kmod-ppp
kmod-switch
kmod-usb-core
kmod-usb-ohci
kmod-usb-serial
kmod-usb-serial-belkin
kmod-usb-serial-ftdi
kmod-usb-serial-mct-u232
kmod-usb-serial-pl2303
kmod-usb-serial-visor
kmod-usb-storage
kmod-usb-uhci
kmod-vfat
kmod-wlcompat
mtd
nas
nvram
ppp
uclibc
wificonf
wl

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by olli

  • Milestone set to 1.0-rc6

comment:2 Changed 12 years ago by nico

  • Resolution set to fixed
  • Status changed from new to closed

The kmod-usb-serial package was broken before [3810] - it used to contain all usb serial modules from other kmod-usb-serial-* packages. The package manager noticed it and tried to fix it somehow.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.