Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 4173  / 1 Year ago, sun, february 19, 2023, 4:06:03

I have been been running trusty since the first alpha release, pulling daily updates. I also installed the oracle-java7-installer from the WebUpd8 PPA. Today I noticed during a dist-upgrade that oracle-java7-installer was being removed. On my edge system I just allow all the defaults so I allowed the removal expecting to try out the java 8 version anyway. However when I went to install the oracle-java8-installer package it wanted to remove "apt"!? This obviously sparked my concern, as it even feels like a security concern. Help understanding this would be greatly appreciated.



$ sudo apt-get install oracle-java8-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
visualvm ttf-baekmuk ttf-unfonts ttf-unfonts-core ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho
ttf-arphic-uming
The following packages will be REMOVED:
apt apturl nautilus-share python3-software-properties software-center software-properties-common software-properties-gtk
ubuntu-extras-keyring ubuntu-minimal unattended-upgrades
The following NEW packages will be installed:
oracle-java8-installer
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
apt
0 upgraded, 1 newly installed, 10 to remove and 0 not upgraded.
Need to get 18.7 kB of archives.
After this operation, 7,838 kB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?]

More From » apt

 Answers
0

This recent change referenced in the 'apt' package ChangeLog appears to be the likely culprit:



apt (0.9.15.4ubuntu4) trusty; urgency=low

Cherry pick fixes from the apt 1.0 branch:

[ Michael Vogt ]
* add sun-java{5,6}-jdk to breaks/replaces as that provided a "apt"
binary as well


The oracle-java8-installer package "Provides" the "sun-java6-jdk" package, so this conflict bubbles up and prevents us from installing the WebUpd8 packages -- even though neither oracle-java7-installer nor oracle-java8-installer actually installs the problematic "apt" binary mentioned in the apt changelog.



I went ahead and submitted a bug report for this: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1302736


[#26195] Sunday, February 19, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pantkie

Total Points: 209
Total Questions: 112
Total Answers: 138

Location: Venezuela
Member since Sat, Apr 24, 2021
3 Years ago
pantkie questions
Tue, Feb 14, 23, 07:17, 1 Year ago
Sat, May 8, 21, 05:13, 3 Years ago
Sat, Jun 11, 22, 17:14, 2 Years ago
Thu, Mar 10, 22, 12:32, 2 Years ago
;