PDA

View Full Version : [ubuntu] Synaptic manager refuses to work



ultimate_aektzis
June 7th, 2008, 01:05 PM
Hi guys.Some days before I 've tried to download the sun-javadoc via the terminal but it shows me the following message


[Press RETURN to try again, 'no' + RETURN to abort]

I pressed no.The day after, synaptic update manager asked me to download some updates.then I opened the terminal window as I am used to doing it, to see the process of the updates and it showed me the above message.I pressed no the update process was continued but after some time an error appeared claiming that the update process failed.When some time has passed an attention-icon appeared as in the following picture.The question is what can I do to get rid of the
[Press RETURN to try again, 'no' + RETURN to abort] message.I would be very grateful if someone could help me.
Thanks in advance

Nikitas350
June 7th, 2008, 01:14 PM
Try running this in terminal:
sudo dpkg --configure -a
sudo apt-get update
If any "strage" output is appeared post it here....

ultimate_aektzis
June 7th, 2008, 01:18 PM
My computer lamguage is greek but I am happy and lucky because you are from greece too:):)


periklis@p:~$ sudo dpkg --configure -a
[sudo] password for periklis:
Sorry, try again.
[sudo] password for periklis:
dpkg: η περιοχή της βάσης δεδομένων κατάστασης είναι κλειδωμένη από άλλη διεργασία
periklis@p:~$ sudo apt-get update
Hit http://gr.archive.ubuntu.com hardy Release.gpg
Αγνόησε http://gr.archive.ubuntu.com hardy/main Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy/restricted Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy/universe Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy/multiverse Translation-el
Φέρε:1 http://gr.archive.ubuntu.com hardy-updates Release.gpg [191B]
Αγνόησε http://gr.archive.ubuntu.com hardy-updates/main Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy-updates/restricted Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy-updates/universe Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy-updates/multiverse Translation-el
Hit http://gr.archive.ubuntu.com hardy Release
Φέρε:2 http://gr.archive.ubuntu.com hardy-updates Release [58,5kB]
Hit http://security.ubuntu.com hardy-security Release.gpg
Αγνόησε http://security.ubuntu.com hardy-security/main Translation-el
Hit http://gr.archive.ubuntu.com hardy/main Packages
Hit http://gr.archive.ubuntu.com hardy/restricted Packages
Hit http://gr.archive.ubuntu.com hardy/main Sources
Hit http://gr.archive.ubuntu.com hardy/restricted Sources
Hit http://gr.archive.ubuntu.com hardy/universe Packages
Hit http://gr.archive.ubuntu.com hardy/universe Sources
Hit http://gr.archive.ubuntu.com hardy/multiverse Packages
Hit http://gr.archive.ubuntu.com hardy/multiverse Sources
Αγνόησε http://ppa.launchpad.net hardy Release.gpg
Αγνόησε http://ppa.launchpad.net hardy/main Translation-el
Αγνόησε http://security.ubuntu.com hardy-security/restricted Translation-el
Αγνόησε http://security.ubuntu.com hardy-security/universe Translation-el
Αγνόησε http://security.ubuntu.com hardy-security/multiverse Translation-el
Hit http://security.ubuntu.com hardy-security Release
Φέρε:3 http://gr.archive.ubuntu.com hardy-updates/main Packages [90,7kB]
Αγνόησε http://ppa.launchpad.net hardy/universe Translation-el
Φέρε:4 http://ppa.launchpad.net hardy Release [27,6kB]
Hit http://security.ubuntu.com hardy-security/main Packages
Αγνόησε http://ppa.launchpad.net hardy/main Packages
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Sources
Αγνόησε http://ppa.launchpad.net hardy/universe Packages
Φέρε:5 http://gr.archive.ubuntu.com hardy-updates/restricted Packages [6156B]
Φέρε:6 http://gr.archive.ubuntu.com hardy-updates/main Sources [21,6kB]
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://security.ubuntu.com hardy-security/multiverse Sources
Hit http://ppa.launchpad.net hardy/main Packages
Φέρε:7 http://gr.archive.ubuntu.com hardy-updates/restricted Sources [906B]
Φέρε:8 http://gr.archive.ubuntu.com hardy-updates/universe Packages [36,9kB]
Hit http://ppa.launchpad.net hardy/universe Packages
Φέρε:9 http://gr.archive.ubuntu.com hardy-updates/universe Sources [6560B]
Φέρε:10 http://gr.archive.ubuntu.com hardy-updates/multiverse Packages [7821B]
Φέρε:11 http://gr.archive.ubuntu.com hardy-updates/multiverse Sources [1234B]
Αγνόησε http://hendrik.kaju.pri.ee gutsy Release.gpg
Αγνόησε http://hendrik.kaju.pri.ee gutsy/screenlets Translation-el
Αγνόησε http://hendrik.kaju.pri.ee gutsy Release
Αγνόησε http://hendrik.kaju.pri.ee gutsy/screenlets Packages
Σφάλμα http://hendrik.kaju.pri.ee gutsy/screenlets Packages
404 Not Found
Μεταφορτώθηκαν 231kB σε 3s (60,6kB/s)
W: Αποτυχία ανάκτησης του http://hendrik.kaju.pri.ee/ubuntu/dists/gutsy/screenlets/binary-i386/Packages.gz 404 Not Found

