PDA

View Full Version : [ubuntu] Can't update / upgrade??



arashiko28
December 11th, 2008, 05:38 PM
I don't know if there is such a huge update but the update manager tells me that can be done all at the time and that I should do a partial upgrade - here is where I become confused - I already have 8.10. :confused:
Anyway I choose the partial upgrade and then I get an error message about most of the packages couldn't be authenticated. I have tried several times and it comes to the same. Any ideas?

taurus
December 11th, 2008, 05:48 PM
Close update-manager. Then, open a terminal and post the output of this command here.

Applications -> Accessories -> Terminal

sudo apt-get update

lykwydchykyn
December 11th, 2008, 05:52 PM
I don't know if there is such a huge update but the update manager tells me that can be done all at the time and that I should do a partial upgrade - here is where I become confused - I already have 8.10. :confused:


Every release still gets periodic upgrades as bugs and security issues are fixed. This is different from upgrading to a new release.

arashiko28
December 11th, 2008, 06:26 PM
Close update-manager. Then, open a terminal and post the output of this command here.

Applications -> Accessories -> Terminal

sudo apt-get update

If it were that easy I would have already solved it. In terminal I get another error message.

I went to the software sources and found a couple of sources repeated and uncheked it and now, I get this from synaptic:

E: The package cache file is corrupted
E: _cache->open() failed, please report.

taurus
December 11th, 2008, 06:34 PM
Can you post your /etc/apt/sources.list?

arashiko28
December 11th, 2008, 07:23 PM
Can you post your /etc/apt/sources.list?

sorry can't do it, I tried to open it with gedit but it opens a new empty document.

Titan8990
December 11th, 2008, 07:24 PM
Just do the following:


cat /etc/apt/sources.list


No need to open in a GUI.


If the file is in fact empty then we need to add repositories to it.

arashiko28
December 11th, 2008, 07:29 PM
Just do the following:


cat /etc/apt/sources.list


No need to open in a GUI.


If the file is in fact empty then we need to add repositories to it.

The weird thing is that I know it's not empty. I have added sources. Here's the output:

~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://do.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://do.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://us.archive.ubuntu.com/ubuntu/ intrepid-security main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-security main restricted
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-security universe
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-security universe
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-security multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-security multiverse
deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
# deb http://wine.budgetdedicated.com/apt intrepid main #WineHQ - Ubuntu 8.10 "Intrepid Ibex"
deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
deb http://ppa.launchpad.net/reacocard-awn/ubuntu intrepid main


I don't understand why here can be seen and with sudo or gedit no.

taurus
December 11th, 2008, 07:34 PM
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://do.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://do.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://us.archive.ubuntu.com/ubuntu/ intrepid-security main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-security main restricted
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-security universe
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-security universe
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-security multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-security multiverse
deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
# deb http://wine.budgetdedicated.com/apt intrepid main #WineHQ - Ubuntu 8.10 "Intrepid Ibex"
deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
deb http://ppa.launchpad.net/reacocard-awn/ubuntu intrepid main


Obviously, you are using intrepid but then you have a couple of hardy repos in there! No a good idea to mix repos in /etc/apt/sources.list. Therefore, edit /etc/apt/sources.list


gksudo gedit /etc/apt/sources.list
and place a # in front of those two lines with hardy in it. Save it and close gedit window. Then run


sudo apt-get update
sudo apt-get upgrade

Kevbert
December 11th, 2008, 07:49 PM
First try the old favourites in terminal:

sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
Please report back if these don't help as your package cache file will probably need to be rebuilt.

arashiko28
December 11th, 2008, 08:33 PM
My dpkg package it's not broken, I already solved the synaptic problem, I'm going to work out the other one.

arashiko28
December 11th, 2008, 08:42 PM
Obviously, you are using intrepid but then you have a couple of hardy repos in there! No a good idea to mix repos in /etc/apt/sources.list. Therefore, edit /etc/apt/sources.list


gksudo gedit /etc/apt/sources.list
and place a # in front of those two lines with hardy in it. Save it and close gedit window. Then run


sudo apt-get update
sudo apt-get upgrade

