Ubuntu Software Centre - apt-get update

Asked by PBraga

I added a new repository to my apt sources list using the Ubuntu Software Centre.
But I didn't found how to update the list.
The package on that new repo didn't appear on the searches.

I had to go to the terminal and issue the "apt-get update" in order to find and install the package.

Reading the Ubuntu documentation I found:

(https://help.ubuntu.com/community/Repositories/Ubuntu#Adding_Ubuntu_Software_Repositories)

«Adding Ubuntu Software Repositories

(...)

Select "Close" to save your changes. A dialog box should appear, asking whether you'd like to update the list of repositories. Select "Reload" to update the list.»

This didn't happened! The dialog box didn't open.

The repo I added was:
deb http://ppa.launchpad.net/lion-simba/bino-mt/ubuntu YOUR_UBUNTU_VERSION_HERE main

I'm using 11.10

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Please tell me you changed the ' YOUR_UBUNTU_VERSION_HERE' to 'oneiric'
?

Revision history for this message
PBraga (pls-braga) said :
#2

com'on... of course :P

Or else the update performed on the bash prompt wouldn't have work.

I used the information from https://launchpad.net/~lion-simba/+archive/bino-mt
When I was updating the sources list I selected the version (11.10) and copied the sources.list entries.
But when I was writing this bug report, I went back to the site and copied without selecting the version.

Anyway, although I already updated the sources and installed the application and just being paranoid, I double-checked it:

~$ grep bino /etc/apt/sources.list
deb http://ppa.launchpad.net/lion-simba/bino-mt/ubuntu oneiric main
deb-src http://ppa.launchpad.net/lion-simba/bino-mt/ubuntu oneiric main
~$

Revision history for this message
Deon Rodden (glitch-m) said :
#3

So you're saying you added the ppa via the GUI program, then reloaded the GUI program but didn't find the new package? But from the CLI you did a apt-get update (or aptitude update) and then you could find it (using aptitude search, apt-cache search, or via the GUI program)?

In the GUI, in View did you have "All Software" or "Canonical-Maintained Software" ?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

ok can you run:

sudo apt-get update; sudo apt-get install bino

For future reference I suggest you use this:

sudo add-apt-repository ppa:lion-simba/bino-mt
sudo apt-get update
sudo apt-get install bino

You can see where I got the address from the BOLD text on this page (Which is where you expanded the get details, then copied the details and manually add the URL from, this is no longer needed):

https://launchpad.net/~lion-simba/+archive/bino-mt

Revision history for this message
David Pérez (sanete) said :
#5

The same happens to me with OneIric and with Precise Pangolin beta 1.
The problem is that I cannot concatenate more installs to the queue and leave it unattended.

Revision history for this message
David Pérez (sanete) said :
#6

Curiously this used to worked ok the first time I installed Oneiric.

Revision history for this message
Elias K Gardner (zorkerz) said :
#7

I'm a little confused by all the comments here but I am finding no way to get the Ubuntu Software Center to update its package list. I added a new PPA through software sources in the Ubuntu Software Center instead of asking to update the package list like it used to nothing happens.

Workarounds are as said to run 'sudo apt-get update' in a terminal or to open the update manager and click check.

I think this is a bug does anyone else?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

Just use the command line as shown.

What is output?

Revision history for this message
Elias K Gardner (zorkerz) said :
#9

When I run 'sudo apt-get update' the output in normal; it runs through all the repos and then says "Reading package lists... Done"

The problem is that the Ubuntu Software Center should run apt-get update automatically or offer to run it when the software sources are changed through the GUI.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

It does, thats what hapens when it reads the package lists....

Revision history for this message
Elias K Gardner (zorkerz) said :
#11

Right the 'apt-get update' command is working just as it should.

The problem is that Ubuntu Software Center does not run this command on its own when the software sources have changed. In order to get Ubuntu Software Center to recognize new packages you have to manually run apt-get update then reopen the software center.

Revision history for this message
Miguel Angel Espinosa (miguelerdz) said :
#12

Yes, I'm experiencing the same problem.

Can you help with this problem?

Provide an answer of your own, or ask PBraga for more information if necessary.

To post a message you must log in.