E: Μερικά αρχεία δεν μεταφορτώθηκαν, αγνοήθηκαν ή χρησιμοποιήθηκαν παλαιότερα στη θέση τους.
E: Αδύνατο το κλείδωμα /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
periklis@p:~$

PmDematagoda
June 7th, 2008, 01:23 PM
I'm sorry, but could you please translate the error message into English and post it again? I would help but I don't really understand Greek:).

ChameleonDave
June 7th, 2008, 01:26 PM
I'm sorry, but could you please translate the error message into English and post it again? I would help but I don't really understand Greek:).

No need. I don't speak Greek, but it's really rather obvious. There is a problem with the lock file.

ultimate_aektzis
June 7th, 2008, 01:45 PM
I will translate the greek words especially for my friend PmDematagoda:)

η περιοχή της βάσης δεδομένων κατάστασης είναι κλειδωμένη από άλλη διεργασία
=the status database area is locked from another process

Αγνοησε=ignore

φερε=bring,move,but here I think oit means download

Σφάλμα=error

Μεταφορτώθηκαν=downloaded

Αποτυχία ανάκτησης=cant get/failed/failed to get,i dont know the exact translation

Αδύνατο το κλείδωμα=unable to lock


If you have any more questions just ask me:)

ChameleonDave
June 7th, 2008, 02:00 PM
I suspect that deleting the lock file will help.


sudo rm /var/cache/apt/archives/lock

I assume that you are making sure that you are using only one program at once to handle software packages.

Nikitas350
June 7th, 2008, 08:33 PM
Yes, the problem is with the lock file. Maybe because you have synaptic opened. But the initial problem was different. Try close synaptic and re-run the command i wrote before...

ultimate_aektzis
June 7th, 2008, 08:41 PM
Yes, the problem is with the lock file. Maybe because you have synaptic opened. But the initial problem was different. Try close synaptic and re-run the command i wrote before...

I ve done what you said but results are pretty the same with previous ones.
I have also deleted the lock file with the above command.Whats next?

ultimate_aektzis
June 7th, 2008, 08:45 PM
After deleting the lock file I ran update manager and I took the following message in a popup window

The repository may no longer be available or could not be contacted because of network problems.
If available an older version of the failed index will be used.
Otherwise the repository will be ignored.
Check your network connection and ensure the repository address in the preferences is correct.

ChameleonDave
June 8th, 2008, 02:14 AM
After deleting the lock file I ran update manager and I took the following message in a popup window

The repository may no longer be available or could not be contacted because of network problems.
If available an older version of the failed index will be used.
Otherwise the repository will be ignored.
Check your network connection and ensure the repository address in the preferences is correct.
Well, do what it says.

1) Is your internet connection working fine? Try updating again.

2) Do you have a dodgy repository that you've added to your /etc/apt/sources.list?

zvacet
June 8th, 2008, 09:11 AM
@ ultimate_aektzis

You have third party repos for Gutsy in your source list.Change gutsy to hardy or comment that repos (put # sign in front of them).Save file and close it.


sudo apt-get update && sudo apt-get upgrade

ultimate_aektzis
June 8th, 2008, 11:41 AM
Well, do what it says.

1) Is your internet connection working fine? Try updating again.

2) Do you have a dodgy repository that you've added to your /etc/apt/sources.list?

1.yes!!
2.How can I remove it from my list?

Nikitas350
June 8th, 2008, 02:15 PM
Did you have a network connection active? If you had one the post here the contents of /etc/apt/sources.list.

