<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8349</bug_id>
          
          <creation_ts>2015-09-21 00:58:15 +0000</creation_ts>
          <short_desc>[internalsolv] dist-upgrade feature (old issue #126)</short_desc>
          <delta_ts>2021-07-08 15:36:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>opkg</product>
          <component>opkg</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>ACCEPTED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alejandro del Castillo">alejandro.delcastillo</reporter>
          <assigned_to name="Alex Stewart">alex.stewart</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>54327</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2015-09-21 00:58:15 +0000</bug_when>
    <thetext>Inrtoduce a dist-upgrade command that update only feed files in order to perform a distribution upgrade.

Originally reported by stefano.cordibella, Apr 2, 2014
-----------------------------------------------------------------------------

#2 peteru711 (Oct 15, 2014)
How should this feature work?

In my case the feed configuration is owned by a package:

 # opkg search /etc/opkg/mips32el-feed.conf
 oe-alliance-feeds-configs - 1.0-r16

So, to cause a distro upgrade, I&apos;d have the user upgrade the feed package first.

How would the &quot;dist-upgrade&quot; command work? Would it not be the same as:

 # opkg install http://my.new.feed/my-feeds_new.version.ipk


#3 paul.betafive (Oct 16, 2014)
You&apos;d have to look at what dpkg/apt does on dist-upgrade. I haven&apos;t looked at this and don&apos;t plan to any time soon.

If your feed config is in a package, you can set the hold flag on the package so it doesn&apos;t get automatically updated. Then you can write a dist-upgrade shell script to unhold, upgrade and then re-hold that package, then do a full &apos;opkg update &amp;&amp; opkg upgrade&apos; to pull packages from the new feeds. If any specific post dist-upgrade commands are needed, they can be added as to a postinst script for the package which contains the feed config.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73415</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2017-05-22 17:02:08 +0000</bug_when>
    <thetext>Added support in the libsolv backend in 8a2ac80</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>