broken dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: netbeans
#uname -a
Linux comp 2.6.24-18-generic #1 SMP Wed May 28 20:27:26 UTC 2008 i686 GNU/Linux
#apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#apt-get install netbeans
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.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
netbeans: Depends: libnb-apisuppor
Christophe Sauthier (christophe.sauthier) wrote : | #1 |
Changed in netbeans: | |
status: | New → Incomplete |
Steve (pa53oew02) wrote : | #2 |
- sources.list Edit (2.5 KiB, text/plain)
I am having this same issue, and have attached sources.list. Netbeans was working fine after upgrade to hardy 8.04, but last week there was an upgrade that caused all of netbeans and java to be uninstalled, and when i try to reinstall i get the error described by the original poster.
Let me know if i can supply an additional info. FYI i am not a very experienced user but will try to do my best.
thanks,
Steve
.Ru (vodarus) wrote : | #3 |
Marek Slama (mslama-email) wrote : | #4 |
What happens if you install libnb-apisuppor
Changed in netbeans: | |
assignee: | nobody → mslama-email |
.Ru (vodarus) wrote : Re: [Bug 239679] Re: broken dependency | #5 |
2008/6/17 Marek Slama <email address hidden>:
> What happens if you install libnb-apisuppor
> libnb-java1-java? You can try aptitude full-upgrade it first analyzes
> status and then asks if you want to install. So you can skip
> installation and attach here what it suggests to install.
>
> ** Changed in: netbeans (Ubuntu)
> Assignee: (unassigned) => Marek Slama (mslama-email)
>
> --
> broken dependency
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
# aptitude full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
# apt-get install libnb-apisuppor
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.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libnb-
going to be installed
going to be installed
E: Broken packages
the same situation for libnb-ide8-java...
.Ru (vodarus) wrote : | #6 |
2008/6/17 Marek Slama <email address hidden>:
Interesting fact:
#aptitude install openjdk-6-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages are BROKEN:
tzdata-java
The following NEW packages will be automatically installed:
lesstif2 libaccess-
openjdk-6-jre-lib
The following NEW packages will be installed:
lesstif2 libaccess-
openjdk-
0 packages upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 39.2MB of archives. After unpacking 116MB will be used.
The following packages have unmet dependencies:
tzdata-java: Depends: tzdata (= 2008b-1ubuntu1) but 2008c-1ubuntu0.8.04 is
installed.
Resolving dependencies...
The following actions will resolve these dependencies:
Downgrade the following packages:
tzdata [2008c-
it writes: The following packages are BROKEN: tzdata-java
What can it be? Can it become problem or not???
.Ru (vodarus) wrote : | #7 |
Marek Slama (mslama-email) wrote : | #8 |
It is already fixed. Problem was with missing update for tzdata-java. tzdata was updated to version 2008c but updated tzdata-java was not available. It broke all java dependencies, Now it works fine. I did not find relevant issue for tzdata-java. tzdata update issue is #237023.
Changed in netbeans: | |
status: | Incomplete → Fix Released |
Eric Buist (buisteric) wrote : | #9 |
I still have the same problem. I found NetBeans uninstalled last week, and I could not reinstall it again using apt-get. I had to use aptitude which downgraded tzdata. Now, each time the Ubuntu update manager starts, it asks me to do a partial upgrade, which would reinstall tzdata, and remove NetBeans.
Is it because I am using the 64-bits edition of Hardy, or because the newer tzdata-java package is in a separate repository than the standard ones. It would be a good idea to have tzdata-java in the main repository to avoid complications for people doing Java programming with NetBeans.
Marek Slama (mslama-email) wrote : | #10 |
tzdata-java is in universe repo like openjdk and netbeans. So I do not see any problem with it. universe is enabled by default. What is version of tzdata you have? Do you have any frozen package set? (ie. is installed and latest version the same?) 2008d is latest version in hardy (both tzadata and tzdata-java). I will check hardy 64bit version.
.Ru (vodarus) wrote : | #11 |
2008/7/30 Marek Slama <email address hidden>
> tzdata-java is in universe repo like openjdk and netbeans. So I do not
> see any problem with it. universe is enabled by default. What is version
> of tzdata you have? Do you have any frozen package set? (ie. is
> installed and latest version the same?) 2008d is latest version in hardy
> (both tzadata and tzdata-java). I will check hardy 64bit version.
>
> --
> broken dependency
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
I checked hardy 32bit 2 weeks ago - bug present.
I tried to apt-ger dist-upgrade and apt going to uninstall tzdata-java &
netbeans.
Bug in countiues...
Marek Slama (mslama-email) wrote : | #12 |
.Ru wrote:
> 2008/7/30 Marek Slama <email address hidden>
>
>
>> tzdata-java is in universe repo like openjdk and netbeans. So I do not
>> see any problem with it. universe is enabled by default. What is version
>> of tzdata you have? Do you have any frozen package set? (ie. is
>> installed and latest version the same?) 2008d is latest version in hardy
>> (both tzadata and tzdata-java). I will check hardy 64bit version.
>>
>> --
>> broken dependency
>> https:/
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>>
>
> I checked hardy 32bit 2 weeks ago - bug present.
> I tried to apt-ger dist-upgrade and apt going to uninstall tzdata-java &
> netbeans.
>
> Bug in countiues...
>
I do not know what is wrong. I have openjdk6 and netbeans installed on
my 32bit hardy but tzdata-java is not installed.
openjdk 6b10-0ubuntu1
netbeans 6.0.1-0ubuntu2
tzdata 2008d-1ubuntu0.8.04
tzdata-java NOT installed and latest version displayed in synaptic is
the same as for tzdata.
Marek
My hardy was updated from previous version 7.10.
Marek Slama (mslama-email) wrote : | #13 |
openjde-6-headless uses recommends on tzdata-java. It is strong but not
absolute dependency.
It means that when you install openjre it will install tzdata-java but
later you can remove tzdata-java.
So please check what openjre version do you have.
I will try to uninstall netbeans+openjdk and install netbeans. It should
install also tzdata-java + openjdk.
I let you know the result.
Marek
> I checked hardy 32bit 2 weeks ago - bug present.
> I tried to apt-ger dist-upgrade and apt going to uninstall tzdata-java &
> netbeans.
>
> Bug in countiues...
>
>
Eric Buist (buisteric) wrote : | #14 |
Hello,
I am using sun-java6-jdk as a JDK, not OpenJDK. But I have installed
openjdk-jre to get the Firefox 64 bits plugin.
On my 32 bits laptop running Hardy, I do not have this problem.
So this may be a 64-bits specific problem, or it may be caused by the
fact I have made a dist-upgrade from Gutsy. On the laptop, I made a
clean install after an hard disk failure.
Eric
Marek Slama a écrit :
> openjde-6-headless uses recommends on tzdata-java. It is strong but not
> absolute dependency.
>
> It means that when you install openjre it will install tzdata-java but
> later you can remove tzdata-java.
>
> So please check what openjre version do you have.
>
> I will try to uninstall netbeans+openjdk and install netbeans. It should
> install also tzdata-java + openjdk.
> I let you know the result.
>
> Marek
>
>> I checked hardy 32bit 2 weeks ago - bug present.
>> I tried to apt-ger dist-upgrade and apt going to uninstall tzdata-java &
>> netbeans.
>>
>> Bug in countiues...
>>
>>
>>
>
>
Eric Buist (buisteric) wrote : | #15 |
Hello,
If I look in Synaptic, the version of tzdata and tzdata-java I have
installed is 2008b. The last available version is 2008c for tzdata, and
2008b for tzdata-java. Was tzdata-java 2008c updated in the repos? Why
do I only obtain the 2008b?
Eric
Eric Buist a écrit :
> Hello,
> I am using sun-java6-jdk as a JDK, not OpenJDK. But I have installed
> openjdk-jre to get the Firefox 64 bits plugin.
> On my 32 bits laptop running Hardy, I do not have this problem.
> So this may be a 64-bits specific problem, or it may be caused by the
> fact I have made a dist-upgrade from Gutsy. On the laptop, I made a
> clean install after an hard disk failure.
> Eric
>
> Marek Slama a écrit :
>
>> openjde-6-headless uses recommends on tzdata-java. It is strong but not
>> absolute dependency.
>>
>> It means that when you install openjre it will install tzdata-java but
>> later you can remove tzdata-java.
>>
>> So please check what openjre version do you have.
>>
>> I will try to uninstall netbeans+openjdk and install netbeans. It should
>> install also tzdata-java + openjdk.
>> I let you know the result.
>>
>> Marek
>>
>>
>>> I checked hardy 32bit 2 weeks ago - bug present.
>>> I tried to apt-ger dist-upgrade and apt going to uninstall tzdata-java &
>>> netbeans.
>>>
>>> Bug in countiues...
>>>
>>>
>>>
>>>
>>
>
>
Eric Buist (buisteric) wrote : | #16 |
Hello,
I could work around the problem by manually installing tzdata and
tzdata-java 2008c. So this may be a bug with apt-get which does not
detect the newer version of tzdata-java. It also does not detect newer
2008d and 2008e versions of tzdata and tzdata-java in the repositories.
May this be caused by the fact that tzdata is on the main repository
while tzdata-java is on universe?
Eric
Eric Buist a écrit :
> Hello,
> I am using sun-java6-jdk as a JDK, not OpenJDK. But I have installed
> openjdk-jre to get the Firefox 64 bits plugin.
> On my 32 bits laptop running Hardy, I do not have this problem.
> So this may be a 64-bits specific problem, or it may be caused by the
> fact I have made a dist-upgrade from Gutsy. On the laptop, I made a
> clean install after an hard disk failure.
> Eric
>
> Marek Slama a écrit :
>
>> openjde-6-headless uses recommends on tzdata-java. It is strong but not
>> absolute dependency.
>>
>> It means that when you install openjre it will install tzdata-java but
>> later you can remove tzdata-java.
>>
>> So please check what openjre version do you have.
>>
>> I will try to uninstall netbeans+openjdk and install netbeans. It should
>> install also tzdata-java + openjdk.
>> I let you know the result.
>>
>> Marek
>>
>>
>>> I checked hardy 32bit 2 weeks ago - bug present.
>>> I tried to apt-ger dist-upgrade and apt going to uninstall tzdata-java &
>>> netbeans.
>>>
>>> Bug in countiues...
>>>
>>>
>>>
>>>
>>
>
>
Marek Slama (mslama-email) wrote : | #17 |
It looks like problem with apt-get. Looks like bad detection of tzdata-java and wrong dependency of jre/jdk on tzdata-java. For me it is not absolute dependency but suggest. I do not know if it was changed in last update of openjdk package or if mentioned sun-java-* packages have different dependency (I did not find any). I can say netbeans packages do not have any explicit dependency on tzdata-java.
Changed in netbeans: | |
assignee: | mslama-email → nobody |
Eric Buist (buisteric) wrote : | #18 |
Hello,
The problem came back because of a new version of tzdata. Now, the newest version of tzdata is 2008e while tzdata-java is 2008c. Synaptic
or apt-get do not detect the new tzdata-java but detect tzdata so
update-manager always and always proposes me to do a partial upgrade
which will remove Java and Netbeans.
So that is a no-go for me; I have to try a clean reinstall in the hope
it will clear the bug, or wait for the release of Ubuntu 8.10. I will
rather change distribution if I really have to wait so long or reformat.
Eric
Eric Buist (buisteric) wrote : | #19 |
tzdata is in Main repository while tzdata-java is in Universe.
Last time I tried to enable proposed updates, tzdata and tzdata-java 2008e were available as updates.
For now, I manually downloaded tzdata and tzdata-java, and installed them using dpkg, at least to avoid the message about partial upgrades each time the Update Manager checks for updates.
.Ru (vodarus) wrote : | #20 |
>
> --
> broken dependency
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
>
Bug is not fixed :(
#apt-get update
...
Reading package lists... Done
# apt-get install tzdata-java
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.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
tzdata-java: Depends: tzdata (= 2008b-1ubuntu1) but 2008e-1ubuntu0.8.04 is
to be installed
E: Broken packages
# apt-get install openjdk-6-jdk
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.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
openjdk-6-jdk: Depends: openjdk-6-jre (= 6b09-0ubuntu2) but it is not
going to be installed
E: Broken packages
Milan (milanmpoojary) wrote : | #21 |
Hi Milan here ..... I am trying to install the Netbeans i tried with many ways but it didnt succeed .whenever i type following command :
apt-get install netbeans
I get following error
The following packages have unmet dependencies:
netbeans: Depends: libnb-platform8
E: Broken packages
I Read many bug reports where i got a solution where some brainy told to go to system-
Milan (milanmpoojary) wrote : | #22 |
Hi Milan here ..... I am trying to install the Netbeans i tried with many ways but it didnt succeed .whenever i type following command :
apt-get install netbeans
I get following error
The following packages have unmet dependencies:
netbeans: Depends: libnb-platform8
E: Broken packages
I Read many bug reports where i got a solution where some brainy told to go to system-
he following packages have unmet dependencies:
netbeans: Depends: libnb-platform8
E: Broken packages
Marek Slama (mslama-email) wrote : | #23 |
Milan first make sure you have enough space on your system partition. Then try to check for broken packages (try Edit -> Fix Broken Packages in synaptic.) Make sure you have jdk and jre installed on your system (either open or sun). Then install netbeans. If it fails you can download either zip or Linux installer from netbeans.org.
Can you please detail a bit more your installation ?
I cannot reproduce it here.
Can you attach the content of your /etc/apt/ sources. list here ?