Pumalite
June 8th, 2008, 02:41 PM
Backup your list first:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.old
Edit:
gksudo gedit /etc/apt/sources.list
Put a # in front of any line you deem inappropriate.(Gutsy or others)
Save, exit.
Run:
sudo apt-get update
sudo apt-get upgrade

ultimate_aektzis
June 8th, 2008, 03:11 PM
I found the gutsy repos and I "commented" them.After I ran


sudo apt-get update
sudo apt-get upgrade
but I saw a strange message telling me to run dpkg --configure -a.
When I did it the problem appeared once more,as you can see
It wants me to download javadoc but I dont want to.How can I instruct it to cancel the download permanently???I think that this will solve the problem


periklis@p:~$ sudo apt-get update
Hit http://gr.archive.ubuntu.com hardy Release.gpg
Αγνόησε http://gr.archive.ubuntu.com hardy/main Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy/restricted Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy/universe Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy/multiverse Translation-el
Hit http://gr.archive.ubuntu.com hardy-updates Release.gpg
Αγνόησε http://gr.archive.ubuntu.com hardy-updates/main Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy-updates/restricted Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy-updates/universe Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy-updates/multiverse Translation-el
Hit http://gr.archive.ubuntu.com hardy Release
Hit http://security.ubuntu.com hardy-security Release.gpg
Αγνόησε http://security.ubuntu.com hardy-security/main Translation-el
Αγνόησε http://ppa.launchpad.net hardy Release.gpg
Αγνόησε http://ppa.launchpad.net hardy/main Translation-el
Hit http://playonlinux.botux.net hardy Release.gpg
Αγνόησε http://playonlinux.botux.net hardy/main Translation-el
Hit http://gr.archive.ubuntu.com hardy-updates Release
Αγνόησε http://ppa.launchpad.net hardy/universe Translation-el
Hit http://gr.archive.ubuntu.com hardy/main Packages
Φέρε:1 http://ppa.launchpad.net hardy Release [27,6kB]
Αγνόησε http://security.ubuntu.com hardy-security/restricted Translation-el
Αγνόησε http://security.ubuntu.com hardy-security/universe Translation-el
Αγνόησε http://security.ubuntu.com hardy-security/multiverse Translation-el
Hit http://security.ubuntu.com hardy-security Release
Hit http://playonlinux.botux.net hardy Release
Hit http://gr.archive.ubuntu.com hardy/restricted Packages
Hit http://gr.archive.ubuntu.com hardy/main Sources
Hit http://gr.archive.ubuntu.com hardy/restricted Sources
Hit http://gr.archive.ubuntu.com hardy/universe Packages
Hit http://gr.archive.ubuntu.com hardy/universe Sources
Hit http://gr.archive.ubuntu.com hardy/multiverse Packages
Hit http://gr.archive.ubuntu.com hardy/multiverse Sources
Hit http://gr.archive.ubuntu.com hardy-updates/main Packages
Hit http://gr.archive.ubuntu.com hardy-updates/restricted Packages
Hit http://gr.archive.ubuntu.com hardy-updates/main Sources
Hit http://gr.archive.ubuntu.com hardy-updates/restricted Sources
Hit http://gr.archive.ubuntu.com hardy-updates/universe Packages
Αγνόησε http://ppa.launchpad.net hardy/main Packages
Hit http://gr.archive.ubuntu.com hardy-updates/universe Sources
Hit http://gr.archive.ubuntu.com hardy-updates/multiverse Packages
Hit http://gr.archive.ubuntu.com hardy-updates/multiverse Sources
Hit http://security.ubuntu.com hardy-security/main Packages
Αγνόησε http://playonlinux.botux.net hardy/main Packages
Αγνόησε http://ppa.launchpad.net hardy/universe Packages
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://ppa.launchpad.net hardy/main Packages
Hit http://playonlinux.botux.net hardy/main Packages
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://security.ubuntu.com hardy-security/multiverse Sources
Hit http://ppa.launchpad.net hardy/universe Packages
Μεταφορτώθηκαν 1B σε 0s (1B/s)
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
periklis@p:~$ sudo apt-get upgrade
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
periklis@p:~$ dpkg --configure -a
dpkg: η ζητούμενη ενέργεια απαιτεί προνόμια υπερχρήστη
periklis@p:~$ sudo dpkg --configure -a
Γίνεται εγκατάσταση sun-java6-doc (6-06-0ubuntu1) ...
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:

