PDA

View Full Version : Missing packages in the repository?


Newbie123
July 22nd, 2006, 02:38 PM
According to:
http://packages.ubuntu.com/dapper/python/python-opengl

There is a pyopengl package for python 2.4

After running sudo apt-get update and sudo apt-cache search, I can't seem to find this package at all using the search, I have tried the following terms:

python
open
opengl
gl

Is it possible that my local repository somehow became corrupted? How can I check?

Or am I completely wrong, and this package does not exist for python 2.4.

I am using ubuntu 6.06.

moma
July 22nd, 2006, 02:49 PM
$ apt-cache search python-opengl
python-opengl - Python binding to OpenGL
python2.4-opengl - Python binding to OpenGL

$ apt-cache show python2.4-opengl
...
Filename: pool/universe/p/pyopengl/python-opengl_2.0.1.09-1.1ubuntu3_all.deb

As you can see it's in the Universe repository.
Edit your /etc/apt/sources.list and uncomment universe repository lines.

Or fix your /etc/apt/sources.list by following this guide.
http://easylinux.info/wiki/Ubuntu_dapper#How_to_add_extra_repositories

Then
$ sudo apt-get update
and search again.

// moma
http://www.futuredesktop.com/ubuntu6.06.html

Newbie123
July 22nd, 2006, 03:14 PM
I think that I have already uncommented the universe part. Could there be some other reason why it is not working? Could you post your sources.list here?


Here is my sources.list file:

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

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-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/ dapper universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper universe 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://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
# deb http://security.ubuntu.com/ubuntu dapper-security universe
# deb-src http://security.ubuntu.com/ubuntu dapper-security universe

moma
July 22nd, 2006, 03:34 PM
Here is my /etc/apt/sources.list
http://www.futuredesktop.com/dapper/sources.list

Take backup-copy of yours and replace it.
And refresh the package list (index) in your PC.
$ sudo apt-get update

PS. Read also this thread
http://ubuntuforums.org/showthread.php?p=1287973#post1287973

Newbie123
July 22nd, 2006, 06:30 PM
Ok, I figured out the problem.

I was having problems with adept. I tracked it down to having us.archive.urbuntu.com as my repository. The US servers are apparently flaky.

I stripped out the 'us' part, ran apt-get update, and then I could search for all of the packages.

Previously, it looked like apt-get had only done a partial update, and hence was missing some specific packages.