LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Errors in Synaptic Package Manager (https://www.linuxquestions.org/questions/ubuntu-63/errors-in-synaptic-package-manager-326836/)

Cinematography 05-25-2005 12:56 AM

Errors in Synaptic Package Manager
 
When I go into Synaptic Package Manager, I get the following errors.

Code:

W: Couldn't stat source package list http://security.ubuntu.com hoary-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hoary-security_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com hoary-security/restricted Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hoary-security_restricted_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com hoary-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hoary-security_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com hoary-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hoary-security_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com hoary/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hoary_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com hoary/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hoary_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com hoary/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hoary_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com hoary/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hoary_restricted_binary-i386_Packages) - stat (2 No such file or directory)

I think some repositories may be missing. :( Does anyone know how I could resore the missing repositories, or how I could get rid of this error? Any suggestions would be greatly appreciated.

Cinematography 05-25-2005 04:02 PM

Bump. :(

R00ts 05-25-2005 04:44 PM

Did you change your /etc/apt/sources.list file recently? Try hitting reload in Synaptic, then exit the application and restart it. If that fixes the problem, it's because when you change your /etc/apt/sources.list file, synaptic initially won't have updated the package list based on those changes and detects this, thus prints those errors. Hope that fixes it.

Cinematography 05-25-2005 04:54 PM

Quote:

Originally posted by R00ts
Did you change your /etc/apt/sources.list file recently?
Yes I did.

Quote:

Try hitting reload in Synaptic, then exit the application and restart it. If that fixes the problem, it's because when you change your /etc/apt/sources.list file, synaptic initially won't have updated the package list based on those changes and detects this, thus prints those errors. Hope that fixes it.
It kinda sorta did. I'm still getting this error:
Code:

http://archive.ubuntu.com/ubuntu/dists/hoary/multiverse/source/Sources.gz: Sub-process bzip2 returned an error code (2)
And this error:
Code:

W: Duplicate sources.list entry http://security.ubuntu.com hoary-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hoary-security_universe_binary-i386_Packages)
W: Duplicate sources.list entry ftp://ftp.nerim.net stable/main Packages (/var/lib/apt/lists/ftp.nerim.net_debian-marillat_dists_stable_main_binary-i386_Packages)
W: Duplicate sources.list entry ftp://ftp.nerim.net unstable/main Packages (/var/lib/apt/lists/ftp.nerim.net_debian-marillat_dists_unstable_main_binary-i386_Packages)
W: Duplicate sources.list entry ftp://ftp.nerim.net testing/main Packages (/var/lib/apt/lists/ftp.nerim.net_debian-marillat_dists_testing_main_binary-i386_Packages)

Is there a sources.list file somewhere that I could use to get my list back to default? I did a google search but I came up with many confusing results. :scratch:

Thank you for your reply.

R00ts 05-25-2005 05:03 PM

This is my sources.list (and this Ubuntu install is just two days old). The only changes I made to it from it's original state was commenting out the Ubuntu CD as a source and uncommenting out the Ubuntu universe repositories.

Code:

# deb cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)]/ hoary main restricted


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

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

## Uncomment the following two lines to add software from the 'universe'
## repository.
## 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 hoary universe
deb-src http://us.archive.ubuntu.com/ubuntu hoary universe

deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

deb http://security.ubuntu.com/ubuntu hoary-security universe
deb-src http://security.ubuntu.com/ubuntu hoary-security universe


Cinematography 05-25-2005 05:08 PM

Thanks a lot! The errors are now gone. :)

mazzo 06-10-2005 07:04 AM

As a tag-on to this thread, I have been having problems with security updates not being authenticated.

All repositories are there. I did add multiverse at one point then removed it when I found I didn't need it! Haven't changed anything else, but when the latest 3 security updates came through it warned me that all 3 were unable to be authenticated. They are the main package things (gedit and system kernel).

Any ideas?


All times are GMT -5. The time now is 11:42 PM.