jdk-6-doc.zip jdk-6-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

http://java.sun.com/javase/downloads/

now and download. The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort] no
Abort installation of JDK documentation
dpkg: σφάλμα στην επεξεργασία του sun-java6-doc (--configure):
η υποδιεργασία post-installation script επέστρεψε κατάσταση λάθους 1
Προέκυψαν σφάλματα κατά την επεξεργασία του:
sun-java6-doc
periklis@p:~$

Pumalite
June 8th, 2008, 03:21 PM
Run:
sudso dpkg --configure -a
Post the output

ultimate_aektzis
June 8th, 2008, 07:27 PM
Hmm,there is no susdo command.You are probably mean sudo...


periklis@p:~$ sudo dpkg --configure -a
[sudo] password for periklis:
Γίνεται εγκατάσταση sun-java6-doc (6-06-0ubuntu1) ...
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:

jdk-6-doc.zip jdk-6-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

http://java.sun.com/javase/downloads/

now and download. The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort] no
Abort installation of JDK documentation
dpkg: σφάλμα στην επεξεργασία του sun-java6-doc (--configure):
η υποδιεργασία post-installation script επέστρεψε κατάσταση λάθους 1
Προέκυψαν σφάλματα κατά την επεξεργασία του:
sun-java6-doc
periklis@p:~$

Pumalite
June 8th, 2008, 07:43 PM
Run:
sudo apt-get -f install
Post the output.

zvacet
June 8th, 2008, 08:40 PM
In system>admin<software sources change server to main and try to install sun-java6-doc with synaptic.

ultimate_aektzis
June 8th, 2008, 08:48 PM
I noticed that it prompts me to use apt-get remove:confused::confused:


periklis@p:~$ sudo apt-get -f install
[sudo] password for periklis:
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων
Reading state information... Ολοκληρώθηκε
Τα ακόλουθα πακέτα που εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πια:
libseda-java libcommons-cli-java circuslinux-data etw-data
libcommons-lang-java
Χρησμοποιήστε το 'apt-get autoremove' για να τα απομακρύνετε
0 αναβαθμίστηκαν, 0 νέο εγκατεστημένα, 0 θα αφαιρεθούν και 0 δεν αναβαθμίζονται.
1 μη πλήρως εγκατεστημένα ή αφαιρέθηκαν.
After this operation, 0B of additional disk space will be used.
Γίνεται εγκατάσταση sun-java6-doc (6-06-0ubuntu1) ...
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:

jdk-6-doc.zip jdk-6-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

http://java.sun.com/javase/downloads/

now and download. The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort] no
Abort installation of JDK documentation
dpkg: σφάλμα στην επεξεργασία του sun-java6-doc (--configure):
η υποδιεργασία post-installation script επέστρεψε κατάσταση λάθους 1
Προέκυψαν σφάλματα κατά την επεξεργασία του:
sun-java6-doc
E: Sub-process /usr/bin/dpkg returned an error code (1)
periklis@p:~$

ultimate_aektzis
June 8th, 2008, 08:52 PM
@zvacet
Do you mean to uncheck all boxes except from universe?(take a look in the image)
sorry for too many questions but I am a bit new and I dont want to make matters worse now

Pumalite
June 8th, 2008, 09:03 PM
You are going to have to uninstall and reinstall java:
You could try:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get update
sudo apt-get install <packagename>

ultimate_aektzis
June 8th, 2008, 09:22 PM
I have ran those commands the update process worked fine but when I did sudo apt-get install muine the annoyning message is appeared again.What about "kill" command.Will it help me to treminate the javadoc downloading??


