Modify

Opened 6 years ago

Closed 3 years ago

#10173 closed defect (wontfix)

Restore doesn't Re-Install opkg packages

Reported by: scotepi Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: backup restore opkg packages Cc: openwrt@…

Description

I created a backup of nightly 2011-09-20 using luci, then I installed 2011-09-29 sysupgrade without savings the configuration. When I restored the backup using luci all packages I had installed were listed with opkg list-installed but none of them were really installed.

Steps to Reproduce

  • Created a backup file with luci a.tar.gz
  • Flash a sysupgrade via luci without saving configuration
  • Telnet in and set root password and opkg update; opkg install luci; /etc/init.d/uhttpd start; /etc/init.d/uhttpd enable
  • go to http://192.168.1.1/ and restore a.tar.gz
  • wait for reboot
  • Go to either System -> Software in luci or run opkg list-installed and see that everything you had before is 'installed'
  • Say I had samba installed before, there is no /etc/init.d/samba or any other non config files associated with samba

Expected Behavior
After restoring the backup file, maybe after the reboot all opkg packages that were installed before would be reinstalled.

My System
OS: Windows 7 x64 SP1
Browser: Chrome 15.0.874 Beta
Router: Buffalo WZR-HP-G300NH - rtl8366rb switch
OpenWrt: OpenWrt Firmware Attitude Adjustment (r28314) / LuCI Trunk (trunk+svn7576)

Attachments (1)

opkg_list-installed.txt (1.8 KB) - added by scotepi 6 years ago.
opkg list-installed

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by scotepi

opkg list-installed

comment:1 Changed 6 years ago by scotepi

doh.. it didn't even show any of my old packages in the opkg list-installed so I guess this bug can be moved up to the backup process, not the restore process.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:3 Changed 3 years ago by jogo

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

backing up and restoring installed packages is not feasible, as it likely includes incompatible kernel modules, as well as libc or core API library changes can render old userspace packages incompatible.

This can easily lead to non booting devices.

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.