I didn't thought that it would be troublesome, I have installed 8.04 from the CD and upgraded to 8.10 because of hardware incompatibility. That should be the reason for it to be there. Now it's upgrading, thanks a lot for you help! I tend to despair and make a clean install but since I'm on my finals, would have to wait a whole week:p Thanks again.

arashiko28
December 15th, 2008, 05:07 PM
The problem is persisting, even though the hardy sources are out commented. I already tried all of the suggested before, and can't fix the problem.:confused:

taurus
December 15th, 2008, 05:12 PM
Post your /etc/apt/sources.list again.


cat /etc/apt/sources.list

arashiko28
December 15th, 2008, 08:17 PM
:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://do.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://do.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://us.archive.ubuntu.com/ubuntu/ intrepid-security main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-security main restricted
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-security universe
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-security universe
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-security multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-security multiverse
deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
# deb http://wine.budgetdedicated.com/apt intrepid main #WineHQ - Ubuntu 8.10 "Intrepid Ibex"
# deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
deb http://ppa.launchpad.net/reacocard-awn/ubuntu intrepid main


There it is...

taurus
December 15th, 2008, 08:19 PM
Can you post the whole output of this command?


sudo apt-get update

arashiko28
December 15th, 2008, 08:25 PM
Sure, here you go:

sudo apt-get update
[sudo] password for user:
Hit http://wine.budgetdedicated.com intrepid Release.gpg
Ign http://wine.budgetdedicated.com intrepid/main Translation-en_US
Ign http://ppa.launchpad.net intrepid Release.gpg
Ign http://ppa.launchpad.net intrepid/main Translation-en_US
Hit http://us.archive.ubuntu.com intrepid Release.gpg
Ign http://us.archive.ubuntu.com intrepid/main Translation-en_US
Hit http://wine.budgetdedicated.com intrepid Release
Ign http://ppa.launchpad.net intrepid Release.gpg
Ign http://ppa.launchpad.net intrepid/main Translation-en_US
Get:1 http://ppa.launchpad.net intrepid Release [27.6kB]
Ign http://us.archive.ubuntu.com intrepid/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid-updates Release.gpg
Ign http://us.archive.ubuntu.com intrepid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/universe Translation-en_US
Ign http://wine.budgetdedicated.com intrepid/main Packages
Get:2 http://ppa.launchpad.net intrepid Release [27.6kB]
Ign http://us.archive.ubuntu.com intrepid-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid-security Release.gpg
Ign http://us.archive.ubuntu.com intrepid-security/main Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-security/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-security/universe Translation-en_US
Hit http://wine.budgetdedicated.com intrepid/main Packages
Ign http://us.archive.ubuntu.com intrepid-security/multiverse Translation-en_US
Ign http://ppa.launchpad.net intrepid/main Packages
Hit http://us.archive.ubuntu.com intrepid Release
Hit http://us.archive.ubuntu.com intrepid-updates Release
Hit http://us.archive.ubuntu.com intrepid-security Release
Ign http://ppa.launchpad.net intrepid/main Packages
Hit http://us.archive.ubuntu.com intrepid/main Packages
Hit http://us.archive.ubuntu.com intrepid/restricted Packages
Hit http://us.archive.ubuntu.com intrepid/main Sources
Hit http://us.archive.ubuntu.com intrepid/restricted Sources
Hit http://us.archive.ubuntu.com intrepid/universe Packages
Hit http://ppa.launchpad.net intrepid/main Packages
Hit http://us.archive.ubuntu.com intrepid/universe Sources
Hit http://us.archive.ubuntu.com intrepid/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid/multiverse Sources
Hit http://us.archive.ubuntu.com intrepid-updates/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Packages
Hit http://us.archive.ubuntu.com intrepid-updates/main Sources
Hit http://ppa.launchpad.net intrepid/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Sources
Hit http://us.archive.ubuntu.com intrepid-updates/universe Packages
Hit http://us.archive.ubuntu.com intrepid-updates/universe Sources
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Sources
Hit http://us.archive.ubuntu.com intrepid-security/main Packages
Hit http://us.archive.ubuntu.com intrepid-security/restricted Packages
Hit http://us.archive.ubuntu.com intrepid-security/main Sources
Hit http://us.archive.ubuntu.com intrepid-security/restricted Sources
Hit http://us.archive.ubuntu.com intrepid-security/universe Packages
Hit http://us.archive.ubuntu.com intrepid-security/universe Sources
Hit http://us.archive.ubuntu.com intrepid-security/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid-security/multiverse Sources
Fetched 2B in 2s (1B/s)
Reading package lists... Done

