Siduction Forum

Siduction Forum => Software - Support => Topic started by: tranquil on 2018/12/06, 21:48:49

Title: Packages Flagged as No Longer Needed and Marked for Upgrade?
Post by: tranquil on 2018/12/06, 21:48:49
I've encountered this issue in the past and I'm currently encountering it again on my desktop, but not my laptop for whatever reason.  How can a package be marked for upgrade and flagged as no longer needed at the same time?  If a package is no longer needed, what's the purpose of marking it for upgrade?

Code: [Select]
The following package was automatically installed and is no longer required:
  icedtea-netx
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
  icedtea-8-plugin icedtea-netx-common
The following packages will be upgraded:
  icedtea-netx
1 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/1,637 kB of archives.
After this operation, 435 kB disk space will be freed.
Title: Re: Packages Flagged as No Longer Needed and Marked for Upgrade?
Post by: piper on 2018/12/06, 22:08:19
old binaries left on all: icedtea-netx-common, icedtea-plugin (from 1.6.2-3.1)

all = https://buildd.debian.org/status/logs.php?arch=all&pkg=icedtea-web&ver=1.7.1-1
Title: Re: Packages Flagged as No Longer Needed and Marked for Upgrade?
Post by: piper on 2018/12/06, 23:18:21
To be more clear let the 2 go (icedtea-netx-common is now built in)
Title: Re: Packages Flagged as No Longer Needed and Marked for Upgrade?
Post by: sidemmc on 2018/12/06, 23:27:14
Thank you, piper.
Title: Re: Packages Flagged as No Longer Needed and Marked for Upgrade?
Post by: tranquil on 2018/12/07, 07:12:06
old binaries left on all: icedtea-netx-common, icedtea-plugin (from 1.6.2-3.1)

all = https://buildd.debian.org/status/logs.php?arch=all&pkg=icedtea-web&ver=1.7.1-1 (https://buildd.debian.org/status/logs.php?arch=all&pkg=icedtea-web&ver=1.7.1-1)
To be more clear let the 2 go (icedtea-netx-common is now built in)
Okay, but if the package is no longer needed, why the upgrade?  Is it because there may be some who choose to continue using the package?
Title: Re: Packages Flagged as No Longer Needed and Marked for Upgrade?
Post by: piper on 2018/12/07, 12:56:52
Quote from: tranquil
Okay, but if the package is no longer needed, why the upgrade?  Is it because there may be some who choose to continue using the package?


The upgrade is because on 10/24/18

Quote from: Emmanuel Bourg

   * No longer integrate icedtea-web with a specific JDK
     (Closes: #743922, #642901, #712292)
   * Merged icedtea-netx-common into icedtea-netx (Closes: #798946)
   * Package transferred to the Java Team.
   * Removed Damien Raude-Morvan from the uploaders (Closes: #889448)
   * Fixed the detection of Java 10+ in the configure script
   * No longer generate debian/control from template files
   * Updated the .desktop files
   * Build with the DH sequencer
   * Use Breaks/Replaces instead of Conflicts/Replaces in debian/control
   * Standards-Version updated to 4.2.1
   * Switch to debhelper level 11
   * Use a secure URL in debian/watch

which had to be rebuilt, packed, and uploaded, which is why you see this if you have it installed

Code: [Select]
The following packages will be REMOVED:
  icedtea-8-plugin icedtea-netx-common
The following packages will be upgraded:
  icedtea-netx

If you don't have it installed and try to install it, you will see

Code: [Select]
root@x1:/home/piper# apt install icedtea-netx icedtea-netx-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 icedtea-netx : Breaks: icedtea-netx-common (< 1.7.1-1~) but 1.6.2-3.1 is to be installed
                Breaks: icedtea-netx-common:i386 (< 1.7.1-1~)
E: Unable to correct problems, you have held broken packages.

I hope that helps you