PDA

View Full Version : [ubuntu] cant update or upgrade



rawtoas
March 14th, 2011, 05:18 PM
when i want to upgrade i get this error

Failed to fetch http://ports.ubuntu.com/dists/karmic/Release Unable to find expected entry partner/source/Sources in Meta-index file (malformed Release file?)
Failed to fetch http://ports.ubuntu.com/dists/karmic-proposed/Release Unable to find expected entry partner/binary-powerpc/Packages in Meta-index file (malformed Release file?)
Failed to fetch http://ports.ubuntu.com/dists/karmic-updates/Release Unable to find expected entry partner/binary-powerpc/Packages in Meta-index file (malformed Release file?)
Failed to fetch http://ports.ubuntu.com/dists/karmic-backports/Release Unable to find expected entry partner/binary-powerpc/Packages in Meta-index file (malformed Release file?)
Some index files failed to download, they have been ignored, or old ones used instead.
help!

tommcd
March 14th, 2011, 06:08 PM
Have you tried using a different mirror to update from? Just go to: system > administration > software sources (or the software sources from synaptic package manager) and try another mirror. Then run:

sudo apt-get update
sudo apt-get dist-upgrade
If it still fails, then post the contents of your etc/apt/sources.list. And post any files that may be in the /etc/apt/sources.d/ directory.

FYI: Ubuntu 9.10 will reach end of life (EOL) next month. You should upgrade to 10.04 ASAP.
Or better yet, do a clean install of either 10.04 or 10.10.

rawtoas
March 14th, 2011, 06:38 PM
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release powerpc (20090421)]/ jaunty main
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ports.ubuntu.com/ karmic restricted main
deb-src http://ports.ubuntu.com/ karmic partner restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ports.ubuntu.com/ karmic 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://ports.ubuntu.com/ karmic 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.

## 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://ports.ubuntu.com/ karmic partner

deb-src http://ports.ubuntu.com/ karmic-security restricted main
deb-src http://ports.ubuntu.com/ karmic-security restricted main multiverse universe
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-security main restricted
deb-src http://ports.ubuntu.com/ karmic-security universe
deb-src http://ports.ubuntu.com/ karmic-security multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-security multiverse
deb http://ports.ubuntu.com/ karmic-proposed partner restricted main multiverse universe
deb-src http://ports.ubuntu.com/ karmic-proposed partner restricted main multiverse universe
deb http://ports.ubuntu.com/ karmic-updates partner restricted main multiverse universe
deb-src http://ports.ubuntu.com/ karmic-updates partner restricted main multiverse universe
deb http://ports.ubuntu.com/ karmic-backports partner restricted main multiverse universe
deb-src http://ports.ubuntu.com/ karmic-backports partner restricted main multiverse universe

tommcd
March 14th, 2011, 07:15 PM
Try removing the Partner repos from Synaptic Package Manager, then reload the sources when prompted. Then see if you can run:

sudo apt-get update
sudo apt-get dist-upgrade
Alternatively, you could just comment out (i.e., put a # in front of) any of the Partner repos in your /etc/apt/sources.list file. Then run:

sudo apt-get update
sudo apt-get dist-upgrade
Also see this thread (post #4) for an alternative sources.list:
http://ubuntuforums.org/showthread.php?t=1441906
If you want to try that, backup your current sources.list before using the one posted there.

From some googleing I have done, this issue seems to be limited to Power PC versions of Ubuntu.

Have you tried using a different mirror, as I suggested in my last post???

rawtoas
March 14th, 2011, 08:28 PM
i tried using the united states server and that adds more failed sources than the main

rawtoas
March 14th, 2011, 08:45 PM
it worked, thanks for the help!

rawtoas
March 15th, 2011, 01:29 AM
when i try to upgrade to 10.10 i get this error
W:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/maverick/Release Unable to find expected entry partner/binary-powerpc/Packages in Meta-index file (malformed Release file?)
, E:Some index files failed to download, they have been ignored, or old ones used instead.
how do i fix it

Dutch70
March 15th, 2011, 05:22 AM
First of all, how are you attempting the upgrade?

tommcd
March 15th, 2011, 07:27 AM
it worked, thanks for the help!
Just out of curiosity, what exactly did you do to fix this?

rawtoas
March 15th, 2011, 09:28 PM
First of all, how are you attempting the upgrade?
update manager

Dutch70
March 16th, 2011, 03:57 AM
I'm not sure what to tell you, other than make sure you have all of the correct software sources enabled.

Other than that, I can tell you that upgrades rarely work unless you have a very basic system without any real customizations. That is why everyone recommends a clean install when you want to upgrade to a newer version. If you have a separate /home partition, then it's a 15-20 install & you don't lose your files or ever your settings. If you don't have a separate /home, now would be a good time to create one, and I guess you can see why.

rawtoas
March 18th, 2011, 11:38 PM
how can i tell if they are right

rawtoas
March 19th, 2011, 12:44 AM
i removed the partner sources, i am now having the error with upgrading to 10.10
W:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/maverick/Release Unable to find expected entry partner/binary-powerpc/Packages in Meta-index file (malformed Release file?)

CharlesA
March 19th, 2011, 01:19 AM
Threads merged. Please stick to one thread please.