periklis@p:~$ sudo apt-get clean
periklis@p:~$ sudo apt-get autoclean
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων
Reading state information... Ολοκληρώθηκε
periklis@p:~$ sudo apt-get update
Hit http://gr.archive.ubuntu.com hardy Release.gpg
Αγνόησε http://gr.archive.ubuntu.com hardy/main Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy/restricted Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy/universe Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy/multiverse Translation-el
Hit http://gr.archive.ubuntu.com hardy-updates Release.gpg
Αγνόησε http://gr.archive.ubuntu.com hardy-updates/main Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy-updates/restricted Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy-updates/universe Translation-el
Αγνόησε http://gr.archive.ubuntu.com hardy-updates/multiverse Translation-el
Hit http://gr.archive.ubuntu.com hardy Release
Hit http://gr.archive.ubuntu.com hardy-updates Release
Hit http://gr.archive.ubuntu.com hardy/main Packages
Αγνόησε http://ppa.launchpad.net hardy Release.gpg
Αγνόησε http://ppa.launchpad.net hardy/main Translation-el
Hit http://security.ubuntu.com hardy-security Release.gpg
Αγνόησε http://security.ubuntu.com hardy-security/main Translation-el
Hit http://playonlinux.botux.net hardy Release.gpg
Αγνόησε http://playonlinux.botux.net hardy/main Translation-el
Hit http://gr.archive.ubuntu.com hardy/restricted Packages
Hit http://gr.archive.ubuntu.com hardy/main Sources
Hit http://gr.archive.ubuntu.com hardy/restricted Sources
Hit http://gr.archive.ubuntu.com hardy/universe Packages
Hit http://gr.archive.ubuntu.com hardy/universe Sources
Hit http://gr.archive.ubuntu.com hardy/multiverse Packages
Hit http://gr.archive.ubuntu.com hardy/multiverse Sources
Hit http://gr.archive.ubuntu.com hardy-updates/main Packages
Hit http://gr.archive.ubuntu.com hardy-updates/restricted Packages
Hit http://gr.archive.ubuntu.com hardy-updates/main Sources
Hit http://gr.archive.ubuntu.com hardy-updates/restricted Sources
Αγνόησε http://ppa.launchpad.net hardy/universe Translation-el
Hit http://gr.archive.ubuntu.com hardy-updates/universe Packages
Hit http://gr.archive.ubuntu.com hardy-updates/universe Sources
Hit http://gr.archive.ubuntu.com hardy-updates/multiverse Packages
Hit http://gr.archive.ubuntu.com hardy-updates/multiverse Sources
Φέρε:1 http://ppa.launchpad.net hardy Release [27,6kB]
Αγνόησε http://security.ubuntu.com hardy-security/restricted Translation-el
Αγνόησε http://security.ubuntu.com hardy-security/universe Translation-el
Αγνόησε http://security.ubuntu.com hardy-security/multiverse Translation-el
Hit http://playonlinux.botux.net hardy Release
Hit http://security.ubuntu.com hardy-security Release
Αγνόησε http://ppa.launchpad.net hardy/main Packages
Αγνόησε http://playonlinux.botux.net hardy/main Packages
Hit http://security.ubuntu.com hardy-security/main Packages
Αγνόησε http://ppa.launchpad.net hardy/universe Packages
Hit http://playonlinux.botux.net hardy/main Packages
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://ppa.launchpad.net hardy/main Packages
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://security.ubuntu.com hardy-security/multiverse Sources
Hit http://ppa.launchpad.net hardy/universe Packages
Μεταφορτώθηκαν 1B σε 0s (1B/s)
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
periklis@p:~$ sudo apt-get install muine
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων
Reading state information... Ολοκληρώθηκε
το muine είναι ήδη η τελευταία έκδοση.
Τα ακόλουθα πακέτα που εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πια:
libseda-java libcommons-cli-java circuslinux-data etw-data
libcommons-lang-java
Χρησμοποιήστε το 'apt-get autoremove' για να τα απομακρύνετε
0 αναβαθμίστηκαν, 0 νέο εγκατεστημένα, 0 θα αφαιρεθούν και 0 δεν αναβαθμίζονται.
1 μη πλήρως εγκατεστημένα ή αφαιρέθηκαν.
After this operation, 0B of additional disk space will be used.
Γίνεται εγκατάσταση sun-java6-doc (6-06-0ubuntu1) ...
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:

jdk-6-doc.zip jdk-6-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

http://java.sun.com/javase/downloads/

now and download. The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort]

Pumalite
June 8th, 2008, 09:32 PM
From the output:

'You will need to go download one of the
archives:

jdk-6-doc.zip jdk-6-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

http://java.sun.com/javase/downloads/

now and download. The file should be owned by root.root and be copied
to /tmp.

ultimate_aektzis
June 8th, 2008, 09:34 PM
ok but I cant understand what
The file should be owned by root.root and be copied
to /tmp.
means,what is root.root??

Pumalite
June 8th, 2008, 09:47 PM
https://help.ubuntu.com/community/RootSudo

