how should I correct my update mistakes

Asked by pietbels@ureach.com

whenever I tick check on the update manager I get this message : my sources are universe and main
can I fix this ? When I reboot I can also get a glimpse of a line saying error file not found before opening Ubuntu

GPG error: http://security.ubuntu.com lucid-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>Failed to fetch http://archive.canonical.com/ubuntu/dists/lucid/Release Unable to find expected entry universe/binary-i386/Packages in Meta-index file (malformed Release file?)
Some index files failed to download, they have been ignored, or old ones used instead.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Dmitry Shachnev
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

How to add gpg repository keys

To add your keys, please try this:

Open a Terminal from the menu Applications → Accessories → Terminal and type or better copy and paste a row a time then press enter:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5

Then type: (when the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

-------------------------

Then please copy and paste here the content of your /etc/apt/sources.list still using terminal type:

gedit /etc/apt/sources.list

Thank you

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

Please also using teminal BEFORE to send us the content of your /etc/apt/sources.list try to update your system... might be all ok now...

Revision history for this message
Best Dmitry Shachnev (mitya57) said :
#3

Which version of Ubuntu are you using?
If 10.04, so do the following:
1. Open System > Administrations > Software sources
2. Switch to "Other software" tab
3. Uncheck all lines that contain "partner" word.
4. Close window, click "Update" in the popup window.

Revision history for this message
Dmitry Shachnev (mitya57) said :
#4

If the error still exists, please run this in terminal:

cat /etc/apt/sources.list > update.txt
sudo apt-get update >> update.txt

and attach file "update.txt" form you home folder here.

Revision history for this message
pietbels@ureach.com (pietbels) said :
#5

dear Mr. Marco , here is the result of my terminal input as you requested me,
thank you so much

# deb cdrom:[Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

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

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

## 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://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-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 lucid universe
deb http://tw.archive.ubuntu.com/ubuntu/ lucid universe main
deb http://security.ubuntu.com/ubuntu/ lucid-security universe main
deb http://tw.archive.ubuntu.com/ubuntu/ lucid-updates universe main

Revision history for this message
pietbels@ureach.com (pietbels) said :
#6

dear Mr. Marco , here is the result of my terminal input as you requested me,
thank you so much

# deb cdrom:[Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

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

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

## 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://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-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 lucid universe
deb http://tw.archive.ubuntu.com/ubuntu/ lucid universe main
deb http://security.ubuntu.com/ubuntu/ lucid-security universe main
deb http://tw.archive.ubuntu.com/ubuntu/ lucid-updates universe main

Revision history for this message
Dmitry Shachnev (mitya57) said :
#7

Have you run the command from the 1st comment?
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5

Revision history for this message
pietbels@ureach.com (pietbels) said :
#8

Thanks Dmitry Shachnev, that solved my question.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#9

New to Ubuntu: read the Ubuntu Manual, it's very informative: http://ubuntu-manual.org/
Click on the "download Button" to download the latest PDF version.
The online help https://help.ubuntu.com/10.04/index.html

Relax and fun:
http://planet.ubuntu.com/ and Full Circle Magazine http://fullcirclemagazine.org/

Revision history for this message
pietbels@ureach.com (pietbels) said :
#10

thank you

________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag