LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Apt Repositories not Updating Package Database (https://www.linuxquestions.org/questions/ubuntu-63/apt-repositories-not-updating-package-database-494535/)

carl0ski 10-22-2006 01:17 AM

Apt Repositories not Updating Package Database
 
HI
i'm using Ubuntu Dapper
for i386



my sources.list
looks like this

Code:

deb cdrom:[Ubuntu 6.06 _Dapper Drake_ - Release i386 (20060531.2)]/ dapper main restricted
deb http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

However no matter how many times i enable disable and refresh Synaptic manager

programs such as
mplayer
do not appear in searches.

If i visit
http://au.archive.ubuntu.com/ubuntu/...rse/m/mplayer/
they are there so

Anyway to completely rebuild/refresh apt-get?

Redeye2 10-22-2006 01:24 AM

I think it works like this... deb <http> repository <branches>. So you're only enabling everything for the backports. Try adding similar lines, but change dapper-backports for: dapper-updates, dapper, dapper-security. You'll end up with 9 lines total.

carl0ski 10-22-2006 02:04 AM

Quote:

Originally Posted by Redeye2
I think it works like this... deb <http> repository <branches>. So you're only enabling everything for the backports. Try adding similar lines, but change dapper-backports for: dapper-updates, dapper, dapper-security. You'll end up with 9 lines total.

Hi
your right backports dont work anymore
however even using dapper-updates mirror still didnt display all available packages after updating
every update was HIT (already exists)

i cleared all the package lists in
/var/lib/apt/lists

seems to work with dapper-updates now

Thank You

binary_y2k2 10-22-2006 02:19 AM

Replace your /etc/apt/sources.list with this:
Code:

deb cdrom:[Ubuntu 6.06 _Dapper Drake_ - Release i386 (20060531.2)]/ dapper main restricted
deb http://au.archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ dapper main restricted universe
deb http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb http://au.archive.ubuntu.com/ubuntu/ dapper-security main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-security main restricted universe multiverse

Then update and see if the packages are there.

Redeye2 10-22-2006 03:31 AM

Quote:

Originally Posted by binary_y2k2
Replace your /etc/apt/sources.list with this:
Code:

deb cdrom:[Ubuntu 6.06 _Dapper Drake_ - Release i386 (20060531.2)]/ dapper main restricted
deb http://au.archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ dapper main restricted universe
deb http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb http://au.archive.ubuntu.com/ubuntu/ dapper-security main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-security main restricted universe multiverse

Then update and see if the packages are there.

This is exactly what I meant, but I was in a hurry :)


All times are GMT -5. The time now is 06:15 PM.