zvacet
June 8th, 2008, 11:51 PM
@ ultimate_aektzis

Keep all checked but change server(you are geting updates from Greek server now) to main.I donīt know if that will be helpful.

ultimate_aektzis
June 9th, 2008, 07:16 PM
Ok guyz I found the solution...the only necessary things were some no'z and a remove command.I would like to thank all buddies who were willing to help me,and they did it a lot...
C ya

Pumalite
June 9th, 2008, 09:53 PM
Could you give us an account of how you solved your problem, so others could benefit from it?

ultimate_aektzis
June 10th, 2008, 02:32 PM
If I remember well,when the annoyng message appeard I pressed no and closed the terminal.I opened a new terminal and I ran

sudo apt-get remove sun-java6-doc


After that synaptic update manager works fine,as well as previous.
Take a look at the following example


periklis@p:~$ sudo apt-get update
[sudo] password for periklis:
Αγνόησε http://ppa.launchpad.net hardy Release.gpg
Hit http://archive.ubuntu.com hardy Release.gpg
Αγνόησε http://archive.ubuntu.com hardy/main Translation-el
Αγνόησε http://ppa.launchpad.net hardy/main Translation-el
Hit http://playonlinux.botux.net hardy Release.gpg
Αγνόησε http://playonlinux.botux.net hardy/main Translation-el
Αγνόησε http://ppa.launchpad.net hardy/universe Translation-el
Αγνόησε http://archive.ubuntu.com hardy/restricted Translation-el
Αγνόησε http://archive.ubuntu.com hardy/universe Translation-el
Αγνόησε http://archive.ubuntu.com hardy/multiverse Translation-el
Φέρε:1 http://archive.ubuntu.com hardy-updates Release.gpg [191B]
Αγνόησε http://archive.ubuntu.com hardy-updates/main Translation-el
Αγνόησε http://archive.ubuntu.com hardy-updates/restricted Translation-el
Hit http://playonlinux.botux.net hardy Release
Φέρε:2 http://ppa.launchpad.net hardy Release [27,6kB]
Αγνόησε http://archive.ubuntu.com hardy-updates/universe Translation-el
Αγνόησε http://archive.ubuntu.com hardy-updates/multiverse Translation-el
Hit http://archive.ubuntu.com hardy-security Release.gpg
Αγνόησε http://archive.ubuntu.com hardy-security/main Translation-el
Αγνόησε http://archive.ubuntu.com hardy-security/restricted Translation-el
Αγνόησε http://archive.ubuntu.com hardy-security/universe Translation-el
Αγνόησε http://archive.ubuntu.com hardy-security/multiverse Translation-el
Αγνόησε http://ppa.launchpad.net hardy/main Packages
Hit http://archive.ubuntu.com hardy Release
Φέρε:3 http://archive.ubuntu.com hardy-updates Release [58,5kB]
Αγνόησε http://playonlinux.botux.net hardy/main Packages
Αγνόησε http://ppa.launchpad.net hardy/universe Packages
Hit http://playonlinux.botux.net hardy/main Packages
Hit http://ppa.launchpad.net hardy/main Packages
Hit http://ppa.launchpad.net hardy/universe Packages
Hit http://archive.ubuntu.com hardy-security Release
Hit http://archive.ubuntu.com hardy/main Packages
Hit http://archive.ubuntu.com hardy/restricted Packages
Hit http://archive.ubuntu.com hardy/universe Packages
Hit http://archive.ubuntu.com hardy/multiverse Packages
Φέρε:4 http://archive.ubuntu.com hardy-updates/main Packages [205kB]
Φέρε:5 http://archive.ubuntu.com hardy-updates/restricted Packages [6156B]
Φέρε:6 http://archive.ubuntu.com hardy-updates/universe Packages [41,9kB]
Φέρε:7 http://archive.ubuntu.com hardy-updates/multiverse Packages [7687B]
Hit http://archive.ubuntu.com hardy-security/main Packages
Hit http://archive.ubuntu.com hardy-security/restricted Packages
Hit http://archive.ubuntu.com hardy-security/universe Packages
Hit http://archive.ubuntu.com hardy-security/multiverse Packages
Μεταφορτώθηκαν 319kB σε 2s (120kB/s)
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
periklis@p:~$



Concluding, update manager refused to work due to the pending installation.

Pumalite
June 10th, 2008, 02:42 PM
Thanks.