broken dependency

Bug #239679 reported by .Ru
34
This bug affects 1 person
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-apisupport1-java (>= 6.0.1) but it is not going to be installed
            Depends: libnb-ide8-java (>= 6.0.1) but it is not going to be installed
            Depends: libnb-java1-java (>= 6.0.1) but it is not going to be installed

Revision history for this message
Christophe Sauthier (christophe.sauthier) wrote :

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 ?

Changed in netbeans:
status: New → Incomplete
Revision history for this message
Steve (pa53oew02) wrote :

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

Revision history for this message
.Ru (vodarus) wrote :

sources.list:

Revision history for this message
Marek Slama (mslama-email) wrote :

What happens if you install libnb-apisupport1-java, libnb-ide8-java, 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:
assignee: nobody → mslama-email
Revision history for this message
.Ru (vodarus) wrote : Re: [Bug 239679] Re: broken dependency

2008/6/17 Marek Slama <email address hidden>:

> What happens if you install libnb-apisupport1-java, libnb-ide8-java,
> 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://bugs.launchpad.net/bugs/239679
> 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-apisupport1-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:
  libnb-apisupport1-java: Depends: libnb-ide8-java (>= 6.0.1) but it is not
going to be installed
                          Depends: libnb-java1-java (>= 6.0.1) but it is not
going to be installed
E: Broken packages

the same situation for libnb-ide8-java...

Revision history for this message
.Ru (vodarus) wrote :

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-bridge-java openjdk-6-jre openjdk-6-jre-headless
openjdk-6-jre-lib
The following NEW packages will be installed:
  lesstif2 libaccess-bridge-java openjdk-6-jdk openjdk-6-jre
openjdk-6-jre-headless openjdk-6-jre-lib
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-1ubuntu0.8.04 (hardy-updates, now) -> 2008b-1ubuntu1 (hardy)]

it writes: The following packages are BROKEN: tzdata-java
What can it be? Can it become problem or not???

Revision history for this message
.Ru (vodarus) wrote :

2008/6/20 vodarus vodarus <email address hidden>:

Yes problem was with tzdata because it is not working with tzdata-java.
aptitude downgraded tzdata, then Netbeans can be installed.

Revision history for this message
Marek Slama (mslama-email) wrote :

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
Revision history for this message
Eric Buist (buisteric) wrote :

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.

Revision history for this message
Marek Slama (mslama-email) wrote :

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.

Revision history for this message
.Ru (vodarus) 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://bugs.launchpad.net/bugs/239679
> 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...

Revision history for this message
Marek Slama (mslama-email) wrote :

.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://bugs.launchpad.net/bugs/239679
>> 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.

Revision history for this message
Marek Slama (mslama-email) wrote :

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...
>
>

Revision history for this message
Eric Buist (buisteric) wrote :

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...
>>
>>
>>
>
>

Revision history for this message
Eric Buist (buisteric) wrote :

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...
>>>
>>>
>>>
>>>
>>
>
>

Revision history for this message
Eric Buist (buisteric) wrote :

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...
>>>
>>>
>>>
>>>
>>
>
>

Revision history for this message
Marek Slama (mslama-email) wrote :

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
Revision history for this message
Eric Buist (buisteric) wrote :

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

Revision history for this message
Eric Buist (buisteric) wrote :

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.

Revision history for this message
.Ru (vodarus) wrote :

>
> --
> broken dependency
> https://bugs.launchpad.net/bugs/239679
> 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

Revision history for this message
Milan (milanmpoojary) wrote :

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-java (>= 6.1) but it is not going to be installed
            Depends: libnb-ide9-java (= 6.1-0ubuntu1) but it is not going to be installed
            Depends: libnb-java2-java (= 6.1-0ubuntu1) but it is not going to be installed
            Depends: libnb-apisupport1-java (= 6.1-0ubuntu1) but it is not going to be installed
E: Broken packages

I Read many bug reports where i got a solution where some brainy told to go to system->adminstration->software Sources and to enable some updates and also told some command to type in the terminal and i did that and i got netbeans installing when it was around 98% my disk got full and my system got crashed from that time i am again searching for that bug report please if anybody know that command wat to type in the terminal please lett me know ..Please please please please please please plz...............

Revision history for this message
Milan (milanmpoojary) wrote :

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-java (>= 6.1) but it is not going to be installed
            Depends: libnb-ide9-java (= 6.1-0ubuntu1) but it is not going to be installed
            Depends: libnb-java2-java (= 6.1-0ubuntu1) but it is not going to be installed
            Depends: libnb-apisupport1-java (= 6.1-0ubuntu1) but it is not going to be installed
E: Broken packages

I Read many bug reports where i got a solution where some brainy told to go to system->adminstration->software Sources and to enable some updates and also told some command to type in the terminal and i did that and i got netbeans installing when it was around 98% my disk got full and my system got crashed from that time i am again searching for that bug report please if anybody know that command wat to type in the terminal please lett me know ..Please please please please please please plz...............plz anybody plz if you get answer to my doubt mail to my id <email address hidden> please please please please i am begging you..i fed of this error:
he following packages have unmet dependencies:
  netbeans: Depends: libnb-platform8-java (>= 6.1) but it is not going to be installed
            Depends: libnb-ide9-java (= 6.1-0ubuntu1) but it is not going to be installed
            Depends: libnb-java2-java (= 6.1-0ubuntu1) but it is not going to be installed
            Depends: libnb-apisupport1-java (= 6.1-0ubuntu1) but it is not going to be installed
E: Broken packages

Revision history for this message
Marek Slama (mslama-email) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.