Ticket #143 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

[pkg] pkg upgrade ignores --big

Reported by: xmxwx Assigned to: pjf
Priority: normal Milestone: 3.0
Component: Happy admin Version: 2.0
Severity: trivial Keywords:
Cc:

Description

IMHO either:

  • the user should be warned that --big option was ignored while performing pkg upgrade
  • or such an upgrade should be allowed. Since -big and plain packages do not differ in /etc/fc/* contents, such an upgrade would work nicely if upgradepkg was modified according to the latest comment in #127

Change History

01/20/07 15:03:25 changed by pjf

  • priority changed from low to normal.
  • milestone changed from 3.0 to 2.1.

03/02/07 16:29:47 changed by xmxwx

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r1247.

  • A new pkg option --notbig has been added.
  • If no options are given, the same type of package as the installed one is deployed
  • --big causes a big package to be deployed while upgrading
  • --notbig causes a plain package to be deployed while upgrading
  • If the requested package type differs from the installed one, the upgrade is forced (i.e. no matter whether there is a newer package available)

--notbig sounds a bit like newspeak. Maybe --small would be better? Some packages are not small despite they are not big, hence my suggestion ;)

03/02/07 18:13:04 changed by pjf

I think --notbig is OK.

03/15/08 15:49:29 changed by pjf

  • milestone changed from 2.1rc1 to 3.0.

Milestone 2.1rc1 deleted