taurus
December 15th, 2008, 08:29 PM
And now the next command.


sudo apt-get upgrade

arashiko28
December 15th, 2008, 08:39 PM
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
openoffice.org-base-core openoffice.org-calc openoffice.org-core
openoffice.org-draw openoffice.org-gnome openoffice.org-gtk
openoffice.org-impress openoffice.org-math openoffice.org-writer python-uno
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.


The problem does not appear on terminal but on the update manager, later I did all of this in terminal and removed the kernel 2.6.27-7, which I guess will now disappear from my GRUB list.

This is what I get when I try to update with the update manager. See the attachments.

taurus
December 15th, 2008, 08:43 PM
The reason you see that message from update-manager because you have a third party repo for OpenOffice.



deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main

arashiko28
December 15th, 2008, 08:51 PM
So, should I remove it? Perhaps it's there because I upgraded it to 3.0... would this solve the odf-converter problem I'm facing? I can't open .docx, .pptx nor .xlsx, it creates a big mess, It used to work perfectly on hardy... I had another thread for this, bur so far, no answers.:confused:

there is another thing, I rather to take advantage and don't go through creating a new thread. I can't run frostwire since I upgraded.


~$ frostwire
HOSTNAME IS stephanie-laptop
Starting FrostWire...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.6.0_0]
Configuring environment...
Loading FrostWire:
CLASSPATH SET TO: :./jcraft.jar:./icu4j.jar:./httpcore-niossl-4.0-alpha7.jar:./guice-1.0.jar:./jaudiotagger.jar:./ProgressTabs.jar:./onion-common.jar:./commons-logging.jar:./jdic_stub.jar:./tritonus.jar:./aopalliance.jar:./junit.jar:./themes.jar:./clink.jar:./jorbis.jar:./daap.jar:./gettext-commons.jar:./FrostWire.jar:./jl.jar:./forms.jar:./commons-codec-1.3.jar:./jflac.jar:./foxtrot.jar:./onion-fec.jar:./log4j.jar:./jdic.jar:./looks.jar:./lw-all.jar:./jmdns.jar:./messages.jar:./httpcore-4.0-beta2.jar:./jython.jar:./httpcore-nio-4.0-beta2.jar:./jogg.jar:./httpclient-4.0-alpha3.jar:./mp3spi.jar:./vorbisspi.jar
java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1666)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.jav a:1767)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1684)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at sun.security.action.LoadLibraryAction.run(LoadLibr aryAction.java:67)
at sun.security.action.LoadLibraryAction.run(LoadLibr aryAction.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1610)
at java.awt.Toolkit.<clinit>(Toolkit.java:1632)
at com.limegroup.gnutella.gui.Main.showInitialSplash( Unknown Source)
at com.limegroup.gnutella.gui.Main.main(Unknown Source)


************************************************** ****************
Something went wrong with FrostWire.
Maybe you're using the wrong version of Java?
(FrostWire is tested against and works best with with Sun's JRE, Java 1.4+)
The version of Java in your PATH is:
java version "1.6.0_0"
IcedTea6 1.3.1 (6b12-0ubuntu6) Runtime Environment (build 1.6.0_0-b12)
OpenJDK Server VM (build 1.6.0_0-b12, mixed mode)


This is what I get when try to run through terminal, when on the menu, it does nothing.

taurus
December 15th, 2008, 09:04 PM
Try installing the Sun java version.


sudo apt-get update
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-plugin
And when you get to the licensing screen, press the Tab key to highlight the <OK> and Return to accept it.

Once the installation is done, make sure the Sun's version is the default.


sudo update-alternatives --config java
java -version

arashiko28
December 15th, 2008, 09:17 PM
Thanks, I chose the 3rd alternative:p