Ticket #1940 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

'opkg -noaction upgrade' does not work as expected

Reported by: ChristW Owned by: tick
Priority: normal Milestone:
Component: opkg Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible: always

Description

Steps to reproduce:

1) Run opkg update to re-load the list of updated packages
2) Run opkg -noaction upgrade and verofy that packages are being downloaded from the web

Expected behaviour:

  • Getting a list of downloads

Reason:
Sometimes (often!) my Mac crashes when the FreeRunner? pulls lots of data via the internet connection. Copying (scp) from the Mac works better. I'd like to get a list of packages to download to manually copy them to the FR and 'opkg install' them.

Change History

comment:1 Changed 5 years ago by tick

  • Status changed from new to accepted

which opkg version do you run?

I don't understand what happened to your Neo when you opkg -noaction upgrade?

Is Neo crashes or your Mac crashes?

If it is your Mac crashes, perhaps you found a bug from Apple.
Maybe... routing issues?

Tick

comment:2 Changed 5 years ago by ChristW

opkg version 0.1.5

Nothing 'happens' to my Neo when I opkg -noaction upgrade, but I don't expect anything to 'happen' tp it either...

The Mac is the one that crashes, usually somewhere in natd. Since I use the AJZureus USB driver to connect the Neo to the Mac, Apple isn't going to do anything, I guess...

I 'only' wanted to report an expected behaviour from opkg, namely: Don't download the new ipk files from the internet, just list them.

HTH!

comment:3 Changed 5 years ago by tick

oh okay, I see~
Thanks for reporting this.
I'll take a look of this.

comment:4 Changed 5 years ago by tick

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

hmm... because opkg will need to check if the package is valid or not, so it will try to download. If opkg -test do not do this it will miss some use cases.

-test -noaction flag means it will not actually install/upgrading/uninstall to your system, however it will try to download files.

I will switch this to invalid.

Still thanks for your report.

comment:5 Changed 5 years ago by tick

  • Status changed from closed to reopened
  • Resolution wontfix deleted

comment:6 Changed 5 years ago by tick

  • Status changed from reopened to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.